vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=163022

Limit Links In Signature
by Alphawolf83
18 Nov 2007 14:57

5 Attachment(s)
This version is for 3.6.x only, if you'd like to use it with 3.8.x, click here!

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 18 Nov 2007 15:01

Reserved (moved screenshot to the first post).

PoetJA-1975 18 Nov 2007 15:55

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 18 Nov 2007 16:11

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 18 Nov 2007 17:39

Nice addition, and definitely worthy of default featurage!

Thanks. :)

PoetJA-1975 19 Nov 2007 00:49

Quote:

Originally Posted by Alphawolf83 (Post 1384940)
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 19 Nov 2007 07:40

Quote:

Originally Posted by PoetJA-1975 (Post 1385223)
OK = Thanx for the share ;)

Jacquii.

It's a nice idea though and is worth a thought for future releases. :)

projectego 19 Nov 2007 09:02

Great idea. :)

/me clicks install

PhoneiX 19 Nov 2007 09:11

A suggestion: If we set permissions for per usergroup and/or by post counts, it would be great!

~Installed.

PoetJA-1975 20 Nov 2007 01:49

Quote:

Originally Posted by Alphawolf83 (Post 1385346)
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 21 Mar 2008 18:17

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 01 May 2008 04:16

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 21 May 2008 07:15

It works on vB 3.6.7. Thanks

auctionguy 05 Aug 2008 19:46

Quote:

Originally Posted by bongwater (Post 1504073)
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 05 Aug 2008 20:59

Quote:

Originally Posted by auctionguy (Post 1592052)
Yes!! I would also like to know if it works with the 3.7.2 PL1?

I'll have a look at it.


All times are GMT. The time now is 16:57.

Powered by vBulletin® Version 3.8.14
Copyright © 2020, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.