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

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
  #202  
Old 02-19-2003, 01:38 PM
dabean dabean is offline
 
Join Date: Oct 2001
Posts: 247
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by ferior1
when seeing a thread I see nothing, when seeing it in the user cp I see this http://www.gaming-forums.com/sig.php?id=3 so I see it in the user cp
url style signature links are not supported by this hack and have never been offically supported. The version 1.x series of the hack used .

Whilst the current 2.0 series uses [sig=<imageid>], naturally the installation script automatically converts old style tags into new style [sig] tags.

The fragment below should when placed in a seperate file covert all existing [url] style links into signature links.
PHP Code:
<?php
error_reporting
(7);

require (
"./global.php");

  
$searcharray = array(
          
"/(\[url\]".$bburl."sig.php\?imageid\=)(.*)(\[\/url\])/esiU",
          
"/(\[url\]".$bburl."sig.php\?id\=)(.*)(\[\/url\])/esiU"
  
);

  
$replacearray = array(
          
"'[sig=\\2]'",
          
"'[sig=\\2]'",
  );

  
$signatures $DB_site->query("SELECT signature, userid FROM user");
  
  while (
$signature $DB_site->fetch_array($signatures)) {
    
$newsignature=preg_replace($searcharray$replacearray$signature[signature]);
    if (
$signature[signature]!=$newsignature) {
      
$DB_site->query("UPDATE user SET signature='$newsignature' WHERE userid=$signature[userid]");
    }
  }
?>
Reply With Quote
  #203  
Old 02-19-2003, 02:37 PM
ferior1 ferior1 is offline
 
Join Date: Jan 2003
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hum

i put it in a fix.php - chmod 777

and ran it, got this error

Quote:
Warning: Unknown modifier '/' in /home/gaming-f/public_html/admin/fix.php on line 19


though, I dont understand your response entirely, im not intending the script to do more than what it was susp to do, I dont want url linking either. I just followed the instructions as is, or as was intended the script to work under vbb.
Reply With Quote
  #204  
Old 02-19-2003, 03:32 PM
dabean dabean is offline
 
Join Date: Oct 2001
Posts: 247
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by ferior1
though, I dont understand your response entirely, im not intending the script to do more than what it was susp to do, I dont want url linking either. I just followed the instructions as is, or as was intended the script to work under vbb.
Okay, I'll be clearer no version of this hack has ever used [url] tags to link to signature images. Early versions used [img] tags neither has any version of the hack used [img] tags containing the full path. The current version of the hack uses a special [sig] tag.

img-url-convert.php, attached is provided purely to convert existing signatures using that non-standard format to the [sig] tag format the used by the hack.

Run the script from you admin directory then delete afterwards.
Reply With Quote
  #205  
Old 02-19-2003, 09:16 PM
ferior1 ferior1 is offline
 
Join Date: Jan 2003
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

didn't work either, for the original forum, and the testing forum, i removed the testing forum. This was an awesome script, thanks for keeping up to do with user replies.

I hate to sound like im giving up, but nothing works :dead:

im going to redo another new forum, and go through the steps, then use that fix you had one more time..

I'll post it indetail, you've got a great script, and its basically the only auto install one from that other vb script hehe
Reply With Quote
  #206  
Old 02-20-2003, 02:01 AM
ferior1 ferior1 is offline
 
Join Date: Jan 2003
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, I really want to find out why this isn't working, I WUB THIS hack!!!!!!!!!! AROOOOOOOOOOOO :banana:

I've attached a zip file of the entire process that I go through the signature system 2.0 and vbb 2.2.9, including the img-url-convert.php!

I've tried to document very thoroughly the two, I've hope we dig the bad root out. :rambo: :bandit:
Reply With Quote
  #207  
Old 02-22-2003, 06:41 PM
ferior1 ferior1 is offline
 
Join Date: Jan 2003
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

update dabean?
Reply With Quote
  #208  
Old 05-12-2003, 11:37 PM
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

did anyone fix the stated problems?
Reply With Quote
  #209  
Old 05-13-2003, 01:52 AM
dabean dabean is offline
 
Join Date: Oct 2001
Posts: 247
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I could never identify the cause of the problems ferior1 was having neither could I ever replicate such problems on my own copy of vb 2.2.9, . So the exact problem and solution remains unknown.
Reply With Quote
  #210  
Old 05-14-2003, 12:36 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

hack works perfectly in 2.3.0, do a new installation

great hack!!
Reply With Quote
  #211  
Old 05-15-2003, 10:16 PM
ferior1 ferior1 is offline
 
Join Date: Jan 2003
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yeah, i forgot to get back to this post, its been fixed because I missed a step [ very embarrassing ]

^.^ the hack is awesome!
Reply With Quote
Reply


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 12:05 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.07442 seconds
  • Memory Usage 2,317KB
  • Queries Executed 25 (?)
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_php
  • (3)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
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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