Quote:
Originally Posted by Baghira
Hi there...
I dont understand what I have to do...
maybe you can have a look at yesdukan.de
or tell me what I have to show. I changed nothing in that template manually until installing YUI Tabbed Forum Home
Oh i forgot:
Its (vBulletin 4.2.0 Patch Level 3)
|
how come??? it is straight forward mod...
ok, here you are again, make sure you follow the instructions step by step:
Code:
> STEP 1: Upload Files located in the UPLOAD FOLDER to your FORUM ROOT i.e. vb.
Code:
> STEP 2: Import Product XML File (product-edugeek_tfh)
Code:
STEP 3: change the coding in your templates as the following:
find through search template in you admin cp: FORUMHOME
find the code: </head> and directly above it, insert the following code:
<!-- Tabbed Forum Home Header Code 4.0.8 -->
<link rel="stylesheet" type="text/css" href="{vb:raw vboptions.bburl}/tfh/tabview.css" />
<link rel="stylesheet" type="text/css" href="{vb:raw vboptions.bburl}/tfh/skin-tfh.css" />
<!-- TFH JS -->
<script type="text/javascript">
<!--
if (remoteyui)
{
document.write('<script type="text/javascript" src="{vb:raw vboptions.bburl}/clientscript/tfh/dispatcher-min.2.2.js"></script>');
document.write('<script type="text/javascript" src="http://yui.yahooapis.com/2.9.0/build/element/element-min.js"></script>');
document.write('<script type="text/javascript" src="http://yui.yahooapis.com/2.9.0/build/tabview/tabview-min.js"></script>');
}
else
{
document.write('<script type="text/javascript" src="{vb:raw vboptions.bburl}/clientscript/tfh/dispatcher-min.2.2.js"></script>');
document.write('<script type="text/javascript" src="{vb:raw vboptions.bburl}/clientscript/yui/element/element-min.js"></script>');
document.write('<script type="text/javascript" src="{vb:raw vboptions.bburl}/clientscript/yui/tabview/tabview-min.js"></script>');
}
//-->
</script>
<!-- /Tabbed Forum Home Header Code -->
Code:
> step4: find the code <!-- main --> in template FORUMHOMETAB replace whatsoever between <!-- main --> and <!-- /main --> with the following code:
<!-- main -->
{vb:raw template_hook.forumhome_above_forums}
<!-- Tabbed Forum Home -->
<div id="forumhome_container" style="margin-top:5px"> </div>
<script type="text/javascript"> {vb:raw eg_tfh} </script>
<!-- /Tabbed Forum Home -->
{vb:raw template_hook.forumhome_below_forums}
<!-- /main -->
Code:
> Step5: find the template forumhome_forumbit_level1_nopost and insert the following code on the top of it
######################### INSERT AT THE START >>> ---------------
<vb:if condition="(THIS_SCRIPT=='indexTFH' AND (in_array($forum['forumid'], $_REQUEST['tabcat']) OR in_array('all', $_REQUEST['tabcat']))) OR (THIS_SCRIPT=='forumdisplay') OR (THIS_SCRIPT=='index')">
######################### INSERT AT THE END >>> ------------
</vb:if>
Code:
> Step5: find the template forumhome_forumbit_level1_post and insert the following code on top of it as well:
######################### INSERT AT THE START >>> ---------------
<vb:if condition="(THIS_SCRIPT=='indexTFH' AND (in_array($forum['forumid'], $_REQUEST['tabcat']) OR in_array('all', $_REQUEST['tabcat']))) OR (THIS_SCRIPT=='forumdisplay') OR (THIS_SCRIPT=='index')">
######################### INSERT AT THE END >>> ------------
</vb:if>
now if your forums disappeared, then you did it right... and then all you have to do is to create tabs for your forums...
READ the file How to Configure.txt
Cheers