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)
-   -   Mini Mods - ForumSig 1.0 (https://vborg.vbsupport.ru/showthread.php?t=127076)

Tuga?? 10-27-2006 04:07 PM

Quote:

Originally Posted by DavutPasha
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

hi mate i have one imagem like you can please help me wath i put inside off the sign.php

http://cracktugateam.com/forum/sig.php

i insert the image in anex.

Thank you

Jaxx 11-04-2006 06:14 PM

*edited*

Figured it out.

Thanks for the mod.

Riku Yuizaki 11-05-2006 12:02 AM

Nice mod, I made one like this as well, its awesome, you can display pretty much anything you want on it, you can do stuff like this even:

https://vborg.vbsupport.ru/
not one query used anywhere in it!

Shouzen 11-07-2006 05:33 PM

How do i make it work like that?
how do i make a .htaccess file?

Tuga?? 11-07-2006 05:37 PM

http://cracktugateam.com/forum/sig.php

work fine now;)

zompus 11-08-2006 08:26 PM

Wont work for me, prolly because i got vbseo installed... doubleyellowcard.com/sig.php

zompus 11-08-2006 08:38 PM

anyone got any suggestions on what i can do?

zompus 11-09-2006 12:59 AM

hmmm?

kg4mxz 11-09-2006 01:08 AM

Sorry, don't have vBSEO so I have no idea (I am accepting donations :D )

ashley53680 11-18-2006 03:26 AM

Worked perfectly! I just quickly did a base and uploaded things. Took less then 3 minutes from start to finish. :)


All times are GMT. The time now is 09:32 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.01053 seconds
  • Memory Usage 1,751KB
  • 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_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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