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
  #242  
Old 02-14-2009, 01:47 PM
davidw's Avatar
davidw davidw is offline
 
Join Date: Jul 2005
Location: Arkansas
Posts: 2,815
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've not tested this in 3.8, however, I understand this to work in 3.8 with no issues. I will be testing this soon for 3.8 and releasing it.
Reply With Quote
  #243  
Old 02-24-2009, 03:15 PM
HappyAndyK HappyAndyK is offline
 
Join Date: Jun 2008
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

I have followed the installation instructions step by step, however as soon as I enable the plugin, it results in DB error..

Quote:
Database error in vBulletin 3.7.2:

Invalid SQL:

SELECT title, userid, blogid
FROM blog
WHERE userid = 0
ORDER BY dateline DESC
LIMIT 3;

MySQL Error : Table 'xxxx_forum.blog' doesn't exist
Error Number : 1146
Request Date : Tuesday, February 24th 2009 @ 10:37:56 PM
Error Date : Tuesday, February 24th 2009 @ 10:37:56 PM
Script : http://www.xxxxxx.com/forum/index.php
Referrer : http://www.xxxxxx.com/forum/admincp/index.php?do=head
IP Address : xxx.xxx.201.193
Username : xxxxx xxxxx
Classname : vB_Database
MySQL Version : 5.0.67-community
(I have edited few conf data as xxxx)

What I am doing wrong here ??, The first forum id is 24, and rest are as 0, done as written in installation doc, then why still I am having DB issue ?

Thanks,
Reply With Quote
  #244  
Old 02-24-2009, 03:27 PM
davidw's Avatar
davidw davidw is offline
 
Join Date: Jul 2005
Location: Arkansas
Posts: 2,815
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It sounds as if you entered your forum ID into a Blog location. If you do not use vBulletin's blogs, then make sure that no items in the Blog locations are entered. Use your forum ID in your forum location.
Reply With Quote
  #245  
Old 03-11-2009, 06:18 PM
Preech Preech is offline
 
Join Date: Aug 2002
Location: Fort Campbell
Posts: 325
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When I try to edit the plugin to make changes it gives me a page is not found message. I am forced to edit the product manually than reinstall. Can you tell me why.
Reply With Quote
  #246  
Old 03-11-2009, 08:48 PM
davidw's Avatar
davidw davidw is offline
 
Join Date: Jul 2005
Location: Arkansas
Posts: 2,815
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How are you trying to edit it? What are you trying to put in and where? Perhaps a screenshot?
Reply With Quote
  #247  
Old 03-21-2009, 12:49 AM
ArnyVee's Avatar
ArnyVee ArnyVee is offline
 
Join Date: Mar 2008
Posts: 944
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

David, just added this mod finally to my site. I'm playing around with the background colors and such, but wanted to mention that it's working perfectly! Thanks! :up:
Reply With Quote
  #248  
Old 03-30-2009, 11:11 AM
davidw's Avatar
davidw davidw is offline
 
Join Date: Jul 2005
Location: Arkansas
Posts: 2,815
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Glad it works for you! If you have any ideas for updates, let me know.
Reply With Quote
  #249  
Old 04-18-2009, 09:05 PM
busur busur is offline
 
Join Date: Feb 2008
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Di David;

I have a vbulletin forum, it have got many forums and have got 1 secret forum.
I dont want to show it to regitered users. but vb news ticker is show it.

I didnt enter its forum id.
how can I solve this problem?
Thanks
Reply With Quote
  #250  
Old 04-19-2009, 03:53 PM
davidw's Avatar
davidw davidw is offline
 
Join Date: Jul 2005
Location: Arkansas
Posts: 2,815
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So, let me understand you correctly.
You have a forum with 1 forum that is hidden. You are using the ticker.

A) You want to hide the forum but allow the ticker to display news from that forum?
or
B) You want to display all news from all forums except that one hidden forum?
Reply With Quote
  #251  
Old 04-19-2009, 06:57 PM
busur busur is offline
 
Join Date: Feb 2008
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

answer is A:

I dont want to show forumid:1 to registered users.
Only the admin and mod can see forumid:1

forumid:1 is my secret hidden forum (all the admin and mods talks there)
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 04:21 AM.


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.05173 seconds
  • Memory Usage 2,337KB
  • 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
  • (1)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