Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
  #1  
Old 03-29-2004, 03:15 PM
Stray's Avatar
Stray Stray is offline
 
Join Date: Mar 2004
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default multiple rank images/usergroup hierarchy

Is there anything that allows multiple rank images available?
I want to allow users to have a custom title and multiple ranks. For example, if I had a mod who was also a clan leader, he'd be in the mod group, the clan group and the clan leader group. I'd like to have his custom title, an image that shows he's a mod, an image that shows he's in a clan usergroup and then an image showing that's he's a clan leader.
Currently I think the custom title wipes out the primary usergroup rank and you can only have one secondary usergroup image.

I also mentioned in another thread that I think a usergroup hierarchy hack would be very useful for a variety of topic related boards, although I don't know if it's possible or exactly how painfully difficult it might be. Something that shows users ranks within the usergroup might be very popular, especially on gaming forums inhabited by multiple clans.
Reply With Quote
  #2  
Old 10-02-2004, 05:54 AM
SnitchSeeker's Avatar
SnitchSeeker SnitchSeeker is offline
 
Join Date: Sep 2004
Posts: 112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I want something similar to this. I hope we get an answer soon.
Reply With Quote
  #3  
Old 03-15-2005, 05:55 AM
Acers's Avatar
Acers Acers is offline
 
Join Date: Feb 2005
Posts: 180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i want exactly this... amyway?
Presently the secondary usergroup ranks are not showing :s
Reply With Quote
  #4  
Old 03-23-2005, 02:59 PM
Steve F's Avatar
Steve F Steve F is offline
 
Join Date: Mar 2003
Location: UK
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can set ranks via secondary group with a little template change.

I had the same probs on my forums, I wanted to create 'honour badges'. Since there isn't a mod for this yet (afaik) I have to set up a secondary usergroup for each 'badge'. Then add the users to that badge secondary group(s). You will have to edit the postbit template to show secondary group ranks, add this code to where you want your stuff to show up (image or title or whatever).

Code:
<if condition="is_member_of($post, X)"> your image or title code goes here </if>
X is the number of secondary usergroup.

Hope this helps
Reply With Quote
  #5  
Old 04-24-2005, 11:54 PM
Cyricx Cyricx is offline
 
Join Date: Aug 2002
Location: Missouri
Posts: 1,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Trying to do simliar, but without 30 "if" statements in the postbit :P
Reply With Quote
  #6  
Old 05-01-2005, 10:33 AM
Steve F's Avatar
Steve F Steve F is offline
 
Join Date: Mar 2003
Location: UK
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There is a mod for it now, you can find it here https://vborg.vbsupport.ru/showthread.php?t=78934
Reply With Quote
  #7  
Old 05-02-2005, 12:54 PM
Cyricx Cyricx is offline
 
Join Date: Aug 2002
Location: Missouri
Posts: 1,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's an awards hack bud, while you could use it to circumvent it wouldn't do what your needing.

When you add a person to X secondary usergroup, they automatically have X display in their postbit.

That you would have to go through and individually give each person the award.

And if you DO happen to use the awards for anything else, they would all be located in the same area. Imagine what mixing text from this and then award images from something else would look like?

I've got it working now with a TON of if statements in the postbit but that's hardly clean or quick and easy to modify as well as a bit sluggish.
Reply With Quote
  #8  
Old 09-14-2005, 05:47 PM
MadMorbius MadMorbius is offline
 
Join Date: Sep 2005
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I realise nobody has done anything with this is a long time, but I could use some clarification. Sine I know nothing about php, if I have an image entitled "specialimage.gif" located in /images/special/ and I want it displayed forusergruop 11, do I enter:

Code:
<if condition="is_member_of($post, 11)"><img src="/images/special/specialimage.gif"></if>
Or do I need to specify a specific stylevar? I really don't know what I'm doing...

Thanks for any assistance that can be provided.
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 01:47 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04706 seconds
  • Memory Usage 2,225KB
  • Queries Executed 13 (?)
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
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)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_postinfo_query
  • fetch_postinfo
  • 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