vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   VB 3.5.x Staff images (https://vborg.vbsupport.ru/showthread.php?t=103183)

ssabmud 12-18-2005 06:25 AM

VB 3.5.x Staff images
 
Can anyone get this hack https://vborg.vbsupport.ru/showthrea...ht=staff+image

to work on vbulletin 3.5.x

thanks all help will be appriciated.

https://vborg.vbsupport.ru/attachmen...chmentid=23031

Zachery 12-18-2005 07:33 AM

sorta a worthless hack then, and is now, well.. depending.

Are all of your staff in a specific group? or in the same groups? (eg mods are in group 6 admins 5 and smods 7?

Xplorer4x4 12-18-2005 08:17 AM

Just use the ranking system.

ssabmud 12-18-2005 03:41 PM

Quote:

Originally Posted by Zachery
sorta a worthless hack then, and is now, well.. depending.

Are all of your staff in a specific group? or in the same groups? (eg mods are in group 6 admins 5 and smods 7?

yeh well i have mods and super mods and admin and diablos i jsut love that hack and also im having trouble with the color usernames so i think this hack will do the job if any one can put it together for me it will be awsome and appriciated.
thanks.

Zachery 12-18-2005 03:43 PM

Quote:

Originally Posted by ssabmud
yeh well i have mods and super mods and admin and diablos i jsut love that hack and also im having trouble with the color usernames so i think this hack will do the job if any one can put it together for me it will be awsome and appriciated.
thanks.

Why would you hack in features that already exsist?

You have styled usernames by groups
You can make a "staff" icon appear by usergroup via ranks or even a template edit.

Don't add extra code when what you need is there.

apfparadise 12-18-2005 03:57 PM

Actually I would like this too. I use the Ranks for something else (a contribution system) so I would like another "if in this or this usergroup (admin or mods), show this icon" but I dont know how to do it :) not a php guy :)

ssabmud 12-18-2005 09:18 PM

Quote:

Originally Posted by apfparadise
Actually I would like this too. I use the Ranks for something else (a contribution system) so I would like another "if in this or this usergroup (admin or mods), show this icon" but I dont know how to do it :) not a php guy :)

me 2 i agree with you if anyone can help with the hack i will thank you a lot. :nervous:

Xplorer4x4 12-19-2005 07:23 AM

Quote:

Originally Posted by apfparadise
so I would like another "if in this or this usergroup (admin or mods), show this icon" but I dont know how to do it :) not a php guy :)

Just use the ranking system and make the ranks user group specific.

Zachery 12-19-2005 07:27 AM

Quote:

Originally Posted by apfparadise
Actually I would like this too. I use the Ranks for something else (a contribution system) so I would like another "if in this or this usergroup (admin or mods), show this icon" but I dont know how to do it :) not a php guy :)

in the templates

<if condition="is_member_of($post, X)">

Change x to the usergroupid you want to display a rank image for and add your own html.

Cyricx 12-19-2005 12:38 PM

The ranks override the custom usertitle though. So if you use like a store and have titlewars or something, then your SOL for using the ranking system.. correct?

Also, the if condition is great.... until you have about 20 different ones (which I do since I run a clan site) and then it's just a messy bundle of ugly code ;)

sully02 12-19-2005 04:05 PM

Quote:

Originally Posted by Cyricx
The ranks override the custom usertitle though. So if you use like a store and have titlewars or something, then your SOL for using the ranking system.. correct?

Also, the if condition is great.... until you have about 20 different ones (which I do since I run a clan site) and then it's just a messy bundle of ugly code ;)

Right, here's another example, which I think may have already been addressed:

http://sports-boards.net/forums/showthread.php?t=64449

Vegas, the author of the first post, is one of our paying members (The "Gold Member" image is shown via user ranks).

However, Vegas is also a moderator. I used this mod in 3.0.x to give him a "Moderator" icon as well. Without this, I can't give him that icon, and that's my reason for wanting this mod ported.

Zachery 12-19-2005 06:32 PM

Quote:

Originally Posted by sully02
Right, here's another example, which I think may have already been addressed:

http://sports-boards.net/forums/showthread.php?t=64449

Vegas, the author of the first post, is one of our paying members (The "Gold Member" image is shown via user ranks).

However, Vegas is also a moderator. I used this mod in 3.0.x to give him a "Moderator" icon as well. Without this, I can't give him that icon, and that's my reason for wanting this mod ported.

But you can use the condition, and you can also use the rank, because multiple ranks are possible in 3.5

apfparadise 12-19-2005 06:40 PM

OH, I did not know that, will need to look into that.

sully02 12-19-2005 10:03 PM

Quote:

Originally Posted by Zachery
But you can use the condition, and you can also use the rank, because multiple ranks are possible in 3.5

*Jaw drops*

I was not aware of that!

apfparadise 12-19-2005 10:10 PM

It's great, I ended up doing something else though. You can use User Titles to do it, also. They are now configurable using Html, so I just did it for the Mods and Admins as a html image tag. Check out the thread here:

http://aquatic-photography.com/forum...ead.php?t=5534

sully02 12-20-2005 05:58 PM

It works indeed!

http://sports-boards.net/forums/showthread.php?t=64589

(However, you don't get to see its greatness until about 30 posts down)

baronvonwalz 12-20-2005 06:11 PM

Just use a postbit modification.

Cyricx 12-20-2005 07:30 PM

Rock on! It used to not let you have more then one rank image :)

Awesome!! Thanks for pointing that out Zachery!

Wham there goes 24 if conditions from my postbit :P


All times are GMT. The time now is 03:09 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.02537 seconds
  • Memory Usage 1,751KB
  • 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
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (18)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