Recent topics/answers in sidebar?
#21 21-07-2012
Deb, I don't have that plugin. I used my own edit as the sb_plus plugin had a load of stuff I don't need. I don't even use it on leefish.

WHERE are you getting this flp thing from?

You need to see how things link together.

Look at it like this:

In the php file you make a query. That query has a name. Then the contents of the query are assigned variables with the query names as part of the variable. Then you refer to those variables in the template.

You are trying to get the avatar.

What is the name of the query in your php file?
What is the name of the field you are getting from the database tables?
Is that field identified as a variable in your php file?

Format is so {$nameofquery['nameoffield']}==what you want it to be;

If you have the variable true then you can add to the template. Check out ZingaBurga's excellent plugin tutorial on MYBB hacks:

http://mybbhacks.zingaburga.com/showthread.php?tid=74
The site don't jive? PRESS F5 Flower

0
#22 29-07-2012
new file

for latest threads threads template:

[html]
<tr>
<td class="trow1" colspan="2">
<span><strong><a href="{$mybb->settings['bburl']}/{$thread['threadlink']}">{$thread['subject']}</a></strong></span>
</td></tr>
<tr><td class="trow2" align="right" width="25%"><img src="{$thread['lpavatar']}" alt="avatar" style="margin-left:2px;border-radius: 22px;" class="miniav" width="45px" height="45px"/></td><td class="trow2" align="left" width="75%">
<ul class="smalltext" style="list-style:none; padding-left: 5px;">
<li><a href="{$thread['lastpostlink']}">{$lang->latest_threads_lastpost}</a>{$lastposterlink}</li>
<li>{$lastpostdate} {$lastposttime}</li>
</ul>
</td>
</tr>
[/html]

Attached File(s)
.rar  sideboxes.rar (Size: 10.65 KB / Downloads: 5)
The site don't jive? PRESS F5 Flower

0
#23 30-07-2012
Thank you very very very very much Lee! Big Grin
noiredeb, proud to be a member of LeeFish since May 2012.

0