![]() |
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. |
Cool! But could you add support for mod_rewrite? Maybe have an option for one or the other in the Admin CP...or a seperate .php file and install file for each?
|
umm, if you want to use mod_rewrite there is nothing stopping you just turn on the image serving option which disables the builtin referer checking and add sig.php to your mod_rewrite ruleset.
|
When I wrote that I was a bit tired from classes:)...forgot how mod_rewrite worked, lol. Alroght, so that answers how to do it...just enable image serving :)
|
The thing I was always concerned with giving the users the ability to show images in their signatures was the size of the image.
Is there a way to use php to use the GD library to re-size the images to a default size? |
cant even start the install script..
Parse error: parse error in c:\program files\nusphere\apache\htdocs\upload\admin\sinstall .php on line 37 this is the line $DB_site->query("INSERT INTO setting VALUES ( NULL, '60', 'Number of images stored per member', 'sigimagesstored', '2', 'The number of uploadable images that are to be stored for each member', '3', '1');"); |
ack. I've fixed the install script and updated the zip file redownload it.
The fixed version has sinstall.php dated: 21 September 2001, 03:26:32 AM |
Parse error: parse error in /home/httpd/www/forums/admin/sinstall.php on line 37
|
Quote:
B) That the instructions have the version number 1.01 |
Quote:
i downloaded from here but it does not work. :( |
All times are GMT. The time now is 03:24 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|