Results 1 to 2 of 2
  1. #1
    New Pligger hakaii's Avatar
    Joined
    Oct 2006
    Posts
    15

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

    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!

  2. #2
    New Pligger hakaii's Avatar
    Joined
    Oct 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

Similar Threads

  1. How to limit search [tags&links] to loggedin user by default
    By cezz in forum Questions & Comments
    Replies: 0
    Last Post: 10-20-2011, 04:46 AM
  2. Show User Submited stores in User Profile under personl info
    By sirwanme in forum Questions & Comments
    Replies: 10
    Last Post: 08-14-2010, 11:30 AM
  3. limit user
    By webparking in forum Questions & Comments
    Replies: 1
    Last Post: 08-03-2010, 09:35 AM
  4. Link Error in User Profile: View>Published News
    By rubber2002 in forum Questions & Comments
    Replies: 5
    Last Post: 06-09-2008, 06:13 AM
  5. limit of story add per user
    By pligger2 in forum Questions & Comments
    Replies: 0
    Last Post: 01-17-2007, 12:37 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
  •  
Pligg Modules and Pligg Templates from Pligg Pro Donate to Pligg CMS Dreamhost Web Hosting Host Gator Web Hosting