Version: , by dabean
Developer Last Online: Dec 2003
Version: 2.2.x
Rating:
Released: 09-19-2001
Last Update: Never
Installs: 33
No support by the author.
Signature Image Management System (file based)
Updated: 27 June 2002, 12:22 AM BST
This hack allows users to upload a image or images that they can then use as part of the thier signature. All uploaded images are private to the user that uploaded them.
The hack requires that you have PHP 4.1.0 or newer for the upload functions to work correctly. PHP 4.0.6 can be used with modifications (not recommended).
The scripts can if enabled also prevent users from externally linking to the images they uploaded, please note this is done by HTTP_REFERER checking not all http servers or browsers support this however is more widely supported than Apache's mod_rewrite. Should you wish to stop deep linking then upload a image called badcontent.gif to your forums directory.
Further more instructions are provided in how to get this hack to work if you are using vBulletin's standard sig editor or a advanced sig editor hack.
Version 2.0 Updates
- remote storage support
- sig.php nolonger appears in online.php
- special [sig] vB code is used instead of [img] tags
Version 1.3 Updates
- fixed display bug
- added removal script to main package
- added test template set
Version 1.11 Updates
- Image width & height checking
- Extension checking
- More useful error messages
- Added a missing function
Current Version 1.3
Released 20th sept 2001
Requirements:
- vBulletin 2.0.3
- PHP 4.0.3+ (this hack has not been tested on PHP 3.0.17, it may or may not work)
Optional:
- HTTP Server that supports HTTP_REFERER, (Apache 1.2+, IIS 4+)
- badcontent.gif in your forum directory
Screenshots can be found in the zip file.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
ok, lets say I upload this
(1.) I click browse
(2) I upload
C:\Documents and Settings\ferior\Desktop\20a3.jpg
(3) I check the ftp and the directory to see any changes
i now see uid1iid12.jpg , which is exactly 20a3.jpg
(4) I click delete - image removed [ in the window panel ]
(5) uid1iid12.jpg is still their on the ftp.
(6) the images path next to [Base Directory
The base directory to store all signature images in] :
/home/<username>/public_html/sigimage
which has no slash @ the end, if thats where you referring to.
Originally posted by ferior ok, lets say I upload this
(1.) I click browse
(2) I upload
C:\Documents and Settings\ferior\Desktop\20a3.jpg
(3) I check the ftp and the directory to see any changes
i now see uid1iid12.jpg , which is exactly 20a3.jpg
(4) I click delete - image removed [ in the window panel ]
(5) uid1iid12.jpg is still their on the ftp.
(6) the images path next to [Base Directory
The base directory to store all signature images in] :
/home/<username>/public_html/sigimage
which has no slash @ the end, if thats where you referring to.
This is php running on windows or linux/unix?
Your "refreshing" the ftp view after deleting the file?
does changing line 243 in simage.php
"@unlink($sigimagedir ."/uid". $bbuserinfo[userid] ."iid". $sigimage['imageid'] .".". $sigimage['extension']);"
to
unlink($sigimagedir ."/uid". $bbuserinfo[userid] ."iid". $sigimage['imageid'] .".". $sigimage['extension']);