The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
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
Developer Last Online: Nov 2023
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:
PHP Code:
For all your web pages (Navigation Bar) Open up your Navigation / Breadcrumb Templates subdirectory and choose Navbar template Find: PHP Code:
PHP Code:
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:
PHP Code:
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
|
Comments |
#32
|
||||
|
||||
Ahh good
The way I was suggesting in post 25 above you could most likely add the <strong> tags to $ticker_titles that way no (additional) template edits (as one way). Question - in your code - does <div class="smallfont" vlign="center"> work the same as <div class="smallfont" valign="center">? |
#33
|
||||
|
||||
hello!
installed your hack - mod and get it to work ... have one problem .. when i use external rss feeds i have problem with my language letters (croatian) ... can i get that characters - leters on your ticker ..and what to do ? regards macc http://belaplay.com/vb/libar/index.php |
#34
|
||||
|
||||
Usually something like that I fix (on some sites) by adding replacement variables.
Go to whichever style you want to add this to (admincp => Styles and Templates => Replacement Variable Manager => Add New Replacement Variable) Don't forget to click install |
#35
|
||||
|
||||
hello!
can you explain what i must add in, mean which new replacement variable for get my letters to works? macc i click install... |
#36
|
||||
|
||||
Add in what variables you see and what variables you need. For example:
This is what you see in the text: € (This would be the Search for Text) This is what you want it to be: € (This would be the Replace with Text) A lot of times I will go directly to the source and copy the characters from there to use in the Replace with Text part if it is something that I wouldn't normally use. |
#37
|
||||
|
||||
i have ? this in my feeds but it represent 3 letters
exp ve?ernji = vecernji (with ' over c ) podr?avati=podrzavati bra?ki= bracki ( with ^over c) iso8859-2 how fixed that? macc |
#38
|
||||
|
||||
Can these be added on specific forum or sub-forum, not on the main forum page?
|
#39
|
||||
|
||||
what you mean with that? problem is same, no difference on which page is feeds!
regards macc |
#40
|
||||
|
||||
Quote:
Search for Text = ve?ernji Replace with Text = većernji Search for Text = podr?avati Replace with Text = podrzavati Search for Text = bra?ki Replace with Text = braĉki Another option is to check your site's character set Languages & Phrases => Language Manager => [your language][Edit Settings] HTML Character Set The default is ISO-8859-1 You can try changing this to see if this makes a difference, but I would make sure I have things backed up just in case so that no issues with your site are caused. Quote:
Also, you can add an <if condition around the variable to specify which forums you want or do not want them to go in. |
#41
|
||||
|
||||
Quote:
PHP Code:
Temporary live demo. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|