![]() |
Please help with a very simple hack.
Ok, this is such a simple hack it just goes to show how sad i am with making them =P
Ok, in my postbits i have a small section that says "Rank:" now, as of right now it will show up a user custom title, what i need it to show is ONLY a usergorup title (Administrator, Moderator, Member). Could someone please do me this favor and help me out with this o.o |
Just DISABLE the custom titles
|
Well thats great and all but i WANT there to be custom titles in a different part of the postbit.
Avatar ---- title ---- Rank ---- is how it goes. |
$bbuserinfo['customtitle'] is the custom title
$bbuserinfo['usertitle'] is the user's rank |
Umm, ok i put that in and all it did was make EVERYONES rank "Administrator"
o_O |
you mustve edit the code, just place $bbuserinfo['usertitle'] where you want it in the postbt, i dont know why it would say admin to everyone.
|
Ok, i edit the code and remove the " ' " and it places everyones rank as "Administrator" i don't edit the code at all and NOTHING shows up there.
|
$bbuserinfo[usertitle] displays admin, yep. I don't know what the code should be, but just confirming what he posted.
|
guys, thinks about it. $bbuserinfo is always YOU. Therefore, because you are an admin, it always says admin. For postbit, you want $post[usertitle]
But I think you might have been steered wrong. The customtitle field is an integer that indicates whether or not a custom title has been set. The actual custom title is then stored in the usertitle field of the database. Amy |
All times are GMT. The time now is 12:34 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|