vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   [v3Articles & vbAdvanced CMPS] Featured Article Front Page Module (Basic) (https://vborg.vbsupport.ru/showthread.php?t=66237)

wcbryant 06-16-2004 10:00 PM

[v3Articles & vbAdvanced CMPS] Featured Article Front Page Module (Basic)
 
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

Merjawy 06-16-2004 11:51 PM

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

thnx

GamerJunk.net 06-17-2004 04:15 AM

Good work, but I don't like the way it is.

I mean....who makes that many articles in one day?

wcbryant 06-17-2004 04:48 AM

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.

gmarik 06-17-2004 12:15 PM

It's no CMS...

Tim Wheatley 06-17-2004 04:43 PM

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:

maximux1 06-17-2004 07:03 PM

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

Thanks!

Max
Marijuana.Com

teksigns 06-17-2004 09:02 PM

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

any fix?

maximux1 06-17-2004 10:18 PM

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

Dean C 06-17-2004 10:33 PM

Thankyou for sharing your work with the community :)


All times are GMT. The time now is 11:05 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.01032 seconds
  • Memory Usage 1,729KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete