Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
8WayRun.Com - Micro Debug Stats Details »»
8WayRun.Com - Micro Debug Stats
Version: 4.0.3, by Jaxel Jaxel is offline
Developer Last Online: Sep 2013 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 4.0.x Rating:
Released: 04-20-2010 Last Update: 08-13-2010 Installs: 113
Uses Plugins
 
No support by the author.

Don't forget to click INSTALL!
I'm an unemployed computer programmer... if you appreciate the work I have done on this mod, please don't hesitate in offering me a donation by clicking the "Support Developer" link to the right of this text.

This mod is a complete rewrite of ShiningArcanine's Microstats mod for vB3.5x.
ShiningArcanine is gone. Sadly that means his mods will never get updated. As well, by policy here at vBulletin.org, no one has the right to update his mod to make it compatible for newer versions of vB without his express permission... which we won't be able to get because we can't get in contact him. Therefore I have completely rewritten this mod. I copied nothing from ShiningArcanine's original mod; instead I went through vB's built in debug functions and used their code as an example.

Server Support
Right now this mod only supports "@exec(uptime)" for retrieving server load. If I get enough requests for other load average systems, I will add them in time.

Download Now

File Type: xml product-microdebug.xml (3.3 KB, 425 views)

Screenshots

File Type: jpg Untitled-1.jpg (72.9 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
sivaganeshk

Comments
  #22  
Old 05-09-2010, 02:06 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Da-Vinci View Post
My server has been up for over a month as I moved to a Dedicated Server, but the stats say server uptime is only 4 days?



Also are there any options to set permissions for the stats, I'd prefer my members not to know if there are any problems with the site.
I wrapped the global_complete code like this:

Code:
if ($vbulletin->userinfo['usergroupid'] == 6)
{
at the top, above:

Code:
$totaltime = microtime(true) - TIMESTART;
and then added:

Code:
}
after

Code:
$output = str_replace('</body>',$microdebug.'<br /></body>', $output);
Now only Admins can see any of it.
Reply With Quote
  #23  
Old 05-29-2010, 11:15 AM
Hippy's Avatar
Hippy Hippy is offline
 
Join Date: Dec 2001
Location: USA, New Jersey
Posts: 2,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Boofo nyce fix

I have a small issue
I have photopost integrated with vb4
but the microstats don't display when viewing the gallery
how can I get it to hook there as well
thanks
Reply With Quote
  #24  
Old 05-29-2010, 11:39 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Check to see if photopost has its own footer template. You would have to enter the display code there, also.
Reply With Quote
  #25  
Old 06-03-2010, 02:25 AM
Hippy's Avatar
Hippy Hippy is offline
 
Join Date: Dec 2001
Location: USA, New Jersey
Posts: 2,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

photopost uses vb's footer it's all integrated
Reply With Quote
  #26  
Old 06-03-2010, 03:22 AM
Scalemotorcars's Avatar
Scalemotorcars Scalemotorcars is offline
 
Join Date: Mar 2006
Location: NC
Posts: 619
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works perfect, thanks... :up:
Reply With Quote
  #27  
Old 06-04-2010, 12:41 AM
HappyFeet's Avatar
HappyFeet HappyFeet is offline
 
Join Date: Mar 2009
Location: Tn. USA
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo View Post
I wrapped the global_complete code like this:


Now only Admins can see any of it.
Thanks!
Reply With Quote
  #28  
Old 06-23-2010, 05:31 PM
KURTZ KURTZ is offline
 
Join Date: Nov 2006
Location: Italy
Posts: 2,257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo View Post
Now only Admins can see any of it.
so the code should be this, correct?

Code:
$totaltime = microtime(true) - TIMESTART;
}
$output = str_replace('</body>',$microdebug.'<br /></body>', $output);
if ($vbulletin->userinfo['usergroupid'] == 6)
{
Reply With Quote
  #29  
Old 06-23-2010, 05:50 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

More like:

Code:
if ($vbulletin->userinfo['usergroupid'] == 6) 
{ 
$totaltime = microtime(true) - TIMESTART; 
$templatecache = vB_Template::$template_usage;

AND:

Code:
$microdebug .= "</div>"; 
$output = str_replace('</body>',$microdebug.'<br /></body>', $output); 
}
The code in red is what is added.
Reply With Quote
  #30  
Old 06-24-2010, 08:42 AM
KURTZ KURTZ is offline
 
Join Date: Nov 2006
Location: Italy
Posts: 2,257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

please check if i made the edits correctly
Attached Files
File Type: xml product-microdebug by boofo.xml (3.3 KB, 17 views)
Reply With Quote
  #31  
Old 06-24-2010, 08:57 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nope, sorry. At the very bottom, change this:

Code:
$microdebug .= "</div>";
}
$output = str_replace('</body>',$microdebug.'</body>', $output);

to this:

Code:
$microdebug .= "</div>";
$output = str_replace('</body>',$microdebug.'</body>', $output);
}
Reply With Quote
Reply

Thread Tools

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 03: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.09540 seconds
  • Memory Usage 2,338KB
  • Queries Executed 26 (?)
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
  • (9)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete