Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
[WIDGET] Recent Threads Details »
[WIDGET] Recent Threads
Mod Version: 1.00, by cory_booth (Coder) cory_booth is offline
Developer Last Online: Jun 2013 I like it Show Printable Version Email this Page

vB Version: 4.0.2 Rating: (13 votes - 4.77 average) Installs: 129
Released: 20 Feb 2010 Last Update: Never Downloads: 0
Not Supported Re-usable Code Is in Beta Stage  

In an attempt at mirroring an old ASP website I used to have, I modified the recent threads display to show a bit more information in a bit more compressed format.

Feel free to use/hack/slash this code for your own needs...

Navigate to AdminCP -> CMS -> Widgets.
Create a PHP Type Widget and paste the below code.

READ BELOW THE CODE FOR AN UPDATE


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


Updated to reflect contribution from Inflikted:
http://www.vbulletin.org/forum/showp...7&postcount=25

Be SURE to update the following line:if (!in_array($recent_thread[forumid], array(105,83,121,110,82,112,109,101,102,72))), to group the forumids you wish to NOT have included in the query results.

Download Now

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

Screenshots

Click image for larger version

Name:	forum.jpg
Views:	5641
Size:	83.4 KB
ID:	112675  

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.
  #16  
Old 22 Feb 2010, 23:28
cory_booth cory_booth is offline
 
Join Date: Jul 2006
Thanks Klyde...

Yeah I messed with things to get it as small as possible as a sidebar.
Reply With Quote
  #17  
Old 23 Feb 2010, 01:41
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Yikes! A user just pointed out that ALL my threads are now being posted to the widget, including posts to our private Admin forums! I tried setting the forums in 'configure', but it seems to be ignoring the selection and is still posting Admin threads.
Reply With Quote
  #18  
Old 23 Feb 2010, 06:00
RedHacker RedHacker is offline
 
Join Date: Jan 2009
Thanks now it show fine....
Reply With Quote
  #19  
Old 26 Feb 2010, 03:43
redhawk89 redhawk89 is offline
 
Join Date: Dec 2008
Originally Posted by sqzdog View Post
Hey Cory- nice widget. I would like to use this but have it show latest posts instead of threads. Is there an easy way to do this?
x2 definitely this would be an epic widget
Reply With Quote
  #20  
Old 26 Feb 2010, 04:27
Trek Trek is offline
 
Join Date: Sep 2003
I like it. But it REALLY needs to check user perms and only show things they have access to. Also would need an exclude list in general for forums that you never want to appear.

Also would be good if it used the colors (optional of course) set for the usergroup.

Really nice though, no slight meant! I like the compactness of it and fleshed out a bit more, I'll be using it for sure.
Reply With Quote
  #21  
Old 26 Feb 2010, 11:40
cory_booth cory_booth is offline
 
Join Date: Jul 2006
Originally Posted by Trek View Post
I like it. But it REALLY needs to check user perms and only show things they have access to. Also would need an exclude list in general for forums that you never want to appear.

Also would be good if it used the colors (optional of course) set for the usergroup.

Really nice though, no slight meant! I like the compactness of it and fleshed out a bit more, I'll be using it for sure.
I totally agree with you and in fact felt a bit guilty when an above user pointed out the permission flaw... However, I am learning and was holding these little toys back but decided, what the heck - get 'em on here in the hopes someone with much greater skill than myself turns them into a more professional plugin...
Reply With Quote
  #22  
Old 26 Feb 2010, 12:46
x626xblack x626xblack is offline
 
Join Date: Oct 2009
Difference between this and the New Addition to the CMS for 4.0.2 "Recent Threads"?
I do believe it is built in now and there are no permission issues.
Reply With Quote
  #23  
Old 26 Feb 2010, 18:52
Trek Trek is offline
 
Join Date: Sep 2003
Originally Posted by cory_booth View Post
I totally agree with you and in fact felt a bit guilty when an above user pointed out the permission flaw... However, I am learning and was holding these little toys back but decided, what the heck - get 'em on here in the hopes someone with much greater skill than myself turns them into a more professional plugin...
No worries Cory, I really appreciate all of the things you have been releasing! =)
Reply With Quote
  #24  
Old 27 Feb 2010, 12:19
triff's Avatar
triff triff is offline
 
Join Date: Sep 2007
Real name: Sverre
What I would LOVE to see is a "recent post" widget with first the threadname (w/link to thread) and then some from the last post of that thread (w/link to the first UNREAD post). Like they had for old vBaCMPS.

SGL.
__________________
Basic Roleplaying Central - the best d100 RPG website there is!
Reply With Quote
  #25  
Old 01 Mar 2010, 19:51
Inflikted Inflikted is offline
 
Join Date: Mar 2002
is there an easy way to block out private forums from this?

nevermind figured it out... for those others who wanted to know how

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

to the proper forumid's you would like to block

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


Last edited by Inflikted; 01 Mar 2010 at 19:57.
Reply With Quote
  #26  
Old 01 Mar 2010, 20:48
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
I figured it must be a simple matter of using an exclusion array, but I just didn't have the time to mess with it myself, so thanks for that. I'll try to test it later today.

A few suggestions to Cory before you include this: Maybe add a variable near the top so users don't have to go searching for the array; and specify what to put for ALL forums ('0' I guess), and an example of how to put numbers in the array (e.g. I don't think spaces will work).
Reply With Quote
  #27  
Old 03 Mar 2010, 02:26
Inflikted Inflikted is offline
 
Join Date: Mar 2002
yea its just a temporary fix. what i would really like to see is recent posts displayed based on user permission, so i don't have to filter boards. sorta like the 'whats new tab' i just don't no how to implement that.
Reply With Quote
  #28  
Old 03 Mar 2010, 02:37
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Agreed. I suspect we'll see a lot of improvement in these things as more coders install and start working with vb4. For now, this works.
Reply With Quote
  #29  
Old 03 Mar 2010, 15:31
Inflikted Inflikted is offline
 
Join Date: Mar 2002
well i am willing to offer money to someone who can make this properly based on user permissions.
Reply With Quote
  #30  
Old 04 Mar 2010, 04:35
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Well, this is odd. I can't see any of this widget at all in IE8! It looks good in Firefox and Chrome.
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:56.

Layout Options | Width: Wide Color: