vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   User Ranks (https://vborg.vbsupport.ru/showthread.php?t=102374)

Robbed 12-06-2005 09:11 PM

User Ranks
 
How do we edit the code so the ranks are not displayed by usergroup id?

evenmonkeys 12-06-2005 09:26 PM

How would you rather they be grouped?

Robbed 12-06-2005 09:35 PM

Well I make one rank for admins that displays an admin logo and also have one for Sponsors that will display that they are a sponsor.

I want the Admin logo to be 1st then the sponsor.

evenmonkeys 12-06-2005 09:49 PM

Couldn't you have two seperate usergroups and have the two ranks stack? Or are they not stacking properly? If it all comes down to it, you can make a rank with both images or whatever in it.

Robbed 12-06-2005 09:51 PM

This is what Steve from Vbulletin said

Specifying the rank order requires modifying the code. We cannot officially support code modifications or forums running modified code, however can try searching or asking for help with this over at www.vbulletin.org.

some admins are in the sponsored group and Admin group,

The sponsored rank always displays 1st and doesn't look right.

evenmonkeys 12-06-2005 10:32 PM

Ohhh. So you're looking for a way to choose the display order of ranks then? That'd be a handy hack to have. I'd ask for this over in Requests.

Robbed 12-06-2005 10:41 PM

Ya it would be not sure why it's not included.

My work around was making a group callled admin logos and included admins as secondary that was created after a group called sponsors. Alot of extra work and groups.

Or how about something simple, If a user is in admin group 6 post this logo for the post bit

<if condition="is_member_of($post, X)"> // <--- change X to the group number
/path/to/image
</if>

Can something like this work for VB 3.5

I got it to work using this
<BR>
<if condition="is_member_of($post, 6)"> <img src="$stylevar[imgdir_misc]/Admin.gif"
</if>

Sculli 02-25-2006 05:32 AM

Any chance someone could wrap this into a plugin or something?
Please.

Kihon Kata 04-18-2006 01:06 PM

Bump, I agree Skulli, a plugin would be nice :-D

BreezeDK 05-14-2006 08:42 PM

yes go go someone who knows how :)


All times are GMT. The time now is 01:13 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.01080 seconds
  • Memory Usage 1,724KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete