vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Place a scrolling marquee on navbar (header) (https://vborg.vbsupport.ru/showthread.php?t=100478)

VaaKo 11-08-2005 10:00 PM

Place a scrolling marquee on navbar (header)
 
This is a very simple html code to place in your navbar but it's really cool!

Hack updated to version 1.5, now using phrases manager!

First, you need to create the marquee phrase, which you can edit it anytime you want using the phrase manager, goto:
Admincp >> Languages & Phrases >> Phrase Manager >> Add New Phrase
and add the following

Phrase Type: GLOBAL
Product: vBulletin
Varname: marquee
Text: *The marquee that you wanna display*

now open your navbar template:
Admincp >> Styles & Templates >> Style Manager >> *template* >> navbar

Find this code
HTML Code:

</table>
                <input type="hidden" name="s" value="$session[sessionhash]" />
                <input type="hidden" name="do" value="login" />               
                <input type="hidden" name="vb_login_md5password" />
                <input type="hidden" name="vb_login_md5password_utf" />
                </form>
                <!-- / login form -->
                       
                </td>
               
        </if>       
       
</tr>

Place under it
HTML Code:

<tr>
  <td colspan="3" class="alt1"><marquee><span class="smallfont"><b><font color="#FF0000">$vbphrase[marquee]</font></b></span></marquee></td>
  </tr>

If you have already installed it, all you have to do is replace the navbar code with the new one that includes the $vbphrase[marquee]

Demo: http://www.oneforum.org

mikehawk 11-09-2005 07:27 PM

1st.

:rolleyes:

FamilyGuy 11-09-2005 07:36 PM

Installed :)

Works great in IE but doesn't scroll in Firefox though.

Thnx :)

Jenkins 11-09-2005 07:43 PM

can I paste this html in other places, say if i wanted a scrolling marque under a forum title?

VaaKo 11-09-2005 07:53 PM

Quote:

Originally Posted by Jenkins
can I paste this html in other places, say if i wanted a scrolling marque under a forum title?

Yes, you can paste it anywhere you want, however it looks cool in the navbar :D

FleaBag 11-09-2005 08:07 PM

Scrolls in FF for me.

Allan 11-09-2005 09:07 PM

Nice thanks :)

tuanluu 11-09-2005 09:24 PM

I think Marquee does not work well on firefox. Only best on IE :)

FamilyGuy 11-09-2005 09:45 PM

I have tried it again in FF but still no go. Shame.

Allan 11-09-2005 10:45 PM

work with FF for me ;)


All times are GMT. The time now is 01:14 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.00986 seconds
  • Memory Usage 1,738KB
  • 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)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