Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
First topics excerpt
![Eiliene](https://secure.gravatar.com/avatar/ac7afd0eb3a8d1df28f65eb74002da8b/?default=https%3A%2F%2Fvanillicon.com%2Fdd6174faaa879889a3b8843f52e4ac48_100.png&rating=g&size=100)
Best Answer
-
peregrine MVP
I don't know if this is what you want. but if you download the
http://vanillaforums.org/addon/discussionexcerpt2-plugin
and replace the lines around line 43 from
public function DiscussionsController_AfterDiscussionTitle_Handler(&$Sender) { to public function DiscussionsController_AfterDiscussionTitle_Handler($Sender) { static $discussionNumber=0; $discussionNumber++; if ($discussionNumber > 3) return;
in the default.php - it will present excepts only for the first 3 topics.
BTW. you never responded if you solved the welcome! translation.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
0
Answers
You will have to limit to 3.
http://vanillaforums.org/addon/timely-theme
That works, but cant find how to limit only the 1- 3 first one to have excerpts
I don't know if this is what you want. but if you download the
http://vanillaforums.org/addon/discussionexcerpt2-plugin
and replace the lines around line 43 from
in the default.php - it will present excepts only for the first 3 topics.
BTW. you never responded if you solved the welcome! translation.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
That worket in timely hooks
. I jus insert
static $discussionNumber=0; $discussionNumber++; if ($discussionNumber > 3) return;
after$Discussion = GetValue('Discussion', $Sender->EventArguments);
.Next thing is to figure out how to remove links (youtube etc) from exerpts, or display message like "includes video" or something like that.
No, didn´t managet to translate that Welcome message, but its not big deal, it shows only in activities
.