vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Miscellaneous Hacks - Page Loading Time (https://vborg.vbsupport.ru/showthread.php?t=225476)

Black Tiger 10-19-2009 09:58 PM

Nice, marked installed.

However, you should put the instructions also into the zip file.

Black Tiger 10-19-2009 10:13 PM

1 Attachment(s)
Disabled it for now, some problems occur.
For once... I don't like the box with the with backgrond.
Next to that, it's not working with me, it only gives a "plz wait" which I changed in "Please wait" but then it does not fit. That doesn't matter, but it does nog give the page loading time.

How do I get the page loading time and how do I get rid of the box? I would like it to be just plain text and transparant so it won't affect my background color.
This is how it looks at my forums now:
Attachment 105471

Would also be nice to have the text as small as the rest.

Brandon Sheley 10-19-2009 10:59 PM

nice mod
and I assume it would be easy enough to add a condition to only show this to staff?

linuxututs 10-20-2009 01:45 AM

Quote:

Originally Posted by Black Tiger (Post 1902353)
Disabled it for now, some problems occur.
For once... I don't like the box with the with backgrond.
Next to that, it's not working with me, it only gives a "plz wait" which I changed in "Please wait" but then it does not fit. That doesn't matter, but it does nog give the page loading time.

How do I get the page loading time and how do I get rid of the box? I would like it to be just plain text and transparant so it won't affect my background color.
This is how it looks at my forums now:
Attachment 105471

Would also be nice to have the text as small as the rest.

I'm sorry your not getting this to work for you, because by all rights there is no reason for it not to. ( Unless your changing the script somehow )

And

Quote:

Loco.M
nice mod
and I assume it would be easy enough to add a condition to only show this to staff?
I'm going to start working with the vBulletin's <if condition >'s , maybe tomorrow for this "Hit Counter" Plugin I'm working on. And then I'll be able to tell you more about what you'd need to do to have it only show for certain groups etc..

I'm sure there's plenty of members here that could help you with that to though.

Thanks,

linuxututs 10-20-2009 03:12 AM

Quote:

Originally Posted by Loco.M (Post 1902377)
nice mod
and I assume it would be easy enough to add a condition to only show this to staff?

Here use this

Code:

<if condition="is_member_of($vbulletin->userinfo, 6, 7)"><!--A1 --><body onLoad="show_loading_time()"><!-- -->
<!--A1 -->
<form name="f" onSubmit="0"> Page Loading Time:
<input Size="13" Name="t" Value="loading..."><!-- --></if>

Just change the usergroup id's to whoever you want to show the load time to.
6 and 7 are my Administrators and Moderators.

Hope that helps you.

Thanks,

ZEHH 10-20-2009 03:32 AM

Very good this hack, I just test on my forum and it worked.

Congratulations!

linuxututs 10-20-2009 05:14 AM

Quote:

Originally Posted by Black Tiger (Post 1902353)
Disabled it for now, some problems occur.
For once... I don't like the box with the with backgrond.
Next to that, it's not working with me, it only gives a "plz wait" which I changed in "Please wait" but then it does not fit. That doesn't matter, but it does nog give the page loading time.

How do I get the page loading time and how do I get rid of the box? I would like it to be just plain text and transparant so it won't affect my background color.
This is how it looks at my forums now:
Attachment 105471

Would also be nice to have the text as small as the rest.

My bad "Black Tiger", you where partially right anyway.
I found it doesn't show while viewing threads.
But that is the Only place on My board that it doesn't load the time.

Once again, My Bad People, but its still a neat little hack regardless, is the only reason I don't delete it.

Plus I'm sure someone will come up with a fix and/or work around for us on this.

Cheers,

Hornstar 10-25-2009 12:35 PM

Thanks this will be useful for myself.

Front Range 4x4 10-25-2009 03:08 PM

1 Attachment(s)
I placed this only on Forumhome and changed the formatting to eliminate the ugly white box so it shows up simply as a line of text. You don't need the please wait. In the example below the text is white and background matches my site. Substitute your own colors.

<input size="10" name="t"/ style="color:white;border:none;background:#8C411C; ">

Andyrew 10-25-2009 08:20 PM

1 Attachment(s)
This old mod will show you page load times and server load. Even works on 3.8 ;)

https://vborg.vbsupport.ru/showthrea...ght=microstats


All times are GMT. The time now is 02:10 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.01162 seconds
  • Memory Usage 1,741KB
  • 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
  • (1)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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