1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to increase character limit for latest thread in forums

Discussion in 'Styling and Customization Questions' started by davespanzer, Dec 20, 2012.

  1. davespanzer

    davespanzer Active Member

    I tried to search for the answer, but everything kept coming up with people trying to make thread titles longer.

    I would just like to increase character limit for latest thread in the forums.

    Thanks


    Example: Untitled-1.png
     
  2. Chris D

    Chris D XenForo Developer Staff Member

    In the node_forum_level_2

    Search for this line, and change the number in red to the desired number of characters:

    Code:
    {xen:phrase latest}: <a href="{xen:link posts, $forum.lastPost}" title="{$forum.lastPost.title}">{xen:helper wordTrim, $forum.lastPost.title, 30}</a>
     
    Jake Bunce and davespanzer like this.
  3. davespanzer

    davespanzer Active Member

    Thank you Chris, much appreciated!
     
  4. davespanzer

    davespanzer Active Member

    Got a problem, changing that number doesn't affect anything, I tried 50 and I tried 10 and nothing changed, any ideas. Thanks,
     
  5. Chris D

    Chris D XenForo Developer Staff Member

    Works for me...

    This is it set at 5:
    [​IMG]

    You may also need to do the same in this template: node_category_level_2
     
    Jake Bunce and davespanzer like this.
  6. davespanzer

    davespanzer Active Member

    I have no idea why this is not working for me. I've got a theme from baisik, and Add User Avatar to Last Post by Waindigo.

    I tried the category also, and no change.
     
  7. Chris D

    Chris D XenForo Developer Staff Member

    Probably this.

    It may replace that part of the template with another, therefore your changes not taking effect.

    Let me just check that out...

    EDIT: Yep. Make the same change in this template: waindigo_node_category_avatar_last_post_avatar

    and

    waindigo_node_forum_avatar_last_post_avatar
     
    Jake Bunce and davespanzer like this.
  8. davespanzer

    davespanzer Active Member


    That sorted it, thanks that's great! Cheers
     

Share This Page