| The Arcive of vBulletin Modifications Site. | |
| 
			 
			#1  
			
			
			
			
			
		 | |||
| 
 | |||
|  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 | 
| 
			 
			#2  
			
			
			
			
			
		 | ||||
| 
 | ||||
|   
			
			Just DISABLE the custom titles
		 | 
| 
			 
			#3  
			
			
			
			
			
		 | |||
| 
 | |||
|   
			
			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. | 
| 
			 
			#4  
			
			
			
			
			
		 | ||||
| 
 | ||||
|   
			
			$bbuserinfo['customtitle'] is the custom title $bbuserinfo['usertitle'] is the user's rank | 
| 
			 
			#5  
			
			
			
			
			
		 | |||
| 
 | |||
|   
			
			Umm, ok i put that in and all it did was make EVERYONES rank "Administrator" o_O | 
| 
			 
			#6  
			
			
			
			
			
		 | |||
| 
 | |||
|   
			
			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.
		 | 
| 
			 
			#7  
			
			
			
			
			
		 | |||
| 
 | |||
|   
			
			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.
		 | 
| 
			 
			#8  
			
			
			
			
			
		 | |||
| 
 | |||
|   
			
			$bbuserinfo[usertitle] displays admin, yep.  I don't know what the code should be, but just confirming what he posted.
		 | 
| 
			 
			#9  
			
			
			
			
			
		 | ||||
| 
 | ||||
|   
			
			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 | 
|  | 
| 
 | 
 | 
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
| 
 | |
|  More Information | |
| Template Usage: 
 Phrase Groups Available: 
 | Included Files: 
 Hooks Called: 
 |