Hi I try to add intro text to latest threads I modify portal.php for include full tittle but I like to include intro text
Any ideas how to do
Thanks in advance
Intro text? Do you mean a preview of the post or a text block you add on thread creation?
I will make more clear now latest Threads show like that :
LG G5 tipped to come with a 20MP 1/2'' Sony sensor, Snapdragon 820
Category: Mobiles Reviews
Last Post: Android
7 hours ago
» Replies: 0
» Views: 26
And I want
Tittle : LG G5 tipped to come with a 20MP 1/2'' Sony sensor, Snapdragon 820
Content: The LG G4 was universally praised for its camera output and we were big fans of it ourselves. About 5 months after it was made official, we're beginning to hear its successor mentioned every now and then.
Category: Mobiles Reviews
Last Post: Android
7 hours ago
» Replies: 0
» Views: 26
Like you can see I want to show intro text from the thread
Thanks In advance
Ok That I think but following the instructions no work in my template that is my code:
<tr>
<td class="{$altbg}" title="{$thread['postpreview']}">
<strong><a href="{$mybb->settings['bburl']}/{$thread['threadlink']}">{$thread['subject']}</a></strong>
<span class="smalltext" title="{$thread['lastpostpreview']}">
<br />
{$lang->forum} <a href="{$thread['forumlink']}">{$thread['forumname']}</a><br />
<a href="{$thread['lastpostlink']}">{$lang->latest_threads_lastpost}</a> {$lastposterlink}<br />
{$lastpostdate}<br />
<strong>» </strong>{$lang->latest_threads_replies} {$thread['replies']}<br />
<strong>» </strong>{$lang->latest_threads_views} {$thread['views']}
</span>
</td>
</tr>
(09-24-2015 10:36 PM)leefish Wrote: [ -> ]Did you install the required plugin?It is linked on the page I sent you to.
http://mybbhacks.zingaburga.com/showthread.php?tid=267
The file threadtooltip.php is in my inc/plugins in one template work when you move the mouse on the top of the tittle in the other no anyway no work at all in Portal
Anyway I observe the preview in the forum section is only when the mouse is in top of the user make the Post no in top of the title of the thread. But where I want really print the preview is in the portal section
Still not working and why you change
Quote: <td class="{$altbg}" title="{$thread['postpreview']}">
to
Quote:<td class="{$altbg}"
Regards
(09-25-2015 01:47 AM)leefish Wrote: [ -> ]I see
Try this:
Code:
<tr>
<td class="{$altbg}">
<strong><a href="{$mybb->settings['bburl']}/{$thread['threadlink']}">{$thread['subject']}</a></strong>
<br />
{$lang->forum} <a href="{$thread['forumlink']}">{$thread['forumname']}</a><br />
<a href="{$thread['lastpostlink']}">{$lang->latest_threads_lastpost}</a> {$lastposterlink}<br />
{$lastpostdate}<br />
<span class="smalltext">{$thread['lastpostpreview']}</span><br/>
<strong>» </strong>{$lang->latest_threads_replies} {$thread['replies']}<br />
<strong>» </strong>{$lang->latest_threads_views} {$thread['views']}
</span>
</td>
</tr>
|