vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Forum Display Enhancements - Awesome News Ticker under Navbar @xitclub (https://vborg.vbsupport.ru/showthread.php?t=264742)

XiTCLUB 06-04-2011 10:00 PM

Awesome News Ticker under Navbar @xitclub
 
1 Attachment(s)
Hello,

here i am sharing another cool template modification that i have used on my forum.


Demo : http://www.xitclub.com/
Steps:

1: Goto Styele Manager >Edit Template >CSS Templates >aditional.css (Double Click to Edit

Add at bottom of all content in aditional.css
Code:

.news-container
{
width:100%;
min-width:990px;
height:30px;
background-color:black;
}
#news-container-box
{
width:990px;
height:30px;
margin-left:auto;
margin-right:auto;
}
#news-heading
{
width:150px;
height:30px;
background-image:url(news-bg.png);
background-repeat:no-repeat;
float:left;
}
#news-content
{
width:990px;
height:30px;
background-color:#f6f6f6;
-moz-border-radius:5px;

}
#news-news
{
width:840px;
height:30px;
float:right;
font-family:Arial, Helvetica, sans-serif;
font-size:20px;
color:#060;
text-align:center;
}
#news-news a
{
text-decoration:none;
color:#F00
}

2: Now goto Style Manager > Edit Template > Navigation / Breadcrumb Templates > navbar (Double click to Edit)

Find
Code:

<!-- closing div for above_body -->
Add Before
Code:

<div class="news-container">
  <div id="news-container-box">
      <div id="news-heading"></div>
      <div id="news-content">
          <div id="news-news">
            <marquee behavior="scroll" scrollamount="7" OnMouseOver="this.stop()" OnMouseOut="this.start()">  Your News Goes Here </marquee>   
           
          </div>
      </div>
  </div>
</div>



3: Upload news-bg.png to your forum root




Don't forget To say Thanks If You LIKE This Modification

hoangduchuu 06-05-2011 06:45 AM

PHP Code:

SorryThe administrator has banned your IP addressTo contact the administrator click here


Read More
XiT Club IT Learning and Entertainment FORUM online Entertainment 

please show a sreenshot :)

Krusty1231 06-05-2011 12:38 PM

1 Attachment(s)
Looks like this:

See below!

leclownos 06-05-2011 07:15 PM

Merci pour ce petit module

denman75 06-05-2011 08:22 PM

thank you ,

Special Pages 06-05-2011 09:07 PM

This is not bad... Thanks!

XiTCLUB 06-06-2011 02:49 PM

you Are welcome

FReeSTER 06-07-2011 05:01 PM

1 Attachment(s)
This is just what I need it but i have a problem with the image, is trying to go double

Da-Vinci 06-07-2011 07:34 PM

For some reason the CSS doesn't seem to be loading for me on 2 of my templates, but shows on the default skin.

On the Default template, I have the same problem as FReeSTER.

http://img585.imageshack.us/img585/1980/ticker.png

On my 2 other templates I only get the marquee effect but no image or backgrounds.

Any ideas what could be causing this?

Edit: Fixed the image mutiplying.

Change this part of the CSS.

Code:

#news-heading
{
width:150px;
height:30px;
background-image:url(images/misc/news-bg.png);
float:left;
}

To

Code:

#news-heading
{
width:125px;
height:25px;
background-image:url(images/misc/news-bg.png);
float:left;
}

Still can't work out why the CSS isn't loading from my other 2 templates though.

XiTCLUB 06-07-2011 07:37 PM

Quote:

Originally Posted by FReeSTER (Post 2204664)
This is just what I need it but i have a problem with the image, is trying to go double

just goto aditional.css and look for

Code:

#news-heading
{
width:150px;
height:30px;
background-image:url(news-bg.png);
float:left;
}

and add this line right after the red text
Code:

background-repeat:none;


All times are GMT. The time now is 06: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.02869 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
  • (7)bbcode_code_printable
  • (1)bbcode_php_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