Back to vBulletin 3.8 Add-ons

vB News Ticker - Your Blogs RSS Feeds and Forums in a Marquee
Mod Version: 2.02, by davidw

vB Version: 3.8.1 Rating: (6 votes - 4.83 average) Installs: 61
Released: 05 Mar 2009 Last Update: 05 Mar 2009 Downloads: 464
Not Supported Uses Plugins Template Edits  

What does this do?

It allows you to take your news from your forums (up to 10), blogs (up to 10), and/or RSS feeds (up to 10) and display them in a ticker (marquee).
You have a choice on how many you can pull from each forum as a whole or select your whole site, how fast you want the ticker to scroll, the length of the title of each news item, colors, etc. You can also add RSS feeds and the latest blogs.

Install Instructions

Step 1:
Fresh Install
If you intend to use the RSS features, upload the RSS folder to the root of your forums.
If you rename this folder or change the location, you MUST edit the path in the XML file for each of the require_once 'rss/rss_fetch.inc'; paths.
Go to your admin Control Panel => Plugin System => Manage Products => [Add/Import Product];
Click Browse and find product-davidw_vbnews_ticker.xml
Click Import

Upgrade Options:
Go to your admin Control Panel => Plugin System => Manage Products => [Add/Import Product];
Click Browse and find product-davidw_vbnews_ticker.xml
[If upgrading] Click the button next to Yes in Allow Overwrite
Click Import
You will probably want to revert any templates you have altered as most changes people have requested are now integrated.

Step 2:
Edit the admincp options
*** IMPORTANT ***
Make sure that if you do not enter an item in the forumIDs after the first one, the rest must be set to 0
- if it is not set to 0 or a forumid number, it will result in a database error.

Step 3:
Go to your admin Control Panel => Styles & Templates => Style Manager
Find your Master/Parent style or the style you wish to add this to and drop down the All Style Options menu dropdown and choose Edit Templates
Click Go if it does not redirect you
For your Forums Directory:

Open up your Forum Home Templates subdirectory and choose your FORUMHOME template

Find:
PHP Code:
<!-- main --> 
Add above:
PHP Code:
$vbnews_ticker 
Click Save & Reload

For all your web pages (Navigation Bar)
Open up your Navigation / Breadcrumb Templates subdirectory and choose Navbar template

Find:
PHP Code:
<!-- / nav buttons bar -->

<
br /> 
Add Below (You may want to remove the <br /> for aesthetics):
PHP Code:
$vbnews_ticker 
Click Save & Reload

Frequently Asked Questions

How do I add the news ticker to my vB Advanced?
To get the ticker in your vbadvanced, you need to add global output variables
Admin CP => vBa CMPS => Default Settings => Portal Output Global Variables and put vbnews_ticker in there.

How do I add the news ticker to the IBProArcade or Photoplog?
Thanks to Mark.B for his add -

Spoiler (click to open)


Quote by davidw
I can look into the arcade (although it's not my modification), but I'm not sure what to suggest for vbplaza and photoplog as I don't use those (although photoplog I will use for my next site).
As I don't use this mod myself, I can't vouch for the below, but try this:

ibproarcade: edit the file arcade/functions/functions.php
Find:
Code:
global $header,
Add after:
Code:
 $vbnews_ticker,
Note there's a space at the start of that line.

Photoplog: the same variable needs to be added into admincp > Photoplog > modify settings > global variables. Add "vbnews_ticker" to the list on a new line. Note....no "$" at the start!!

vBPlaza I dunno as I have not used it, but it will be something similar to one of the above.

This sorts it out for most modifications. Hopefully it will for this.

Close


Why does this seem slow?
For a couple links or for a couple displayed items per link/news item, it should display fine, but as you add more (fill up) each potential slot and up the number of items to pull it will take longer to load. It it easy to add up fast. This uses anywhere from 1-30 queries depending on how many you use.

What is the forumid?
The forumid is the id of the forum you have created. Each forum has its own unique number assigned to it. When you click on a forum link you can see a number that is assigned to it. This will show up in the URL of the page you are browsing. Another way of seeing the forumid is to go to your admin control panel => Forums & Moderators => Forum Manager => Click on [Expand All] and then move your mouse over (hover) any of the forums you've created. Your status bar (bottom of screen) should display your forumid (number at the end of the link/url).

How do I change the colors?
It's an admincp option now
Ticker Background Color: If you leave this blank, it will stay your forum colors. If you put in a hex value, it will change to that color.
Please use 000000 - FFFFFF only.

Ticker Color: If you leave this blank, it will stay your forum colors. If you put in a hex value, it will change to that color.
Please use 000000 - FFFFFF only.

If you want alternating colors do this (You need to edit the plugin to make this work.):
Find:
PHP Code:
$ticker_titles             .= '<a href="showthread.php?t='$ticker['threadid'] .'" title="'$ticker['title'] .'" target="blank">'$ticker['title'] .'</a> '$ticksep.''
Replace With:
PHP Code:
$tick_color                = ($color 2) ? $color1 $color2;
                
$ticker_titles             .= '<a href="showthread.php?t='$ticker['threadid'] .'" title="'$ticker['title'] .'" target="blank"><font color="'$tick_color .'">'$ticker['title'] .'</font></a> '$ticksep .'';
                
$color++; 
How do I put in (absolute) links directly to the location rather than relative links?
In the plugin, find each instance of
showthread.php?t= (or whatever the page is)

and change part to a full url.
Example:
http://www.yoursite.com/showthread.php?t=

Download

File Type: %1$s vBNewsTicker202.zip (264.6 KB, 486 downloads)

Screenshots

Click image for larger version
Name:	1generaloptions.gif
Views:	454
Size:	51.2 KB
ID:	95938   Click image for larger version
Name:	2blogoptions.gif
Views:	286
Size:	51.6 KB
ID:	95939   Click image for larger version
Name:	3forumoptions.gif
Views:	248
Size:	50.1 KB
ID:	95940   Click image for larger version
Name:	4rssoptions.gif
Views:	276
Size:	49.8 KB
ID:	95941  

Click image for larger version
Name:	5navbarCMPS.gif
Views:	2422
Size:	18.9 KB
ID:	95942  

Similar Mods

Add-On Releases vB News Ticker - Your Blogs RSS Feeds and Forums in a Marquee vBulletin 3.7 Add-ons

vblts.ru supports vBulletin®, 2022-2024