vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Forum Home Enhancements - [AJAX] Tabbed Forum Home (https://vborg.vbsupport.ru/showthread.php?t=175687)

sweetguy2004 07-31-2008 08:59 PM

thanks for quick reply & m waiting for ur next reply :D coz my forum is down :(

bobster65 07-31-2008 09:09 PM

Quote:

Originally Posted by sweetguy2004 (Post 1588670)
desiduniyaa.com <li class="selected"><a href="tabforumhome.php?tabcat[5]=1" rel="ajaxTFHcontentarea">TAB 1 NAME</a></li>

thank you......

re read step 2a ... if you would have followed the instructions and inserted the code as specified, you wouldn't be having a problem. The remarks are missing and so is the link to the CSS file which is exactly why the Tabs are not being displayed properly (since the CSS is what builds them) ...

Code:

STEP 2a - EDIT Template: FORUMHOME

FIND </head>

Insert ABOVE that
       
<!-- Tabbed Forum Home Header Code -->       
        <link rel="stylesheet" type="text/css" href="clientscript/tabs/ajaxtabs.css" />
        <script type="text/javascript" src="clientscript/tabs/ajaxtabs.js"> </script>
<!-- /Tabbed Forum Home Header Code -->


cSh 08-02-2008 06:48 PM

Not explorer seen corrupt !
1 week for working you mod but dont !
hrrr

bobster65 08-02-2008 06:55 PM

Quote:

Originally Posted by cSh (Post 1590063)
Not explorer seen corrupt !
1 week for working you mod but dont !
hrrr

huh?

Bustah 08-03-2008 02:20 AM

I'm having a pretty basic problem with a tab.

I move my category "The Vault" underneath another category.

I left the tabs alone, but now that ones not working.

It should also be noted that I change the category to a regular forum now.

bobster65 08-03-2008 03:11 PM

Quote:

Originally Posted by Bustah (Post 1590265)
I'm having a pretty basic problem with a tab.

I move my category "The Vault" underneath another category.

I left the tabs alone, but now that ones not working.

It should also be noted that I change the category to a regular forum now.

If you changed a Category into a Forum and are still using the ForumID as a Cat ID, its only going to display that forums sub forums...

Bustah 08-03-2008 03:43 PM

Well, it doesn't show anything. How would I go about getting it to appear normal without turning it back to a category?

bobster65 08-03-2008 04:58 PM

Quote:

Originally Posted by Bustah (Post 1590615)
Well, it doesn't show anything. How would I go about getting it to appear normal without turning it back to a category?

Is the CategoryID that the Forum is currently located under added to a tab? If so, then that forum should display..

Bustah 08-03-2008 05:50 PM

The one that isn't working is "The Vault". Its forum ID is 48, so I know its right. Would it have anything to do with "The Vault" being located under the "Community" category?

Code:

<!-- main -->
<!-- Tabbed Forum Home -->

<div id="ajaxTFH" class="TFHmenu2">
        <ul>
                <li class="selected"><a href="tabforumhome.php?tabcat[]=1" rel="ajaxTFHcontentarea">Official</a></li>
                <li><a href="tabforumhome.php?tabcat[]=3" rel="ajaxTFHcontentarea">Community</a></li>
                <li><a href="tabforumhome.php?tabcat[]=48" rel="ajaxTFHcontentarea">The Vault</a></li>
                <li><a href="tabforumhome.php?tabcat[]=4" rel="ajaxTFHcontentarea">Primetime</a></li>
                <if condition="is_member_of($vbulletin->userinfo, 5,6)">
<li><a href="tabforumhome.php?tabcat[]=47" rel="ajaxTFHcontentarea">Staff</a></li></if>
        </ul>
</div>

<br style="clear: left" />

<div class="TFHmenu2line"></div>

<div id="ajaxTFHcontentarea" style="border:0px solid gray; width:100%; height: 100%; background-color: white; padding: 0px"></div>

<script type="text/javascript">
        var mytabs=new ddajaxtabs("ajaxTFH", "ajaxTFHcontentarea")
                mytabs.setpersist(true)
                mytabs.setselectedClassTarget("link")
                mytabs.init()
</script>

<!-- /Tabbed Forum Home  -->
<!-- /main -->


bobster65 08-03-2008 05:57 PM

Quote:

Originally Posted by Bustah (Post 1590672)
The one that isn't working is "The Vault". Its forum ID is 48, so I know its right. Would it have anything to do with "The Vault" being located under the "Community" category?

Code:

<!-- main -->
<!-- Tabbed Forum Home -->

<div id="ajaxTFH" class="TFHmenu2">
        <ul>
                <li class="selected"><a href="tabforumhome.php?tabcat[]=1" rel="ajaxTFHcontentarea">Official</a></li>
                <li><a href="tabforumhome.php?tabcat[]=3" rel="ajaxTFHcontentarea">Community</a></li>
                <li><a href="tabforumhome.php?tabcat[]=48" rel="ajaxTFHcontentarea">The Vault</a></li>
                <li><a href="tabforumhome.php?tabcat[]=4" rel="ajaxTFHcontentarea">Primetime</a></li>
                <if condition="is_member_of($vbulletin->userinfo, 5,6)">
<li><a href="tabforumhome.php?tabcat[]=47" rel="ajaxTFHcontentarea">Staff</a></li></if>
        </ul>
</div>

<br style="clear: left" />

<div class="TFHmenu2line"></div>

<div id="ajaxTFHcontentarea" style="border:0px solid gray; width:100%; height: 100%; background-color: white; padding: 0px"></div>

<script type="text/javascript">
        var mytabs=new ddajaxtabs("ajaxTFH", "ajaxTFHcontentarea")
                mytabs.setpersist(true)
                mytabs.setselectedClassTarget("link")
                mytabs.init()
</script>

<!-- /Tabbed Forum Home  -->
<!-- /main -->


As I explained before... if Forum ID 48 is a FORUM (not a catagory), then it is only going to display that forums "Sub Forums" .. if you want the Entire Forum to show up under a Tab, you will need to list that Forums PARENT ID (which you just said that FORUM 48's parent ID is Cat 3..


All times are GMT. The time now is 05:05 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.02449 seconds
  • Memory Usage 1,757KB
  • 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
  • (3)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (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