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
  #32  
Old 09-22-2006, 12:01 AM
Ricsca's Avatar
Ricsca Ricsca is offline
 
Join Date: Apr 2006
Posts: 236
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very Thanks
Reply With Quote
  #33  
Old 09-22-2006, 01:30 AM
aveon's Avatar
aveon aveon is offline
 
Join Date: May 2006
Posts: 410
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

if you can design something like this for the side column wold be lot nicer than sig thanx
Reply With Quote
  #34  
Old 09-22-2006, 02:30 AM
ConqSoft's Avatar
ConqSoft ConqSoft is offline
 
Join Date: Jul 2003
Location: Raleigh, NC
Posts: 686
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by aveon
if you can design something like this for the side column wold be lot nicer than sig thanx
This is for you to use on OTHER forum sites you visit, not for display on your own forum.
Reply With Quote
  #35  
Old 09-22-2006, 08:02 AM
optrex optrex is offline
 
Join Date: Sep 2005
Posts: 344
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Qwest
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
Nice tip, but not something you can do to get it to show on vbulletin.com for instance
Reply With Quote
  #36  
Old 09-22-2006, 10:00 AM
Fax's Avatar
Fax Fax is offline
 
Join Date: Jun 2006
Location: Essex
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

does this mod work on windows os ?
Reply With Quote
  #37  
Old 09-22-2006, 10:06 AM
optrex optrex is offline
 
Join Date: Sep 2005
Posts: 344
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Don't see why not - its just php.
Reply With Quote
  #38  
Old 09-22-2006, 01:19 PM
Qwest Qwest is offline
 
Join Date: Jun 2004
Location: United States
Posts: 223
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by optrex
Nice tip, but not something you can do to get it to show on vbulletin.com for instance
Well vbulletin.com doesn't allow ANY images in sigs does it?

I think you misread the point of my tip.

My tip makes it so you can use <img src=http://mysite.com/base.png>

instead of using <img src=http://mysite.com/sig.php>

because a lot of boards are set up to not allow dynamic images (images that end in anything other than .gif or .jpg or .png)
Reply With Quote
  #39  
Old 09-25-2006, 09:01 AM
Fax's Avatar
Fax Fax is offline
 
Join Date: Jun 2006
Location: Essex
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i'm using vbulletin 3.6.0 on a windows 2003 dedicated server (i know this is for 3.6.1 but some users have this working on 3.6.0) and cannot get this to work.

error output:-
Quote:
query_first("SELECT COUNT(threadid) FROM " . TABLE_PREFIX . "vbthread"); $totalthreads = implode(",",$totalthreads); $totalposts = $db->query_first("SELECT COUNT(postid) FROM " . TABLE_PREFIX . "vbpost"); $totalposts = implode(",",$totalposts); $totalusers = $db->query_first("SELECT COUNT(userid) FROM " . TABLE_PREFIX . "vbuser"); $totalusers = implode(",",$totalusers); // Loads a PNG image function LoadPNG($imgname) { $im = @imagecreatefrompng($imgname); /* Attempt to open */ if (!$im) { /* See if it failed */ $im = imagecreatetruecolor(150, 30); /* Create a blank image */ $bgc = imagecolorallocate($im, 255, 255, 255); $tc = imagecolorallocate($im, 0, 0, 0); imagefilledrectangle($im, 0, 0, 150, 30, $bgc); /* Output an errmsg */ imagestring($im, 1, 5, 5, "Error loading $imgname", $tc); } return $im; } // Actually Loads the image $im = @LoadPNG('base.png'); //Adds the Header header("Content-type: image/png"); //Defines Colors $background_color = imagecolorallocate($im, 255, 255, 255); $text_color = imagecolorallocate($im, 0, 255, 0); // 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); //Outputs the image imagepng($im); imagedestroy($im); ?>
i use table prefix of vb so i changed this in the sig.php, i have tried with the standard settings but this didn't work either.

any ideas ?
Reply With Quote
  #40  
Old 10-22-2006, 03:58 AM
Mrflow Mrflow is offline
 
Join Date: Dec 2005
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it is possible to be put Profile Fields of vbulletin like country, posts or another extra thing?
Reply With Quote
  #41  
Old 10-23-2006, 10:06 PM
DavutPasha DavutPasha is offline
 
Join Date: Mar 2006
Location: Istanbul
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I added some extra lines. You can see my signature.

* Server Load
* Server Uptime
* Server Activity

I want to share my own codes with you..

PHP Code:
// information about server activity
$sunucu = @fsockopen(localhost80);
if (
$sunucu) {
$sunucudurumu .= "ACTIVE";
}
else {
$sunucudurumu .= "INACTIVE";
}

// Uptime and Server Load istatistics
$uptimekaydi trim(exec("uptime"));
if (
$uptimekaydi) {
if (
preg_match("/, *(\d) (users?), .*: (.*), (.*), (.*)/"$uptimekaydi$uptime)) {
$kullanicilar[0] = $uptime[1];
$kullanicilar[1] = $uptime[2];
$suankiyuk $uptime[3];
$yukleme15 $uptime[4];
$yukleme30 $uptime[5];
}
} else {
$kullanicilar[0] = "Mevcut degil";
$kullanicilar[1] = "--";
$suankiyuk "Mevcut degil";
$yukleme15 "--";
$yukleme30 "--";
}
$uptime shell_exec("cut -d. -f1 /proc/uptime");
$gun floor($uptime/60/60/24);
$saat $uptime/60/60%24;
$dakika $uptime/60%60;
$saniye $uptime%60
you can add this informations like this;

PHP Code:
$information1 "DAVUTPASHA.COM HAS $suankiyuk SERVER LOAD AND ALSO";
$information2" WE HAVEN'T HAD ANY PROBLEM ABOUT $gun DAYS $saat:$dakika:$saniye SECONDS.";

imagestring($im24192"SERVER ACTIVITY: " $sunucudurumu$text_color);
imagestring($im2516$information1$text_color);
imagestring($im2529$information2$text_color); 

Main codes are in Turkish. I translated them to English. You can translate other words.

See my sig: http://www.davutpasha.com/imzam.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 10:58 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
  • Page Generation 0.04498 seconds
  • Memory Usage 2,330KB
  • 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
  • (1)bbcode_code
  • (1)bbcode_html
  • (2)bbcode_php
  • (4)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