vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Administrative and Maintenance Tools - Limit Links In Signature (https://vborg.vbsupport.ru/showthread.php?t=220943)

Alphawolf83 08-14-2009 10:00 PM

Limit Links In Signature
 
1 Attachment(s)
This version is for 3.8.x only, if you'd like to use it with 3.6.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.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

Code:

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

Quote:

Originally Posted by riverwire (Post 1959749)
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


All times are GMT. The time now is 07:13 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01095 seconds
  • Memory Usage 1,754KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (21)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete