MyBB Hacks

Full Version: Thread Tooltip Preview
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Does this work in 1.6.4?
I would think so.  I haven't tried so no guarantees (though I never guarantee anything anyway).
Thank you - I will try it and let you know how it works!
Hey- it seems to work fine!
It works fine in 1.6.4

Biggrin
The plugin doesn't work in my custom theme.

The plugin looks for <td class="{$bgcolor}">, <td class="{$bgcolor}{$thread_type_class}">, <td class="{$bgcolor}" style="white-space: nowrap; text-align: right;"> and <td class="{$bgcolor}{$thread_type_class}" style="white-space: nowrap; text-align: right;"> in the forumdisplay_thread template.

For what I understand, I need to edit the plugin itself to make it work if I already modified these td's right?

Edit: It looks like it works just manually adding title="{$thread['postpreview']}" and title="{$thread['lastpostpreview']}" to the templates, is there any problem with doing this?
(09-30-2011 09:59 PM)Sama34 Wrote: [ -> ]is there any problem with doing this?

No.
Thanks ZiNgA BuRgA.
This is my default forumdisplay_thread template

and this plugin don't work
can someone fix please?

Code:
<tr>
	<td align="center" class="{$bgcolor}{$thread_type_class}" width="2%"><img src="{$theme['imgdir']}/{$folder}.gif" alt="{$folder_label}" title="{$folder_label}" /></td>
	<td align="center" class="{$bgcolor}{$thread_type_class}" width="2%">{$icon}</td>
	<td class="{$bgcolor}{$thread_type_class}">
		{$attachment_count}
		<div>
			<span>{$prefix} {$gotounread}{$thread['threadprefix']}<a href="{$thread['threadlink']}" class="{$inline_edit_class} {$new_class}" id="tid_{$inline_edit_tid}">{$thread['subject']}</a>{$thread['multipage']}</span>
			<div class="author smalltext">{$thread['profilelink']}</div>
		</div>
	</td>
	<td align="center" class="{$bgcolor}{$thread_type_class}"><a href="javascript:MyBB.whoPosted({$thread['tid']});">{$thread['replies']}</a>{$unapproved_posts}</td>
	<td align="center" class="{$bgcolor}{$thread_type_class}">{$thread['views']}</td>
	{$rating}
	<td class="{$bgcolor}{$thread_type_class}" style="white-space: nowrap; text-align: right;">
		<span class="lastpost smalltext">{$lastpostdate} {$lastposttime}<br />
		<a href="{$thread['lastpostlink']}">{$lang->lastpost}</a>: {$lastposterlink}</span>
	</td>
{$modbit}
</tr>

Did you run the Rebuild Thread Tooltips?
(10-08-2011 06:19 AM)RateU Wrote: [ -> ]Did you run the Rebuild Thread Tooltips?

yes i did
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Reference URL's