vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - sigStats - forum stats in a signature image (https://vborg.vbsupport.ru/showthread.php?t=147423)

Coders Shack 05-16-2007 10:00 PM

sigStats - forum stats in a signature image
 
[hr]value[/hr]
. . . . . . . . Brought to you by
https://vborg.vbsupport.ru/
. . . http://www.Scriptasy.com
[hr]value[/hr]
Installation Time: < 2 mins
Files: 3
Product: 1
VB Version: 3.6.X


Description:
[hr]value[/hr]
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: [hr]value[/hr]
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)
  1. Upload the files that are in the Upload folder.
  2. Chmod 777 the two jpg files (sig.jpg and signature.jpg)
  3. Install the product
Examples: [hr]value[/hr]
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
[hr]value[/hr]
If you like then [Mark As Installed]
[hr]value[/hr]

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

Quote:

Originally Posted by 4x4 Mecca (Post 1249177)
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

Quote:

Originally Posted by evotion (Post 1249352)
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

Quote:

Originally Posted by GrendelKhan{TSU (Post 1249249)
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:
Code:

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

Quote:

Originally Posted by Thoman (Post 1252166)
I have a running 3.6.7 PL1 and get a SQL-Query error on cronscript signature.php:
Code:

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.

Mum 06-13-2007 07:46 AM

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

Quote:

Originally Posted by aceofspades (Post 1283366)
How many queries does this add?

every 5 mins it will run 4 queries.

Hornstar 08-01-2007 03:25 AM

Quote:

Originally Posted by Coders Shack (Post 1283656)
every 5 mins it will run 4 queries.

Is that bad? Could that be reduced?


All times are GMT. The time now is 06:36 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.01418 seconds
  • Memory Usage 1,815KB
  • 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
  • (2)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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