vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Signature Stats v3.04 (https://vborg.vbsupport.ru/showthread.php?t=65361)

NYI Fan 12-29-2004 10:01 PM

Quote:

Originally Posted by Stangsta
Ok, When i pull it up in the browser, I get a blank page. When I use bbcode, I get a red x. Im pretty sure the paths are correct, here is what they are:


//full path to empty signature image (input image)
$vorlagedatei = "/home/sevencityracing/html/hosting/sig.jpg";

//full path to signare image with forum data (output image)
$ausgabedatei = "/home/sevencityracing/html/hosting/signature.jpg";

Im thinking its a "path" issue, but it looks correct to me. What can I be missing?

Again, thanks for taking the time to try and help me.

Ah, no worries, if I can help, it's nice to be able to give a little something back to such a great resource as .org ;)

Anyway, I think you're correct about it being a path issue! your forums are here:
http://www.sevencityracing.com/forum/index.php
I'm guessing your signature.php is at http://www.sevencityracing.com/signature.php

did you upload the images to a subdir of the forums, or straight off the root dir? If it's off the forums, thats the problem, your path seems to point somewhere out of the forums if you use the bbcode and get the red x, then right click the red x and look at the properties, it will tell you where it's looking (and not finding) the red x - you can adjust accordingly then! (That's how I fixed my red x issue anyway!)

Give that a shot and we'll go from there.

Stangsta 12-30-2004 04:24 AM

Quote:

Originally Posted by NYI Fan
Ah, no worries, if I can help, it's nice to be able to give a little something back to such a great resource as .org ;)

Anyway, I think you're correct about it being a path issue! your forums are here:
http://www.sevencityracing.com/forum/index.php
I'm guessing your signature.php is at http://www.sevencityracing.com/signature.php

That is correct.

Quote:

Originally Posted by NYI Fan
did you upload the images to a subdir of the forums, or straight off the root dir? If it's off the forums, thats the problem, your path seems to point somewhere out of the forums if you use the bbcode and get the red x, then right click the red x and look at the properties, it will tell you where it's looking (and not finding) the red x - you can adjust accordingly then! (That's how I fixed my red x issue anyway!)

I have them uploaded to the /hosting directory off the root. When I right click the red x and hit properties, I get this path: http://www.sevencityracing.com/signature.php

TLSNetwork 12-30-2004 06:04 AM

Not sure if this has been posted anywhere in this thread it may have been but i have not got time to go through it all , We use our sigs sometimes to show off to other forums and use our sigs as that show off , Alot of forums do not allow you to use the php tag in your signature , So how do we get around this , It is pretty simple really thought i would show how here so anybody else can use this as well. Open note pad or your favorite editor of course and put this in there
Code:

RewriteEngine on
RewriteRule ^signature.(png|jpg|jpeg|gif) /forum/signature.php


RewriteCond %{HTTP_HOST} ^forum.(your site name).com$ [OR]
RewriteCond %{HTTP_HOST} ^www.forum.(your site name).com$
RewriteRule ^(.*)$ http://(your site name).com/forum/index.php [R=301,L]

Now of course replace (your site name) with your own and you may also have to alter the first line to where your signature.php file is.

Now save this file as .htaccess and put it into the same folder as you have set on that first line. Or if you already have the file .htaccess in that folder then put the code above anything else in your .htaccess file

What this does is create a rewrite rule so that any querys it get for the file signature.jpg/jpg/jpeg/png (any of those extensions) it directs it to and runs the file signature.php Thus running your stats sig and writing it and returning it as that file signature.jpg

Ie this is my signature www.tlsnetwork.com/forum/signature.jpg

Gee hope you understand all that and you find it helpfull if you need it.

Opps just realised my sig might be advertising , (just using it as an example) , Mod please remove the link if its not ok.

NYI Fan 12-30-2004 10:38 AM

Quote:

Originally Posted by Stangsta
That is correct.

I have them uploaded to the /hosting directory off the root. When I right click the red x and hit properties, I get this path: http://www.sevencityracing.com/signature.php

Is it possible th actual path to those images is
"/home/sevencityracing/hosting/sig.jpg"
or
"/home/html/sevencityracing/hosting/sig.jpg"

Because when I went to http://www.sevencityracing.com/hosting/signature.jpg (OR sig.jpg)
I can see your images! I know this sounds silly, but worth a shot
open your FTP program, connect to your server - navigate to the folder the pics are in (hosting) - now look at the ftp programs address bar - what does it show? (It SHOULD show whatever the actual path is to your jpg's)

If that path IS correct stangsta, I'm not sure what else to suggest except maybe try moving the sigs nd changing the path in the php file around a bit and see what happens?

Stangsta 12-30-2004 08:26 PM

Quote:

Originally Posted by NYI Fan
Is it possible th actual path to those images is
"/home/sevencityracing/hosting/sig.jpg"
or
"/home/html/sevencityracing/hosting/sig.jpg"

Because when I went to http://www.sevencityracing.com/hosting/signature.jpg (OR sig.jpg)
I can see your images! I know this sounds silly, but worth a shot
open your FTP program, connect to your server - navigate to the folder the pics are in (hosting) - now look at the ftp programs address bar - what does it show? (It SHOULD show whatever the actual path is to your jpg's)

If that path IS correct stangsta, I'm not sure what else to suggest except maybe try moving the sigs nd changing the path in the php file around a bit and see what happens?

I am almost positive the img paths are correct. This is what I get for the path when I do what you asked me to:

ftp://www.sevencityracing.com/html/h.../signature.jpg

I have tried moving the sigs to different locations, and that has not helped either. Thats why im so stumped, I can usually figure this stuff out on my own, but for some reason, i cant seem to get it.

NYI Fan 12-30-2004 08:58 PM

Quote:

Originally Posted by Stangsta
I am almost positive the img paths are correct. This is what I get for the path when I do what you asked me to:

ftp://www.sevencityracing.com/html/h.../signature.jpg

I have tried moving the sigs to different locations, and that has not helped either. Thats why im so stumped, I can usually figure this stuff out on my own, but for some reason, i cant seem to get it.

Did you try the FTP program thing I suggested? (It is the only way I know for sure to be 100% sure the path you are putting in is correct)

Since we KNOW that by going to http://www.sevencityracing.com/hosting/signature.jpg the image is being seen, we just need to figure out your hosts actual path to that directory. The /html/hosting/ thing is what's throwing me as all my domains use a home/ACCTNAME/ path(none of the extra /html/hosting stuff

I wish I had an answer for you. I don't doubt you are reading the instructions and following them, you seem like a literate intelligent kinda person! I know it's a stretch but what about yanking what you have, and just starting clean?

TLSNetwork 12-31-2004 08:18 AM

one way to check the actual path to your site , ie your servers one is look in phpinfo , You should be able to go to your admin cp in vbulletin

Import & Maintenance ->> View PHP info

Then scroll down abit until you see the header Apache Environment

just under that you should see DOCUMENT_ROOT , Next to that is the actual path to the root of your site

Hope that helps you a little.

paulz 01-05-2005 04:05 AM

has anyone else suffering crazy bandwidth spikes and also noticed that having the sig in other forums where your members go will actually show them as online in your forum, but browsing signature.php? love the script, but those two things and the guests numbers being way off are killin it for me :(

SVTBlackLight01 01-05-2005 07:34 AM

Did you try setting up a cronjob to run signature.php and then just using signature.jpg for the image? It takes care of these problems.

RetroDreams 01-06-2005 11:36 AM

Cannot the cron job or vb cron to work. When I point to the page manually, it creates the signature fine.

Any ideas?


All times are GMT. The time now is 09:15 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.01657 seconds
  • Memory Usage 1,757KB
  • 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_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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