How to limit length of publ. news in user profile?

Register an Account
Pligg Chat Room
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-07-2006, 03:59 PM
New Pligger
 
Join Date: Nov 2006
Posts: 15
In User Profile, when clicking "published news", right now it displays the entire story. How can I limit the length of the text displayed or apply the length that I've set in "Content Truncate"?

Thanks!
Reply With Quote
  #2 (permalink)  
Old 12-14-2006, 04:48 PM
New Pligger
 
Join Date: Nov 2006
Posts: 15
Ok, it took me a while to figure this out. In case someone else needs this:

change line 285 in link.php from

function print_summary($type='full') {

to
function print_summary($type='summary') {

That limits the length of text to the number of characters set in config2
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Admin Panel for 1.0 and above mismeflight Wiki Articles 0 03-04-2009 10:04 AM
Link Error in User Profile: View>Published News rubber2002 Questions and Comments 5 06-09-2008 09:13 AM
User Profile & Community jacksparrow Questions and Comments 3 03-16-2008 11:56 PM
After successful registration user cannot directed toward profile page aryan3 Questions and Comments 0 11-14-2007 12:58 PM
How can I add new fields to user profile gragland Questions and Comments 0 07-18-2006 12:03 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