View Full Version : PP 562 - custompal no line break
December 4th, 2007, 11:56 AM
When a user posts a comment with some longer words, the custom pal box "RECENT COMMENTS" on the index page does not do the proper line break although it is done correctly in the comment itself.
How can I fix this?
Thanks in advance
December 4th, 2007, 01:05 PM
please post example urls here so we may respond once we see the issue.
December 5th, 2007, 04:07 PM
see attached screenshots. I think the problem is, that in the pal for recent comments, the urls do not get cutted. So a long URL will basically break the layout of the index page.
is there a way to tell PP, that it is breaking URLs only within the recent comments pal into 2 lines? Or ignores URLs in this Pal in general?
Obviously the URL have to be fully functional in teh comment itself outside of the pal...
December 5th, 2007, 04:09 PM
uuups, forgot the screenshots...
December 5th, 2007, 05:05 PM
yeah you cant line break something unless there is a space and in since you have one long url there is nothing to break. Nothing much we can do about that.
You can edit index.php and possibly do a strip_tags like so
// Clean up html conversions
$comcomment = un_htmlspecialchars($comcomment);
$comcomment = strip_tags($comcomment);
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.