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)

michaelsilvia 05-15-2008 11:42 PM

Thanks!

I think it is ON by default. After it was installed on my forum it started rotating.

dieselpowered 05-17-2008 05:43 AM

I have not installed this only because...well there are a lot of changes to be made, however, I just wanted to say this is an EXCELLENT mod...voted!!

It may have been mentioned, however, will there ever be a time this will be able to be done with a product?

VGPelega 05-17-2008 08:19 PM

I have this all installed and working like a treat, apart from one minor minor issue, well kinda a big issue but bet its really small and simple to fix.

Basically it loads all the tabs fine, and I can select them, but after I select any tab, all the other tabs disappear and it loads the right category, but all the tabs disappear.

I would really love to mark this as Installed, but until I am using it I won't mark as installed.

I was starting to read through the posts to see if someone had the same issue as me, but got to page 8 before I gave up. Is there something that causes the tabs to disappear after selecting one?

EDIT: I found the error, I had simply placed the navigation inside the first Tab container. Was a simple error I noticed after taking a 40 min break from 4 hours of setting up over 30 forums and categories.

Fantastic Hack, and very much appreciated, and I will look into the vbSEO aspect of it, and let you know how that goes. :D

bobster65 05-17-2008 11:47 PM

Quote:

Originally Posted by xtremeoff-road (Post 1522329)
I have not installed this only because...well there are a lot of changes to be made, however, I just wanted to say this is an EXCELLENT mod...voted!!

It may have been mentioned, however, will there ever be a time this will be able to be done with a product?

Yes, version 2 is being worked on now and will be a product along with ACP Controls for setup and configuration.

Quote:

Originally Posted by VGPelega (Post 1522887)
I have this all installed and working like a treat, apart from one minor minor issue, well kinda a big issue but bet its really small and simple to fix.

Basically it loads all the tabs fine, and I can select them, but after I select any tab, all the other tabs disappear and it loads the right category, but all the tabs disappear.

I would really love to mark this as Installed, but until I am using it I won't mark as installed.

I was starting to read through the posts to see if someone had the same issue as me, but got to page 8 before I gave up. Is there something that causes the tabs to disappear after selecting one?

EDIT: I found the error, I had simply placed the navigation inside the first Tab container. Was a simple error I noticed after taking a 40 min break from 4 hours of setting up over 30 forums and categories.

Fantastic Hack, and very much appreciated, and I will look into the vbSEO aspect of it, and let you know how that goes. :D

Wished I would have been on earlier.. I've actually done that myself and could have told ya right away lol.. glad you figured it out though! No issues that I am aware of with vbSEO....

khb1st 05-19-2008 05:28 AM

I am trying to use this wonderful mod, but probably should be sleeping by now,
anyway

I do not get the "tabs", only underlined forum names, that link to nothing

I am having trouble understanding which variables go where
<li><a href="#" rel="tcontent1" class="selected">Tab 1 Name</a></li>
href="#"....forum id # ??
rel="tcontent1"...??????
Tab 1 Name.......name of forum area ??

<!-- Tabbed Forum Home – START Tab 2 Content Layout -->
<div id="tcontent2" class="tabcontent">

id="tcontent2...........same as above ?????????????
class="tabcontent".............?????????????

thanks

these are probably very easy answers, that I cannot see at the moment

bobster65 05-19-2008 12:51 PM

Quote:

Originally Posted by khb1st (Post 1524408)
I am trying to use this wonderful mod, but probably should be sleeping by now,
anyway

I do not get the "tabs", only underlined forum names, that link to nothing

I am having trouble understanding which variables go where
<li><a href="#" rel="tcontent1" class="selected">Tab 1 Name</a></li>
href="#"....forum id # ??
rel="tcontent1"...??????
Tab 1 Name.......name of forum area ??

<!-- Tabbed Forum Home – START Tab 2 Content Layout -->
<div id="tcontent2" class="tabcontent">

id="tcontent2...........same as above ?????????????
class="tabcontent".............?????????????

thanks

these are probably very easy answers, that I cannot see at the moment


In this part, you only need to be concerned with the Red and Blue colors. The Red (Tab Names) are the text you want to appear on the Tabs themselves. The Blue highlited text identifies the DIV Containers that will contain the data (See both Code Areas)...

class="tabcontent" is part of the CSS File that determines the CSS portion that is used for the particular element.

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 -->

Code:

<!-- Tabbed Forum Home – START Tab 1 Content Layout -->
<div id="tcontent1" 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>

$forumbits

<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 1 Content Layout -->


zappsan 05-20-2008 02:00 PM

This is so awesome, just what I need.

Now I've got a question. What I want to do is to make the tab which is open first dependent from a certain value. How do I change which tab is open on the first visit though?

I tried removing the class="selected" from the 1st tab and added it to the 2nd one, but it didn't seem to work.

What am I doing wrong?

bobster65 05-20-2008 02:15 PM

Quote:

Originally Posted by zappsan (Post 1525747)
This is so awesome, just what I need.

Now I've got a question. What I want to do is to make the tab which is open first dependent from a certain value. How do I change which tab is open on the first visit though?

I tried removing the class="selected" from the 1st tab and added it to the 2nd one, but it didn't seem to work.

What am I doing wrong?

Yes, that is how you do it. It uses persistance tho (which can be shut off .. its on by default).. Persistence brings you backc to the same place as you left... ie, if you clicked on tab 3, then viewed a thread and went back to forum home, Tab 3 would be active (if persistence is on).. if you shut persistence off, it would always default to the "selected" tab.

Change Selected to tab 2 like you did, then log out and log back in.. it should launch this time with Tab 2 open.

zappsan 05-20-2008 02:24 PM

I'll try that, thanks for the help :)

Eq4bits 05-20-2008 02:59 PM

Quote:

Originally Posted by bobster65 (Post 1525758)
Yes, that is how you do it. It uses persistance tho (which can be shut off .. its on by default).. Persistence brings you backc to the same place as you left... ie, if you clicked on tab 3, then viewed a thread and went back to forum home, Tab 3 would be active (if persistence is on).. if you shut persistence off, it would always default to the "selected" tab.

Change Selected to tab 2 like you did, then log out and log back in.. it should launch this time with Tab 2 open.

which file, and where in it, would one make persistance be shut off?


All times are GMT. The time now is 08:32 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.02324 seconds
  • Memory Usage 1,762KB
  • 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
  • (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