Register Chat Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
[ADDON] cinq's vbArticles Latest 3 Featured Articles CMPS Module Details »»
[ADDON] cinq's vbArticles Latest 3 Featured Articles CMPS Module
Mod Version: 1.1, by cinq (Contributor) cinq is offline
Developer Last Online: Dec 2009 Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.0.7 Rating: (1 vote - 5.00 average) Installs: 23
Released: 22 Feb 2005 Last Update: 25 Feb 2005 Downloads: 12
Not Supported  

A small addon to show the latest 3 featured articles on your Portal page.
This add on CMPS module is for cinq's vbArticles Hack v2.0

Hack version 1.1

Install instructions
===========================================

1. Upload the cmps-articles.php file to your modules directory.

2. Create 2 new templates:

a. First template:

adv_portal_articlesbits

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

b. Second template:

adv_portal_articles

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

3. Next, perform the following file edits.

a. In your global.php file

FIND

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

REPLACE WITH

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

Save and upload global.php


b. In your includes/vba_cmps_include_top.php file

FIND

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

ADD ABOVE

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

Save and upload includes/vba_cmps_include_top.php


4. Next, create the new module using the drop down menu, selecting "cmps-articles.php".
In the "templates used" field enter the following templates: 'adv_portal_articles, adv_portal_articlesbits'

5. Don't forget to update your index pages(s) to show the new module.

6. Done !

===========================================

Enjoy
- cinq

Download Now

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

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
vBadvanced CMPS 2nd Latest Topics Module addon / for specific forums tomshawk vBulletin 3.0 Full Releases 10 28 Nov 2005 06:33
[ADDON] cinq's vbArticles Latest Featured Articles on ForumHome cinq vBulletin 3.0 Full Releases 19 28 Jun 2005 09:15
[ADDON] cinq's vbArticles Latest 3 Articles VBIndex Block cinq vBulletin 3.0 Full Releases 3 04 May 2005 20:01
[Addon] cinq's vbArticles Hack v2.0 - Show number of articles per category DRJ vBulletin 3.0 Full Releases 13 19 Apr 2005 16:57

Comments
  #2  
Old 22 Feb 2005, 16:07
ptmuldoon ptmuldoon is offline
 
Join Date: Feb 2005
Works great, except I had to modify the cmps-articles.php file on line 20 to correct for the image not showing on the home page. They originally showed only if you were within your forums page. Thus, I edited it to this


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

Reply With Quote
  #3  
Old 22 Feb 2005, 16:33
KTBleeding's Avatar
KTBleeding KTBleeding is offline
 
Join Date: Feb 2004
Real name: Tyler
Thanks cinq.

And thanks ptmuldoon, I was just going to come report that..
Reply With Quote
  #4  
Old 23 Feb 2005, 10:25
cinq's Avatar
cinq cinq is offline
 
Join Date: Oct 2002
Thanks for the feedback guys, I have editted the file and reuploaded it.

For those who installed this add-on prior to the date/time of this post, just download the attachment again, and upload it, overwriting your existing cmps_articles.php file.
Reply With Quote
  #5  
Old 23 Feb 2005, 13:20
shadiguy1 shadiguy1 is offline
 
Join Date: Jul 2004
hmm i did didnt show up tho. im looking into it.
Reply With Quote
  #6  
Old 25 Feb 2005, 05:42
cinq's Avatar
cinq cinq is offline
 
Join Date: Oct 2002
Made some code change in the cmps-articles.php file.
If you had previously installed this add-on ( v1.0 ) please download the attachment ( v1.1 ) and upload it to your modules folder, overwriting the old file.

Everything else ( other steps highlighted in the first post ) remains the same.
Reply With Quote
  #7  
Old 25 Feb 2005, 06:28
ncangler's Avatar
ncangler ncangler is offline
 
Join Date: Dec 2004
Thank you!

Cinq, I cannot thank you enough for all the great work you'd put into this Articles system. I love it and it has added so much potential to my site. Thank you!
Reply With Quote
  #8  
Old 25 Feb 2005, 10:39
Chief Corn Chief Corn is offline
 
Join Date: Nov 2002
i'm not the greatest with html, so any chance someone can make a template to list horizontally as is done in the main article index? i'd appreciate it. excellent hack.
Reply With Quote
  #9  
Old 28 Feb 2005, 12:44
cinq's Avatar
cinq cinq is offline
 
Join Date: Oct 2002
You mean in columns instead Chief ?
Reply With Quote
  #10  
Old 28 Feb 2005, 20:55
yannisc yannisc is offline
 
Join Date: Feb 2005
Hi!

How can I make the image of the article on the main page be wrapped from the text rather than be left and the text right?

There was a hack that did something similar for the news posts on the vbadvanced cmps. Can we make the same here?

thanks, Yannis
Reply With Quote
  #11  
Old 28 Feb 2005, 21:57
Chief Corn Chief Corn is offline
 
Join Date: Nov 2002
Originally Posted by cinq
You mean in columns instead Chief ?
yes. with my site the news already takes up alot of the row space.
Reply With Quote
  #12  
Old 01 Mar 2005, 11:13
Deviant++'s Avatar
Deviant++ Deviant++ is offline
 
Join Date: Sep 2004
I'm getting an error when I'm putting in the include file.

the article system says syntax error 1064 and the cmps portal dosn't display images.
__________________
Deviated HQ.com


Reply With Quote
  #13  
Old 04 Mar 2005, 11:27
misticjeff misticjeff is offline
 
Join Date: Sep 2004
Originally Posted by cinq
You mean in columns instead Chief ?
I'd also like to see perhaps 3 recent articles all in one row on the CMPS home instead of each article using it's own row. This way I could feature it in the center column above the news right at eye level without taking up too much precious real estate.
Reply With Quote
  #14  
Old 13 Mar 2005, 06:55
lwhite lwhite is offline
 
Join Date: May 2003
Real name: Lee
I followed the instructions, but it did not showing up on my portal. Any suggestions?

When I try to add the module, i get the following SQL error:
Invalid SQL: UPDATE 1adv_modules SET title = 'Latest Articles', identifier = 'latestarticles', filename = 'cmps-articles.php', displayorder = '4', modcol = '2', inctype = '0', templatelist = ''adv_portal_articles, adv_portal_articlesbits'', userperms = '1,2,3,4,5,6,7,8', active = '1' WHERE modid = '14'
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'adv_portal_articles, adv_portal_articlesbits'', userperms = '1,

mysql error number: 1064

Date: Sunday 13th of March 2005 02:01:09 AM
Script: http://www.slackerssoapbox.com/forum...cmps_admin.php
Referer: http://www.slackerssoapbox.com/forum...odule&modid=14

Last edited by lwhite : 13 Mar 2005 at 17:43.
Reply With Quote
  #15  
Old 13 Mar 2005, 09:50
ccplim ccplim is offline
 
Join Date: Feb 2005
Nice one. Installed on my test machine and it works perfectly.

Btw, is it possible to display the beginning portion of the article (say, the first 1000 words)? I noticed mine only display the article title and summary.
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
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 19:09.

Layout Options | Width: Wide Color: