View Full Version : Admins Can Only.......
black
03-13-2002, 03:38 AM
Admins can only have images in their sigs when the Vb Img code is cut off for members sigs Dont know if this is already made or not but could someone help please
Umm... well if I could find where the restriction comes into play I might be able to do it.
Admin
03-13-2002, 04:35 PM
In functions.php replace:
global $allowhtml,$allowbbcode,$allowbbimagecode,$allowsm ilies;
if ($forumid == 0)
{
$dohtml=$allowhtml;
$dobbcode=$allowbbcode;
$dobbimagecode=$allowbbimagecode;
with:
global $allowhtml,$allowbbcode,$allowbbimagecode,$allowsm ilies,$post;
if ($forumid == 0)
{
$dohtml=$allowhtml;
$dobbcode=$allowbbcode;
$dobbimagecode=iif($post['usergroupid']!=6, $allowbbimagecode, 1);
That should work. :)
wooolF[RM]
03-13-2002, 05:36 PM
]working like a charm :D
I have not requested it, but used it ;)
black
03-14-2002, 04:18 AM
Thanks Firefly! :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.