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)
-   -   Allow signatures and avatars per usergroup (https://vborg.vbsupport.ru/showthread.php?t=38952)

Scott MacVicar 05-22-2002 10:00 PM

Allow signatures and avatars per usergroup
 
This is a hack to allow you to turn on signatures and avatars per usergroup, the user can still set them in the usercp and select on the post if they wish the signature to be included.

But if their usergroup isn't allowed to have avatars or isn't allowed to have a signature it won't display in the post.

This is purely for a per usergroup basis.
For example avatars and signatures are turned off for the banned usergroup, why do i want them to waste my bandwidth?

TECK 05-23-2002 09:05 PM

very good idea. i will install it.

SemperFidelis 05-24-2002 05:34 AM

Pretty sweet hack PPN
Thanks for all your efforts

squawell 05-24-2002 08:01 AM

nice work PPN.......

thankz.:D:D:D:D

xug 06-24-2002 03:52 AM

Could this hack be adjusted so that you can switch off/on for each member?

N9ne 06-24-2002 02:46 PM

For this hack, can you have like only Moderators/SuperModerators/Administrators can have a Custom Avatar?

Xenon 06-24-2002 03:05 PM

looks good, think i'll install it

LilTara 02-01-2003 12:56 AM

I just installed this hack on 2.2.9 with no problems... though in the usergroup.php you might want to switch

Code:

makeyesnocode("Can use signature","canuseavatar",$usergroup[canuseavatar]);
  makeyesnocode("Can use avatar","canusesignature",$usergroup[canusesignature]);

to this...

Code:

makeyesnocode("Can use avatar","canuseavatar",$usergroup[canuseavatar]);
  makeyesnocode("Can use signature","canusesignature",$usergroup[canusesignature]);

It shows up backwards if you don't reverse 'em. :)


All times are GMT. The time now is 01:33 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.00950 seconds
  • Memory Usage 1,717KB
  • 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)post_thanks_navbar_search
  • (1)printthread
  • (8)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