Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt November 11, 2024
Michael R Posted December 5, 2010 Posted December 5, 2010 There needs to be a way to limit the character length of status updates. I have members posting whole threads there.
jbcalg-cgx Posted January 18, 2011 Posted January 18, 2011 ditto char length size/limits code mod would be wunnerful ;)
jbcalg-cgx Posted January 18, 2011 Posted January 18, 2011 edit/add-on - sorry - i did find some help in search i hadn't seen before http://community.invisionpower.com/topic/318240-limiting-lenght-of-status-updates/page__p__2003692__hl__limit+status+updates__fromsearch__1#entry2003692 this works well in status update block, but not from profile page http://community.invisionpower.com/topic/323991-status-updates-max-size-and-how-to-alter/page__p__2037841__hl__limit+status+updates__fromsearch__1#entry2037841 this one i'll try on profile page
Adriano Faria Posted January 18, 2011 Posted January 18, 2011 Open admin\sources\classes\member\status.php and find in _parseContent method: return $content; Change to: return IPSText::truncate( $content, 30 ); Change 30 to a number you prefer...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.