Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools
Details »»

Version: , by dabean dabean is offline
Developer Last Online: Dec 2003 Show Printable Version Email this Page

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.

Comments
  #182  
Old 09-22-2002, 12:03 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

and it says that this hack will only work on phpversion: 4.0.6

Is that a precaution or is there any chance that it will work with phpversion: 4.0.5????

- miSt
Reply With Quote
  #183  
Old 09-22-2002, 08:38 PM
dabean dabean is offline
 
Join Date: Oct 2001
Posts: 247
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Mist
and it says that this hack will only work on phpversion: 4.0.6

Is that a precaution or is there any chance that it will work with phpversion: 4.0.5????

- miSt
Actually the readme states:
PHP 4 >= 4.1.0
PHP 4 4.0.6+Upload Patch can used if the installation script is modifed.

So no 4.0.5 can not be used, and neither is 4.0.6 recommended.
Reply With Quote
  #184  
Old 09-23-2002, 03:47 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

where is the upload patch located?

- miSt
Reply With Quote
  #185  
Old 09-23-2002, 06:03 PM
dabean dabean is offline
 
Join Date: Oct 2001
Posts: 247
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Mist
where is the upload patch located?

- miSt
php.net under "File Uploads Security Fix". This only applies to PHP 4.0.6.

Naturally to apply the fix you require 4.0.6 installed from source and the pre-requisit privalages on the server.

Additionally using this hack with PHP 4.0.6 without or even with the mentioned patch is completely at your own risk.

All current versions PHP (e.g. 4.2.3) are not affected and do not require this.
Reply With Quote
  #186  
Old 09-23-2002, 06:20 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

so php 4.0.5 with the security patch cannot be used...

what problems cud this cause on a php with version 4.0.5 or 4.0.6 anyway?

- miSt
Reply With Quote
  #187  
Old 09-23-2002, 06:56 PM
dabean dabean is offline
 
Join Date: Oct 2001
Posts: 247
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Mist
so php 4.0.5 with the security patch cannot be used...

what problems cud this cause on a php with version 4.0.5 or 4.0.6 anyway?

- miSt
Firstly:
http://security.e-matters.de/advisories/012002.html

Secondly:
This hack has not been tested on 4.0.5

Finnally:
The installer won't work on 4.0.6, it requires functions present in 4.1.0 or newer. To get round this you need to manually alter the installer to work on 4.0.6.
No help or support in doing this will be provided.
Reply With Quote
  #188  
Old 09-23-2002, 07:03 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

damn

- miSt
Reply With Quote
  #189  
Old 09-23-2002, 09:24 PM
wolfe wolfe is offline
 
Join Date: Jan 2002
Posts: 900
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

there is no signiture.php file on vbb 2.2.7 to find this code please help

Code:
if ($bbuserinfo[showvbcode]) {
$vbcode_smilies = getclickysmilies(); <<< this line maybe slightly different depending on the editor hack you use.
}
Reply With Quote
  #190  
Old 09-28-2002, 11:35 AM
Mutt's Avatar
Mutt Mutt is offline
 
Join Date: Nov 2001
Posts: 331
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

THANK YOU for fixing the who's online bug!!!!
Reply With Quote
  #191  
Old 11-05-2002, 05:21 AM
CRego3D CRego3D is offline
 
Join Date: May 2002
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

after our latest upgrade this hack stopped workign for me

the old images will onyl work like this

http://forum.yaxay.com/sig.php?id=57

the new ones

http://forum.yaxay.com/sig.php?imageid=57

(id vs imageid) .. what in the world can be causing this ?
Reply With Quote
  #192  
Old 11-05-2002, 02:14 PM
dabean dabean is offline
 
Join Date: Oct 2001
Posts: 247
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by CRego3D
after our latest upgrade this hack stopped workign for me

the old images will onyl work like this

http://forum.yaxay.com/sig.php?id=57

the new ones

http://forum.yaxay.com/sig.php?imageid=57

(id vs imageid) .. what in the world can be causing this ?
Which/what version of this hack (sig.php and simage.php contain a version number at the top of the file). Both urls return images for me :ermm:
Reply With Quote
  #193  
Old 12-04-2002, 02:50 PM
thenetbox thenetbox is offline
 
Join Date: Mar 2002
Posts: 184
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Part 3 covers changes that need to made for users of a Advanced Signature Editor.

Yes part 3 is specific to sites with ANOTHER hack installed, no this hack is not required. Thus is in a seperate optional part.




Quote:
Originally posted by wolfe
there is no signiture.php file on vbb 2.2.7 to find this code please help

Code:
if ($bbuserinfo[showvbcode]) {
$vbcode_smilies = getclickysmilies(); <<< this line maybe slightly different depending on the editor hack you use.
}
Reply With Quote
  #194  
Old 02-18-2003, 11:07 PM
ferior1 ferior1 is offline
 
Join Date: Jan 2003
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well im working with version 2.2.9

no errors, uploads fine, abs. perfect install & setup.

Only thing missing that it wont show up in the signature when I post

http://www.gaming-forums.com/phpinfo.php
theirs my php information.

ney clues?
Reply With Quote
  #195  
Old 02-18-2003, 11:32 PM
dabean dabean is offline
 
Join Date: Oct 2001
Posts: 247
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by ferior1
Well im working with version 2.2.9

no errors, uploads fine, abs. perfect install & setup.

Only thing missing that it wont show up in the signature when I post

http://www.gaming-forums.com/phpinfo.php
theirs my php information.

ney clues?
you've made the changes to functions.php?

and you checked that you changed the correct block (the second one), which only the whole fragment matches.
Reply With Quote
  #196  
Old 02-19-2003, 12:33 AM
ferior1 ferior1 is offline
 
Join Date: Jan 2003
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

( 1 ) made changes to functions.php : yes - checked it 3 times.

#2 question, not sure what your referring to, I've attached my functions.php , so you can check it out , I'm pretty confident I did it right.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:21 AM.


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.05554 seconds
  • Memory Usage 2,351KB
  • Queries Executed 30 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (16)post_thanks_box
  • (16)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (16)post_thanks_postbit_info
  • (15)postbit
  • (16)postbit_onlinestatus
  • (16)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete