Back to vBulletin 3.7 Add-ons

Excessive Signature Check
Mod Version: 1.00, by tmiland

This modification is in the archives.
vB Version: 3.7.0 Rating: (0 vote - 0 average) Installs: 22
Released: 31 Mar 2008 Last Update: Never Downloads: 144
Not Supported Is in Beta Stage  

vBulletin Excessive Signature Check v1.0

Modified for vBulletin 3.7.0 rc1
©Tommy Miland 2008
http://www.snute.net
With permission from original owner

Original script for e107 by:
©Richard Perry 2004
http://www.greycube.com

Released under the terms and conditions of the
GNU General Public License (http://gnu.org).

Note: Use at your own risk!

Installation:

- Upload the signaturecheck.php to your admincp folder
- Add a link in the footer template
Find:
Code:
<if condition="$vboptions['hometitle']"><a href="$vboptions[homeurl]">$vboptions[hometitle]</a> -</if>
Add after:
Code:
<if condition="$show['admincplink']"><a href="$admincpdir/signaturecheck.php$session[sessionurl_q]">Check Signatures</a> -</if>
Configuration:

Edit the signaturecheck.php and near the top you can change the following settings

$image_maxsize = // MAX FILE SIZE IN KB
$image_maxwidth = // WIDTH IN PIXELS
$image_maxheight = // HEIGHT IN PIXELS
$image_timeout = // TIME ALLOWED FOR LOADING THE IMAGE IN SECONDS

Running:

Note the script can only be run by an admin.

By default the script is PASSIVE and will NOT remove any signatures, just display the results.

For this type in a browser http://www.yourdomain.com/forum/admincp/signaturecheck.php

You can make the script active and go through replacing excessive signatures as well

For this type in a browser http://www.yourdomain.com/forum/admincp/signaturecheck.php?active=1

On either mode, THE SCRIPT CAN TAKE A LONG TIME TO LOAD, this is because the

webserver has to download each signature image to be able to check the size.

Just be patient and go make a drink, im talking about 10 mins per 500 sigs.

Limitations:

Currently the signature check is limited to checking images only

This means that excessive text based signatures ( large fonts, long lines etc ) will not be fixed.

Existing signatures in your forum posts will not be replaced, wich means the script will only replace signatures in the profile.
To replace signatures wich have been removed by the script, you need to run "Empty Signature Cache" in the Maintenance section of Admincp. (Thanks to FRDS for the reminder)

Take a look at the images to see how it works:

Download

This modification is archived, downloads are still allowed.

File Type: %1$s signaturecheck.php (6.1 KB, 80 downloads)
File Type: %1$s readme.txt (1.7 KB, 77 downloads)

Screenshots

Click image for larger version
Name:	FromClipboard.jpg
Views:	528
Size:	22.5 KB
ID:	77999   Click image for larger version
Name:	FromClipboard2.jpg
Views:	452
Size:	21.3 KB
ID:	78000  

Similar Mods

Excessive vBulletin 3.6 Styles

vblts.ru supports vBulletin®, 2022-2025