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)

rapidphim 05-09-2008 07:59 PM

Bob... are you going to release this for 3.7.0 gold?

bobster65 05-09-2008 08:03 PM

Quote:

Originally Posted by rapidphim (Post 1514159)
Bob... are you going to release this for 3.7.0 gold?

It works fine with 3.7 Gold .. I want to rewrite the install instructions tho before I create a new thread in the 3.7 Release area..

bobster65 05-09-2008 08:04 PM

Quote:

Originally Posted by OsideRida06 (Post 1513637)
I am trying to install this right now.

I have not quite figured it out yet. I had things showing up under tab 2 once. Then I did something and lost it. So now I just have the first tab showing content. The whole forum of course.

I am going to give it another go here in a bit though.

Great mod by the way.

Anyone that may be able to help me out can hit me up on instant messenger.

AIM = OsideRida06
Yahoo = hellafine_guy2780

Hopefully I will not need the help. I am hoping to figure it out. Any help in helping me figure it out though, would be great.

Did you get things figured out? If not, PM me and lets set up a time to chat so I can help you out ...

rapidphim 05-09-2008 09:42 PM

Thanks Bob, I'll try it out tonight.

viganothing 05-09-2008 09:57 PM

Quote:

Originally Posted by bobster65 (Post 1512972)
PM sent for additional info..

can you send me the info plz , i'm having the same problem

bobster65 05-09-2008 10:11 PM

Quote:

Originally Posted by viganothing (Post 1514293)
can you send me the info plz , i'm having the same problem

I sent him a PM asking Him for additional info so I could trouble shoot his problem ..

His problem was that he didn't complete the install instructions. He had 3 tabs, but only 2 content areas.. the number of content areas needs to match the number of tabs...

ie..

This is the part where you determine the number of "tabs" In this example, there are 3 Tabs and each tab is associated with a content area ie... rel="tcontent1"

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>
        <li><a href="#" rel="tcontent3">Tab 3 Name</a></li>
        </ul>
        <!-- /Tabbed Forum Home Tabs Layout -->

For the above example to work, you need to have the 3 content areas ... rel="tcontent1" , rel="tcontent2" , rel="tcontent3"

This is a sample content area.. I personally start out (and end) each content area with a comment to identify it. You will notice that the first line of code is a Div with the content ID that matches the specific tab. Make sure that there is only one content area for each of your tabs..

Code:

<!-- Tabbed Forum Home ? START Tab 2 Content Layout -->
<div id="tcontent2" 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_66')"><img id="collapseimg_forumbit_66" src="images/buttons/collapse_tcat.gif" alt="" border="0" /></a><a href="forumdisplay.php?f=6">CATEGORY NAME</a></td>
        </tr>
</tbody>

<tbody id="collapseobj_forumbit_66" style="">
$forumbits2
</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 Forum Home ? END Tab 2 Content Layout -->

If you have more Tabs then you have content areas, the entire system won't work correctly....

Bree 05-09-2008 10:49 PM

I can't believe I hadn't posted in here yet *blush*...

This is awesome Bobster! I am definitely using this on one of my sites... I just gotta figure out which one and exactly for what first hehe... You have gotten me 100% addicted to ajax tabs.. Keep coming up with stuff like this and my whole site will be one big tab! LOL You are awesome... keep up the great work!

Always, Bree
PS.. I Voted for you: MOTM <-- of course

bobster65 05-09-2008 10:58 PM

Quote:

Originally Posted by Bree (Post 1514340)
I can't believe I hadn't posted in here yet *blush*...

This is awesome Bobster! I am definitely using this on one of my sites... I just gotta figure out which one and exactly for what first hehe... You have gotten me 100% addicted to ajax tabs.. Keep coming up with stuff like this and my whole site will be one big tab! LOL You are awesome... keep up the great work!

Always, Bree
PS.. I Voted for you: MOTM <-- of course

You better install it soon (and learn it inside out) cause you are going to help with version 2.0 :p ( altho I still need to fill you in on that minor detail lol )

Thanks Sunshine :D

rapidphim 05-10-2008 04:49 AM

I'm so lost on this one. I was able to create the tab but not sure how to move the whole selected section to second tab or third tab....

mikkitine 05-10-2008 06:33 AM

Quote:

Originally Posted by rapidphim (Post 1514569)
I'm so lost on this one. I was able to create the tab but not sure how to move the whole selected section to second tab or third tab....

Just follow the instructions step-by-step from start to end and you'll get a result. It might take some trial and error, but if you're doing everything as the instructions say you will get what you want.

This is a great mod and looks very nice. I want to see what kind of effect it has on my forum registrations. If I get positive results I'll return to nominate this mod. :up:


All times are GMT. The time now is 11:55 AM.

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.01755 seconds
  • Memory Usage 1,756KB
  • 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
  • (2)bbcode_code_printable
  • (6)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