Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
vB News Ticker Details »
vB News Ticker
Mod Version: 1.03, 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.5.5 Rating: (2 votes - 4.50 average) Installs: 52
Released: 05 Aug 2006 Last Update: 26 Jul 2007 Downloads: 428
Not Supported Uses Plugins Template Edits  

What does this do? It allows you to take your news from your news forums (up to 9 news forums) and display them. You have a choice on how many you can pull from each forum, how fast you want the ticker to scroll, the length of the title of each news item, etc.

This works on 3.5.4, 3.5.5, and should work on pretty much any of the 3.5.x. I've not tested this for 3.6, but I have been told that it does work for 3.6.

Install/Upgrade Instructions

Step 1: 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
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

Step 2: Go to your admin Control Panel => Plugin System => Manage Products => [Add/Import Product];
Click Browse and find product-christianb_vbnews_ticker.xml
Remove contents of second line ./includes/xml/product.xml
Click the button next to Yes in Allow Overwrite
Click Import

Step 3: Go to your admin Control Panel => vBulletin Options => vBulletin Options => vB News Ticker => [Edit Settings]
Alter Settings as appropriate
*** 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.
Click Save

I've included the readme and the .xml Product/Plugin in the zip file.

If there are features you'd like to see for a future release, please let me know.

Frequently Asked Questions

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 add the news ticker to the IBProArcade or Photoplog?
Thanks to Mark.B for his add - http://www.vbulletin.org/forum/showp...&postcount=144

Changes

1.0.4 Added security

1.0.3 Changed the hook location from forumhome_complete to global_start giving admin ability to put the news ticker most places rather than in forum home.
Updated the query to remove a JOIN that may have been causing delays.

1.0.2
Added instructions to comment out unneccessary query pulls in the array to reduce wait times.
Optimized the query by removing non-essential SELECTs.
Added option for user to separate news items in admincp.
Fixed IE whitespace issue for ticker height as seen here:
http://www.vbulletin.org/forum/showp...3&postcount=28

1.0.1 Fixed a width issue as seen here:
http://www.vbulletin.org/forum/showp...3&postcount=12


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.

Temporary demo location:
http://www.christianboards.org/forum.php

Download Now

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

Screenshots

Click image for larger version

Name:	sc1.gif
Views:	872
Size:	102.0 KB
ID:	51620   Click image for larger version

Name:	sc2.gif
Views:	1372
Size:	10.4 KB
ID:	51621  

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.
  #61  
Old 08 Aug 2006, 19:14
Eagle Creek's Avatar
Eagle Creek Eagle Creek is offline
 
Join Date: Jan 2004
That's cool .
All of my news items are underlined. At your screenshot they aren't.

What's 'wrong'?
__________________
http://www.nucia.nl/forum/
The best way to kill malware; is to kill it together.
I love vBulletin http://www.vbulletin.org/forum/images/newsm/bunny.gif
Reply With Quote
  #62  
Old 08 Aug 2006, 20:03
davidw's Avatar
davidw davidw is offline
 
Join Date: Jul 2005
Real name: David
That happened to me one time because I was playing around with my FORUMHOME template and accidentally removed $spacer_open (right above where the $vbnews_ticker goes). Check there to see if it is located there. If not, you may want to put it in there.
__________________
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
  #63  
Old 08 Aug 2006, 22:43
Eagle Creek's Avatar
Eagle Creek Eagle Creek is offline
 
Join Date: Jan 2004
Ahh.. My members don't like it.. .

But I have more forums. I will support this hack till the end! .
__________________
http://www.nucia.nl/forum/
The best way to kill malware; is to kill it together.
I love vBulletin http://www.vbulletin.org/forum/images/newsm/bunny.gif
Reply With Quote
  #64  
Old 09 Aug 2006, 18:43
Buraq's Avatar
Buraq Buraq is offline
 
Join Date: Nov 2004
Version 1.0.2 makes my forumhome load even slower (yes I did the edits to the php).

I'm not sure how feasible this is, but why not just include the latest thread titles via RSS instead of queries into the db. I know we implemented something like this on our main website, where we get the latest threads from a specific forum in vBulletin. I have to ask my co-admin how he did it.

Until then, I'm gonna have to disable this plugin. 14+ seconds is just too much, and sometimes the page doesn't load at all until you refresh again.

Last edited by Buraq; 09 Aug 2006 at 19:31.
Reply With Quote
  #65  
Old 09 Aug 2006, 20:39
davidw's Avatar
davidw davidw is offline
 
Join Date: Jul 2005
Real name: David
How many forums were you pulling these from? Also what other plugins were you running with this (in forumhome_complete)? I found this mod doesn't play well with vbshout, for example.
__________________
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
  #66  
Old 09 Aug 2006, 21:06
Buraq's Avatar
Buraq Buraq is offline
 
Join Date: Nov 2004
Originally Posted by christianb
How many forums were you pulling these from? Also what other plugins were you running with this (in forumhome_complete)? I found this mod doesn't play well with vbshout, for example.
I'm pulling threads from 2 forums, and the only other plugin I'm using is a banner rotator plugin I wrote. The banner plugin does not perform any complicated db queries or anything of the sort. It mainly just pulls a couple of variables stored in $vbulletin->options[] via an adminCP back end.
Reply With Quote
  #67  
Old 09 Aug 2006, 21:20
davidw's Avatar
davidw davidw is offline
 
Join Date: Jul 2005
Real name: David
It should be ok then - I don't know why the delay. I'd be interested in the RSS transfer as that might speed things up - but I'm not sure how to do that. Of course, I've always had trouble with using marquees. I will be looking into speeding up the query though.
__________________
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
  #68  
Old 11 Aug 2006, 16:34
Eagle Creek's Avatar
Eagle Creek Eagle Creek is offline
 
Join Date: Jan 2004
You fixed it? (cause I don't see your reply anymore)
__________________
http://www.nucia.nl/forum/
The best way to kill malware; is to kill it together.
I love vBulletin http://www.vbulletin.org/forum/images/newsm/bunny.gif
Reply With Quote
  #69  
Old 11 Aug 2006, 16:46
davidw's Avatar
davidw davidw is offline
 
Join Date: Jul 2005
Real name: David
I thought I did. lol
I fixed one thing, but removing that line cause it to pull more forums that were not chosen lol. The only reason why it was in there was for a preview - but for some reason it broke something else.
__________________
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
  #70  
Old 11 Aug 2006, 16:58
davidw's Avatar
davidw davidw is offline
 
Join Date: Jul 2005
Real name: David
Ok, silly me, accidentally removed the WHERE statement because I thoughtlessly left it on the same line as the one I needed removed.

anyways, here's the potential fix (again)...

@Buraq (and anyone else who may be having a slow response time) - try editing the plugin and changing the query...

Find this:

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

remove this code:

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

which changes it to this:

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

That code served no purpose and may actually be causing the problem. It is only used for allowing a preview of the post/thread and it is something I forgot to take out.
This will be fixed in the next version.
__________________
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
  #71  
Old 12 Aug 2006, 01:19
Battle_Ring Battle_Ring is offline
 
Join Date: Apr 2004
will this work with 3.6
Reply With Quote
  #72  
Old 12 Aug 2006, 01:37
davidw's Avatar
davidw davidw is offline
 
Join Date: Jul 2005
Real name: David
Yes
__________________
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
  #73  
Old 12 Aug 2006, 20:08
doggy1 doggy1 is offline
 
Join Date: Aug 2005
This appears to be a great hack and thank you for offering it. However, I had to remove it because it caused delays with members trying to post on the forum and every now and then an error message that the page could not be displayed would appear. Anyone else having this and is there a way to fix it? Thanks.
Reply With Quote
  #74  
Old 12 Aug 2006, 20:13
davidw's Avatar
davidw davidw is offline
 
Join Date: Jul 2005
Real name: David
Which version did you use? Did you try the legacy version? Just curious.
__________________
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
  #75  
Old 12 Aug 2006, 22:20
doggy1 doggy1 is offline
 
Join Date: Aug 2005
Originally Posted by christianb
Which version did you use? Did you try the legacy version? Just curious.
I did not try the legacy version, but maybe if I learn to read I would have seen that you have addressed this already with this version. LOL!

I will this version and see what happens. Thanks for the reply!

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 19:37.

Layout Options | Width: Wide Color: