vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Miscellaneous Hacks - KC - Sweet browser statusbar on your forum (https://vborg.vbsupport.ru/showthread.php?t=165227)

kiril_cvetkov 12-14-2007 10:00 PM

KC - Sweet browser statusbar on your forum
 
Hi ;)
This template modification is very interesting.
If you "install" that modification, browser statusbar on your forum will be very interesting..

How to add this modification :

1. Go to admincp/styles&Templates/Style Manager/Edit templates/ Footer
2.
Above
HTML Code:

<br />
<div class="smallfont" align="center">$vbphrase[all_times_are_gmt_x_time_now_is_y]</div>
<br />

Add this :

HTML Code:

<SCRIPT LANGUAGE="JavaScript">
<!-- StatusBar forum name by Kiril_Cvetkov-->
var forum_message = "$vboptions[bbtitle] "
var str = ""
var vbulletin_name = ""
var leftforum_message = ""

                    function setMessage()
{
if (vbulletin_name == "")
  {
    str = " "       
    vbulletin_name = forum_message   
    leftforum_message = ""     
  }
   
        if (str.length == 1)
    {
          while (vbulletin_name.substring(0, 1) == " ")
    {
            leftforum_message = leftforum_message + str           
            str = vbulletin_name.substring(0, 1)         
            vbulletin_name = vbulletin_name.substring(1, vbulletin_name.length)
        }
        leftforum_message = leftforum_message + str           
        str = vbulletin_name.substring(0, 1)         
        vbulletin_name = vbulletin_name.substring(1, vbulletin_name.length)
        for (var ii = 0; ii < 120; ii++)
            {str = " " + str}         
                        }
    else
    {
        str = str.substring(10, str.length)
    }
 window.status = leftforum_message + str
 JSCTimeOutID = window.setTimeout('setMessage()',100)
}

</SCRIPT>

<body onload="JSCTimeOutID = window.setTimeout('setMessage()',500);">
 </body>
<!-- End Of StatusBar forum name  by Kiril_Cvetkov -->

OK.. now go on your forum index and see the statusbar (see the screenshot where you will have to see :) )

StrifeX 12-15-2007 06:42 PM

I remember doing the same exact thing in IPB, just this one is a lot more complicated :p. Good job.

ChU v2 12-15-2007 10:52 PM

Not working for me. Still says "Done" when done loading the page.

Droptop 12-16-2007 04:04 AM

Same here, just says 'done'.:confused:

Magnumutz 12-16-2007 04:58 AM

I'm guessing this is an IE only modification... Mozilla Firefox doesn't read it.

kiril_cvetkov 12-16-2007 12:32 PM

I will reapair, i don't know, working on ie and mozilla on my computer, but in some others don't work, i will reapair :(

p.s Know someone what is the problem?

linkingpro 12-16-2007 02:37 PM

Not working for me too :(

ChU v2 12-16-2007 04:04 PM

Ya I use firefox and it doesn't work. I didn't try IE.

kiril_cvetkov 12-16-2007 05:41 PM

I don't know what is it..Works fine at me... i install that on one forum and it's work fine but don't work in everybody.. I don't know it's very strange :(

kiril_cvetkov 12-16-2007 05:48 PM

Help :(


All times are GMT. The time now is 11:59 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.01113 seconds
  • Memory Usage 1,735KB
  • 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_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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