PDA


View Full Version : use the Rich Prefix instead of the Plain Prefix for News?


qG ThaLiX
07-16-2008, 01:24 PM
Basiclly:

Currently the news module uses the plain prefix (vB 3.7.2). Is there any way i can change it to rich? As i want to display flags in front of the title, which is possible with rich prefixes, but not with plain where it will just show text.

I hope my question is clear.

Brian
07-16-2008, 02:12 PM
Thank you for pointing this out, as it should show the rich text preview instead of the plain text. If you will look in your forum/modules/news.php file for this line:
$news['prefix'] = htmlspecialchars_uni($vbphrase['prefix_' . $news['prefixid'] . '_title_plain']);

And replace with this:
$news['prefix'] = $vbphrase['prefix_' . $news['prefixid'] . '_title_rich'];

Then that should take care of the issue.

qG ThaLiX
07-16-2008, 04:35 PM
Thanks alot, exactly what i needed, gonna change it in a sec.