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

Is there a way to show whole resouce in thread in quote when you click expand?

Discussion in 'XenForo Questions and Support' started by RAHSTYLES, Aug 19, 2014.

  1. RAHSTYLES

    RAHSTYLES Active Member

    When you post a resource and it auto threads it .. it shows the first half of the resource.. then when you click expand .. it shows some more.. is there an option in the cpanel that will allow it to show the whole resource?
     
  2. Shelley

    Shelley Well-Known Member

    Isn't there an option in xenforo admincp to disable/enable the cut down quote? I'm quite sure there is.
     
    ggace likes this.
  3. RAHSTYLES

    RAHSTYLES Active Member

    Thats what I thought too but im habing trouble finding out where it is..
     
  4. Chris D

    Chris D XenForo Developer Staff Member

    The first post of the resource discussion thread contains a snippet of the resource description and that is hard coded in length to 500 characters:
    PHP:
    $snippet $parser->render(XenForo_Helper_String::wholeWordTrim($messageText500));
     
  5. RAHSTYLES

    RAHSTYLES Active Member

    Which template do you go into to edit that please
     
  6. Brogan

    Brogan XenForo Moderator Staff Member

    It's not a template, its one of the PHP files.
     
  7. RAHSTYLES

    RAHSTYLES Active Member

    Is it modifiable or will it give me errors?
     
  8. Brogan

    Brogan XenForo Moderator Staff Member

    You can modify it but it will be overwritten the next time you upgrade.
     
  9. RAHSTYLES

    RAHSTYLES Active Member

    Would you possibly know which php file?
     
  10. Brogan

    Brogan XenForo Moderator Staff Member

    library\XenResource\DataWriter\Resource.php and library\XenResource\DataWriter\Update.php.
     
  11. RAHSTYLES

    RAHSTYLES Active Member

    Thanks
     

Share This Page