vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   Additional Column in threadlist? (https://vborg.vbsupport.ru/showthread.php?t=228679)

BerndM 11-23-2009 01:45 PM

Additional Column in threadlist?
 
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/cam...ichte-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:
HTML Code:

            <!--  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:
HTML Code:

            <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


All times are GMT. The time now is 08:39 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01110 seconds
  • Memory Usage 1,717KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete