Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

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

Version: 3.0.1 Rating:
Released: 06-16-2004 Last Update: Never Installs: 22
 
No support by the author.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 06-16-2004, 11:51 PM
Merjawy's Avatar
Merjawy Merjawy is offline
 
Join Date: Sep 2002
Location: USA
Posts: 505
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thnx though the screenshot is not clear.. I will check it out.. I have CMPS installed

thnx
Reply With Quote
  #3  
Old 06-17-2004, 04:15 AM
GamerJunk.net's Avatar
GamerJunk.net GamerJunk.net is offline
 
Join Date: Jan 2004
Posts: 457
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 06-17-2004, 04:48 AM
wcbryant wcbryant is offline
 
Join Date: Dec 2003
Location: Florida
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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 06-17-2004, 12:15 PM
gmarik's Avatar
gmarik gmarik is offline
 
Join Date: May 2002
Location: Mocsow
Posts: 1,288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's no CMS...
Reply With Quote
  #6  
Old 06-17-2004, 04:43 PM
Tim Wheatley's Avatar
Tim Wheatley Tim Wheatley is offline
 
Join Date: Nov 2001
Location: England
Posts: 489
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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. :up:
Reply With Quote
  #7  
Old 06-17-2004, 07:03 PM
maximux1's Avatar
maximux1 maximux1 is offline
 
Join Date: Mar 2002
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great work, Bryant! Installed like a charm and quite a needed feature of our boards!

Thanks!

Max
Marijuana.Com
Reply With Quote
  #8  
Old 06-17-2004, 09:02 PM
teksigns's Avatar
teksigns teksigns is offline
 
Join Date: Sep 2003
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it crashes the main page if there is no featured artical ......

any fix?
Reply With Quote
  #9  
Old 06-17-2004, 10:18 PM
maximux1's Avatar
maximux1 maximux1 is offline
 
Join Date: Mar 2002
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 06-17-2004, 10:33 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thankyou for sharing your work with the community
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 05:35 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04454 seconds
  • Memory Usage 2,296KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete