Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
[v3Articles & vbAdvanced CMPS] Featured Article Front Page Module (Basic) Details »
[v3Articles & vbAdvanced CMPS] Featured Article Front Page Module (Basic)
Mod Version: 1.00, by wcbryant (Member) wcbryant is offline
Developer Last Online: Nov 2013 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.0.1 Rating: (0 vote - 0 average) Installs: 22
Released: 16 Jun 2004 Last Update: Never Downloads: 16
Not Supported  

v3Articles: Home - vb.org Thread
vbAdvanced CMPS: Home - vb.org Thread

This takes the same featured article teaser that displays on your article.php page, and pulls it in as a center column module in CMPS.

The template is easy to edit, so you should be able to have it show up any way you like. The number of characters to be displayed is controlled by what you set (or is set by default) in the v3article settings, but could be hard coded in cmps_feature if you wish it to be different.

I said 'basic' in the subject line, because there are other people working on much more advanced and involved implementations of this. Also, the image handling code is commented out in cmps_feature.php, it should work fine if you remove the comments, but that's not something I've tested as I don't want the image functionality for the front page.

Thanks to John for v3articles and Tigga/Brian for both CMPS and the last key bit of info that made this module work. Not surprisingly, both are up for HotM. Too bad it's at the same time, I want to vote for both.

--edit--
If the screenshot doesn't help, you can see this in use at http://www.buckeyeplanet.com

Download Now

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

Screenshots

Click image for larger version

Name:	featured_module.gif
Views:	989
Size:	16.8 KB
ID:	19217  

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
[ADDON] cinq's vbArticles Latest 3 Featured Articles CMPS Module cinq vBulletin 3.0 Full Releases 46 05 Jan 2006 02:55
v3Articles - vBa CMPS module maximux1 vBulletin 3.0 Full Releases 32 06 Aug 2005 18:55

Comments
  #2  
Old 17 Jun 2004, 00:51
Merjawy's Avatar
Merjawy Merjawy is offline
 
Join Date: Sep 2002
Location: USA
Thnx though the screenshot is not clear.. I will check it out.. I have CMPS installed

thnx
Reply With Quote
  #3  
Old 17 Jun 2004, 05:15
GamerJunk.net's Avatar
GamerJunk.net GamerJunk.net is offline
 
Join Date: Jan 2004
Good work, but I don't like the way it is.

I mean....who makes that many articles in one day?
Reply With Quote
  #4  
Old 17 Jun 2004, 05:48
wcbryant wcbryant is offline
 
Join Date: Dec 2003
Originally Posted by RasMasta
Good work, but I don't like the way it is.

I mean....who makes that many articles in one day?
No idea what you mean. One article gets flagged as 'featured' in the v3articles area, and the teaser for that appears by itself on the CMPS index page. In the case of the site used in the example, it's the top center column table.
Reply With Quote
  #5  
Old 17 Jun 2004, 13:15
gmarik's Avatar
gmarik gmarik is offline
 
Join Date: May 2002
Real name: Marco
It's no CMS...
Reply With Quote
  #6  
Old 17 Jun 2004, 17:43
Tim Wheatley's Avatar
Tim Wheatley Tim Wheatley is offline
 
Join Date: Nov 2001
What are you guys on about?

This is an ADDON like it says by the word 'module'.

This pulls the featured article from v3articles onto the mainpage of your site, which I asked for in the v3articles thread, so thanks wcbryant, *I* appreciate it.
Reply With Quote
  #7  
Old 17 Jun 2004, 20:03
maximux1's Avatar
maximux1 maximux1 is offline
 
Join Date: Mar 2002
Great work, Bryant! Installed like a charm and quite a needed feature of our boards!

Thanks!

Max
Marijuana.Com
Reply With Quote
  #8  
Old 17 Jun 2004, 22:02
teksigns's Avatar
teksigns teksigns is offline
 
Join Date: Sep 2003
it crashes the main page if there is no featured artical ......


any fix?
Reply With Quote
  #9  
Old 17 Jun 2004, 23:18
maximux1's Avatar
maximux1 maximux1 is offline
 
Join Date: Mar 2002
Well - in looking for a fix for this, I realized that there appears to be no way to unset an article from being a feature once it is set as a feature article.

Im I overlooking something, or is making an article a feature no reversable?

max
Reply With Quote
  #10  
Old 17 Jun 2004, 23:33
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Real name: Dean Clatworthy
Thankyou for sharing your work with the community
__________________
Dean Clatworthy - Web Developer/Designer
Reply With Quote
  #11  
Old 17 Jun 2004, 23:37
wcbryant wcbryant is offline
 
Join Date: Dec 2003
Originally Posted by teksigns
it crashes the main page if there is no featured artical ......


any fix?
Yes, feature an article. :nervous: I'll look at it tonight, but honestly, once you select a featured article, you'll always have one, so it should be a non-issue after that.

Originally Posted by maximux1
Well - in looking for a fix for this, I realized that there appears to be no way to unset an article from being a feature once it is set as a feature article.

Im I overlooking something, or is making an article a feature no reversable?

max
Selecting a different article as feature is the only set way I've seen of removing the featured tag from an article. Might be able to suggest an option to unset featured status for the next version. On the flip side, the code to set it is down pretty low in article.php, someone might be able to figure out how to add an if statement that would add another link (if the article is featured) that would unfeature.

If they do that, suddenly the bug in this add-on is a bigger deal.
Reply With Quote
  #12  
Old 18 Jun 2004, 11:06
Shack Networks Shack Networks is offline
 
Join Date: Apr 2004
I dont see it as a bug, more of a feature.

I did some template hacking and came up with the block bellow, its kinda a merge of both article block hacks. I will post up how to do it if no one objects, its realy easy to do and only took me 2 mins but I think it looks nice

It would be nice to be able to use the first posted image as a thumbnail in the block as this would make it look realy nice.

H
Attached Images
File Type: jpg articlecenter.JPG (56.6 KB, 181 views)
Reply With Quote
  #13  
Old 18 Jun 2004, 13:50
wcbryant wcbryant is offline
 
Join Date: Dec 2003
Originally Posted by Shack Networks
I dont see it as a bug, more of a feature.

I did some template hacking and came up with the block bellow, its kinda a merge of both article block hacks. I will post up how to do it if no one objects, its realy easy to do and only took me 2 mins but I think it looks nice

It would be nice to be able to use the first posted image as a thumbnail in the block as this would make it look realy nice.

H
Looks good. I certainly have no problem with you posting the how-to here.
Reply With Quote
  #14  
Old 18 Jun 2004, 14:25
Shack Networks Shack Networks is offline
 
Join Date: Apr 2004
This is an easy template edit to allow you to display the contents of 2 different hacks using different php files into one block displaying the content of both. I take no credit whatsoever for the hacks as they were not made by me, I just did some template changes to suit my forum and wish to share them with others.


Ok first of all you need to install both the following hacks into your vbuletin install. Please backup your Vbull templates.


Hack : [v3Articles & vbAdvanced CMPS] Featured Article Front Page Module (Basic)
Link : http://www.vbulletin.org/forum/showt...threadid=66237
Author : wcbryant

Hack : v3Articles - vBa CMPS module
Link : http://www.vbulletin.org/forum/showt...threadid=66265
Author : maximux1

Once these are installed you need to make 2 modules we will call one Article Block A and one Article Block B details of which are as follows.

Block Name : Article Block A
Identifier : articleblocka
PHP File : articleblock.php
Active : Yes
Column : Center
Templates : adv_portal_blog,article_cmps


Block Name : Article Block B
Identifier : articleblockb
PHP File : articleblock.php
Active : Yes
Column : Center
Templates : adv_portal_article_module

Set both blocks so that B is underneath A when displaid on the forum

Now for your template edits...Replace the contents of both templates bellow with the text bellow the template name.


//------------------------------------------------------------

adv_portal_blog

//------------------------------------------------------------



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


//------------------------------------------------------------

adv_portal_article_module

//------------------------------------------------------------


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


//------------------------------------------------------------

Dont forget to change the line The 'Top 5 Latest Articles' to show how many articles you are displaying, this can be configured in cmps-articles.php

Thats it, go add some Articles and ensure you set at least one of them as a featured article.
Reply With Quote
  #15  
Old 20 Jun 2004, 20:04
tHe Rk tHe Rk is offline
 
Join Date: Jan 2004
Hacked worked like a charm and looks fantastic. To see it in action you can also check out www.xgplanet.com. Very simple and easy, works perfect.
__________________
www.onlinegamersplanet.com
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 11:01.

Layout Options | Width: Wide Color: