Excessive Signature Check
This modification is in the archives.
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> Code:
<if condition="$show['admincplink']"><a href="$admincpdir/signaturecheck.php$session[sessionurl_q]">Check Signatures</a> -</if> 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. Screenshots |
Similar Mods
Excessive | vBulletin 3.6 Styles |