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, well i installed vb 2.3.2, so had to reinstall this hack, worked great in 2.3.0
anyways not sure what the problem is, when i try to upload a image it gives me this error
Warning: move_uploaded_file(/home/virtual/site2/fst/var/www/html/forums/images/vbsigs/uid2230iid15.gif): failed to open stream: Permission denied in /home/virtual/site2/fst/var/www/html/forums/simage.php on line 129
Warning: move_uploaded_file(): Unable to move '/tmp/phpCaITex' to '/home/virtual/site2/fst/var/www/html/forums/images/vbsigs/uid2230iid15.gif' in /home/virtual/site2/fst/var/www/html/forums/simage.php on line 129
and then the image is a little red X, any ideas here?
Yesterday at 06:05 AM IceMalee said this in Post #211 ok, well i installed vb 2.3.2, so had to reinstall this hack, worked great in 2.3.0
anyways not sure what the problem is, when i try to upload a image it gives me this error
Warning: move_uploaded_file(/home/virtual/site2/fst/var/www/html/forums/images/vbsigs/uid2230iid15.gif): failed to open stream: Permission denied in /home/virtual/site2/fst/var/www/html/forums/simage.php on line 129
Warning: move_uploaded_file(): Unable to move '/tmp/phpCaITex' to '/home/virtual/site2/fst/var/www/html/forums/images/vbsigs/uid2230iid15.gif' in /home/virtual/site2/fst/var/www/html/forums/simage.php on line 129
Does the directory "'/home/virtual/site2/fst/var/www/html/forums/images/vbsigs/" exist on the server?
Does the mentioned directory have the correct permissions to allow this hack/php to read/write/modify files inside it.
The move uploaded file error suggests to me one of those cases above is true.
Whilst your directory permissions seem correct the error the PHP is giving is definately a permissions related one. The "move_uploaded_file" function mentioned is a PHP built in function for handling file uploads. I'm not sure why PHP is saying you don't have permission. :beard:
What version of PHP?
Is safe mode enabled or disabled?
this may only be for 2.3.2 i dunno but heres a error in this hack, says in functions.php find
"/(\[)(php)(])(\r\n)*(.*)(\[\/php\])/esiU",
"/javascript:/si",
"/about:/si",
"/vbscript:/si"
and change it to
"/(\[)(php)(])(\r\n)*(.*)(\[\/php\])/esiU",
"/javascript:/si",
"/about:/si",
"/vbscript:/si",
"/(\[sig\=)(.*)(\])/esiU" // addition
THAT IS WRONG SO BE CAREFUL, missing comma, change it to this
"/(\[)(php)(])(\r\n)*(.*)(\[\/php\])/esiU",
"/javascript:/si",
"/about:/si",
"/vbscript:/si",
"/(\[sig\=)(.*)(\])/esiU", // addition
another same file
when u change the next one in functions.php change it to this
"phphighlite('\\5')",
"java script:",
"about :",
"vbscript :",
"checksigimage('\\2')", // addition
Warning: Cannot modify header information - headers already sent by (output started at /home/piper/public_html/admin/functions.php:2555) in /home/piper/public_html/admin/functions.php on line 1732
Warning: Cannot modify header information - headers already sent by (output started at /home/piper/public_html/admin/functions.php:2555) in /home/piper/public_html/admin/functions.php on line 1732