The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Smilies not showing in New Forum Posts block
This is possibly a quick fix if the right person is reading! I have added the New Forum Posts block on to my forums & the new posts are showing. However instead of showing any smilies in the posts, it is showing the smiley name.
eg instead of showing it shows : D The smilies show fine in the actual post! Thanks in advance. |
#2
|
|||
|
|||
It's that way intentionally. The New Forum Posts block calls a function get_summary(), which is in includes/class_block.php. That does a bunch of processing to get a text-only version of the message to display. I think it's done because there's no room for the entire message, and if you try to shorten the non-text only version you have an issue with making sure all bbcode or html tags get closed.
Anyway, I'm not sure what you'd do to get smilies. I suppose you might be able to figure out a function to add them back in, but I don't think there's any option for it. |
#3
|
||||
|
||||
Cheers for the response pal.
I don't think it is a setting, I have been through it with a fine tooth comb! If anyone knows of a fix, it would be greatly appreciated!! |
#4
|
||||
|
||||
For Smilies in Forum Blocks:
Edit ./includes/class_block.php Search for : Code:
return htmlspecialchars_uni(fetch_censored_text( trim(fetch_trimmed_title(strip_bbcode($page_text, $strip_quotes, false, false, true), $length)))); Code:
require_once(DIR . '/includes/class_bbcode.php'); $parser = new vB_BbCodeParser($this->registry, fetch_tag_list()); $parsed_text = $parser->do_parse(fetch_censored_text(trim(fetch_trimmed_title(strip_bbcode($page_text, $strip_quotes, false, false, true), $length))), false, true, false); return $parsed_text; If anyone could provide a solution to get it to work on 4.2.1 that would be awesome. EDIT: Actually this does work on 4.2.1 -- I was mistaken. |
#5
|
||||
|
||||
Quote:
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|