Thread: Forum Home Enhancements - [AJAX] Tabbed Forum Home
View Single Post
  #306  
Old 05-30-2008, 08:28 AM
Mookie Mookie is offline
 
Join Date: Jul 2005
Location: Sand Box of Sauda Arabia!
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bob this is a awesome Mod. Currently have it running on a child template on my gaming site (ie not finished yet). Everything works great.

Except one small thing : All my subforums show up fine but when i have a section that does not have a sub forum just Threads inside it nothing shows up under it. Check out the last section (AoC Public Forums) it links to the correct area of the forums but does not display the threads. Any ways to fix this issue or add threads to this mod?

I looked through everything post and found a few with the same problem but did not find any fixes. Here is my ForumHome template also.

PHP Code:
<!-- Tabbed AOC START Tab 3 Content Layout -->
<
div id="tcontent3" class="tabcontent">

<
table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center">
<
thead>
    <
tr align="center">
      <
td class="thead">&nbsp;</td>
      <
td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
      <
td class="thead" width="175">$vbphrase[last_post]</td>
      <
td class="thead">$vbphrase[threads]</td>
      <
td class="thead">$vbphrase[posts]</td>
      <if 
condition="$vboptions['showmoderatorcolumn']">
      <
td class="thead">$vbphrase[moderator]</td>
      </if>
    </
tr>
</
thead>

<!-- 
CUSTOM tbody CODE BASED ON YOUR STYLE -->
<
tbody>
    <
tr>
        <
td class="tcat" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><a style="float:right" href="#top" onclick="return toggle_collapse('forumbit_1126')"><img id="collapseimg_forumbit_1126" src="images/buttons/collapse_tcat.gif" alt="" border="0" /></a><a href="forumdisplay.php?f=126">Age of Conan (Leader Sardus)</a></td>
    </
tr>
</
tbody>

<
tbody id="collapseobj_forumbit_1126" style="">
$forumbits3a
</tbody>
<!-- /
CUSTOM tbody CODE BASED ON YOUR STYLE -->

<!-- 
CUSTOM tbody CODE BASED ON YOUR STYLE -->
<
tbody>
    <
tr>
        <
td class="tcat" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><a style="float:right" href="#top" onclick="return toggle_collapse('forumbit_1160')"><img id="collapseimg_forumbit_1160" src="images/buttons/collapse_tcat.gif" alt="" border="0" /></a><a href="forumdisplay.php?f=160">Application</a></td>
    </
tr>
</
tbody>

<
tbody id="collapseobj_forumbit_1160" style="">
$forumbits3b
</tbody>
<!-- /
CUSTOM tbody CODE BASED ON YOUR STYLE -->

<!-- 
CUSTOM tbody CODE BASED ON YOUR STYLE -->
<
tbody>
    <
tr>
        <
td class="tcat" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><a style="float:right" href="#top" onclick="return toggle_collapse('forumbit_1164')"><img id="collapseimg_forumbit_1164" src="images/buttons/collapse_tcat.gif" alt="" border="0" /></a><a href="forumdisplay.php?f=164">AoC Public Forums</a></td>
    </
tr>
</
tbody>

<
tbody id="collapseobj_forumbit_1164" style="">
$forumbits3c
</tbody>
<!-- /
CUSTOM tbody CODE BASED ON YOUR STYLE -->


<
tbody>
    <
tr>
        <
td class="tfoot" align="center" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><div class="smallfont"><strong><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a><if condition="$vboptions['forumleaders']">&nbsp; &nbsp;<a href="showgroups.php$session[sessionurl_q]rel="nofollow">$vbphrase[view_forum_leaders]</a></if></strong></div></td>
    </
tr>
</
tbody>
</
table>

$forumhome_markread_script

</div>
<!-- /
Tabbed AOC END Tab 3 Content Layout --> 
Attached Images
File Type: jpg tab01.jpg (56.5 KB, 0 views)
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01326 seconds
  • Memory Usage 1,859KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_attachment
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete