YAFLogo
A maximum of 15 characters and "..." How? prntscr . com/h8qi7t
For that you would need to modify the file ..\controls\ForumActiveDiscussion.ascx.cs
and change line..
var topicSubject = this.Get<IBadWordReplace>().Replace(this.HtmlEncode(currentRow["Topic"]));
to
var topicSubject = this.Get<IBadWordReplace>().Replace(this.HtmlEncode(currentRow["Topic"])).Truncate(15);
A maximum of 15 characters and "..." How? prntscr . com/h8qi7tFor that you would need to modify the file ..\controls\ForumActiveDiscussion.ascx.csand change line..var topicSubject = this.Get<IBadWordReplace>().Replace(this.HtmlEncode(currentRow["Topic"])); tovar topicSubject = this.Get<IBadWordReplace>().Replace(this.HtmlEncode(currentRow["Topic"])).Truncate(15);
Excellent, it works). Thank you so much!
The YAF.NET Support Forum uses cookies. By continuing to browse this site, you are agreeing to our use of cookies. More Details Close