vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=229)
-   -   Mini Mods - Forumhome Loading Please Wait (https://vborg.vbsupport.ru/showthread.php?t=186546)

pooffck1 07-27-2008 10:00 PM

Forumhome Loading Please Wait
 
Ok this is my second template edit, what this template modifications does it blacks out the forumhome and lowers the opacity of the forumhome with a black overlay with a loading image in the middle UNTIL the forumhome is fully loaded.

Demo: (i dont have a demo at the moment, if the person who wants there demo here then please just post your link in this thread and i will put it up)


Template Change

FORUMHOME

At the top of the forumhome place this

Code:

<body onLoad="init()">
<div id="loading" align="center" id="pageIsLoading" style=" position:absolute; height:642; top:0;display:block; width:1047;background: #333333;
z-index:10000; -moz-opacity:.8; opacity:.8; filter:alpha(opacity80); left:10; padding-left:0; padding-right:0; padding-top:220px; padding-bottom:10px; background-color:#333333">
  <img src="forum/images/YOURSTYLE/loader.gif" border=0 width="32" height="32"></div>
<script>
var ld=(document.all);

var ns4=document.layers;
var ns6=document.getElementById&&!document.all;
var ie4=document.all;

if (ns4)
        ld=document.loading;
else if (ns6)
        ld=document.getElementById("loading").style;
else if (ie4)
        ld=document.all.loading.style;

function init()
{
if(ns4){ld.visibility="hidden";}
else if (ns6||ie4) ld.display="none";
}
</script>


I have put the change you need to make on your own style in bold. Upload the image attached at the bottom and upload it your own server and then write the image path.

Enjoy, please install as this is my second template modifications

pooffck1 07-28-2008 08:23 AM

Added more loading images, please change the name of the gif images and dont forget to size it properly.

TimberFloorAu 07-28-2008 08:42 AM

Got a demo, good idea !

Q-v-n-s-Q 07-28-2008 09:56 AM

here demo: http://www.highrankforum.com/ template code, thanks

never doesn't work good on my board!!!

pooffck1 07-28-2008 10:36 AM

Quote:

Originally Posted by Q-v-n-s-Q (Post 1585834)
here demo: http://www.highrankforum.com/ template code, thanks

never doesn't work good on my board!!!

it wont work on my board as my board is on like a dedicated server, it takes 1 milisecond to load so u cant see the image :(

Q-v-n-s-Q 07-28-2008 11:27 AM

i mean never minded, it wont work on my board.

pooffck1 07-28-2008 11:33 AM

Quote:

Originally Posted by Q-v-n-s-Q (Post 1585882)
i mean never minded, it wont work on my board.

any error? why wont it work? it should.

AzaDiyaR 07-28-2008 12:33 PM

thank you very much this code working perfect :D

Q-v-n-s-Q 07-28-2008 01:44 PM

Quote:

Originally Posted by pooffck1 (Post 1585887)
any error? why wont it work? it should.


it's effected my tab button, i can't see the text, by the way it work fine :)

M-Tuning 07-28-2008 03:26 PM

Nice, but only if you have a slow server.

pooffck1 07-28-2008 05:23 PM

Quote:

Originally Posted by M-Tuning (Post 1586034)
Nice, but only if you have a slow server.

well it works on my whole forum, just placed the coding on the HEADER TEMPLATE and then it just does it while loading.

Leo Brazil 07-28-2008 08:11 PM

Great Idea !!!

Quote:

Originally Posted by M-Tuning (Post 1586034)
Nice, but only if you have a slow server.

It's good for members with slow web connection.

Saudi Zoom 07-28-2008 11:00 PM

Great mod, Thanks

waiting for the other tabs mod in your board :)

SHANE-D-PAIN 07-31-2008 01:20 PM

Demo?

vwdforum 07-31-2008 05:12 PM

I tried adding this to the header template as suggested but it didn't work well. It didn't black out the rest of the forum, any advice?

This is what appeared on my forum home and what stayed on there even when the page fully loaded.

Attachment 84867

codershark 10-10-2008 03:13 PM

dont work at me, loading picture dont go away after complete loading at opera und google chrome browser

SALIMUS 10-10-2008 10:54 PM

thanks installe and working fine .
how i can i get the same than forumhome when usr's click on last message ??
thanks

sjb 10-15-2008 03:50 AM

tnx man

bond010007 10-21-2008 05:35 AM

how i can putswf file pls :) i wish you have that way thanks nice post

Alfa1 10-24-2008 02:04 AM

If you need this modification, then it is probably a good idea to review if you are on the right host.

Other than that; it looks very nice.

ViciousCode 01-05-2009 02:51 PM

the css is missing for
id="loading" id="pageIsLoading"


All times are GMT. The time now is 04:55 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.01059 seconds
  • Memory Usage 1,753KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (21)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete