Page 1 of 11 123 ... LastLast
Results 1 to 10 of 108

Thread: Featured News Module

    1. Featured News Module Details »»

      Featured News Module

      Version: , by (Pligg Founder/Coder/Designer) Yankidank is offline
      Developer Last Online: Aug 2013 Show Printable Version Email this Page
      Pligg Version: Unknown Rating:  (1 votes - 5.00 average) Installs: 3
      Released: 09-28-2009 Last Update: Never Downloads: 232
      Not Supported

      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}
      I suggest that you place it on your homepage by placing it in index_center.tpl and wrapping it with the following code so that it only shows up on the homepage and not the second, third, etc. pages.
      Code:
      {if $pagename == 'index' && count($templatelite.get) == 0}{$featured}{/if}
      The Featured module has a nearly identical admin interface to the Featurify module. Admins can log in to the admin area and then navigate to a page where it displays your current featured news items. If you want to remove a news item you can easily edit or delete it, or if you don't have any you can click on the button to "Add Featured News". See the attached screenshots for examples.

      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

      • If you like this download support the author by donating.
      • This download may not be copied, reproduced or published elsewhere without author's permission.
  1. #2
    Pligg Founder/Coder/Designer Yankidank's Avatar
    Joined
    Dec 2005
    Location
    San Francisco, CA
    Posts
    5,538
    Second post reserved for changelog.
    The Facebook Module for Pligg CMS!
    Register, Login, and Submit Stories with Facebook. An absolute MUST HAVE for all Pligg sites!

  2. #3
    Member soleimanian's Avatar
    Joined
    Aug 2009
    Posts
    48
    when i submit a new story, all characters convert to "?" character!
    My language is Persian.

  3. #4
    Casual Pligger blacksnow's Avatar
    Joined
    Mar 2007
    Posts
    30
    My site cannot show the thumb image in the front page, though it is uploaded successfully
    Do you know what is the problem?

    Focus HK - 新聞.影片.資訊.娛樂

  4. #5
    Pligg Founder/Coder/Designer Yankidank's Avatar
    Joined
    Dec 2005
    Location
    San Francisco, CA
    Posts
    5,538
    Going to the image URL I see a forbidden message. Probably a permissions issue. Perhaps CHMODing /modules/featured/phpthumb/phpThumb.php to 777, or you need to CHMOD /modules/featured/phpthumb/cache/ to 777.
    The Facebook Module for Pligg CMS!
    Register, Login, and Submit Stories with Facebook. An absolute MUST HAVE for all Pligg sites!

  5. #6
    New Pligger shilmy's Avatar
    Joined
    Jan 2007
    Posts
    6
    I have downloaded and tested the template.

    I got two problems:
    1. The image of featured news is broken, it didn't show up.
    2. The image on the submitted is shown above the news text, not on the left side like the screenshots.

    Do you know how to fix it? Thanks.

  6. #7
    Pligg Founder/Coder/Designer Yankidank's Avatar
    Joined
    Dec 2005
    Location
    San Francisco, CA
    Posts
    5,538
    1. Make sure that you chmod 0777 the /modules/featured/phpthumb/cache/ directory.
    2. The featured images? If you are talking about upload module images it's up to you to position and style them from the upload module settings page.
    The Facebook Module for Pligg CMS!
    Register, Login, and Submit Stories with Facebook. An absolute MUST HAVE for all Pligg sites!

  7. #8
    Senior Member mwwoj's Avatar
    Joined
    Nov 2008
    Posts
    144
    Nice module

    Who can add featured stories? Only admin?

    Can I just click "mark as featured" on any of users` stories? I mean in Manage>Stories

  8. #9
    Pligg Founder/Coder/Designer Yankidank's Avatar
    Joined
    Dec 2005
    Location
    San Francisco, CA
    Posts
    5,538
    Quote Originally Posted by mwwoj View Post
    Nice module

    Who can add featured stories? Only admin?

    Can I just click "mark as featured" on any of users` stories? I mean in Manage>Stories
    Only admins, see attached screenshots on first post and the rest of the first post content.
    The Facebook Module for Pligg CMS!
    Register, Login, and Submit Stories with Facebook. An absolute MUST HAVE for all Pligg sites!

  9. #10
    Casual Pligger blacksnow's Avatar
    Joined
    Mar 2007
    Posts
    30
    Quote Originally Posted by Yankidank View Post
    Going to the image URL I see a forbidden message. Probably a permissions issue. Perhaps CHMODing /modules/featured/phpthumb/phpThumb.php to 777, or you need to CHMOD /modules/featured/phpthumb/cache/ to 777.
    I set those to 777, but it still don't work.
    But i can see the pictures by clicking "view image" in the admin panel.

    http://focus.hkbloggers.net/index.php

Page 1 of 11 123 ... LastLast

Similar Threads

  1. Headlinr: Featured News Manager
    By PLMCHL in forum Free Modules
    Replies: 16
    Last Post: 11-16-2012, 08:42 PM
  2. Featured Weekly module - Websnapr error
    By Kabobbin in forum Questions & Comments
    Replies: 14
    Last Post: 07-30-2011, 01:26 PM
  3. 301 Error with Featured Module
    By jasonketterer in forum Questions & Comments
    Replies: 5
    Last Post: 12-10-2010, 11:28 PM
  4. Removing adsense from Featured Module?
    By submitlink in forum Questions & Comments
    Replies: 1
    Last Post: 08-16-2008, 08:11 AM
  5. How to Change Headline of FEATURED MODULE
    By weismangroup in forum Questions & Comments
    Replies: 2
    Last Post: 06-13-2008, 07:21 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •