Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
ForumSig 1.0 Details »»
ForumSig 1.0
Version: 1.00, by kg4mxz kg4mxz is offline
Developer Last Online: Jun 2013 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.6.1 Rating:
Released: 09-19-2006 Last Update: Never Installs: 52
Additional Files Is in Beta Stage  
No support by the author.

Outputs a PNG image you can use as a forum signature with live forum statistics.

This was only tested with vB 3.6.1 There might be something similar to this already but I could not get a version that I could get to work so I made my own.

Install Time: <30 seconds

Installation:
  1. Change $forumname to the name of your forum as you want it displayed in the image.
  2. Upload sig.php and base.png to your forum root
  3. Do any modifications to base.png you want (Optional)
  4. Your signature is ready to use!
A sample implementation in HTML:
HTML Code:
<IMG SRC="http://yourdomain.com/path/to/forum/sig.php">

Show Your Support

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

Comments
  #22  
Old 09-20-2006, 06:24 PM
hilfe-forum hilfe-forum is offline
 
Join Date: Sep 2005
Location: http://www.alpha-board.eu
Posts: 198
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Phooey
Is there any way to make the text size a bit larger?

Edit: Nevermind, figured it out. You can see my modded version in my sig.

/installed
please tell me the way to change text size
Reply With Quote
  #23  
Old 09-20-2006, 06:54 PM
LICryptkeeper LICryptkeeper is offline
 
Join Date: Jun 2003
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by aceofspades
1. You noob you use the png as your sig image.
he means that not all forums allow .php in image tags. I agree with ragtek that it should be cached into an image, and run as a cronjob, since it has the possibility of being a little sever-intensive.

it's how mine is running:

http://network.montrealforums.com/links/invite.php
outputs
http://network.montrealforums.com/links/invite2.jpg

the php is run every 15 minutes, and therefore the JPG gets updated every 15 minutes.
Reply With Quote
  #24  
Old 09-20-2006, 11:25 PM
jw00dy's Avatar
jw00dy jw00dy is offline
 
Join Date: Dec 2004
Location: Utah
Posts: 250
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very cool, thank you!

*installed*
Reply With Quote
  #25  
Old 09-20-2006, 11:36 PM
jw00dy's Avatar
jw00dy jw00dy is offline
 
Join Date: Dec 2004
Location: Utah
Posts: 250
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by LICryptkeeper
he means that not all forums allow .php in image tags. I agree with ragtek that it should be cached into an image, and run as a cronjob, since it has the possibility of being a little sever-intensive.

it's how mine is running:

http://network.montrealforums.com/links/invite.php
outputs
http://network.montrealforums.com/links/invite2.jpg

the php is run every 15 minutes, and therefore the JPG gets updated every 15 minutes.
That's very cool. I can already tell mine is taking a hit with the sig.
Reply With Quote
  #26  
Old 09-21-2006, 12:48 AM
Phooey Phooey is offline
 
Join Date: May 2004
Location: Wisconsin, USA
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hilfe-forum
please tell me the way to change text size
Find this code in the sig.php file, the numbers I bolded are what you change to make the text larger:
Code:
// Adds Text
imagestring($im, 1, 5, 5,  $forumname . " Statistics", $text_color);
imagestring($im, 1, 5, 15,  "Threads: " . $totalthreads, $text_color);
imagestring($im, 1, 5, 25,  "Posts: " . $totalposts, $text_color);
imagestring($im, 1, 105, 15,  "Users: " . $totalusers, $text_color);
Reply With Quote
  #27  
Old 09-21-2006, 03:13 AM
Kanustep Kanustep is offline
 
Join Date: Jul 2005
Posts: 103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack! How do we add more variables, for example:
- Last thread
- Users online: this could be a mess!
- Active members
- Last member registration
Reply With Quote
  #28  
Old 09-21-2006, 09:52 AM
hilfe-forum hilfe-forum is offline
 
Join Date: Sep 2005
Location: http://www.alpha-board.eu
Posts: 198
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Phooey
Find this code in the sig.php file, the numbers I bolded are what you change to make the text larger:
Code:
// Adds Text
imagestring($im, 1, 5, 5,  $forumname . " Statistics", $text_color);
imagestring($im, 1, 5, 15,  "Threads: " . $totalthreads, $text_color);
imagestring($im, 1, 5, 25,  "Posts: " . $totalposts, $text_color);
imagestring($im, 1, 105, 15,  "Users: " . $totalusers, $text_color);
Cool THX
Reply With Quote
  #29  
Old 09-21-2006, 10:07 AM
optrex optrex is offline
 
Join Date: Sep 2005
Posts: 344
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by LICryptkeeper
he means that not all forums allow .php in image tags. I agree with ragtek that it should be cached into an image, and run as a cronjob, since it has the possibility of being a little sever-intensive.

it's how mine is running:

http://network.montrealforums.com/links/invite.php
outputs
http://network.montrealforums.com/links/invite2.jpg

the php is run every 15 minutes, and therefore the JPG gets updated every 15 minutes.
can you tell me how I would set this cron job up - to update every 15 mins and output a jpg?
Reply With Quote
  #30  
Old 09-21-2006, 04:46 PM
ragtek ragtek is offline
 
Join Date: Mar 2006
Location: austria, croatia
Posts: 1,630
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oh sorry that i just said the truth
1.not in all forums is php allow
2. its better for the performance when you cache it every 30 minutes

and if you think that i'm a noob its ok for me
Reply With Quote
  #31  
Old 09-21-2006, 06:01 PM
Qwest Qwest is offline
 
Join Date: Jun 2004
Location: United States
Posts: 223
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey guys.

For those of you complaining about forums not accepting sig.php as an image. Simply add this code to a .htaccess file and place it in the same directory as base.png and sig.php

Code:
RewriteEngine on
RewriteRule ^base.png$ sig.php
Then just link to base.png and Apache will automatically use sig.php
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 08:53 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.12226 seconds
  • Memory Usage 2,313KB
  • Queries Executed 25 (?)
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
  • (3)bbcode_code
  • (1)bbcode_html
  • (6)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
  • (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_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