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.
if ($bbuserinfo[showvbcode]) {
$vbcode_smilies = getclickysmilies();
}
what file is this in?
signature.php which will only exist if you have one of forementioned hacks. Part 3 is only for use when those hacks are used. Part 2 is for use when you don't have said hacks installed all part 2 changes are in member.php.
ok, all added.. in vboptions I get this under signature storage...
Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in /home/xelation/public_html/forum/admin/options.php(72) : eval()'d code on line 1
Originally posted by Xelation ok, all added.. in vboptions I get this under signature storage...
Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in /home/xelation/public_html/forum/admin/options.php(72) : eval()'d code on line 1
ack typing error in the installer.
IF you have phpmyadmin installed the run the query below.
UPDATE setting SET optioncode='<select name=\"setting[$setting[settingid]]\">
<option value=\"0\" ".iif($setting[value]==0,"selected","").">Local Only</option>
<option value=\"1\" ".iif($setting[value]==1,"selected","").">Remote Only</option>
<option value=\"2\" ".iif($setting[value]==2,"selected","").">Local & Remote</option></select>' WHERE varname='sigstorage'
Alternatively re-download the zip use the uninstaller to remove the database changes then carry out just step 2 of the installation (sinstall.php?action=install&step=2) .
Warning: Unable to create '/home/totalsho/public_html/forums/images/sigs/uid1iid.gif': Permission denied in /home/totalsho/public_html/forums/simage.php on line 129
Warning: Unable to create '/home/totalsho/public_html/forums/images/sigs/uid1iid.gif': Permission denied in /home/totalsho/public_html/forums/simage.php on line 129
my sig dir is forums/images/sigs
both images/sigs chmod to 666
anything i'm missing here?
thnx
That looks correct, 666 shouldn't cause that problem, um try chmod'ing the directory(s) 777 to see if it cures the problem.
roughly you need vB code in signatures turned on. Also the [sig] tag works like [sig=6] and the template set is designed to create tags in that format. In fact if the value after the ='s is anything but a integer you won't see anything. This is by design.
Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in /home/xelation/public_html/forum/admin/options.php(72) : eval()'d code on line 1
after I did that query I did the second thing and still get the above. any ideas?
roughly you need vB code in signatures turned on. Also the [sig] tag works like [sig=6] and the template set is designed to create tags in that format. In fact if the value after the ='s is anything but a integer you won't see anything. This is by design.
hey thanx for the support dabean, it works perfect
but can't i edit the code so when i click on the sig it auto-inserts the code and the id?