View Full Version : Miscellaneous Hacks - sigStats - forum stats in a signature image
Coders Shack
05-16-2007, 10:00 PM
value. . . . . . . . Brought to you by
https://vborg.vbsupport.ru/
. . . http://www.Scriptasy.com
value
Installation Time: < 2 mins
Files: 3
Product: 1
VB Version: 3.6.X
Description: value
This Hack will but your vb Forum stats (i.e. No. of Members, Threads and Posts) on your Signature Image. It uses the layout from sig.jpg, calls the stats from your database and creates a new images called signature.jpg
Installation Instructions: value
First off to customize this you will need to be a coder... Else all you can do is mess with the background image (sig.jpg)
Upload the files that are in the Upload folder.
Chmod 777 the two jpg files (sig.jpg and signature.jpg)
Install the productExamples: value
http://mac-bb.org/signature.jpg
https://vborg.vbsupport.ru/external/2007/05/13.jpg
https://vborg.vbsupport.ru/external/2007/09/35.jpg
https://vborg.vbsupport.ru/
http://forums.pspcrazy.com/forums/signature.jpg
https://vborg.vbsupport.ru/external/2007/08/17.jpg
http://beasttoast.com/forum/signature.jpg
https://vborg.vbsupport.ru/external/2007/05/14.jpg
https://vborg.vbsupport.ru/
https://vborg.vbsupport.ru/https://vborg.vbsupport.ru/
https://vborg.vbsupport.ru/
https://vborg.vbsupport.ru/
https://vborg.vbsupport.ru/external/2007/11/22.jpg
valueIf you like then [Mark As Installed (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=147423)]
value
1337_macro
05-17-2007, 12:35 AM
Ok I installed this but I do not understand how this works?
4x4 Mecca
05-17-2007, 12:35 AM
Once installed how to we activate it or check the settings?
Coders Shack
05-17-2007, 12:38 AM
Once installed how to we activate it or check the settings?
there are no vbsettings right now its as is. You can modify the signature.php but this was re-released because mr chad had a few PMs and he said i could re-release it. But if theres enough interest in it i could see what i could do with it.
sig.jpg is the template image
signature.jpg is the result image
its in a 10 min scheduled task.
4x4 Mecca
05-17-2007, 12:57 AM
So we just upload signature.jpg as our sig pic then, and that's it?
4x4 Mecca
05-17-2007, 12:59 AM
Ok, did it, thanks! It works, just use signature.jpg as your sig image.
FreshFroot
05-17-2007, 01:12 AM
nice stuff, I'll try it out!
Kaleem
05-17-2007, 03:34 AM
thanks i just set it up like that still needs some alignment i guess
https://vborg.vbsupport.ru/external/2007/05/13.jpg
ZomgStuff
05-17-2007, 03:38 AM
Here's an example
http://www.zomgstuff.net/forum/Sigs/hoff.php
GrendelKhan{TSU
05-17-2007, 04:12 AM
omg... was sooooo waiting for this..
THANK YOU!!
<< runs to installl.
GrendelKhan{TSU
05-17-2007, 04:28 AM
hmm...coldn't get it to work. just blank:
(like so...)
https://vborg.vbsupport.ru/
does it matter how you add the sig? I just img linked it in.
upload (and 777 cmod), installed product, linked it in...
did I miss something?
Kihon Kata
05-17-2007, 05:22 AM
I did mine:
http://www.makeuptalk.com/forums/signature.jpg
Hornstar
05-17-2007, 05:39 AM
I would like to get a picture like those examples created, but then show it on other sites in my sig area. do you just link to the image, or something else?
evotion
05-17-2007, 10:03 AM
How easy would it be to import other VB information in to the graphic, such as Username and/or even better, a custom field ?
DiSpy
05-17-2007, 01:04 PM
How easy would it be to import other VB information in to the graphic, such as Username and/or even better, a custom field ?
That would be neat, but would create more queries that need to load on each page that contains your signature. I'd stay away from it unless your forums are really fast. Now if someone could figure out a way to do it without adding queries...
Just my $0.02 cents.
Distance
05-17-2007, 01:06 PM
It does not save the image as the same quality..
Coders Shack
05-17-2007, 03:37 PM
what image are you trying to use?
I think you can reduce the compression take a look at the signature.php
maroceve
05-17-2007, 05:01 PM
http://www.maroceve.com/forums/signature.jpg
doesn't work for me :(
Edit : nm ! when posted here it works !
PixelFx
05-18-2007, 01:49 PM
:D just when I thought I'd have to release the update I made for this .. nice to see it up :D
GrendelKhan{TSU
05-21-2007, 04:00 AM
hmm...coldn't get it to work. just blank:
(like so...)
http://www.clantsu.org/forums/signature.jpg
does it matter how you add the sig? I just img linked it in.
upload (and 777 cmod), installed product, linked it in...
did I miss something?
ok cool got it working for the default included image...but now how did people make custom ones so that the font/size/color of the stats changed and fit where you wanted it to? .... assuming we want to make a signature jpg image of a different size (larger)
GrendelKhan{TSU
05-21-2007, 07:27 AM
boo!! can't get the custome one to work even at same dimensions as default...
is there a trick to it? :p
inquiring minds... :D any input would be much appreciated.
Thoman
05-21-2007, 04:22 PM
I have a running 3.6.7 PL1 and get a SQL-Query error on cronscript signature.php:
Database error in vBulletin 3.6.7:
Invalid SQL:
SELECT COUNT (host) AS sessions FROM vb3_session WHERE userid = 0 AND lastactivity > 1179767122;
How to fix that?
Coders Shack
05-22-2007, 03:21 AM
I have a running 3.6.7 PL1 and get a SQL-Query error on cronscript signature.php:
Database error in vBulletin 3.6.7:
Invalid SQL:
SELECT COUNT (host) AS sessions FROM vb3_session WHERE userid = 0 AND lastactivity > 1179767122;
How to fix that?
not sure yet but just don't use the online count in the signature.php
1337_macro
05-30-2007, 03:59 AM
Will there be any updates to this cause I love it so far
neopet001
05-31-2007, 01:05 AM
Don't work with me, 3.6.5 :|
cooldude714
06-01-2007, 09:03 AM
http://www.thebigcommunity.co.uk/signature.jpg
Edit: Now it does work... strange. Could it be possible that you put things on there that people will actually care about?
Such as, forum username, your amount of posts, your amount of threads? Instead of the whole forum's amount of posts and threads etc.
SLY LS1
06-01-2007, 12:26 PM
http://www.toughstreetcars.com/forum/signature.jpg
Hmm, 1 minute it works next it doesnt
neopet001
06-02-2007, 12:07 PM
It works. Installed . Thank you very much!
YabbaDabba
06-03-2007, 03:19 AM
vB 3.6.5 - 3.6.7
works just fine.
You have to tweak the php file to locate and format the numbers to match your design.
HOWEVER...
the method used to calculate forums stats is NOT THE SAME as the method used on index.php. So your numbers may vary, as they say.
REQUESTS:
1 - Any chance that you can officially support the vB stat method so there's not a discrepency?
2 - Any chance you can support multiple graphic targets from a single plug-in? As it is, I have to duplicate/tweak the sisStats plug-in for each new one I want to create.
GrendelKhan{TSU
06-03-2007, 03:50 PM
anyone know how to change the color /style of the text?
YabbaDabba
06-07-2007, 11:32 PM
Uninstalling. Too much hassle because the numbers don't match forum home.
Test
http://www.mummybrain.com/forums/signature.jpg
Ren? Kunze
06-13-2007, 04:40 PM
http://www.diana-rene.com/vb/signature.jpg
It is working.
Great i have installed.
iHostile
07-04-2007, 06:23 PM
lol mines not working :(
http://www.wrztalk.com/forum/signature.jpg
alessai
07-04-2007, 08:43 PM
great >>>> installed
GamerJunk.net
07-04-2007, 10:38 PM
http://beta.gamerjunk.net/forum/signature.jpg
$width = 575;//Width of banner image
$height = 74;//Height of banner image
$left = 433; //Left text-margin
$top = 13; //text-margin from top
iHostile
07-04-2007, 11:52 PM
anyone have any idea why mines not working?
aceofspades
07-05-2007, 11:03 AM
How many queries does this add?
Coders Shack
07-05-2007, 05:22 PM
How many queries does this add?
every 5 mins it will run 4 queries.
Hornstar
08-01-2007, 03:25 AM
every 5 mins it will run 4 queries.
Is that bad? Could that be reduced?
Ciderhelm
08-01-2007, 03:40 AM
4 queries every 5 minutes isn't bad at all.
eJunkie
08-08-2007, 04:28 PM
thanks a lot!
https://vborg.vbsupport.ru/external/2007/08/17.jpg (http://wow-forum.com)
GamerJunk.net Where do i put the code you posted, i know it'll go in the PHP file. But where? Thanks alot :)
Does anyone know then? I wanna have a bigger picture, but i need to change some settings. :)
Thanks
lowfd
08-28-2007, 09:01 AM
the mod is working fine, but amount of posts and threads are both showing higher figures than the forum home stats
Apostolos-Pap
08-29-2007, 09:35 AM
Not working at all. :(
FreshFroot
09-09-2007, 06:39 AM
hmm well im getting an error..
Warning: imagejpeg(): Unable to open '/home/name/public_html/forums/signature.jpg' for writing in /includes/cron/signature.php on line 85
Derek Chai
09-10-2007, 09:54 PM
http://collide.elementfx.com/vbulletin/signature.jpg
FreshFroot
09-11-2007, 04:41 AM
hmm well im getting an error..
Warning: imagejpeg(): Unable to open '/home/name/public_html/forums/signature.jpg' for writing in /includes/cron/signature.php on line 85
seems like there is a issue with the compression? I'm not sure what's exactly wrong. I have two of the same images.. sig and signature.
Coders Shack
09-12-2007, 04:53 AM
seems like there is a issue with the compression? I'm not sure what's exactly wrong. I have two of the same images.. sig and signature.
u need to follow instructions... place the signature.jpg in the forums folder and CHMOD it 777
yoyoyoyo
09-12-2007, 07:55 PM
works as advertised - thanks
0tolerance
09-27-2007, 08:44 AM
hey is this compatible with 3.6.8? and if so where does the options show up to edit things?
i cannot find them at all.
FreshFroot
09-28-2007, 02:29 AM
works fine for me in 3.6.8 ;)
PS: you need to edit the file 0tolerance..
yoyoyoyo
09-28-2007, 11:46 AM
I figured out how to move the text around, and increase the size, etc., but can we change the default font that it uses to display the stats? how can we get the stats to all appear on the same line as some have done (like the beasttoast one?? how about the "X users currently online"?
FreshFroot
09-28-2007, 11:42 PM
You mean how do you ADD the the who's online area on it like mines?
http://www.gamerz-place.net/forums/signature.jpg
If so, the who's online area and some others are commented out, so you have to uncomment them and add the variable in the output code.
As for the font, I haven't tried, but I think it will need to be modified in the file too.
yoyoyoyo
09-29-2007, 01:12 AM
thanks - I didn't notice those there. I have looked in the php file and the only font variable I can find is the size. thanks again
bezibaerchen
10-10-2007, 11:24 AM
Seems to work on 3.6.8, but countings differ from the ones on vb. Any hint on how to correct that?
https://vborg.vbsupport.ru/
powerbook
10-10-2007, 01:41 PM
Don't know if this is what you talking about but if you have hidden/moderation or related forums that normal members can't see it is also going to be counted as posts/threads..
Seems to work on 3.6.8, but countings differ from the ones on vb. Any hint on how to correct that?
http://www.mobil-talk.de/signature.jpg
bezibaerchen
10-10-2007, 01:45 PM
Ah, that may be the hint. Is there a possibility to "fix" that or rather to substract that?
Coders Shack
11-11-2007, 09:17 PM
i love how this mod has such a shitty rating
First off to customize this you will need to be a coder... Else all you can do is mess with the background image (sig.jpg)
Its because you 3.5.X + users have been spoiled with plugins lol.
About 80% of you guys haven't actually edited any php files, but before 3.5 every mod required actual core file edits.
if you follow the steps it will work, also if you understand php and know how to use php.net you probably can make a kick ass sigStats image.
by the way FreshFroot nice image :D
dartho
11-11-2007, 09:52 PM
piece of cake - works a treat!
mri_mohammad
11-16-2007, 03:47 PM
first blank page and after not working :(
Coders Shack
11-16-2007, 08:50 PM
it should work, your probably missing something... I cant help some one if they give me no information. Turn php errors on and please respond with the error.
ZeToF
11-20-2007, 12:41 PM
Hello,
Moi also this does not work I have signed but not the stats!
Can you help me?
I vb 3.6.8
Thank you,
Bye
bezibaerchen
11-20-2007, 01:07 PM
Added cronjob too?
ZeToF
11-20-2007, 03:04 PM
Added cronjob too?
Hi bezibaerchen
Good but conment I do because this is not explained in the install.txt
Thanks in advance,
Bye.
ogameclub
11-20-2007, 06:05 PM
Thanks, installed
http://www.ogameclub.com/v1/signature.jpg
JeffreySmith
11-21-2007, 07:58 AM
http://dmclanforum.com/signature.jpg
just testing to see if works on someone elses forums...
edit:lol nope
BenHarris07
12-11-2007, 08:54 PM
The Cron returns the error
Fatal error: Call to a member function on a non-object in /home/username/public_html/includes/cron/signature.php on line 15
vB 3.6.8 Patch Level 2
Any Ideas?
Ben
bezibaerchen
12-12-2007, 04:33 AM
Started on CLI / surfed at or executed cron via ACP?
BenHarris07
12-12-2007, 06:57 AM
just went to domain.com/includes/cron/signature.php
Ben
BenHarris07
12-12-2007, 06:58 AM
acthually, hold on, I just checked now, and It does work :p
Cheers anyways
Ben
River_rush
01-30-2008, 09:35 PM
nice one :)
http://anotherfordforum.com/forums/signature.jpg
OttoBomb
04-08-2008, 11:13 AM
Nice little script, the 10 minute cron jobs saves server load too. Thanks.
dmknights
11-12-2008, 04:19 PM
Does this work for 3.7.4?
bezibaerchen
11-12-2008, 05:34 PM
I'm not quite sure. Got it on 3.7.4 but e.g. member stats differ round about 1000....
dmknights
11-12-2008, 05:46 PM
tried it on 3.7.4, does not work
bezibaerchen
11-12-2008, 05:53 PM
Sig is generated, but is faulty....
edit: Correction: isnt updated anymore :(
Any hints?
mikey1991
04-24-2009, 06:19 PM
Any plans to update this?
bezibaerchen
04-25-2009, 07:02 AM
Update what for? Works fine for me. What issues do you see?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.