View Full Version : Administrative and Maintenance Tools - Limit Links In Signature
Alphawolf83
11-17-2007, 10:00 PM
This version is for 3.6.x only, if you'd like to use it with 3.8.x, click here (https://vborg.vbsupport.ru/showthread.php?t=220943)!
DESCRIPTION
In short, this hack allows you to set a maximal number of allowed links in signatures for each user group. If the user is previewing or saving the signature with more links than allowed, it returns an error message with the current number of links and the allowed one.
Note that this hack does also have any effect when the user has a secondary (member) group. The permissions of users whose secondary (member) group is allowed to use more links than the primary group will be taken. So, if a user is in primary user group "Registered" with 2 links allowed and in secondary group "Verified" with 3 links allowed he is allowed to have 3 links in signature (if the user group option 'Allow Users to have Member Groups' is set to Yes).
The allowed number of links will be shown in the 'Signature Rules' box (if you do the template change).
STATISTICS
File Uploads: 2
File Changes: 0
Template Changes: 1
Products to Install: 1
Time to Install: ~ 2 minutes
FEATURES
Configuration Options per user group
Maximal number of links in signature (int)
Done. ;)
INSTALLATION
- Upload files from the upload folder
- Import the product via ACP > Manage Products > Import
- Do the template change (can be found within the ZIP file!)
CONFIGURATION
Note that by default (after installation) the values are set to 0, means all user groups do not have any limitations unless you edit the permissions!
To set/edit the allowed number of signature links go to "Manage Usergroups", edit the desired usergroup by scrolling down to the "Signature" box where you'll find the new permission setting. Enter 0 to not limit the number of links. If you do not want to allow links in general, set the option 'Allow Link BBCode' to No.
VERSION HISTORY
0.5.0
Initial Release of Limit Links In Signature
Alphawolf83
11-18-2007, 01:01 PM
Reserved (moved screenshot to the first post).
PoetJA-1975
11-18-2007, 01:55 PM
Looks good - question though - Say Registered Member group will have simply 1 link per siggy... If the Member already has 2 links - will the system notify Member to edit signature?
Anyway - thanx for the sharing ;)
Jacquii.
Alphawolf83
11-18-2007, 02:11 PM
Hey PoetJA-1975,
unless the user isnt previewing or trying to save his signature, the script wont 'see' the amount of links in the user's signature.
FleaBag
11-18-2007, 03:39 PM
Nice addition, and definitely worthy of default featurage!
Thanks. :)
PoetJA-1975
11-18-2007, 10:49 PM
Hey PoetJA-1975,
unless the user isnt previewing or trying to save his signature, the script wont 'see' the amount of links in the user's signature.
OK = Thanx for the share ;)
Jacquii.
Alphawolf83
11-19-2007, 05:40 AM
OK = Thanx for the share ;)
Jacquii.
It's a nice idea though and is worth a thought for future releases. :)
projectego
11-19-2007, 07:02 AM
Great idea. :)
* projectego clicks install
PhoneiX
11-19-2007, 07:11 AM
A suggestion: If we set permissions for per usergroup and/or by post counts, it would be great!
~Installed.
PoetJA-1975
11-19-2007, 11:49 PM
It's a nice idea though and is worth a thought for future releases. :)
Yes - I think so too
Again = Thanx for the share ;)
Jacquii.
kevster1
03-21-2008, 04:17 PM
great mod many thanks.
simple install took 2 mins and using on 3.6.8 at http://www.webdetector.co.uk/forum/
clicking install
:D
bongwater
05-01-2008, 02:16 AM
anybody know if this works in 3.7 ? I installed this modification, but I still see users updating their signatures with multiple hyperlinks showing
valdet
05-21-2008, 05:15 AM
It works on vB 3.6.7. Thanks
auctionguy
08-05-2008, 05:46 PM
anybody know if this works in 3.7 ? I installed this modification, but I still see users updating their signatures with multiple hyperlinks showing
Yes!! I would also like to know if it works with the 3.7.2 PL1?
Alphawolf83
08-05-2008, 06:59 PM
Yes!! I would also like to know if it works with the 3.7.2 PL1?
I'll have a look at it.
xxclixxx
08-06-2008, 01:42 AM
It does not work with 3.7.2 - It didn't modify the MySQL database and after modifying it myself it didn't stick. Too tired to look deeper into it.
slinky
09-03-2008, 07:56 PM
Yeesh... too bad. Looks like there is no other hack that does this kind of thing for vb 3.7.2.... thanks for the fun while it lasted...
Kalina
09-30-2008, 10:11 PM
Any chance this will be updated to work again? 3.7.3 here and it's still not working.
CLUB AMPLE
10-22-2008, 06:51 PM
i would like to see this in future updates too! competing with other social networks is hard enough without a tons of their links showing up.. and you dont want to limit the characters too much... so please someone make this work for 3.7
StormBreaker
10-24-2008, 07:51 PM
Me to want it to work with 3.7 :(
magnaromagna
10-27-2008, 10:48 AM
not working on 3.7.3
any update or alternative solutions?
SirFalcon
04-02-2009, 04:15 AM
Let me know if there is a working hack for 3.8
Milez
05-18-2009, 09:58 AM
Wow me too...I think a lot of people want this for 3.8.x as this is a really useful mod.
JessicaS
05-27-2009, 09:31 PM
This would be really useful for me. Is there any chance of an update or similar mod?
Swapnil
06-04-2009, 03:52 AM
gr8, installed. excellent mod !
HeyMe
08-02-2009, 11:00 AM
If this in no longer supported, someone should make a similar mod. I hope the reason no one did it yet is not "copyright", this fascist copyright can be tiring.
It's just a modification to make vB do something using open source material. Just update it & give credits to the original author!
ghisirds
08-03-2009, 03:43 PM
I installed everything, but when I try to set the number of links gives me this error:
Database error in vBulletin 3.8.1:
Invalid SQL:
UPDATE vb3_usergroup SET
### UPDATE QUERY GENERATED BY fetch_query_sql() ###
`title` = 'Registered Users',
`description` = '',
`usertitle` = '',
`opentag` = '',
`closetag` = '',
`passwordexpires` = '0',
`passwordhistory` = '0',
`forumpermissions` = '12317183',
`genericpermissions` = '1579685063',
`attachlimit` = '0',
`pmquota` = '50',
`pmpermissions` = '3',
`pmsendmax` = '5',
`pmthrottlequantity` = '0',
`calendarpermissions` = '63',
`wolpermissions` = '1',
`adminpermissions` = '0',
`genericpermissions2` = '1',
`genericoptions` = '62',
`profilepicmaxwidth` = '100',
`profilepicmaxheight` = '100',
`profilepicmaxsize` = '65535',
`avatarmaxwidth` = '80',
`avatarmaxheight` = '80',
`avatarmaxsize` = '20000',
`signaturepermissions` = '137215',
`sigpicmaxwidth` = '500',
`sigpicmaxheight` = '100',
`sigpicmaxsize` = '10000',
`sigmaxrawchars` = '1000',
`sigmaxchars` = '500',
`sigmaxlines` = '0',
`sigmaxsizebbcode` = '7',
`sigmaximages` = '4',
`sigmaxlinktags` = '1',
`albumpermissions` = '255',
`albumpicmaxwidth` = '600',
`albumpicmaxheight` = '600',
`albumpicmaxsize` = '100000',
`albummaxpics` = '100',
`albummaxsize` = '0',
`usercsspermissions` = '63',
`visitormessagepermissions` = '63',
`socialgrouppermissions` = '51063',
`maximumsocialgroups` = '5',
`groupiconmaxsize` = '65535'
WHERE usergroupid=2;
MySQL Error : Unknown column 'sigmaxlinktags' in 'field list'
Error Number : 1054
Request Date : Monday, August 3rd 2009 @ 06:40:17 PM
Error Date : Monday, August 3rd 2009 @ 06:40:17 PM
Script : http://scuo.la/admincp/usergroup.php?do=update
Referrer : http://scuo.la/admincp/usergroup.php?do=edit&usergroupid=2
IP Address : 88.149.244.23
Username : Scuola
Classname : vB_Database
MySQL Version : 5.0.22-log
why? What can I do?
thanks
Alphawolf83
08-15-2009, 02:39 PM
First a huge Sorry goes out to everyone who had to be so patient to wait for me to update this modification!
I've been pretty busy the last months. I have updated it to vb 3.8.x now: https://vborg.vbsupport.ru/showthread.php?t=220943
Enjoy!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.