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

Reply
 
Thread Tools
Page Loading Time Details »»
Page Loading Time
Version: Beta 1.00, by linuxututs linuxututs is offline
Developer Last Online: Jan 2012 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.8.4 Rating:
Released: 10-17-2009 Last Update: 10-19-2009 Installs: 19
Template Edits
Re-useable Code Translations  
No support by the author.

Changed to Beta Version !!
Bug Found !


Its no biggy, but still doesn't do what its meant to do on "ALL" pages.
The timer does not load while viewing thread !!!

Sorry, I call myself testing this on "ALL" pages before releasing it, but apparently I overlooked that one page loading.

Please if anyone can come up with a fix, Please post.

The Mod/Hack works fine other than that. ( Works as should on Joomla, and phpbb )
This is a vBulletin thing, and I'm still learning vBulletin code, so please bare with me.

Updated the Instructions in the download attachment also.

Page Loading Time ( Hack )

I Searched for nearly two hours to find this hack. Either all the scripts I found had backlinks in them or they plain just didn't work.

2 Step Page Loading Time ( Hack )

1) Place this code at the bottom of your " headinclude "

( Style Manager/your_style/All Style Options/ >>Go )

Code:
<script Language="JavaScript">
<!-- hide script from non compliant broswers
// author: Susan Lee

var from_time = new Date();
from_time = from_time.getTime();
function  show_loading_time()
{
var to_time = new Date();
to_time = to_time.getTime();
var secs = (to_time - from_time) /1000;
document.f.t.value = secs + " seconds";
}
// end hiding from non compliant browsers-->
</script>
2) Now Place this code anywhere in your " footer " you'd like to see the Page Load Time.

( Style Manager/your_style/All Style Options/ >>Go )

Code:
<!--A1 --><body onLoad="show_loading_time()"><!-- -->
<!--A1 -->
<form name="f" onSubmit="0"> Page Loading Time:
<input Size="15" Name="t" Value="Plz Wait"><!-- -->
If you don't want the white box you can use "Front Range 4x4" code and and change it to plain text with what-ever color you chose.

Replace:
Code:
<input Size="15" Name="t" Value="Plz Wait"><!-- -->
With:
Code:
<input size="10" name="t"/ style="color:white;border:none;background:#8C411C;"><!-- -->
Change to your desired colors.

( Thanks "Front Range 4x4" for the help )


I Placed mine before
Code:
$ad_location[ad_footer_start]
Cheers,

Download Now

File Type: zip pageloadingtime.zip (111.7 KB, 52 views)

Screenshots

File Type: png loadtimer.PNG (58.5 KB, 0 views)

Show Your Support

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

Comments
  #2  
Old 10-18-2009, 01:19 PM
COL NIL SATIS COL NIL SATIS is offline
 
Join Date: Aug 2009
Location: Liverpool UK
Posts: 802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice

clicked installed!!!
Reply With Quote
  #3  
Old 10-18-2009, 08:43 PM
BucWiLd's Avatar
BucWiLd BucWiLd is offline
 
Join Date: Jun 2008
Location: pa, usa
Posts: 265
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

gonna give it a shot..maybe, waiting for more feedback
Reply With Quote
  #4  
Old 10-19-2009, 12:30 AM
Daryn Daryn is offline
 
Join Date: Nov 2008
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Using vbAdvanced. I get a time on the homepage, but just get plz wait on every other page.
Reply With Quote
  #5  
Old 10-19-2009, 12:35 AM
dacho's Avatar
dacho dacho is offline
 
Join Date: Dec 2004
Location: Tell-Aviv
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

10x man
Reply With Quote
  #6  
Old 10-19-2009, 03:47 AM
drbox drbox is offline
 
Join Date: Jun 2008
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks

installed

how make show as text not in text box
Reply With Quote
  #7  
Old 10-19-2009, 04:59 AM
abdobasha2004's Avatar
abdobasha2004 abdobasha2004 is offline
 
Join Date: Aug 2008
Posts: 541
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks, it is good
Reply With Quote
  #8  
Old 10-19-2009, 05:05 AM
linuxututs linuxututs is offline
 
Join Date: Oct 2009
Posts: 160
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Daryn View Post
Using vbAdvanced. I get a time on the homepage, but just get plz wait on every other page.
I have vBadvanced Installed also, and Having no problems with showing.
( Anyone else seen this ? )

( I've also done implemented this hack on 3 other sites )

And as far as customizing the box. I studied the code myself before ever posting it here, and don't see how to do it myself with my meager coding skills ( I get by though ... )

All of you are welcome to improve this anyway you see fit.
But, please post how you done it so the rest of Us can benefit from it.

I have a counter plugin I've created ( re-done someone elses code ) also, but its counting every page load and I'm not that good with vBulletin code as of yet.

If anyone is interested in improving that plugin, It would be GREAT for the community !

No need for linkbacks to the free web-counters that's out there.

Cheers,
Attached Images
File Type: png hitcounter.PNG (54.8 KB, 0 views)
Reply With Quote
  #9  
Old 10-19-2009, 12:28 PM
meissenation meissenation is offline
 
Join Date: Apr 2005
Posts: 476
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed on my board - changed "Plz Wait" to "Please Wait" - Plz just seems too immature to have on a public board.
Reply With Quote
  #10  
Old 10-19-2009, 03:12 PM
linuxututs linuxututs is offline
 
Join Date: Oct 2009
Posts: 160
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good idea, but I have only even seen it a couple of times when I had added some extra forum from the admin panel. ( Took a little longer for the page to load )

Glad everyone's liking it.

Thanks,

P.S. Think I'll change mine to " loading... "
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 02:01 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.04414 seconds
  • Memory Usage 2,322KB
  • Queries Executed 24 (?)
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
  • (5)bbcode_code
  • (1)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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (3)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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_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