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)

Natch 12-23-2004 03:31 AM

Just another coder, with a life, a family, Christmas coming up and deadlines approaching faster than I'd like. Most people here have lives, but some people just don't seem to get that...

NYI Fan 12-25-2004 12:20 AM

took a little bit of playing and a lot of reading thru all the posts, but I have it working. Thanks to everyone who posted their hints and tips, and a BIG thank you to DWard for making the hack!

*clicks install*

NYI Fan 12-25-2004 12:36 AM

PS - did I miss the solution to the
Unknown Location - /forums/signature.php thing? Apologies if I did, I just saw DWard saying he would post a fix, but a few read thrus, and I don't seem to be able to find it

Thanks!!

NuclioN 12-25-2004 02:13 AM

Great hack :)

Stangsta 12-25-2004 03:08 PM

Quote:

Originally Posted by Natch
Your loss...

And fwiw, unless you are also putting in time to provide hacks for others, I don't see where you think you get off insulting someone who has supported their hack for months and months, and then when you don't get a reply *during the holiday season* within 72 hours, you get all pissy!

OMG: again FWIW I wouldn't want you on *my* list of people to provide support to if this is your attitude...

Hell, I've been patient, and I have not recieved any help. I cant get it to work, not even a red x. Help just seems to be selective. It is an excellent hack, just wish I was able to use it :(

NYI Fan 12-25-2004 03:39 PM

Quote:

Originally Posted by Stangsta
Hell, I've been patient, and I have not recieved any help. I cant get it to work, not even a red x. Help just seems to be selective. It is an excellent hack, just wish I was able to use it :(

PLEASE don't take this the wrong way, but this is really a very very busy time of year for almost everyone - regardless of whether you celebrate any of the holidays this time of year, lots of things come up. Not making excuses for anyone, just offering what I think is a very valid reason support may have been scarse lately...

When you open signature.php, you get a completely blank page? No errors? and when you use it in a sig, nothing at all shows up? I am FAR from a pro, but maybe with the time I spent digging thru this thread and messing with my own, I can help? Sometimes all it takes is a fresh set of eyes...

Stangsta 12-26-2004 12:35 AM

Quote:

Originally Posted by NYI Fan
PLEASE don't take this the wrong way, but this is really a very very busy time of year for almost everyone - regardless of whether you celebrate any of the holidays this time of year, lots of things come up. Not making excuses for anyone, just offering what I think is a very valid reason support may have been scarse lately...

When you open signature.php, you get a completely blank page? No errors? and when you use it in a sig, nothing at all shows up? I am FAR from a pro, but maybe with the time I spent digging thru this thread and messing with my own, I can help? Sometimes all it takes is a fresh set of eyes...

Thanks for the response. I understand about people having a life outside of VB :) and, ill be patient, not a problem, just hope someday I can get this to work.

I get a completely blank page, it doesn't diaplay any errors on the page. If there is another way to check for errors, i am unfamiliar. I posted some info in a couple of my previous posts in this thread hoping it would shed some light.

I don't know if this helps, but my sig.jpg and signature.jpg files are identical, just 2 different names. Should the sig.jpg be the input image and signature.jpg be an ampty file?

Thanks for any and all assistance, it is greatly appreciated.

boo.3 12-26-2004 12:36 PM

i don't really understand how this works? what should i do? how do i make the image to go with text?

i do Photoshop and know it very well but have no idea how this works :(

Takamine334 12-26-2004 02:54 PM

Quote:

Originally Posted by Stangsta
Hell, I've been patient, and I have not recieved any help. I cant get it to work, not even a red x. Help just seems to be selective. It is an excellent hack, just wish I was able to use it :(

It's not worth wasted ATP. You'll never get help.

NYI Fan 12-27-2004 12:24 AM

Quote:

Originally Posted by Stangsta
I get a completely blank page, it doesn't diaplay any errors on the page. If there is another way to check for errors, i am unfamiliar. I posted some info in a couple of my previous posts in this thread hoping it would shed some light.

I don't know if this helps, but my sig.jpg and signature.jpg files are identical, just 2 different names. Should the sig.jpg be the input image and signature.jpg be an ampty file?

Thanks for any and all assistance, it is greatly appreciated.

Yup, the 2 images should be identical - that threw me at 1st too :o If you bring up signature.php in your browser its showing a blank page? or are you getting the blank when you use the bbcode?

I'm sure you have already checked this, but is the path to both images accurate (although Im pretty sure that would throw an error, or red x if it wasnt correct)

I'm sure someone more knowledgeable will pop in with the answer, these are just really basic preliminary things - it took me a bit to get mine going, but i kept re-reading this thread and eventually the lightbulb went off and I realized my issue (paths! Doh!! lol)

Hang in there, you'll get it going!

NYI Fan 12-27-2004 12:27 AM

Quote:

Originally Posted by boo.3
i don't really understand how this works? what should i do? how do i make the image to go with text?

i do Photoshop and know it very well but have no idea how this works :(

What I did was make a sig tag, with an area that the text would fit into - saved it as sig.jpg and signature.jpg - then I edited the signature.php file as directed, and uploaded everything per the instructions. Once you see how it falls, then you go back into signature.php and tweak the margins so the text goes where you want it.

After I figured it out, I was also able to append an existing sig for someone else on the boards so they too have the stats but on their own sig (just did as previously suggested and created a signature1.jpg, sig1.jpg and signature1.php, but followed the same process)

boo.3 12-27-2004 12:39 AM

ahh ok cool i'll give it a try thanks for sharing ;)

boo.3 12-27-2004 12:56 AM

lol i didn't install my vB how do i know what my vB database name is?

//DB-Servername
$host = "localhost";

//DB-Username
$user= "xxxxxx";

//vbulletin database name
$database="xxxxxx";

would the server name be b3playground.com

?

thanks boo

NYI Fan 12-27-2004 01:04 AM

Quote:

Originally Posted by boo.3
lol i didn't install my vB how do i know what my vB database name is?

//DB-Servername
$host = "localhost";

//DB-Username
$user= "xxxxxx";

//vbulletin database name
$database="xxxxxx";

would the server name be b3playground.com

?

thanks boo

Do you have access to your server? if so, ftp in and grab a copy of /forum/includes/config.php. Open that and you'll find the values you need right in there :classic: HTH!

HelplessBot 12-27-2004 05:11 PM

Quote:

Fatal error: Call to undefined function: imagettftext() in /home/scott/public_html/signature.php on line 259
i get that error

NYI Fan 12-27-2004 06:33 PM

if you search this thread for imagettftext you will see some folks have that issue - depends on your hosts support for it. If you turn off TTF support (use default font instead) does it work then?

DWard 12-28-2004 01:00 PM

Quote:

Originally Posted by HelplessBot
i get that error

Yer this usually means either your host has disabled the use of this function or the framework for the function is not installed on the server.

boo.3 12-29-2004 12:03 AM

Quote:

Originally Posted by NYI Fan
Do you have access to your server? if so, ftp in and grab a copy of /forum/includes/config.php. Open that and you'll find the values you need right in there :classic: HTH!


thanks

whats the full path to the signare?? :ermm:

NYI Fan 12-29-2004 10:08 AM

Quote:

Originally Posted by boo.3
thanks

whats the full path to the signare?? :ermm:

That depends on where you put them!
should be similar to /home/yourserver/public_html/forums/sigscriptfolder/sig.jpg

Stangsta 12-29-2004 09:50 PM

Quote:

Originally Posted by NYI Fan
Yup, the 2 images should be identical - that threw me at 1st too :o If you bring up signature.php in your browser its showing a blank page? or are you getting the blank when you use the bbcode?

I'm sure you have already checked this, but is the path to both images accurate (although Im pretty sure that would throw an error, or red x if it wasnt correct)

I'm sure someone more knowledgeable will pop in with the answer, these are just really basic preliminary things - it took me a bit to get mine going, but i kept re-reading this thread and eventually the lightbulb went off and I realized my issue (paths! Doh!! lol)

Hang in there, you'll get it going!

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.

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?

SIINSI 01-06-2005 08:08 PM

What kind of a bandwidth spike?

SIINSI 01-06-2005 08:45 PM

Wow, this thing can work as a title image too :) Would this be insane as far as queries or bandwidth?

moethelawn 01-08-2005 01:56 PM

DWard... I got a question for you...

Is there any way so that you can have the signature.php file not show up in the Who's Online? It annoys me cause every time I look in Who's Online... I see 90% of the time all users and guests with the location:

Unknown Location
/signature.php
<-------(as a link)

Is there anyway to prevent that so I can see the user's actual location?

Thanks :)

royals 01-15-2005 04:48 AM

will this work if you have a private board?

DWard 01-17-2005 03:29 PM

Not sure what you mean.

TonTon 01-17-2005 05:35 PM

Can someone help?

I just tried installing this hack and its not working, the error i get when i go to the url is:

Warning: imagecreatefromjpeg(): open_basedir restriction in effect. File(/public_html/phpstats/sig.jpg) is not within the allowed path(s): (/home/rpgcn64/:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/rpgcn64/public_html/forum/signature.php on line 228

Warning: imagecreatefromjpeg(/public_html/phpstats/sig.jpg): failed to open stream: Operation not permitted in /home/rpgcn64/public_html/forum/signature.php on line 228

Warning: imagecopy(): supplied argument is not a valid Image resource in /home/rpgcn64/public_html/forum/signature.php on line 250

Warning: Cannot modify header information - headers already sent by (output started at /home/rpgcn64/public_html/forum/signature.php:228) in /home/rpgcn64/public_html/forum/signature.php on line 266
‰PNG IHDRôdÿ¥U*tRNSúúú‰¢i®IDATxœíÜÝq¤8Pfk “p Îh"tF“‚sðÓ>tmè¶øu÷çsžÆ€@\Ä×B[µ¿¾¾¾²üóÝàx p$Ü w€@ p$Ü w€@ p$Ü w€@ p$Ü w€@ p$Ü w€@ p$Ü w€@ p$Ü w€@ p$Ü w€@ p$Ü w€@ p$Ü w€@ p$Ü w€@ p$Ü w€@ p$Ü w€@ p$Ü w€@ÿv÷öþ1 ÃçŸßŖUv6¿R««·í7÷½ãó½õ%~o¡Î¾ úb {ú°ªcÛʳÙð,6—wÃ{®U´Ú߁ó}yZO޽ e™Û“;£+O¨'هј¾¬czjX$ûçŸß?§ì;“} XSÞ W<ïu¸?åïòÒ£kÝÌ}¼JP ”ñ,Ml;—Dö|ËíaÚs†ú{sƒù ëj ÎwµZÕMZôOÙêïnž#ÎÁçkÝrÑ¥¢UѤvÆ XëE®wí¿ÊΛ‡'¬W‡ž¡ò—9æ?¨“©ñJNko ñÂLvÿœìo, Î9œð¨_ïc§–‹',ªQlfµjµ*š^ÞI ÏXñ¸ý Ü?=ç×*J1Ù;žQNf—ß8ÇïeÞÉyÓ*¿áu(ú°6 7Æ{Wõá¥î{>Ê[õœ°õjMŽïšœð(óÞNÞüyç7X[º†+¢-¶*ºtTy/HöáïÀm]«~^Å`{xÝñŸ“œä~/“/›‹“}è.ïÎ>|”—UþI¬[–Úu9i:Üïóÿ/ôÉÆâÏýNzŽÒªá†‡u^y[5œO».®sÏ-okuٍԓßɟ“¼Å]ϯÛ/t#û+÷–ó~í779d5¶°˜JO÷³³µŸY÷VûË»X ®¢¤Ÿ/²Ÿ]ím·|ñ8li]´.ok׫x+ޞê€e™Å•¯Î¼˜¯on>áQÇtjû ŵÎë\ çß+‹K“g”w[qÆ« š·Î6ïÒªÛ¹|ñ8¼Ÿmñœ×ŒÃóÇVþÉýú úê9®5Ýk}ÊM&Vÿ14f “.ö¤Õd±Ã‹×ji°X“Ý|+qÃz…t@Å%êÞ7¶ d×±å}XÃɑ{&•nu¾¾åVÃËÆádo½´U’ýK E):s£§òۂ¨ ¾VçM+jø zÃ=Ã+~f¾åít`¡Ô|•U®Ÿî?„ÿq@ áH¸î„;@ áH¸î„;@ áH¸î„;@ áH¸î„;@ áH¸î„;@ áH¸î„;@ áH¸î„;@ áè?ÂZø÷K¹œIEND®B`‚
Warning: imagejpeg(): open_basedir restriction in effect. File(/public_html/phpstats/signature.jpg) is not within the allowed path(s): (/home/rpgcn64/:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/rpgcn64/public_html/forum/signature.php on line 268

Warning: imagejpeg(): Invalid filename '/public_html/phpstats/signature.jpg' in /home/rpgcn64/public_html/forum/signature.php on line 268

Murphinator 01-17-2005 07:56 PM

ok i dont get the directions, whats the input and output?

Murphinator 01-17-2005 09:48 PM

nvm! http://teenstoteens.com/forum/signature.php

Murphinator 01-18-2005 06:14 PM

is mine working?

moethelawn 01-18-2005 08:26 PM

I don't see yours working...

Quote:

Originally Posted by DWard
Not sure what you mean.

Is that a reply to my post?


All times are GMT. The time now is 08:41 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.01880 seconds
  • Memory Usage 1,864KB
  • 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
  • (19)bbcode_quote_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
  • (40)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