vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Mods SuperMods and Admins Can Use Custom Avatars (https://vborg.vbsupport.ru/showthread.php?t=45246)

N9ne 10-30-2002 10:00 PM

Mods SuperMods and Admins Can Use Custom Avatars
 
I guess this is a re-release, I use my own code for this though, so you can set which usergroups can use them. FireFly's hack didn't seem to work for me on my 2.2.8 but this did. With this you can also add other usergroups etc. which is very easy. Maybe you want to allow all mods supermods and admins to use them, but you have a special usergroup for contributors or something, then you could allow them to use custom avatars too.

Attached are the instructions, shouldn't take long at all.

Ninth Dimension 10-31-2002 12:00 PM

Fantastic, I myself have just become a little tougher on my forum saying that you need 100 posts to get a custom avatar, which of cource is affecting my mods, etc... so this hack wil work great - will install shortly.

Chris M 10-31-2002 12:09 PM

Nice hack, but useless @ my forum:)

Satan

bblack 10-31-2002 05:06 PM

It's look like a good HACK !

I try on my forum too !
Thanks alot for the good taff !
@+

LordZypher 11-01-2002 04:46 AM

Glad you came out with one thats compatabe with 2.2.8 :D I need it to be able to allow custom usergroups avatar access for instance I have a contributing member section and I want them to be able to upload or link to there own.. Thanks much...

N9ne 11-01-2002 01:33 PM

LordZypher: If you want to do that, just find out their userID and just change the numbers in the code ;)

LordZypher 11-01-2002 04:37 PM

Kool It works.. Great job N9ne!!

Ok a small request for this addon... Can you make it allow only a certain user group to use custom titles?

I was thinking that this ?might? work but I still have no idea where I would need to put it

Code:

if ($bbuserinfo[usergroupid]==9) {
        $titlecustomposts = 0;
        }

As you can probably already tell I am still new to php and this code language so please bear with me.. :)

Ein 11-02-2002 02:40 PM

Wonderful, works great. You have to have 1000 posts for it at my board, and I previously had to put an extra 1000 posts onto all of my staff. Big time/confusion saver.

Chris M 11-02-2002 02:44 PM

@Ein - Why didnt you just add an Avatar for them via the Admin Control Panel?

User -> Change Avatar

Satan

LordZypher 11-28-2002 05:16 AM

Hey.. I noticed a problem with the Mods SuperMods and Admins Can Use Custom Avatars hack... It shows for the contributing members but when they try to upload or link a avatar they get this message
Code:


No avatar specified. If you followed a valid link, please notify the webmaster


Can you advise me as to what may be causeing this? Thanks...


All times are GMT. The time now is 01:54 AM.

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.01006 seconds
  • Memory Usage 1,725KB
  • 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
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete