vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   category strips sizing issue (https://vborg.vbsupport.ru/showthread.php?t=225610)

DeanLag 10-20-2009 04:12 PM

Its in Templates > Forumhome templates > forumhome_forumbit_level1_nopost

aengus 10-20-2009 04:18 PM

hmmm I have this in forumhome_forumbit_level1_nopost

Code:

<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a>
                        <if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
                        <if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>


DeanLag 10-20-2009 04:27 PM

Are you sureeeeee you're looking at the style? =p
I can't seen to find anything in your CSS and viewing the source with <h4> tags, I had the same coding when I repeated it on my board.
Please tell me you looked at the wrong style, cause else I'll cry :(

aengus 10-20-2009 04:34 PM

Heres where I found it, and my style is testing2

http://img18.imageshack.us/img18/8673/forumhome.jpg

I then doubleclicked that and found

Code:

                        <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a>
                        <if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
                        <if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
                </td>

Did I do it right?

DeanLag 10-20-2009 04:42 PM

aha. What about forumhome_forumbit_level1_post

There's a similar code in there. Look for $forum[title] and see if theres any <h4> tags.
Even better, go into search templates and search for <h4>

aengus 10-20-2009 04:47 PM

searching for <h4> with testing 2 as the style returns nothing :(

Lynne 10-20-2009 05:08 PM

To find the template to modify, do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. Sometimes the template is the one mentioned at the very top of the page source.

aengus 10-20-2009 05:22 PM

Thanks :)

OK so I did that, and it points back to where dean was thinking, at least I think. Heres a sample of what I think is relevant from the source

Code:

<!-- BEGIN TEMPLATE: forumhome_forumbit_level1_nopost -->

<tbody>

        <tr>
                <td class="tcat" colspan="6"><h4>

                       
                        <a style="float:right" href="#top" onclick="return toggle_collapse('forumbit_16')"><img id="collapseimg_forumbit_16" src="http://www.swfansite.com/images/skins/default/buttons//collapse_tcat.gif" alt="" border="0" /></a>
                       
                        <a href="forumdisplay.php?f=16">Off Topic</a>
                       
                       
                </h4></td>

Now the thing is, I cant find any H4 tags in that template :confused:

Lynne 10-20-2009 05:27 PM

Quote:

Originally Posted by aengus (Post 1902713)
Now the thing is, I cant find any H4 tags in that template :confused:

Ummm...
Code:

<!-- BEGIN TEMPLATE: forumhome_forumbit_level1_nopost -->

<tbody>

    <tr>
        <td class="tcat" colspan="6"><h4>

           
            <a style="float:right" href="#top" onclick="return toggle_collapse('forumbit_16')"><img id="collapseimg_forumbit_16" src="http://www.swfansite.com/images/skins/default/buttons//collapse_tcat.gif" alt="" border="0" /></a>
           
            <a href="forumdisplay.php?f=16">Off Topic</a>
           
           
        </h4></td>


aengus 10-20-2009 05:30 PM

Yes in the source I see it, but in the template I do not

ETA: the contents of the template (forumhome_forumbit_level1_nopost)

Code:

<if condition="!$show['collapsable_forums']">
<tbody>
</if>
        <tr>
                <td class="tcat" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>">
                        <if condition="$childforumbits">
                        <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a>
                        </if>
                        <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a>
                        <if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
                        <if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
                </td>
        </tr>
<if condition="!$show['collapsable_forums']">
</tbody>
</if>
<if condition="$childforumbits">
<if condition="!$show['collapsable_forums']">
<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
</if>
$childforumbits
<if condition="!$show['collapsable_forums']">
</tbody>
</if>
</if>



All times are GMT. The time now is 01:45 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.01026 seconds
  • Memory Usage 1,750KB
  • 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
  • (5)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete