Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 08-20-2008, 09:49 PM
robertpro2a robertpro2a is offline
 
Join Date: Mar 2008
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Under user title mod

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?
Reply With Quote
  #2  
Old 08-20-2008, 10:16 PM
ForgotenDynasty ForgotenDynasty is offline
 
Join Date: Jul 2008
Posts: 98
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #3  
Old 08-20-2008, 10:29 PM
robertpro2a robertpro2a is offline
 
Join Date: Mar 2008
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #4  
Old 08-20-2008, 11:26 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by robertpro2a View Post
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:

HTML Code:
<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.)
Reply With Quote
  #5  
Old 08-21-2008, 01:51 AM
robertpro2a robertpro2a is offline
 
Join Date: Mar 2008
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #6  
Old 08-21-2008, 02:05 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #7  
Old 08-21-2008, 11:59 AM
robertpro2a robertpro2a is offline
 
Join Date: Mar 2008
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Per your advice, this is what I see now..but it looks like it's still going to replace the user title.


Should I do a <if > statement in threadbit to check if user group == donor then display additional title?
Reply With Quote
  #8  
Old 08-21-2008, 01:42 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #9  
Old 08-21-2008, 02:57 PM
robertpro2a robertpro2a is offline
 
Join Date: Mar 2008
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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".
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:38 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04357 seconds
  • Memory Usage 2,237KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_html
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete