[SOLVED] forum rank problem in CB profiles

14 years 11 months ago #100144 by JBHawaii
peetree21 wrote:

Thankyou

This has corrected the Moderator and Administrator issue but the issue still exists where every user (not admin or moderator) still says they are 'fresh users' instead of the ranks i have created in kunena.

Any ideas? :(

Post edited by: peetree21, at: 2009/05/27 12:26


peetree21, have you assigned all your users there custom ranks?

Also, if you set up custom ranks - set post required count to 0 - and check special rank. If I'm not mistaken you can also assign the rank to an acl group.

Finally if all else fail try the fix above... I did not have to modify anything but what I have explained in my resolution post.

P.S. Might be an issue with kunena 1.0.10 cause I am still using 1.0.9

Post edited by: JBHawaii, at: 2009/05/28 00:56

Please Log in to join the conversation.

14 years 11 months ago #100468 by JBHawaii
Peetree,

I found something else... if you are using the default_ex template with custom ranks, you should also upload the custom rank images to the default templates rank folder as well.

this solves the issue of not showing custom rank images when using the default_ex template with custom ranks.

Mahalo,
JBHawaii

Post edited by: JBHawaii, at: 2009/05/31 01:39

Please Log in to join the conversation.

14 years 11 months ago #100974 by nudel
krileon wrote:

Kunena does not appear to be using the Rank value in the database. I've restructured the query to fix this issue.
...


Thx, dude!
Karma up ;)

Please Log in to join the conversation.

14 years 11 months ago #101108 by woonydanny
Replied by woonydanny on topic Re:[Solved] Re:forum rank problem in CB profiles
krileon wrote:

Kunena does not appear to be using the Rank value in the database. I've restructured the query to fix this issue.

Option 1: Replace query
In: cb.simpleboardtab.model.php
On: 105
From:
[code:1]
$query = 'SELECT ' . $_CB_database->NameQuote( 'rank_title' )
. ', ' . $_CB_database->NameQuote( 'rank_image' )
. "\n FROM " . $_CB_database->NameQuote( '#__' . $forum->prefix . '_ranks' )
. "\n WHERE " . $_CB_database->NameQuote( 'rank_id' ) . " = " . ( (int) $userDetails->rank ? (int) $userDetails->rank : 1 )
;
[/code:1]
To:
[code:1]
$query = 'SELECT ' . $_CB_database->NameQuote( 'rank_title' )
. ', ' . $_CB_database->NameQuote( 'rank_image' )
. "\n FROM " . $_CB_database->NameQuote( '#__' . $forum->prefix . '_ranks' )
. "\n WHERE " . $_CB_database->NameQuote( 'rank_min' ) . ' <= ' . (int) $userDetails->posts
. "\n ORDER BY " . $_CB_database->NameQuote( 'rank_min' ) . ' DESC'
;
[/code:1]


thanks that seemed to fix it :)

Please Log in to join the conversation.

14 years 10 months ago #102978 by bytebandit01
Replied by bytebandit01 on topic Re:[Solved] Re:forum rank problem in CB profiles
The solutions shared so far does not work..

JBHawaii..
- this works only for modified moderator and admin ranking
- this does not work with modified forum ranking for regular members
*all the regular users always get the first rank. e.g. fresh boarder

krileon..
- this works only on modified forum ranking for regular members
- this does not work for modified moderator and admin ranking
*for mods/admin, the rank name will be the rank depending on the number of posts they've made not the custom mod/admin rank name that i created

i may be wrong but i doublechecked it a couple of times with all the solutions given above.. anyone encountered this?

for my case i modifie/customized the rank names for admin to moderator to regular members.

Please Log in to join the conversation.

14 years 9 months ago #105106 by rocknolds
Replied by rocknolds on topic Re:[Solved] Re:forum rank problem in CB profiles
Hello

Are the mentioned fixes also true in fb 1.0.4 + CB1.2.1 + J1.0.15?

i am experiencing only with regular users having "fresh boarder" forum rank all the time after an upgrade from CB1.1

thanks.

-= the moment you enjoy wasting is not a waste of time
www.asmsi-cebu.org =-

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.228 seconds

Facebook Twitter LinkedIn