Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Forum stats on signature image Details »»
Forum stats on signature image
Version: 1.00, by tkeil69575 tkeil69575 is offline
Developer Last Online: Sep 2007 Show Printable Version Email this Page

Version: 2.3.x Rating:
Released: 03-25-2003 Last Update: Never Installs: 64
 
No support by the author.

[high]Remember the forum rules here at vB.org and don't exceed the signature dimensions: https://vborg.vbsupport.ru/showthrea...threadid=50062 . Signatures in violation of the rules will be suspended. --filburt1[/high]

Hi all,

What this hack does:
Calls up your Forum statistics (like No. of Members, Threads and Posts) and creates a new image on your server using GD which you can use as a signature image, where ever you like - have a look at my signature and you'll see what I mean. This is only my 2nd hack - so be kind to me

In order to have the image created, say every 15 minutes you will need to set up a cronjob. Infos are provided in the instructions.txt, and alternatives for those who do not have access to crontab on their server.

Support:
Because I'm pretty busy, I will provide only limited support. Will look in here once a week or so.

Credits:
to kars10 for kicking me in the ass and getting me to code this - thanks karsten

greets
tina

Update 23.06.2003
- global.php no longer required, thus when signature image is being created it no longer shows up in "who is onlne"
- quality of image output improved
- debug modus with email notification integrated
- tested with gd2

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #162  
Old 05-24-2003, 09:14 AM
gmarik's Avatar
gmarik gmarik is offline
 
Join Date: May 2002
Location: Mocsow
Posts: 1,288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks. Really great.
Reply With Quote
  #163  
Old 05-24-2003, 03:18 PM
Intex Intex is offline
 
Join Date: Apr 2002
Posts: 576
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can't seem to get this to work. I just receive an error. Could this be because I'm running PHP 4.1.2?
Reply With Quote
  #164  
Old 05-28-2003, 03:02 PM
msimplay's Avatar
msimplay msimplay is offline
 
Join Date: Aug 2002
Location: UK
Posts: 1,059
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i get this error when i use the cron

Failed loading /usr/local/Zend/lib/ZendOptimizer.so:
/usr/local/Zend/lib/ZendOptimizer.so: cannot open shared object file: No such file or
directory
X-Powered-By: PHP/4.3.1
Set-Cookie: ;
path=/Vbulletin/
Set-Cookie: bblastvisit=1054137601; expires=Thu, 27-May-04 16:00:01
GMT; path=/Vbulletin/
Content-Type: image/png
Reply With Quote
  #165  
Old 06-02-2003, 04:21 PM
Steve W. Steve W. is offline
 
Join Date: May 2003
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Everytime I uipload signature.php I get this:

The page cannot be displayed
The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may need to adjust your browser settings.

Any ideas?!
Reply With Quote
  #166  
Old 06-02-2003, 06:26 PM
Minots's Avatar
Minots Minots is offline
 
Join Date: Jan 2002
Location: Germany
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@ msimplay

I?m using a simple bash-script to do the "cron-part" without trouble. (look in my attachment )

little instructions:
* login to your server via ssh/telnet
* upload "cron_signature.sh" /root
* chmod it to 700
* add a line into your "/etc/crontab"-file like:
0,10,20,30,40,50 * * * * /root/cron_signature.sh

-------------- SNIPP --------------
About your error-message:
It looks like a mistaken 'ZendOptimizer'-installation. So there are 2 possible solutions.:

N?1.: reinstall of 'ZendOptimizer' by using the install.sh from it

N?2: uncomment or delete the 'ZendOptimizer'-lines in your php.ini (looks like:
Code:
[Zend]
zend_optimizer.optimization_level=15
zend_extension=/usr/local/Zend/lib/ZendOptimizer.so
)

After that, just restart your webserver.
Reply With Quote
  #167  
Old 06-08-2003, 08:37 PM
eXtremeTim eXtremeTim is offline
 
Join Date: Jun 2002
Location: eXtremewebtech.com
Posts: 1,201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just rewrote a bunch of this so that when i use the link to the php file as my sig image it doesn't go thro vb anymore as to keep it from messing with whos online. Plus i went ahead and made a count for total online. I also made it use a png template instead of a jpg template.
Reply With Quote
  #168  
Old 06-11-2003, 03:12 PM
MentaL's Avatar
MentaL MentaL is offline
 
Join Date: Jan 2003
Posts: 550
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ive uploaded and did the cron job but my http://forum.ragezone.com/images/signatur/sig.jpg is not updating...
Reply With Quote
  #169  
Old 06-11-2003, 03:16 PM
MentaL's Avatar
MentaL MentaL is offline
 
Join Date: Jan 2003
Posts: 550
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nm fixed it
Reply With Quote
  #170  
Old 06-18-2003, 03:19 PM
msimplay's Avatar
msimplay msimplay is offline
 
Join Date: Aug 2002
Location: UK
Posts: 1,059
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
06-02-03 at 08:26 PM Minots said this in Post #165
@ msimplay

I?m using a simple bash-script to do the "cron-part" without trouble. (look in my attachment )

little instructions:
* login to your server via ssh/telnet
* upload "cron_signature.sh" /root
* chmod it to 700
* add a line into your "/etc/crontab"-file like:
0,10,20,30,40,50 * * * * /root/cron_signature.sh

-------------- SNIPP --------------
About your error-message:
It looks like a mistaken 'ZendOptimizer'-installation. So there are 2 possible solutions.:

N?1.: reinstall of 'ZendOptimizer' by using the install.sh from it

N?2: uncomment or delete the 'ZendOptimizer'-lines in your php.ini (looks like:
Code:
[Zend]
zend_optimizer.optimization_level=15
zend_extension=/usr/local/Zend/lib/ZendOptimizer.so
)

After that, just restart your webserver.

lol Ez web is my host they sed it was normal
and its working so am not complaining :P
Reply With Quote
  #171  
Old 06-19-2003, 12:14 PM
Minots's Avatar
Minots Minots is offline
 
Join Date: Jan 2002
Location: Germany
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
lol Ez web is my host they sed it was normal
and its working so am not complaining :P
Muhhhahahahaha! :laugh:
Can?t believe that! LooooooL!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:11 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05033 seconds
  • Memory Usage 2,315KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete