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 ;)

funinthesun 11-09-2005 10:50 PM

How do you create a scrolling marquee on the bottom of the IE page itself? Thanks :)

mikehawk 11-09-2005 10:55 PM

Works in FireFox for me.

Sooner95 11-09-2005 11:16 PM

works fine in IE and Opera.. will test FF..

Nice job I say.

krvaricp 11-10-2005 04:09 AM

This modification is included in the Shiny Black Skin by Staircase :

Code:

The skin comes with a scrolling marquee. You can either totally get rid of it OR
you can edit it.

To edit it, edit your templates in the Admin CP. Go to Forum Home Templates ?
FORUMHOME. Below $navbar, there is a code like this:

<table class="tborder" align="center" border="0" cellpadding="6" cellspacing="0" width="100%">
<tbody><tr>
        <td class="tcat" align="center">
        Notice from the ADMINS!
        </td>
</tr>
</tbody><tbody id="collapseobj_forumhome_welcomepanel" style="">
        <tr>
                <td class="alt1" align="center" width="101%">
        <marquee>READ THE ANNOUNCEMENTS!! You could be banned if there is
        something important and YOU DON'T KNOW IT!</marquee>

                </td>
        </tr>
</tbody>
</table><br>

You can either remove it fully or you can edit:

        <marquee>READ THE ANNOUNCEMENTS!! You could be banned if there is
        something important and YOU DON'T KNOW IT!</marquee>

and:

Notice from the ADMINS!

if you want to change those.


rb290 11-10-2005 05:33 AM

nice!
installed ^_^

Rickie3 11-10-2005 10:36 AM

installed,i did have something similar installed before but this is a lot cleaner thankyou,works fine for me in FF and IE,

i also found that adding this made my members feel more welcome to my forum.
-------------------------------------------------------------------
welcome,$bbuserinfo[username]

bonnmac 11-10-2005 10:42 AM

is there anyway to do something like this but call the info from a specfic thread in a special forum?

quachvu 11-10-2005 01:12 PM

how can i make it to run slower?

VaaKo 11-10-2005 05:20 PM

Quote:

Originally Posted by quachvu
how can i make it to run slower?

you can use this:

HTML Code:

<marquee scrollamount="5">Pink Floyd</marquee>
you can increase it to make it run faster or dicrease it to make it run slower

funinthesun 11-10-2005 05:38 PM

Anyone know how to ad this to the bottom of the Internet Explorer window?

VaaKo 11-10-2005 05:53 PM

Quote:

Originally Posted by funinthesun
Anyone know how to ad this to the bottom of the Internet Explorer window?

where do you mean?
in the "What's Going On?" block at the bottom?

Snake 11-10-2005 06:47 PM

Installed.

funinthesun 11-10-2005 07:00 PM

Quote:

Originally Posted by Don Corleone
where do you mean?
in the "What's Going On?" block at the bottom?

No, I mean on the actual browser page. Where it says "Done" in the bottom left hand corner. I've seen it on a few websites and wondered how you do it?
Thanks :)

VaaKo 11-10-2005 07:09 PM

what you're looking for has nothing to do with this hack or anything related to VB
it's a free javascript code which u can find everywhere, it's called status bar!

check this page:
http://javascriptkit.com/script/cutindex19.shtml

Rickie3 11-10-2005 09:36 PM

Quote:

Originally Posted by Don Corleone

HTML Code:

<marquee scrollamount="5">Pink Floyd</marquee>
you can increase it to make it run faster or dicrease it to make it run slower

thanx just what i was looking for cheers

funinthesun 11-10-2005 09:57 PM

Aha! Thank you! I knew it was a javascript but I couldn't find it.

funinthesun 11-10-2005 10:19 PM

Where do I copy the script to? It says to place it in the <body> of the <head> section but I can only find the header template which doesn't have a <body> tag? :confused:

Ebolender 11-11-2005 12:10 AM

Installed and thanks for this.

Reeve of shinra 11-11-2005 01:29 AM

"PS: if anyone is interested in making the message controled from the admincp, please be my guest to work on it!"

The ghetto way would be to use a phrase. You can then edit it, whatever, from the phrase manager.

VaaKo 11-11-2005 05:31 AM

Quote:

The ghetto way would be to use a phrase. You can then edit it, whatever, from the phrase manager.
hmmmm, could work, but would it still be a marquee?
I'm gonne try it out today and see if it works, but still this is not what i'm looking for...

funinthesun, paste the code in your header template :)

FamilyGuy 11-11-2005 11:46 AM

Its working great on my site. Would it be possible to add a hyperlink in the text though?

VaaKo 11-11-2005 12:16 PM

Quote:

Originally Posted by FamilyGuy
Its working great on my site. Would it be possible to add a hyperlink in the text though?

yes, use:

HTML Code:

<a href="link.html">text</a>

VaaKo 11-11-2005 02:56 PM

Hack updated!

Forumi Shqiptar 11-11-2005 05:43 PM

just what i needed to put any new releases or any new interested things in my board thats awsome :D

Clicked install

DA KING 11-11-2005 07:49 PM

this is great. Thanks! can put important info in the marquee

FamilyGuy 11-11-2005 08:56 PM

Excellent, the update works great and I got the hyperlink in too.

Thnx very much :)

funinthesun 11-12-2005 07:28 PM

Please, does anyone know where I add the javascript code to? I mentioned it in an earlier post on this thread. Thanks :)

VaaKo 11-13-2005 08:24 AM

Quote:

Originally Posted by funinthesun
Please, does anyone know where I add the javascript code to? I mentioned it in an earlier post on this thread. Thanks :)

if you're talkin about the status bar message, I told you put it in your header or footer template, but if u're talkin about this hack, re-read the instructions!

funinthesun 11-13-2005 01:28 PM

It's about the java script. Yes, I know it should be placed in the header but where abouts as I can't see any tags that say <head> or <body> and it sais the code needs to be placed between them. :nervous: :confused:

VaaKo 11-13-2005 03:28 PM

Quote:

Originally Posted by funinthesun
It's about the java script. Yes, I know it should be placed in the header but where abouts as I can't see any tags that say <head> or <body> and it sais the code needs to be placed between them. :nervous: :confused:

put it on top, that would do it :)


All times are GMT. The time now is 03:50 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.01344 seconds
  • Memory Usage 1,817KB
  • 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_html_printable
  • (9)bbcode_quote_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
  • (40)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