"krillmeed";p="22512" wrote:Maybe i should explain the last one better, say i am using the Starfleet ranks in my profile, everyone except with special ranks will be shown as starfleet rank, even if they have Romulan or Klingon ranks set in there profile, same things happens when i change to one of the other ones. It does not matter if i have them on hidden on not. By the way CT tracker pops up everywere on this, i have solved all those i think. Still i think that it is not supposed to work just like this is it?
That is how it should work. If you have two ranksets, say starfleet and klingon, and you choose klingon then all non-special ranks should now be klingon for you. If someone else chooses starfleet then all non-special ranks will be starfleet for them. For a while there I thought it was supposed to work the other way as well, but reflecting on the functionality of the MOD I discovered it should be as it is now.
For instance, if you create a rankset and attach it to a theme, then attaching the rankset to the theme would become useless. There would be no reason to attach ranksets to themes because anyone using a certain theme would only see what people have chosen for their own rankset and not the theme defined one. I hope that makes sense.
"krillmeed";p="22506" wrote:Something is not right. In Admin/Userlist this is what i now get:
Fatal error: Call to undefined function: init_ranks() in /hsphere/local/home/krillmee/krillmeed.com/forum/admin/admin_userlist.php on line 856
And in the Rank block only the special ranks block is showing not the normal block one for members. <img>
I'll look into this problem.
Pogue Moran, there should be three instances of the following code in profilcp/def/def_userfuncs_std.php...
- Code: Select all
$rank_title = ( isset($ranks[$view_userdata['user_gender']]) && ($ranks[$view_userdata['user_gender']] != '') ) ? $ranks[$view_userdata['user_gender']] : $ranks[0];
Place the following after all three instances and test it, it should work.
- Code: Select all
$rank_title = pcp_shop_build_title($view_userdata, $rank_title);
I haven't installed shopmod 3 yet though, so that's untested.