Automatic Featured Hot Topic

Register an Account
Reply
 
Thread Tools Display Modes
  #11 (permalink)  
Old 03-11-2010, 05:25 PM
picturetom's Avatar
Donor
Pligg Version: 10.3
Pligg Template: wistie
 
Join Date: Sep 2007
Location: Cologne, Germany
Posts: 21
Send a message via Skype™ to picturetom
We use this Module on photonews.picturetom.com. Our Problem: From time to time we have very long descriptions for the links, because of Press Releases for example.

When you have a long Press Release it looks like this Screenshot:

How to limit the text in description field for Automatic Featured Hot Topic?

Best regards, Thomas
Reply With Quote
  #12 (permalink)  
Old 03-11-2010, 08:13 PM
chuckroast's Avatar
Pligg Developer/Coder/Designer
Pligg Version: SVN
Pligg Template: Social Pro Kit
 
Join Date: Jun 2006
Posts: 5,448
HI Tom
I was unable to view the screen shot in your post above.. If you give me a limit of where you want to cut off the text I would be happy to provide you with an edit to the module.

Example 250 characters?
Reply With Quote
  #13 (permalink)  
Old 03-12-2010, 03:48 AM
picturetom's Avatar
Donor
Pligg Version: 10.3
Pligg Template: wistie
 
Join Date: Sep 2007
Location: Cologne, Germany
Posts: 21
Send a message via Skype™ to picturetom
250 Characters would be fine.

Thanks to you
Tom
Reply With Quote
  #14 (permalink)  
Old 03-12-2010, 09:21 AM
chuckroast's Avatar
Pligg Developer/Coder/Designer
Pligg Version: SVN
Pligg Template: Social Pro Kit
 
Join Date: Jun 2006
Posts: 5,448
Hi Tom
Open modules/featured_weekly/templates/featured_weekly.tpl

Line 57 where is says
Code:
white solid;"/></span>{$story_content}</div>
Change to

Code:
white solid;"/></span>{$story_content|substr:0:250}</div>
Best Regards
Reply With Quote
  #15 (permalink)  
Old 03-12-2010, 03:33 PM
picturetom's Avatar
Donor
Pligg Version: 10.3
Pligg Template: wistie
 
Join Date: Sep 2007
Location: Cologne, Germany
Posts: 21
Send a message via Skype™ to picturetom
Quote:
Originally Posted by chuckroast View Post
Hi Tom
Open modules/featured_weekly/templates/featured_weekly.tpl

Line 57 where is says
Code:
white solid;"/></span>{$story_content}</div>
Change to

Code:
white solid;"/></span>{$story_content|substr:0:250}</div>
Best Regards
Thanks a lot!
Best from Cologne, Tom
Reply With Quote
  #16 (permalink)  
Old 03-21-2010, 09:58 AM
picturetom's Avatar
Donor
Pligg Version: 10.3
Pligg Template: wistie
 
Join Date: Sep 2007
Location: Cologne, Germany
Posts: 21
Send a message via Skype™ to picturetom
Hi,

we have a problem at photonews.picturetom.com. We installed Featured Weekly and enabled ist. It works for some months, but now it is no longer shown at photonews.
We don not know why?

We have some other problems with rss und published stories (as posted in another thread), because the new stories are shown in the actual rss feed.

Is there any correlation?

Tom
Reply With Quote
  #17 (permalink)  
Old 03-21-2010, 08:53 PM
chuckroast's Avatar
Pligg Developer/Coder/Designer
Pligg Version: SVN
Pligg Template: Social Pro Kit
 
Join Date: Jun 2006
Posts: 5,448
Hi Tom
When I visited your site and see the module working fine.

I was able to see that you have PHP Session ID turned on. This could be messing up your site. I also see that you are using Feedburner instead of the regular rss.php that comes with Pligg.

The problems you are having do not look like they are being caused by Pligg but by the server configuration.
Reply With Quote
  #18 (permalink)  
Old 03-22-2010, 04:54 AM
picturetom's Avatar
Donor
Pligg Version: 10.3
Pligg Template: wistie
 
Join Date: Sep 2007
Location: Cologne, Germany
Posts: 21
Send a message via Skype™ to picturetom
Hi Chuckroast,
Yes, it works since we post a fresh message. After that this new message was featured by the module.
We use Feeburner with the small code-snippet you gave us and it works fine since the 14th March. After this time, we do not have any new News in our Newsfeed and we do not know why. We will check the server Configuration.

Best Thomas
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Featured News Module Yankidank Free Modules 96 10-14-2011 04:39 AM
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
how to pass variable from releated story to featured story? jackyu Questions and Comments 1 03-01-2008 07:20 AM
Featured article mod doesn't display time posted correctly AshMCairo Questions and Comments 0 10-05-2007 09:13 AM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development