Latest Threads
aral Offline
Junior Member
**
Posts: 8
Joined: Sep 2015
Post: #1
Latest Threads
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
09-24-2015 01:10 AM
Find all posts by this user Quote this message in a reply
leefish Offline
Hamster
*****
Posts: 1,009
Joined: Apr 2010
Post: #2
RE: Latest Threads
Intro text? Do you mean a preview of the post or a text block you add on thread creation?


[Image: leelink.gif]
MYBB1.6 & XThreads
09-24-2015 01:21 AM
Visit this user's website Find all posts by this user Quote this message in a reply
ollie2015 Offline
Member
***
Posts: 90
Joined: Jan 2015
Post: #3
RE: Latest Threads
thread description
09-24-2015 05:50 AM
Find all posts by this user Quote this message in a reply
aral Offline
Junior Member
**
Posts: 8
Joined: Sep 2015
Post: #4
RE: Latest Threads
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
09-24-2015 09:57 AM
Find all posts by this user Quote this message in a reply
leefish Offline
Hamster
*****
Posts: 1,009
Joined: Apr 2010
Post: #5
RE: Latest Threads
I think you are looking for this:  http://mybbhacks.zingaburga.com/showthread.php?tid=565


[Image: leelink.gif]
MYBB1.6 & XThreads
09-24-2015 06:28 PM
Visit this user's website Find all posts by this user Quote this message in a reply
aral Offline
Junior Member
**
Posts: 8
Joined: Sep 2015
Post: #6
RE: Latest Threads
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>&raquo; </strong>{$lang->latest_threads_replies} {$thread['replies']}<br />
<strong>&raquo; </strong>{$lang->latest_threads_views} {$thread['views']}
</span>
</td>
</tr>
09-24-2015 09:47 PM
Find all posts by this user Quote this message in a reply
leefish Offline
Hamster
*****
Posts: 1,009
Joined: Apr 2010
Post: #7
RE: Latest Threads
Did you install the required plugin?It is linked on the page I sent you to.

http://mybbhacks.zingaburga.com/showthread.php?tid=267


[Image: leelink.gif]
MYBB1.6 & XThreads
(This post was last modified: 09-24-2015 10:36 PM by leefish.)
09-24-2015 10:36 PM
Visit this user's website Find all posts by this user Quote this message in a reply
aral Offline
Junior Member
**
Posts: 8
Joined: Sep 2015
Post: #8
RE: Latest Threads
(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
(This post was last modified: 09-25-2015 01:07 AM by aral.)
09-25-2015 12:51 AM
Find all posts by this user Quote this message in a reply
leefish Offline
Hamster
*****
Posts: 1,009
Joined: Apr 2010
Post: #9
RE: Latest Threads
I see Smile

Try this:

Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<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>&raquo; </strong>{$lang->latest_threads_replies} {$thread['replies']}<br />
<strong>&raquo; </strong>{$lang->latest_threads_views} {$thread['views']}
</span>
</td>
</tr>



[Image: leelink.gif]
MYBB1.6 & XThreads
09-25-2015 01:47 AM
Visit this user's website Find all posts by this user Quote this message in a reply
aral Offline
Junior Member
**
Posts: 8
Joined: Sep 2015
Post: #10
RE: Latest Threads
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 Smile

Try this:

Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<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>&raquo; </strong>{$lang->latest_threads_replies} {$thread['replies']}<br />
<strong>&raquo; </strong>{$lang->latest_threads_views} {$thread['views']}
</span>
</td>
</tr>

09-26-2015 05:24 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: