Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Widget: CMS Most Viewed Articles This Week Details »
Widget: CMS Most Viewed Articles This Week
Mod Version: 1.02, by reefland (Member) reefland is offline
Developer Last Online: Jan 2012 I like it Show Printable Version Email this Page

vB Version: 4.0.6 Rating: (7 votes - 4.71 average) Installs: 83
Released: 21 Apr 2010 Last Update: Never Downloads: 0
Not Supported Re-usable Code Translations  

Most Viewed Articles This Week

1. Installation

1. Goto Admincp->vBullietin CMS->Widgets->Create New Widget
2. Choose PHP Direct Execution as Widget's Type
3. Insert a title. This Week's Most Popular for example.
4. Click Save
5. Click Configure on the right of the newly created widget.
6. Remove the default code that appears.
7. Copy and Paste the code in item 2 below.
8. Save
9. Goto Admincp->vBullietin CMS->Layout Manager
10. Add the Widget to your Layout
11. Click Save

2. PHP Code

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



3. Change Log


[Version 1.02 9-23-2010]
Removed unnecessary ob*() calls.
Changed output_bits to just output.

[Version 1.01 4-21-2010]
Fixed a bug show the correct URL was used for each article.

Download Now

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

Screenshots

Click image for larger version

Name:	widget_screen_shot.gif
Views:	1215
Size:	6.2 KB
ID:	116124  

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.
Similar Mod
Mod Developer Type Replies Last Post
vBulletin CMS Widgets Widget: last articles blogs in CMS - by omardealo omardealo vBulletin 4.x Add-ons 15 11 Feb 2013 00:47
vBulletin CMS Widgets 3x CMS widget : Widget with 3 tabs, like on Blogs page. Vaupell vBulletin 4.x Add-ons 55 23 Oct 2012 23:06
vBulletin CMS Widgets Widget: Top 5 Posters this Week MaryTheG(r)eek Modification Graveyard 43 14 Sep 2010 05:10

  #31  
Old 24 Sep 2010, 15:39
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Real name: Doug
Originally Posted by magmf View Post
l
Please if you get another error paste the error here for me so i can check again... But i think now will work was a small issue related to my table names...
Good news.. the last version did not generate any SQL errors and the widget displays, however, there's no data within the widget box?

Does it need to run for a while to generate history before it displays anything?

Thanks ..

Regards,
Badger
Reply With Quote
  #32  
Old 24 Sep 2010, 17:50
magmf magmf is offline
 
Join Date: Oct 2006
BadgerDog this will display the content of your articles from last 7 days in order of biggest page views number to less pageviews... if you dont have any article published in last 7 days this will return nothing... So my suggestion to you is publish a new article and see if this new article will appear on this widget.

Let me know if worked for you
Reply With Quote
  #33  
Old 24 Sep 2010, 18:08
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Real name: Doug
Ok, sorry, I misunderstood what it did ...

I thought it displayed "Most Viewed Articles This Week", meaning which of the several thousand articles we already have in our research library have been the most viewed by members this week.

I guess I'll have to un-install this as it's always going to be blank ...

Thanks for your efforts ...

Regards,
Badger
Reply With Quote
  #34  
Old 24 Sep 2010, 18:54
strudinox's Avatar
strudinox strudinox is offline
 
Join Date: Mar 2010
Installed on 4.0.7 and working great!

Is there any way to make it pull articles from a specific section?
__________________
GND-Tech - Technology - Gaming - Community
Reply With Quote
  #35  
Old 07 Oct 2010, 20:30
BioWaffen BioWaffen is offline
 
Join Date: Sep 2006
Where can I exchange the name of the widget? (I want to use another one than "5 Most viewed Article" )
Reply With Quote
  #36  
Old 08 Oct 2010, 08:13
sticky sticky is offline
 
Join Date: Sep 2003
Originally Posted by magmf View Post
let me fix for you again.....



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

Please if you get another error paste the error here for me so i can check again... But i think now will work was a small issue related to my table names...
Yes, this code worked for me! Any way to make the article text not bold like the title?
Reply With Quote
  #37  
Old 07 Nov 2010, 09:04
mgcom's Avatar
mgcom mgcom is offline
 
Join Date: Apr 2009
Location: Dublin (Ireland)
Real name: Mark
how can i set this to be most viewed articles ever (not 7 days)
__________________
Youth Work Forums
Reply With Quote
  #38  
Old 09 Dec 2010, 17:39
TheAquanox TheAquanox is offline
 
Join Date: Oct 2009
Originally Posted by mgcom View Post
how can i set this to be most viewed articles ever (not 7 days)
How about changing

(3600*24*7)

by

(3600*24*18250)

I don't think your forum is older than 50 year lol.
Reply With Quote
  #39  
Old 05 Feb 2011, 13:04
Mark4865's Avatar
Mark4865 Mark4865 is offline
 
Join Date: Sep 2010
Any way to include thumbnail images with this
Reply With Quote
  #40  
Old 19 Feb 2011, 15:24
project-Buckfas project-Buckfas is offline
 
Join Date: Jul 2006
Real name: David
This code works in 4.1.0


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

Attached Images
File Type: png Screen shot 2011-02-19 at 15.22.50.png (27.3 KB, 30 views)
Reply With Quote
  #41  
Old 05 Apr 2011, 16:00
dnk.it dnk.it is offline
 
Join Date: Aug 2009
this work great for vbulletin 4.1.1, thanks

Originally Posted by magmf View Post
My fault


try this


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
Reply With Quote
  #42  
Old 18 Jun 2011, 00:17
Anopheles's Avatar
Anopheles Anopheles is offline
 
Join Date: Sep 2008
Real name: Andreas
Works on 4.1.4 THANX!
__________________
Andreas aka "Anopheles"
_______________________
My Config: TMS 1.2.0, vBulletin Version: 4.2.0 PL3, PhotoPlogPro: 2.1.4.8
Reply With Quote
  #43  
Old 16 Sep 2011, 09:04
romaszek romaszek is offline
 
Join Date: Dec 2007
Hey.
Why there are no separators ?

Thanks.
Attached Images
File Type: jpg jpg.jpg (37.1 KB, 123 views)
File Type: png Screen shot 2011-02-19 at 15.22.50.png (27.3 KB, 123 views)
Reply With Quote
  #44  
Old 16 Sep 2011, 10:06
doctorsexy's Avatar
doctorsexy doctorsexy is offline
 
Join Date: Apr 2011
Real name: Chris
not working on my 4.1.5.... sql errors
__________________
http://sandstormradio.org
Reply With Quote
  #45  
Old 04 Oct 2011, 16:09
jGas jGas is offline
 
Join Date: May 2007
It's not working on 4.1.6 .

This version of the code is working for me: http://www.vbulletin.org/forum/showp...79&postcount=5
__________________
MusicaDigitale.net - Italian Biggest Computer Music Board
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 04:22.

Layout Options | Width: Wide Color: