I looked at parsing BBcode and smilies and it got to be too much trouble. Seems most people are OK with just the text.IPB_Refugee wrote: would it be possible to get BBCode and smilies parsed in topic preview like the MOD for phpBB-2 does? This link might be helpful to add the mentioned function:
http://www.ktuk.net/phpBB3/viewtopic.php?f=32&t=2680
Thank you. I'll release a patch with this stuff shortly.wOxxOm wrote:Great MOD!
- yeah, two posts (first + last) showing on a preview would be great! either in one floating DIV or separately for the 1st and last columns in the topic table.
- btw, the new 0.7 mousemove event contains an IE-specific substantial flaw
which made the poor ms-thingy load my 2x-cpu at 100% - js mousemove event is bound to document object which is a tremendous redundancy.
topic_preview.html should have this fixed:
showpreview: function() {
if (document.addEventListener) this.topiclink.addEventListener('mousemove', this.followmouse.bindObj(this), false);
else if (document.attachEvent) this.topiclink.attachEvent('onmousemove', this.followmouse.bindObj(this));- installation xml instruction contain an easy typo, which may however cause some naive soul a trouble (jokin'))) - it should read as 'ADD AFTER' instead of 'Add before'
'U_MCP_QUEUE' => $u_mcp_queue,
);
Yes. Your edits in viewforum.php will be a little different however. If you do not know enough about PHP to figure it out I suggest you just upgrade to 3.0.1.sam_xp wrote:is this mod compatible with 3.0.0 ?
Refresh the theme on your board and then force a refresh in your browser. For some reason IE may take several refreshes to work. Clearing your browser cache would also work.darkimus wrote:i installed this mod on my board and everything seemed to go okay, however when i mouseover a topic title the text appears, but it isn't in a little box. it's all spread out in a big block. not sure what i could have done wrong. any ideas?
I'll add it to the roadmap.danielnguyen wrote:Can you intergrate this mod with NV Recent Topis 1.0.0d? So when I hover mose on a topic title on index. This mod will display!
Code: Select all
'U_MCP_QUEUE' => $u_mcp_queue,
);
Code: Select all
// mod: Topic Preview
if ($topic_preview->enabled) {
$template->assign_block_vars('topicpreview', array(
'TOPIC_ID' => $result_topic_id,
'PREVIEW_TEXT' => $topic_preview_posts[$result_topic_id],
'ALT_TEXT' => $user->lang[$folder_alt])
);
}
// end: Topic Preview