vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=34)
-   -   Signature Image System (https://vborg.vbsupport.ru/showthread.php?t=62418)

lasto 03-31-2004 04:32 PM

no one tired this on vb3 gold as yet

is hard to believe vb3 does`nt have a decent sig uploader already built into it

lasto 03-31-2004 04:45 PM

Dont work on Gold

I also get the red X when i use the [signatureimage] in me sig box

msimplay 03-31-2004 05:32 PM

i would try it but i like the idea of profile pictures :o

lasto 04-08-2004 01:30 PM

just re-tried this on another copy of vb3 gold and im still getting the red x where the sig should be

NTLDR 04-08-2004 01:41 PM

Whats the URL for the image? Note that the URL changes every request and that your browser must send the HTTP_REFERER variable and the referrer in the URL must match this and that it must be within ~60 of the URL being generated.

If you comment out lines 43-46 in signature.php and the image shows then thats the problem.

Works flawlessly for me on both 3.0.0 Gamma and 3.0.0.

lasto 04-08-2004 02:55 PM

still red x even if i comment out the lines in signature php

not sure why cause all i do is load the pic up using the profile page link - i can see it but it dont appear in my posts.

/forums/signature.php?userid=1&sig=1081439840&req=afe5abd7 e1bbc945ccb8c852b528df1c

Yapluka 04-12-2004 04:14 PM

Exactly the same problem as lasto :

/image.php?u=1&type=profile&dateline=1081789262
/signature.php?userid=1&sig=1081789909&req=a7274137 a1de6ef2e61114224ea68c0e

Still have the red X... what to do ?

Nice hack... when it works ! Thanks anyway.

JKeats 05-18-2004 05:17 PM

i've created a .txt for this hack that includes the phrase edits (there's 6 of them) and a USERCP_SHELL edit as well (to move the signature image link up to just under the signature edit link).

hope it helps some ppl.

as for me, i'm on 3.0.1, and i get the dreaded redX with this. i do feel, however, that it's a great hack for ppl not interested in profile pics. hopefully someone will be able to correct the redX problem for those of us currently experiancing it.

additionally, if somehow the [signatureimage] could be auto added to the signature, so that it was a one step deal (i.e. you upload a sig image, it's placed in your signature automatically) that would be awesome.

hope this one gets ironed out!

NTLDR 05-18-2004 10:11 PM

Try removing the following if block from signature.php:

PHP Code:

// check the request is from a valid referer, if not send a 404 header
if (TIMENOW $_REQUEST['sig'] || ($_REQUEST['sig'] > (TIMENOW 30)) || $_REQUEST['req'] !== md5($_SERVER['HTTP_REFERER'])) {
    
header('HTTP/1.1 404 Not Found');
    exit;


Thats the part that checks if the image is allowed to be shown or not. Note that this will enable hotlinking etc unless you add other measures to protect against it.

Yapluka 05-20-2004 06:20 AM

I still commented this part but always get the redX...


All times are GMT. The time now is 04:36 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.01216 seconds
  • Memory Usage 1,736KB
  • 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
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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