

![]() |
| | Thread Tools |
Featured News Module | |||||||||||
|
Developed by Yankidank Developer Last Online: Feb 2012
While working on a new template for Pligg I was trying to come up with the best way to manage articles that would appear on top of the homepage to feature select stories. I originally was thinking that I could use the "Groups" feature for Pligg, or even create a "Featured" category. Then I thought that those methods would not allow me to appropriately label my news and were not the best way to handle the featured news articles that I wanted on the homepage. That's when I turned to CMStheme's Featurify module, which allows admins to manually set up images that link to news article and rotate those images somewhere in your template. A few hours later I had created a "Featured" module for Pligg. How it works The first thing you will need to do is upload and install the module. Then add a snippet of code to the template file where you want the featured news to appear. You can do this by adding the following line to a .tpl file: Code: {$featured} Code: {if $pagename == 'index' && count($templatelite.get) == 0}{$featured}{/if} The module is set to only grab the latest 4 news items from your Featured News list. The most recent item will be used to display the first news article with a larger image, while the second, third and fourth most recent article appear with a smaller thumbnail. The template file used for this module ( /modules/featured/templates/featured.tpl ) has been designed to work with the new Arthemia Pligg template. If you are using another template you will want to customize this file to make it look better in your own template. You can also make some small tweaks to the file to change how many stories you want to appear, how many characters the smaller stories get in their descriptions before being cut off and other cosmetic changes. Lastly, make sure that you CHMOD 0777 the /modules/featured/phpthumb/cache/ directory to ensure that thumbnails are able to be added to that folder. Credits CMStheme for his Featurify module. phpthumb for generating and caching image thumbnails Download Now
Screenshots Show Your Support
|
Similar Downloads | ||||
| Download | Developer | Category | Replies | Last Post |
| Arthemia Free Pligg Template | Yankidank | Free Templates | 311 | 11:39 PM 02-09-2012 |
| Headlinr: Featured News Manager | PLMCHL | Free Modules | 12 | 01:47 PM 07-10-2011 |
| Comments |
| ||||
|
Thanks, now just to figure out the css problem. |
| ||||
|
Oh, and I just realized I dont have the headline.png either
|
| ||||
| Here you go: Code: http://916sac.com/twitpics/headline.png |
| |||
|
I installed the featured module today and added two stories. Unfortunately the date and time stamp provided are incorrect. A May 13, 2009 date is showing for a story submitted 01/01/2010. Is there a setting for the date that is incorrect on my part or is this a featured module problem? |
| |||
|
This module had a few bugs e.g. you featured a post but then decided that you want to feature something else. You would naturally try by changing the featured post status from Enabled to disabled in featured administration. Try doing that or try Deleting that featured post. Now go to the main page and you will not see the featured image. You will only see a Black section in place of the image with text on top "phpThumb().... ". This is a bug. What needs to happen is that when you disable or delete a featured post, the one before it should become the featured post. I fixed this bug. Here is a 1 line fix. 1. Open featured/featured_main.php file. 2. Search for the following code around line 249 Code: $sql = "SELECT * FROM " . table_prefix . "featured ORDER BY featured_id ASC"; Code: $sql = "SELECT * FROM " . table_prefix . "featured WHERE featured_enabled='Yes' ORDER BY featured_id ASC"; Azam | SquidUp.org Now Available: Status Wall from Pligg Pro Quit Smoking Cigarettes. Live Healthy! Switch to Vapor. Learn about Electronic Cigarettes Electronic Cigarettes Last edited by linkcitypro; 01-02-2010 at 01:21 AM. |
| |||
|
I also had the same problem, the image in the headline doesn't work at all ... I've already set CHMOD to 777 but it showed error opening ... "featured/featured.php?=1": 401 authorization required Anyone can help? Thanks |
| |||
|
MySql 4.1.22 php 5 Pligg 1.0.3b Arthemia Featured applied CHMOD yankidank (../phpthumb/cache) applied changes of linkcitypro if i apply CHMOD in phpThumb.php, image not shown This is image shown Last edited by seomaker; 01-15-2010 at 11:55 PM. |
| |||
| Everything was working fine but now i'm also seeing the same error image. Any help?
Azam | SquidUp.org Now Available: Status Wall from Pligg Pro Quit Smoking Cigarettes. Live Healthy! Switch to Vapor. Learn about Electronic Cigarettes Electronic Cigarettes |
| |||
|
Nevermind, this was fixed by reapplying the chmod to all folders in the Cache
Azam | SquidUp.org Now Available: Status Wall from Pligg Pro Quit Smoking Cigarettes. Live Healthy! Switch to Vapor. Learn about Electronic Cigarettes Electronic Cigarettes |
![]() |
| Tags |
| featured, featurify, module, mod_security rule, news, whitelist |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Fixes to Profile Extra Fields Module v0.2 and Extended Profile Module v0.1 | redwine | Questions and Comments | 11 | 12-20-2010 04:18 PM |
| Module that allows users to put their adsense ads on their news. | Ganha | Questions and Comments | 4 | 06-09-2009 08:07 PM |
| Removing adsense from Featured Module? | submitlink | Questions and Comments | 1 | 08-16-2008 12:11 PM |
| How to Change Headline of FEATURED MODULE | weismangroup | Questions and Comments | 2 | 06-13-2008 11:21 PM |
| No upcoming news module on pages other than published news? | AshMCairo | Questions and Comments | 2 | 08-07-2007 10:25 AM |