View Full Version : [img] Tag in Signatures by Usergroup
filburt1
04-14-2003, 10:00 PM
This hack allows you to control what usergroups can use the [img] tag in signatures.
Two important notes:
1. Deny rights take power over allow rights, so if it is disabled globally, this setting won't make a difference.
2. This hack only stops users from using [img] tags when they try to edit their signature. It does not affect users who already have it in their sigs.
filburt1
04-15-2003, 07:08 PM
When denied:
filburt1
04-15-2003, 07:09 PM
New setting in admin CP:
Very nice hack! This could come in handy for many many boards.
AlexanderT
04-15-2003, 08:02 PM
I receive this error when trying to run the script:
Parse error: parse error, unexpected T_VARIABLE in /home/turcicc/public_html/forumstest/admin/install_imgtagbyusergroup.php on line 15
FIX: line 14 is missing a semicon and should be corrected to:
$requirestyleidselect = true;
ryancooper
04-15-2003, 09:11 PM
I am going to install this tonight!!
AlexanderT
04-15-2003, 09:37 PM
*installed* working fine here!
One cosmetic thing: In order for this to work you must turn on [img] for signature in the general options (as filburt also mentioned). But then, for ANY user it will say "[img] code is ON" in the Profile update dialog. Couldn't there be a small routine that checks the canimginsig entry in usergroup?
DarkDraco07
04-15-2003, 09:45 PM
finally someone made a hack i requested. about time :)
* DarkDraco07 installs
filburt1
04-15-2003, 10:46 PM
Today at 05:02 PM AlexanderT said this in Post #5 (https://vborg.vbsupport.ru/showthread.php?postid=382657#post382657)
I receive this error when trying to run the script:
Parse error: parse error, unexpected T_VARIABLE in /home/turcicc/public_html/forumstest/admin/install_imgtagbyusergroup.php on line 15
FIX: line 14 is missing a semicon and should be corrected to:
$requirestyleidselect = true;
Fixed.
filburt1
04-15-2003, 10:47 PM
Today at 06:37 PM AlexanderT said this in Post #7 (https://vborg.vbsupport.ru/showthread.php?postid=382720#post382720)
*installed* working fine here!
One cosmetic thing: In order for this to work you must turn on [img] for signature in the general options (as filburt also mentioned). But then, for ANY user it will say "[img] code is ON" in the Profile update dialog. Couldn't there be a small routine that checks the canimginsig entry in usergroup?
There could be. All you'd have to do is check $permissions['canimginsig'].
Talisman
04-16-2003, 07:31 AM
Nice hack. Think I'd better start thinking about finally doing an upgrade...... will be back for this one, afterwards.
Cheers
Breaker
04-16-2003, 11:10 AM
gr8 idea filb, wont use this hack but gr8 hack
edit: would u be able to change this so certain users can't use html?
Chris M
04-16-2003, 02:26 PM
Nice hack filby:):p
Satan
ryancooper
04-19-2003, 11:01 PM
Works like a charm here! Thanks!!
Very cool, thanks for sharing :)
*installed.
Xyphen
05-03-2003, 04:40 PM
can you make this for posts? like allow admins to post [img ] codes in their posts??
bigwest
06-07-2003, 04:50 AM
Great hack.. I have been using it for weeks but today I tried to add a new user group and I get the following error...Database error in vBulletin Control Panel 2.3.0:
Invalid SQL: INSERT INTO usergroup (canimginsig, usergroupid,title,usertitle,cancontrolpanel,canmod ifyprofile,canviewmembers,canview,showgroup,cansea rch,canemail,canpostnew,canmove,canopenclose,cande letethread,canreplyown,canreplyothers,canviewother s,caneditpost,candeletepost,canusepm,canpostpoll,c anvote,canpostattachment,ismoderator,canpubliceven t,canpublicedit,canthreadrate,cantrackpm,candenypm receipts,maxbuddypm,maxforwardpm,canwhosonline,can whosonlineip,cangetattachment)
VALUES (NULL,'Survivor','Survivor',0,1,1,1,1,1,1,1,0,0,0, 1,1,1,1,0,1,1,1,1,0,0,0,1,0,0,0,0,1,0,1)
mysql error: Column count doesn't match value count at row 1
mysql error number: 1136
Date: Friday 06th of June 2003 11:44:49 PM
Script: http://www.mysite.com/vbulletin/vbulletin/admin/usergroup.php
Referer: http://www.mysite.com/vbulletin/admin/usergroup.php?action=add&
Any ideas??
Cold Steel
06-25-2004, 04:21 AM
Any chance of this being ported to vB3?
properclone
01-15-2005, 12:25 PM
I could really do with an updated version for current vB.
JayJay
01-18-2005, 02:50 PM
I also would be interested in this feature for VB3. Have been looking for something similar for some time.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.