Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
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
Version: 2.0.2, by davidw davidw is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.7.0 Rating:
Released: 01-05-2008 Last Update: 09-15-2008 Installs: 140
Uses Plugins Template Edits
Additional Files Translations  
No support by the author.

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:
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 - https://vborg.vbsupport.ru/showpost....&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:
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=


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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #102  
Old 07-17-2008, 02:00 AM
davidw's Avatar
davidw davidw is offline
 
Join Date: Jul 2005
Location: Arkansas
Posts: 2,815
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Need a couple beta testers for version 2.0. PM me if you'd like to beta test. Lots of new features. Also taking some requests.

*Ability to add a ticker prefix without editing the template now
*Ability to add a ticker color without editing the product/plugin now
*Separate Blogs/Forums/RSS admincp options
*Separate limits for each of the Blogs/Forums/RSS instead of one defining them all
*Up to 10 per item
*Either all forums or individual forums
*Turn off each feature or include them all (subject to whether or not you have all forums or individual forums)
*Grabs prefixes if available

Keep in mind the more you add, the more of a performance hit you take. This hasn't changed from before but now this utilizes anywhere from 1-30 queries depending on how you configure it instead of 1-19 queries.
Reply With Quote
  #103  
Old 07-17-2008, 02:44 PM
EagleNick's Avatar
EagleNick EagleNick is offline
 
Join Date: Dec 2007
Location: Florida
Posts: 517
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Question:
Is there a way to show the Thread Prefixes in the thread titles that are shown?
It doesn't show them, so some of the thread titles look a bit silly without the prefix.

Suggestion:
It would be nice to be able to control the amount of threads taken from each forum, on an individual forum basis.
Reply With Quote
  #104  
Old 07-17-2008, 03:03 PM
davidw's Avatar
davidw davidw is offline
 
Join Date: Jul 2005
Location: Arkansas
Posts: 2,815
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'd have to look into that; it may be possibl - but I won't know until I look.
Reply With Quote
  #105  
Old 07-17-2008, 11:42 PM
davidw's Avatar
davidw davidw is offline
 
Join Date: Jul 2005
Location: Arkansas
Posts: 2,815
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by EagleNick View Post
Question:
Is there a way to show the Thread Prefixes in the thread titles that are shown?
It doesn't show them, so some of the thread titles look a bit silly without the prefix.
I now have prefixes working on version 2.0 beta.

Quote:
Originally Posted by EagleNick View Post
Suggestion:
It would be nice to be able to control the amount of threads taken from each forum, on an individual forum basis.
Quote:
Originally Posted by davidw View Post
Need a couple beta testers for version 2.0. PM me if you'd like to beta test. Lots of new features. Also taking some requests.

*Ability to add a ticker prefix without editing the template now
*Ability to add a ticker color without editing the product/plugin now
*Separate Blogs/Forums/RSS admincp options
*Separate limits for each of the Blogs/Forums/RSS instead of one defining them all
*Up to 10 per item
*Either all forums or individual forums
*Turn off each feature or include them all (subject to whether or not you have all forums or individual forums)
This is also part of version 2.0 beta. I'm still a bit a ways from completing it but its getting there. Is this what you had in mind or were you wanting to have a limit on each and every single line item? Keep in mind that there are at least (currently 30 individual locations here).

This project has tripled in size since the stable 1.4 version.
Reply With Quote
  #106  
Old 07-21-2008, 02:37 AM
EagleNick's Avatar
EagleNick EagleNick is offline
 
Join Date: Dec 2007
Location: Florida
Posts: 517
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm curious, what did you have to add to show the prefixes?

The reason I ask is because I cannot get somebody to reply to my thread, here:
https://vborg.vbsupport.ru/showthread.php?t=184039

Maybe you can help?
Reply With Quote
  #107  
Old 07-21-2008, 10:46 AM
davidw's Avatar
davidw davidw is offline
 
Join Date: Jul 2005
Location: Arkansas
Posts: 2,815
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

t.prefixid (but that only works for this hack) - prefixid is what is needed.
Reply With Quote
  #108  
Old 07-21-2008, 11:17 AM
davidw's Avatar
davidw davidw is offline
 
Join Date: Jul 2005
Location: Arkansas
Posts: 2,815
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Version 2.0 should be coming out this week.
Reply With Quote
  #109  
Old 07-21-2008, 11:38 PM
karlm's Avatar
karlm karlm is offline
 
Join Date: Jul 2006
Location: England
Posts: 447
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I know it was mentioned previously, but has this been sorted to work on vbadvanced or dbdrupal yet?
Reply With Quote
  #110  
Old 07-21-2008, 11:44 PM
davidw's Avatar
davidw davidw is offline
 
Join Date: Jul 2005
Location: Arkansas
Posts: 2,815
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It has been working on vBadvanced for quite some time now - I've never used Drupal so I don't know.

Instructions (above)
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
In fact, in my upcoming 2.0 release I will have a screenshot with it work on 2 places in vBAdvanced at once (In the Navbar and also in a module I created for fun).
Drupal shouldn't be that hard to work with though, assuming it works similarly to vBAdvanced.
Reply With Quote
  #111  
Old 07-23-2008, 09:53 PM
Erika Erika is offline
 
Join Date: Jan 2007
Location: Maryland
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How would I go about disabling linking from the ticker itself? I just want a scrolling news ticker at the top of my forum.

I created a private forum and I am creating private threads to make them appear, but the regular members of my site can't view them and I don't want to view them - I just want to use it as a news ticker without any links to anything. Any help is greatly appreciated
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 06:54 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04883 seconds
  • Memory Usage 2,339KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (6)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete