Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
  #1  
Old 02-07-2007, 05:28 PM
crashb555 crashb555 is offline
 
Join Date: Jul 2005
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Forum Leaders Usertitle

Hey
I was wondering if you are able to create a mod that will make it so it shows a special "assigned" usertitle to the Forum Leaders page, for example, I have edited by templates for the forum leaders to show a members usertitle on that page rather than location, so for example:
crashb555
Forum Administrator - my random usertitle

I want it so I can give them a special usertitle in the Admin CP which means that on the Forum Leaders it will give them that usertitle rather than one they made themselves so they can have a usertitle like My Random usertitle - forum admin on their profile/posts but on the leaders page they have Forum Administrator.

Is it hard to make, or does anybody know where I can find this hack already?

Thanks
Reply With Quote
  #2  
Old 02-08-2007, 06:04 PM
Cyricx Cyricx is offline
 
Join Date: Aug 2002
Location: Missouri
Posts: 1,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You could likely do this by assigning user ranks for that usergroup.

I'm not certain if the forum leaders page shows ranks, but that should be an easy template modification.

Have you tried that?
Reply With Quote
  #3  
Old 02-09-2007, 01:27 PM
crashb555 crashb555 is offline
 
Join Date: Jul 2005
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have done that one before, but if someone in that group has a different job title but is still in that group like: Forum Administrator and Forum Manager but they would stilll both be in the Forum Administrators group then it wouldn't work.
Basically a mod where it adds another usertitle to the database for a user to show on the forum leaders page, there may be a way to do it by editing the database and the admincp/users.php page but its too complicated for me to figure out.
Reply With Quote
  #4  
Old 02-09-2007, 01:39 PM
Cyricx Cyricx is offline
 
Join Date: Aug 2002
Location: Missouri
Posts: 1,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think I say something like this for 3.5

It was "additional user title", it had been made to display in the postbit. But I think it could be tweaked to show on the forum leaders page.

I'll take a peek and see if I can find it and tweak it today.
Reply With Quote
  #5  
Old 02-09-2007, 01:51 PM
crashb555 crashb555 is offline
 
Join Date: Jul 2005
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It would just be putting the code on the forum leaders rather than on the postbit.

That would be wicked if you could do that im guessing it will work on 3.6.x if you tweak it?
Reply With Quote
  #6  
Old 02-09-2007, 02:30 PM
Cyricx Cyricx is offline
 
Join Date: Aug 2002
Location: Missouri
Posts: 1,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

O rock! You can do it much easier then I thought

Create a new profilefield in the admincp that is NOT editable by the user.

(that will create a field that only you can change through the admincp)

And then go into your templates, specifically the showgroups_usergroupbit

and add the following where you want it

<if condition="$user['fieldXX']">$user[fieldXX]</if>

Be sure to replace the XX with the field number in question
Reply With Quote
  #7  
Old 02-09-2007, 02:57 PM
crashb555 crashb555 is offline
 
Join Date: Jul 2005
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow, thats a good idea
Just setting it up now.
Thanks a lot
Reply With Quote
Reply

Thread Tools
Display Modes

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 11:11 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.03979 seconds
  • Memory Usage 2,210KB
  • 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)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)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