PDA

View Full Version : Additional Column in threadlist?


BerndM
11-23-2009, 01:45 PM
Hello,

I need some help :erm:

I have to display a map and some icons in the threadlist, like here:

http://www.campingforen.de/foren/campingplatzberichte-defahne/

I can program php and changed the script(s) so what I need is in the template-variable "$thread['zusicons']". I know how to give it out on the screen

{vb:raw thread.zusicons}

but I have no idea how to build this in the threadlist, because its no longer table-designed and I have no knowledge in css.

Can someone please help me out of this.

Many thanks in advance,


Bernd

Lynne
11-23-2009, 02:58 PM
Here are the basics of what you need to do. You're gonna have to read up on CSS if you want to get this looking how you want.

Find:
<!-- status icon block -->
<a class="threadstatus" rel="vB::AJAX" title="
<vb:if condition="$show['threadcount']">
{vb:rawphrase have_x_posts_in_thread_last_y, {vb:raw thread.dot_count}, {vb:raw thread.dot_lastpost}}
</vb:if>
"></a>
Add after:
<div class="zusicons">
{vb:raw thread.zusicons}
</div>

You'll have to at least add the css for .zusicons to float:left or you'll get a mess. You can just add that at the end of threadlist.css or install the mod I wrote and add it into additional_css.css

BerndM
11-24-2009, 05:02 AM
Hi Lynne,

thank you very much. I just tried a little and now it looks like I want it to.

Big virtual hugs ;)

Bernd