Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
  #1  
Old 09-12-2008, 04:35 PM
mindhunter77 mindhunter77 is offline
 
Join Date: Jan 2006
Posts: 194
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm placing it in a template called

burach_forum

Which is called right after the navbar in the FORUMHOME template. It replaces the $forumbits call.


So I'm guessing when you said

Quote:
template is eval'd after the variables are available.
that is going to have to be done. I'm just not sure how.

--------------- Added [DATE]1221241008[/DATE] at [TIME]1221241008[/TIME] ---------------

This is the code for burach_forum

Code:
<if condition="$vbulletin->options['burach_category_on']">
<!-- burach forum start -->
<div class="dcc"><div class="dcg"></div><div class="dcd"></div></div>
<br /><table class="tborder" cellpadding="6" cellspacing="0" border="0" width="100%" align="center">
<tbody>
	<tr>
		<td class="tcat" colspan="5">
			
			<a style="float:right" href="#top" onclick="return toggle_collapse('forumbit_73')"><img id="collapseimg_forumbit_73" src="images/buttons/collapse_tcat.gif" alt="" border="0" /></a>
			
		<a>$vboptions[category_name]</a>
			
			
		</td>
	</tr>
</tbody>

<tbody id="collapseobj_forumbit_73" style="">
	<tr>
<td class="alt1Active" align="left" id="f4" width="50%" height="65">
<table class="alt1Active" width="100%">
<tr>
<td width="50">
		<img src="images/$vboptions[forum1_icon]" border="0" id="forum_statusicon_4" style="padding: 6px;" align="left" width="75" height="75" />
</td> 
<td width="100%">
  <div class="smallfont">
		<div><a href="$vboptions[forum1_link]"><strong> $vboptions[forum1_name] </strong></a></div>

	</div>
	<div class="smallfont">$vboptions[forum1_ack]<br></div>


</td>
</tr>
</table>
</td>
<td class="alt1Active" align="left" id="f4" width="50%" height="65">
<table class="alt1Active" width="100%">
<tr>
<td width="50">
		<img src="images/$vboptions[forum2_icon]" border="0" id="forum_statusicon_4" style="padding: 6px;" align="left" width="75" height="75" />
</td> 
<td width="100%">
  <div class="smallfont">
		<div><a href="$vboptions[forum2_link]"><strong> $vboptions[forum2_name] </strong></a></div>
	</div>
	<div class="smallfont">$vboptions[forum2_ack]</div>
			

</td>
</tr>
</table>
</td>	</tr>


	<tr>
<td class="alt1Active" align="left" id="f4" width="50%" height="65">
<table class="alt1Active" width="100%">
<tr>
<td width="50">
		<img src="images/$vboptions[forum3_icon]" border="0" id="forum_statusicon_4" style="padding: 6px;" align="left" width="75" height="75" />
</td> 
<td width="100%">
  <div class="smallfont">
		<div><a href="$vboptions[forum3_link]"><strong> $vboptions[forum3_name] </strong></a></div>
	</div>
	<div class="smallfont">$vboptions[forum3_ack]</div>

</td>
</tr>
</table>
</td>	
<td class="alt1Active" align="left" id="f4" width="50%" height="65">
<table class="alt1Active" width="100%">
<tr>
<td width="50">
		<img src="images/$vboptions[forum4_icon]" border="0" id="forum_statusicon_4" style="padding: 6px;" align="left" width="75" height="75" />
</td> 
<td width="100%">
  <div class="smallfont">
		<div><a href="$vboptions[forum4_link]"><strong> $vboptions[forum4_name] </strong></a></div>
	</div>
	<div class="smallfont">$vboptions[forum4_ack]</div>

</td>
</tr>
</table>
</td>	</tr>
	<tr>

<td class="alt1Active" align="left" id="f4" width="50%" height="65">
<table class="alt1Active" width="100%">
<tr>
<td width="50">
		<img src="images/$vboptions[forum5_icon]" border="0" id="forum_statusicon_4" style="padding: 6px;" align="left" width="75" height="75" />
</td> 
<td width="100%">
  <div class="smallfont">
		<div><a href="$vboptions[forum5_link]"><strong> $vboptions[forum5_name] </strong></a></div>
	</div>
	<div class="smallfont">$vboptions[forum5_ack]</div>

</td>
</tr>
</table>
</td>

<td class="alt1Active" align="left" id="f4" width="50%" height="65">
<table class="alt1Active" width="100%">
<tr>
<td width="50">
		<img src="images/$vboptions[forum6_icon]" border="0" id="forum_statusicon_4" style="padding: 6px;" align="left" width="75" height="75" />
</td> 
<td width="100%">
  <div class="smallfont">
		<div><a href="$vboptions[forum6_link]"><strong> $vboptions[forum6_name] </strong></a></div>
	</div>
	<div class="smallfont">$vboptions[forum6_ack]</div>

</td>
</tr>
</table>
</td>	</tr>
	<tr>

<td class="alt1Active" align="left" id="f4" width="50%" height="65">
<table class="alt1Active" width="100%">
<tr>
<td width="50">
		<img src="images/$vboptions[forum7_icon]" border="0" id="forum_statusicon_4" style="padding: 6px;" align="left" width="75" height="75" />
</td> 

<td width="100%">
  <div class="smallfont">
		<div><a href="$vboptions[forum7_link]"><strong> $vboptions[forum7_name] </strong></a></div>





	</div>
	<div class="smallfont">$vboptions[forum7_ack]</div>

</td>
</tr>
</table>
</td>	

<td class="alt1Active" align="left" id="f4" width="50%" height="65">
<table class="alt1Active" width="100%">
<tr>
<td width="50">
		<img src="images/$vboptions[forum8_icon]" border="0" id="forum_statusicon_4" style="padding: 6px;" align="left" width="75" height="75" />
</td> 
<td width="100%">
  <div class="smallfont">
		<div><a href="$vboptions[forum8_link]"><strong> $vboptions[forum8_name] </strong></a></div>
	</div>
	<div class="smallfont">$vboptions[forum8_ack]</div>

</td>
</tr>
</table>
</td>	</tr>
	<tr>

<td class="alt1Active" align="left" id="f4" width="50%" height="65">
<table class="alt1Active" width="100%">
<tr>
<td width="50">
		<img src="images/$vboptions[forum9_icon]" border="0" id="forum_statusicon_4" style="padding: 6px;" align="left" width="75" height="75" />
</td> 
<td width="100%">
  <div class="smallfont">
		<div><a href="$vboptions[forum9_link]"><strong> $vboptions[forum9_name] </strong></a></div>
	</div>
	<div class="smallfont">$vboptions[forum9_ack]</div>
</td>
</tr>
</table>
</td>	

<td class="alt1Active" align="left" id="f4" width="50%" height="65">
<table class="alt1Active" width="100%">
<tr>
<td width="50">
		<img src="images/$vboptions[forum10_icon]" border="0" id="forum_statusicon_4" style="padding: 6px;" align="left" width="75" height="75" />
</td> 
<td width="100%">
  <div class="smallfont">
		<div><a href="$vboptions[forum10_link]"><strong> $vboptions[forum10_name] </strong></a></div>
	</div>
	<div class="smallfont">$vboptions[forum10_ack]</div>
</td>
</tr>
</table>
</td>	</tr>
	<tr>

<td class="alt1Active" align="left" id="f4" width="50%" height="65">
<table class="alt1Active" width="100%">
<tr>
<td width="50">
		<img src="images/$vboptions[forum11_icon]" border="0" id="forum_statusicon_4" style="padding: 6px;" align="left" width="75" height="75" />
</td> 
<td width="100%">
  <div class="smallfont">
		<div><a href="$vboptions[forum11_link]"><strong> $vboptions[forum11_name] </strong></a></div>
	</div>
	<div class="smallfont">$vboptions[forum11_ack]</div>

</td>
</tr>
</table>
</td>

<td class="alt1Active" align="left" id="f4" width="50%" height="65">
<table class="alt1Active" width="100%">
<tr>
<td width="50">
		<img src="images/$vboptions[forum12_icon]" border="0" id="forum_statusicon_4" style="padding: 6px;" align="left" width="75" height="75" />
</td> 
<td width="100%">
  <div class="smallfont">
		<div><a href="$vboptions[forum12_link]"><strong> $vboptions[forum12_name] </strong></a></div>
	</div>
	<div class="smallfont">$vboptions[forum12_ack]</div>

</td>
</tr>
</table>
</td>	</tr>
	<tr>

<td class="alt1Active" align="left" id="f4" width="50%" height="65">
<table class="alt1Active" width="100%">
<tr>
<td width="50">
		<img src="images/$vboptions[forum13_icon]" border="0" id="forum_statusicon_4" style="padding: 6px;" align="left" width="75" height="75" />
</td> 
<td width="100%">
  <div class="smallfont">
		<div><a href="$vboptions[forum13_link]"><strong> $vboptions[forum13_name] </strong></a></div>
	</div>
	<div class="smallfont">$vboptions[forum13_ack]</div>

</td>
</tr>
</table>
</td>

<td class="alt1Active" align="left" id="f4" width="50%" height="65">
<table class="alt1Active" width="100%">
<tr>
<td width="50">
		<img src="images/$vboptions[forum14_icon]" border="0" id="forum_statusicon_4" style="padding: 6px;" align="left" width="75" height="75" />
</td> 
<td width="100%">
  <div class="smallfont">
		<div><a href="$vboptions[forum14_link]"><strong> $vboptions[forum14_name] </strong></a></div>
	</div>
	<div class="smallfont">$vboptions[forum14_ack]</div>

</td>
</tr>
</table>
</td>	

</tr>




</tbody>

<!-- / burach_forum end -->

</if>
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:02 PM.


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.09145 seconds
  • Memory Usage 2,281KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)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_onlinestatus
  • (1)postbit_wrapper
  • (1)showthread_list
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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_threadedmode.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids_threaded
  • showthread_threaded_construct_link
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • 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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete