View Full Version : Under user title mod
robertpro2a
08-20-2008, 09:49 PM
Hello,
If this exists please let me know. If not I think it would be superb.
My users enjoy having custom titles; I don't want to remove this capability.
But I wish there was a way for me to enter a list of user names (whom have made a donation to me or assisted me in some way) so that under their custom user title, it says "Official Supporter" in the threads.
What do you think?
ForgotenDynasty
08-20-2008, 10:16 PM
you can give them a rank image and make it just plain text
or if you also want a rank image you can do the regular rank image and put text above it in the same image
robertpro2a
08-20-2008, 10:29 PM
The problem is, then I have to create a separate user group titled "donors". And each time they donate I have to move them to that group...right?
Lynne
08-20-2008, 11:26 PM
The problem is, then I have to create a separate user group titled "donors". And each time they donate I have to move them to that group...right?
Yes, that is the easy way.
I suppose if you only have a couple of users who have donated, you could put a condition in your template to put something:
<if condition="in_array($userinfo[userid],array(x,y,z))">
Text for those that donated
</if>where x,y,z are userids of those that donated.
(NOT TESTED! You may have to put parenthesis around userid or something.)
robertpro2a
08-21-2008, 01:51 AM
Lynne,
So I take it this has never been done officially. Do you think this would be a good idea for a mod?
Edit:
Actually, it's not *too* big of a deal for me to switch usergroups. Do you recommend that? I.e., "John" gives me a donation...and I just switch him over to a usergroup called "Donors"? And usergroup:donors has the SAME permissions as "registered users" just with a different title?
Lynne
08-21-2008, 02:05 AM
What you were asking to do has probably never been done that way because it's so easy to do with usergroups. There are even modifications to add the user to the secondary usergroup automatically when they donate.
Most people just make a secondary usergroup for the donors. Basically you make the secondary group either just like the Registered Usergroup, or make it have hardly any permissions since the bigger permissions in the Registered group would trump the smaller permissions in the secondary usergroup.
robertpro2a
08-21-2008, 11:59 AM
Per your advice, this is what I see now..but it looks like it's still going to replace the user title.
http://img383.imageshack.us/img383/3309/38900290xy0.jpg
Should I do a <if > statement in threadbit to check if user group == donor then display additional title?
Lynne
08-21-2008, 01:42 PM
What is making you think it's going to replace the user title? Create a new user for yourself. Make him a regular registered user. Then add him to this new usergroup. See if he gets some new user title.
I think what you want to do is then use User Ranks. You may create one of those just for users in this new usergroup and it will add something under the title just for them. Again, test this on your new username.
robertpro2a
08-21-2008, 02:57 PM
Ok thanks. That's what I did:
1.) Created new user group called "Supporters".
2.) Created new user rank called "Supporters" to only display for user group "Supporters".
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.