PDA

View Full Version : Allow signatures and avatars per usergroup


Scott MacVicar
05-22-2002, 10:00 PM
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

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

to this...

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

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