![]() |
Forum+ecDownloads Stats on Signature Image
Installation Time: <5 mins Files: 1 Plugins: 1 VB Version: This actually works on 3.5.0 - 3.5.4 for 3.6.0 - 3.6.4 go here Description: 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 Databank and creates a new images called signature.jpg This hack uses the PHP-GD Function, so be shure you have this enabled on your server. If you don?t be shure about this, ask your host or look in your PHP-Info. Installation Instructions:
http://the-chad.com/forums352/signature/signature.jpgFAQ: N/A To add extra stats look in the signature.php for more info. |
Screenshot please?
|
Ummm there is nothing attached my friend??
|
no file to download?
|
Quote:
and added a example and some instructions |
Doh there the instructions are :)
|
Quote:
|
Quote:
I'll take a look |
Quote:
|
I did everything. The image was created, the 3 lines are on the image, but all data shows 0. I put in my DB username and pass all correctly. Running 3.5.2
|
did you run the php file? and are you getting any errors?
|
I like the hack, but the instructions need to be re-done a bit. There are far too many errors in the installation instructions themselves and it's making it hard to fully understand.
|
I did run the php manually, it does create the 2nd image. I do get these errors though,
Quote:
|
Fatal error: Call to undefined function: imagecreatefromjpeg() in /path/signature.php on line 84
|
Quote:
Do you have GD 2.0 installed? |
Quote:
|
how do I find out the table prefix?
|
like what are your tables named in your database, i think the standard is 'vb3_' look at one of your tables for example vb3_user
|
Standard is no table prefix at all :)
You can check your prefix either by going into the db via php my admin or you can go into your config file and looking at what you entered :) |
sweet, that was the trick. I had no table prefix defined, it was just "" so now it works perfect.
|
oh, guess i learned something.
|
I know you said to put the signature.php in the Forum/ directory, but setting up the cron is not easy for it being in that directory. Just for anyone else to know, you can just put the signature.php file in your includes/cron/ directory and it still works the same without changing any settings. Then you can just use the defaut cron setup.
Here is my working Signature, http://www.warriornation.net/Forum/i...wakko/sig2.jpg I do have a question or two. How did you add the number online bit. Also the info in my sig is not perfectly calculated to what the board says on members, posts and threads. Is it excluding certain usergroups and forums? members are about 20 off, threads are about 3000 off. |
Its because its not calling the global.php, so it just goes straight to the database im thinking its adding all the things you deleted. because lets say you make thread 100 and then you delete it, and someone makes another thread its going to be 101 not 100 again. It just pulls the ID number.
|
hmm ok. I just found the difference in members, Its excluding all that are in the Awaiting Moderation usergroup on my board.
The threads bit is really really far off, 1,357,759 is actual, its about 22,104 off. |
Quote:
like make a new thread and look at the thread number, same w/ the post number. oh and the currently online thing. I made mine up lol, im working on a way to pull it out. |
Ok just find:
Code:
$totalposts=number_format($postb['posts']); Code:
$totalposts=number_format($postb['posts'] - 22640); |
im just messin around and i figured our how to call up stats from ecdownloads mod.
|
Woah I wanted to make this!!
Thanks you saaved me lots of time!!! :D |
Quote:
|
nice hack, thank you !
can you tell me how can i change the font type? |
hmm, thats one thing i was not able to do, ill work on that.
If anyone wants me to tell you how to let it show how many files you have in ecDownloads and how may times they have been downloaded. Just ask. |
anyone know how to get the latest member?
|
Quote:
|
nice~
|
I've been waiting for this, thanks. Works like a charm :)
[high]* trancetopia clicks install[/high] |
Ok i did some research. Results are in the hack description.
If you have ecdownloads you will love this. This will get these stats: total downloads, total downloads downloaded, latest download, Latest Member |
umm im kinda confused...does this need sql query...if so..how many sql query it needed?
if this..xtra sql query in every page....won't it slow down the page load?/ |
no lol... you use the php file to create the sig image. and set the cron to run that file every 15 mins, you use the .jpg for the sig image. so it does a few querys every 15 mins.
|
Im working on a way to get currently online.
|
Works nicely. How do you change the font & text positioning?
|
All times are GMT. The time now is 12:47 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|