Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
vB News Ticker - Your Blogs RSS Feeds and Forums in a Marquee Details »
vB News Ticker - Your Blogs RSS Feeds and Forums in a Marquee
Mod Version: 2.0.2, by davidw (Contributor) davidw is offline
Developer Last Online: Apr 2016 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.7.0 Rating: (16 votes - 4.75 average) Installs: 139
Released: 06 Jan 2008 Last Update: 16 Sep 2008 Downloads: 1585
Not Supported Uses Plugins Template Edits Additional Files Translations  

What does this do?

It allows you to take your news from your forums (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.

New Features:

Usergroup Permissions (per request)

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.

Ticker Prefix: You can prefix anything you want here. Such as Latest Blogs - or Latest News: or whatever you want to start out with.


WARNING *** 2.0 IS NO LONGER BACKWARDS COMPATIBLE WITH 3.6.x ***

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:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Add above:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Click Save & Reload

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

Find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Add Below (You may want to remove the <br /> for aesthetics):

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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 - http://www.vbulletin.org/forum/showp...&postcount=144

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 color of the text?
It's an admincp option now
If you want alternating colors do this (You need to edit the plugin to make this work.):
Find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace With:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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=


Change Log:

2.0.2
Added usergroup permissions.

2.0.1
Fix for Thread Prefixes. It no longer just uses prefixids - but grabs the vbphrase that is associated with the prefixid. I don't know how I missed this.

2.0

WARNING *** THIS IS NO LONGER BACKWARDS COMPATIBLE WITH 3.6.x ***

*Ability to add a ticker prefix without editing the template now.
*Ability to add a ticker background color without editing the template now.
*Ability to add a ticker color without editing the product/plugin now.
*Separate General/Blogs/Forums/RSS AdminCP Options.

Blogs Options:
*Enable/Disable Blogs.
*Allows either unlimited latest blogs or x amount from up to ten individual users.
*Separate limits for all blogs or individual blogs.

Forum Options:
*Enable/Disable Forums.
*Allows either unlimited latest forums or x amounts from up to ten individual forums.
*Separate limits for all forums or individual forums.
*Grabs prefixes if available.

RSS Options:
*Enable/Disable RSS.
*Allows up to ten RSS feeds.
*Fixed a bug that displayed x-1 on limits for total displayed where x is how many you previously specified.

1.4

This now allows you to add up to 5 blog users' feeds to the ticker. As with 1.3, this also includes the RSS (see 1.3 for details).

1.3
This now allows you to add up to 5 external RSS feeds to the ticker. This uses magpierss-0.72 as found at sourceforge. It may be possible that your site might not work with magpie.

I've updated this a little and it works on 3.7. If you have a previous version, uninstall it first and then install this one. Make sure you copy your admincp settings for this down first.

Known Bugs/Issues:
From my testing on the new updates, when I (or a user on my site) clicks on any of the links that has the news ticker, it works fine, but when I or a user hits the refresh button, it can hang. I'm unsure why this is happening.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	1generaloptions.jpg
Views:	483
Size:	64.4 KB
ID:	84509   Click image for larger version

Name:	2blogoptions.jpg
Views:	297
Size:	68.6 KB
ID:	84510   Click image for larger version

Name:	3forumoptions.jpg
Views:	246
Size:	68.4 KB
ID:	84511   Click image for larger version

Name:	4rssoptions.jpg
Views:	320
Size:	66.0 KB
ID:	84512  

Click image for larger version

Name:	5navbarCMPS.jpg
Views:	2719
Size:	20.9 KB
ID:	84513  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 06 Jan 2008, 17:31
iogames's Avatar
iogames iogames is offline
 
Join Date: Jan 2007
Real name: Josh Arcadia
Yuhu! First!
__________________
. █│║▌│█│║▌║│█║▌│║║█║
Reply With Quote
  #3  
Old 06 Jan 2008, 17:37
iamhatinh iamhatinh is offline
 
Join Date: Jul 2007
nice mod
Thanks
Reply With Quote
  #4  
Old 06 Jan 2008, 17:51
Derek Chai Derek Chai is offline
 
Join Date: Sep 2007
thanks
Reply With Quote
  #5  
Old 06 Jan 2008, 20:59
Doctor Who's Avatar
Doctor Who Doctor Who is offline
 
Join Date: Jun 2005
Any chance of making it so that you can pull the contents of an rss feed? I would really like to have my sites news headlines scrolling across the top of the forum...

Great hack!
Reply With Quote
  #6  
Old 06 Jan 2008, 23:55
davidw's Avatar
davidw davidw is offline
 
Join Date: Jul 2005
Real name: David
You know, that's a very good possibility - let me see what I can do (this could take a few days). Don't forget to click install
__________________
Former vBulletin.org Staff Member

Christianboards.org * Web Design * CIW Certified * My hacks

Check my hacks to see which ones are marked as re-usable.

Please do not contact me through my site for vBulletin matters. These issues should be handled on vBulletin sites. I am not the only person who handles the contact us mail for my site.
Reply With Quote
  #7  
Old 07 Jan 2008, 04:17
seangworld's Avatar
seangworld seangworld is offline
 
Join Date: Sep 2002
Real name: Sean G
how come in the description it says 'christianb' in the xml link (step 2) but the download link says 'davidw' ?

lol did you steal this?
__________________
http://www.seangworld.com
Reply With Quote
  #8  
Old 07 Jan 2008, 06:00
seangworld's Avatar
seangworld seangworld is offline
 
Join Date: Sep 2002
Real name: Sean G
hey! how do i get this to marquee on my vBa???
i tried just dropping the $vbnews_ticker in there but it doesnt show up.
__________________
http://www.seangworld.com
Reply With Quote
  #9  
Old 07 Jan 2008, 12:48
davidw's Avatar
davidw davidw is offline
 
Join Date: Jul 2005
Real name: David
My former username was christianb :P Search through some of my old posts and see those who have quoted me... you'll see. Also, christianb is the first part of my website. Why would I steal my own name? Just look through this thread if you're still unsure http://www.vbulletin.org/forum/showthread.php?t=123126

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

Edit: I copied and pasted from the above link to here, editing some things. I've corrected Step 2.
__________________
Former vBulletin.org Staff Member

Christianboards.org * Web Design * CIW Certified * My hacks

Check my hacks to see which ones are marked as re-usable.

Please do not contact me through my site for vBulletin matters. These issues should be handled on vBulletin sites. I am not the only person who handles the contact us mail for my site.
Reply With Quote
  #10  
Old 09 Jan 2008, 05:49
seangworld's Avatar
seangworld seangworld is offline
 
Join Date: Sep 2002
Real name: Sean G
and then what? i cant get it to work on vba.
__________________
http://www.seangworld.com
Reply With Quote
  #11  
Old 09 Jan 2008, 10:44
semauae's Avatar
semauae semauae is offline
 
Join Date: Sep 2006
Real name: T@R!Q
thnx
Reply With Quote
  #12  
Old 09 Jan 2008, 13:24
davidw's Avatar
davidw davidw is offline
 
Join Date: Jul 2005
Real name: David
Originally Posted by seangworld View Post
and then what? i cant get it to work on vba.
Where are you trying to put it on your vba page? If I know, I can look at recreating it and tell you how it needs to be fixed to work.
__________________
Former vBulletin.org Staff Member

Christianboards.org * Web Design * CIW Certified * My hacks

Check my hacks to see which ones are marked as re-usable.

Please do not contact me through my site for vBulletin matters. These issues should be handled on vBulletin sites. I am not the only person who handles the contact us mail for my site.
Reply With Quote
  #13  
Old 09 Jan 2008, 13:47
Martell Martell is offline
 
Join Date: Dec 2006
Thanks, good fashions. But does many inquiries.
Reply With Quote
  #14  
Old 12 Jan 2008, 15:11
MrShides MrShides is offline
 
Join Date: May 2006
i'm also interested in using this to pull an RSS feed, although i'd like to pull it from an external site.
Reply With Quote
  #15  
Old 12 Jan 2008, 15:29
davidw's Avatar
davidw davidw is offline
 
Join Date: Jul 2005
Real name: David
It's probably be going to be this weekend before I can look at it as I've been out of the loop on other thing most of the week.
__________________
Former vBulletin.org Staff Member

Christianboards.org * Web Design * CIW Certified * My hacks

Check my hacks to see which ones are marked as re-usable.

Please do not contact me through my site for vBulletin matters. These issues should be handled on vBulletin sites. I am not the only person who handles the contact us mail for my site.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 07:00.

Layout Options | Width: Wide Color: