PDA

View Full Version : Administrative and Maintenance Tools - Limit Links In Signature


Alphawolf83
08-14-2009, 10:00 PM
This version is for 3.8.x only, if you'd like to use it with 3.6.x, click here (https://vborg.vbsupport.ru/showthread.php?t=163022)!

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.5
Updated for 3.8.x

Sweeks
08-15-2009, 02:31 PM
Installed, thank you for this :)

erel34
08-15-2009, 04:56 PM
thanks

saltedm8
08-15-2009, 05:09 PM
sweet, been waiting for this.. nice work, thank you

thewebhostingdi
09-19-2009, 04:27 AM
Just to draw the attention of developer ... text written in USERGROUP option is having a spelling mistake "Maximal number of links in signature" ...

I came to know this ... When I was searching for "maximum" word in usergroup option after adding this plugin.

Please correct "Maximal" with "Maximum" so that people can find it easily ....

Prisim
09-19-2009, 02:01 PM
Reserved Nice HAck

KID_1194
09-27-2009, 10:19 AM
Thanks .. Alpha ..

But I couldn't find the option 'Allow Link BBCode' ...

could you be more specific !!

popowich
10-28-2009, 10:45 PM
I don't see any new usergroup options after installing this product on 3.8.4 PL1.

-Raymond

greenflag
11-05-2009, 05:03 PM
i added this. will it correct existing sigs with more than the allowed amount?

Adam H
01-18-2010, 11:27 PM
What would the new template edits be to replace these to make it work with VB4

Search in Template modifysignature
--------------------------------------------------------------------------------
<div>$vbphrase[can_upload_ani_gif_sig_img] <strong><if condition="$show['cananimatesigpic']">$vbphrase[yes]<else />$vbphrase[no]</if></strong></div>
--------------------------------------------------------------------------------

Add below
--------------------------------------------------------------------------------
<div>$vbphrase[max_link_tags]: <strong>$max_link_tags</strong></div>
--------------------------------------------------------------------------------

Adam H
01-18-2010, 11:44 PM
Forget what i just said lol , VB4 comes with that feature as standard :rolleyes:

J6488EEA8E90
04-24-2010, 05:21 AM
VB4 comes with that feature as standard :rolleyes:


Where can I find that setting in vb4?

Brandon Sheley
06-05-2010, 05:22 AM
thanks, just added it
I could click edit signature, and preview with more then the allowed number for that group, or does admin override all? (admin group was set to 6, I could preview with 9 np)

PankajKumar
06-21-2010, 10:31 AM
does it work in 4.0.4 ? can anybody confirm this?

PankajKumar
06-21-2010, 01:45 PM
Hi All,

I tried to install this but I am not sure where to put the template change. I searched the found similar code in vbulletin-style.xml but looks like the language is different. Can anybody help me getting this pls? what would be the change required in the template for VB4

funmasti
06-23-2010, 08:43 AM
nice mod to prevent extra spam

bahisbudur
07-09-2010, 09:03 AM
hello, is there any mod like this for vb4?

Qwest
09-20-2011, 12:14 AM
works in vb 4.1 :)

dartho
11-25-2011, 09:26 AM
I tried to disable signature links for a specific group, could only do this by setting the max number of links to "-1"

Thanks!

datoneer
04-08-2012, 01:03 PM
Great mod! Works with 4.1.10!

StallBid
05-10-2012, 05:08 PM
Nice work. Thanks for this awesome mod. Just to make sure if this will also work in 4.1.12