View Full Version : use the Rich Prefix instead of the Plain Prefix for News?
07-16-2008, 12:24 PM
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.
07-16-2008, 01: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.
07-16-2008, 03:35 PM
Thanks alot, exactly what i needed, gonna change it in a sec.
12-07-2008, 09:30 PM
I'm having a small issue with this functionality... When it tries to display the rich images, it tries to get them from www.domain.com/forums/images/prefixes instead of from sub.domain.com/images/prefixes which is where all my images are located (and works elsewhere on site).
Any idea how to resolve that?
12-08-2008, 10:38 AM
Make sure your images are pointing to the full URL (http://yoursite.com/images/whatever) instead of a relative path (images/whatever).
12-09-2008, 12:45 AM
Thank you VERY much, Brian. That's the issue and I'll just have to edit all the icons paths.
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.