Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
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
  #212  
Old 08-28-2003, 04:05 AM
Keyser S?ze's Avatar
Keyser S?ze Keyser S?ze is offline
 
Join Date: Apr 2002
Location: USA
Posts: 690
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?

thanks
Reply With Quote
  #213  
Old 08-29-2003, 05:53 PM
dabean dabean is offline
 
Join Date: Oct 2001
Posts: 247
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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.
Reply With Quote
  #214  
Old 08-30-2003, 12:50 AM
Keyser S?ze's Avatar
Keyser S?ze Keyser S?ze is offline
 
Join Date: Apr 2002
Location: USA
Posts: 690
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes to all, the folder exsists and permission is set to 666, see attached
Reply With Quote
  #215  
Old 08-30-2003, 01:42 AM
dabean dabean is offline
 
Join Date: Oct 2001
Posts: 247
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #216  
Old 10-19-2003, 03:48 AM
Keyser S?ze's Avatar
Keyser S?ze Keyser S?ze is offline
 
Join Date: Apr 2002
Location: USA
Posts: 690
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #217  
Old 11-01-2003, 02:55 PM
ev0lute ev0lute is offline
 
Join Date: Jul 2003
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

so has anyone gotten this hack to work fully with 2.3.2? if so can you tell me the changes in the instructions?
Reply With Quote
  #218  
Old 11-19-2003, 11:03 PM
MuSuL MuSuL is offline
 
Join Date: Sep 2002
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Im having 2 problems...

#1..No matter what the true path is, it will not upload a pic or banner to the file

#2..Where is it that a user can add a link to the pic or banner? or how can this be added to the program?

Thanks!
Reply With Quote
  #219  
Old 02-13-2004, 11:00 AM
GamerzWorld's Avatar
GamerzWorld GamerzWorld is offline
 
Join Date: Aug 2003
Posts: 263
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible you could convert this into vb 3?
Reply With Quote
  #220  
Old 03-05-2005, 06:36 PM
Destroyed Soul's Avatar
Destroyed Soul Destroyed Soul is offline
 
Join Date: Jan 2005
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i get this error:

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
Reply With Quote
Reply

Thread Tools

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 01:03 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05847 seconds
  • Memory Usage 2,294KB
  • Queries Executed 24 (?)
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
  • (1)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
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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