Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Last x Threads Marquee using External Data Provider Details »
Last x Threads Marquee using External Data Provider
Mod Version: 1.001, by aisais (Member) aisais is offline
Developer Last Online: May 2009 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.7.x Rating: (2 votes - 4.50 average) Installs: 21
Released: 13 Jul 2008 Last Update: 14 Jul 2008 Downloads: 136
Not Supported Template Edits Re-usable Code Translations Is in Beta Stage  

Hi,
This mini-mod will display last x threads in a marquee above navbar.
I mostly used this code http://www.vbulletin.com/forum/showthread.php?t=158895 by Floris from VB team.
and TIPs from Colin F ( thanx guys )

How to install:

First you have to activate External Source Provider.

Go to: Admin Control Panel > vBulletin Options > External Data Provider:
and choose JavaScript ( first choice ).

Then copy this code and add it right at the top of Navbar template.

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


please be aware that I am not a coder. I just helped myself by collecting some parts of code from here and there. I can't prmise to provide any support for this mod


configuriation:
1- to change number of threads, find this line

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

and replace 10 with the number you desire.

2- to limit the output to the latest threads in one or more specific forums, find this line

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

and change numbers with your forum IDs of choice.

3- you can also adjust scrolling speed and direction pretty easy.

I hope you find this helpful.

** UPDATE ***


Update Notification:
I found this " secret" option lately while reading the tech manuals for Vb.
To have the marquee show the last 10 threads based on LAST POST time ( i.e active threads), please do this:

1- Find:

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

2- add the option: &lastpost=1 to the end of the script. e.g

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

I update the above code to reflect this change and included a text file for reference.

Download Now

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

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 13 Jul 2008, 19:21
rooban12's Avatar
rooban12 rooban12 is offline
 
Join Date: May 2007
any screen shots or demo link?
Reply With Quote
  #3  
Old 13 Jul 2008, 19:26
aisais aisais is offline
 
Join Date: Jan 2005
of course
demo : www.twsyat.net/forum
screen shot attached ( it is in Arabic )

BTW you can use this code inside any HTML file out of VB folder. which makes a good choice for PORTALs
Attached Images
File Type: jpg last10.jpg (9.3 KB, 333 views)

Last edited by aisais; 13 Jul 2008 at 19:42.
Reply With Quote
  #4  
Old 14 Jul 2008, 19:13
aisais aisais is offline
 
Join Date: Jan 2005
** UPDATED ***
Reply With Quote
  #5  
Old 03 Nov 2008, 10:07
Direct Vision Direct Vision is offline
 
Join Date: Oct 2007
i made this but it's not working.

the bar is working but no last posts is scrolling, it remains empty
Reply With Quote
  #6  
Old 30 Nov 2008, 02:02
WolfWiz WolfWiz is offline
 
Join Date: Mar 2007
Originally Posted by Direct Vision View Post
i made this but it's not working.

the bar is working but no last posts is scrolling, it remains empty
Same here, bummer... saw something close on another site... was hoping it was this.

where do I find this?
configuriation:
1- to change number of threads, find this line
PHP Code:
for (x = 0; x < 10; x++)
Reply With Quote
  #7  
Old 30 Nov 2008, 02:46
Q-v-n-s-Q Q-v-n-s-Q is offline
 
Join Date: Mar 2005
very nice, thanks
__________________
PossibleAndroid
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 12:02.

Layout Options | Width: Wide Color: