![]() |
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...
|
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* |
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!! |
Great hack :)
|
Quote:
|
Quote:
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... |
Quote:
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. |
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 :( |
Quote:
|
Quote:
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! |
Quote:
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) |
ahh ok cool i'll give it a try thanks for sharing ;)
|
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 |
Quote:
|
Quote:
|
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?
|
Quote:
|
Quote:
thanks whats the full path to the signare?? :ermm: |
Quote:
should be similar to /home/yourserver/public_html/forums/sigscriptfolder/sig.jpg |
Quote:
//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. |
Quote:
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. |
Quote:
Quote:
|
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 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. |
Quote:
"/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? |
Quote:
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. |
Quote:
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? |
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. |
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 :(
|
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.
|
Cannot the cron job or vb cron to work. When I point to the page manually, it creates the signature fine.
Any ideas? |
What kind of a bandwidth spike?
|
Wow, this thing can work as a title image too :) Would this be insane as far as queries or bandwidth?
|
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 :) |
will this work if you have a private board?
|
Not sure what you mean.
|
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"tFsðÓ>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ÛʳÙð,6wÃ{®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[5O».®sÏ-okuÙÔßɼÅ]ϯÛ/t#û+÷ó~í779d5¶°JO÷³³µY÷VûË»X ®¢¤/²]ím·|ñ8li]´.ok׫x+Þêeůμ¯on>áQÇtjû ŵÎë\ çß+Kgw[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 |
ok i dont get the directions, whats the input and output?
|
|
is mine working?
|
I don't see yours working...
Quote:
|
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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|