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)

powerful_rogue 05-11-2008 07:34 PM

Looks like a great mod!

I tried to give it a go, but got lost half way through the instructions, so will probably wait until the next version comes out.

bobster65 05-11-2008 10:03 PM

Quote:

Originally Posted by powerful_rogue (Post 1516415)
Looks like a great mod!

I tried to give it a go, but got lost half way through the instructions, so will probably wait until the next version comes out.

Sorry, I seriously need to rewrite the instructions. I wrote them in a hurry and though they made sense to me, its obvious that they are hard to follow along, specially for those that don't do a lot of manual template editing/template coding .... I'll try and get some better instructions out sometime this week so you can at least play around with it. Its really not that tough, just a little confusing/overwhelming when you first try and attempt to install it.

bobster65 05-11-2008 10:05 PM

Quote:

Originally Posted by veenuisthebest (Post 1516196)
pleasee ... bob.. help out this one !!

What exactly is the issue?

veenuisthebest 05-11-2008 10:38 PM

my issue is here on 14th page following post #201 onwards !!

Its almostt solved.. but can't get it to work in I.E.

rapidphim 05-11-2008 11:30 PM

umm.. now I noticed that bug. Only the very first original tab is stayed the same when you collapsed. The rest of the tabs' header will also move/adjust ....

glowinggal 05-11-2008 11:57 PM

Originally Posted by kushal

The tabs shows up the private forum category, though forums inside it are not visible.

I guess, the tab itself should be invisible for members not allowed access to it.

Even if I put the Private forums inside the already existing tab, the header category still shows up.

To see what I mean kindly visit the site here http://www.rtiindia.org/forum/ and see that you can see the private forum named 'RTI team'.

I have kept the child forum without tabs, and here they are not visible to guests..


Quote:

Originally Posted by bobster65 (Post 1497277)
Ah, I see what you are talking about. One way to fix that is to wrap the block of code in the template (for that specific forum) with an IF statement so that it only displays for the specific user groups.


what specifically would be the code to be written? Very interested in this but know in advance we have private forums that would need to be hidden for sure.

bobster65 05-12-2008 12:11 AM

Quote:

Originally Posted by glowinggal (Post 1516620)
what specifically would be the code to be written? Very interested in this but know in advance we have private forums that would need to be hidden for sure.

just wrap the specific tab with this... (use the ID's of the user groups you want to be able to view it)

Code:

<if condition="is_member_of($vbulletin->userinfo, 5,6)">

</if>


so it would look something like this.. (The code in RED is what you would need to add ...

Code:

<!-- Tabbed Forum Home Tabs Layout -->
        <ul id="forumtabs" class="shadetabs">
            <li><a href="#" rel="tcontent1" class="selected">Tab 1 Name</a></li>
            <li><a href="#" rel="tcontent2">Tab 2 Name</a></li>
                  <if condition="is_member_of($vbulletin->userinfo, 5,6)">
                    <li><a href="#" rel="tcontent3">Tab Private Name</a></li>
                  </if>
        </ul>
<!-- /Tabbed Forum Home Tabs Layout -->


Then you will also want to wrap the tab display data as well ..

Code:

<!-- Tabbed Forum Home – START Private FORUM TAB Content Layout -->

<if condition="is_member_of($vbulletin->userinfo, 5,6)">

    <div id="tcontent3" class="tabcontent">

          CONTENT REMOVED FOR EXAMPLE ONLY

    </div>

</if>

<!-- /Tabbed Forum Home – END Private FORUM TAB Content Layout-->


ERAFOX 05-12-2008 03:01 AM

this ++++1ng amazing !

BarcaMaroc 05-12-2008 03:05 AM

nice

Defkalion 05-12-2008 05:57 AM

Quote:

Originally Posted by bobster65 (Post 1515841)
Tabs at the bottom and top? Haven't tried it, but simple copy the "tab" portion and place it after the last content area and before the switch tabs script .. in theory, that should work. one of the CSS style is use has tabs at the bottom, so I know it works, just never tried it with both top and bottom ..

Thanks Bob, I tried but that didn't work, the tabs show up at the bottom but when clicking on them it just throws me back at #top of the page, it doesn't go to that tab. Any ideas? :)


All times are GMT. The time now is 05:00 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.02270 seconds
  • Memory Usage 1,746KB
  • 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
  • (4)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