vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Signature Image System (https://vborg.vbsupport.ru/showthread.php?t=28520)

dabean 09-19-2001 10:00 PM

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.

DarkReaper 09-20-2001 06:21 PM

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?

dabean 09-20-2001 06:29 PM

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.

DarkReaper 09-20-2001 08:37 PM

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 :)

VirtueTech 09-20-2001 10:45 PM

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?

maverick1236 09-21-2001 01:14 AM

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');");

dabean 09-21-2001 01:30 AM

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

tkhjosh 09-21-2001 02:22 AM

Parse error: parse error in /home/httpd/www/forums/admin/sinstall.php on line 37

dabean 09-21-2001 02:32 AM

Quote:

Originally posted by tkhjosh
Parse error: parse error in /home/httpd/www/forums/admin/sinstall.php on line 37
download the updated version, check it is the updated version by A) checking the time stamp on sinstall.php in winzip is 21 September 2001, 03:26:32 AM.

B) That the instructions have the version number 1.01

tkhjosh 09-21-2001 04:09 AM

Quote:

Originally posted by dabean
Signature Image Management System (file based)

Updated: 21 Sep 2001, 03:26:32 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.0.3 or newer for the upload functions to work correctly.
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.

Users of vBulletin's standard sig editor should follow the instructions in install_vbstandard.txt

Users of a advanced sig editor should follow the instructions in install_advancededitor.txt

Version 1.01
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.


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
  • Page Generation 0.01323 seconds
  • Memory Usage 1,741KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete