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-10-2008 09:46 AM

As you can see I am still now awake to work on this hack. I just could not get it to work properly

bobster65 05-10-2008 11:18 AM

Quote:

Originally Posted by rapidphim (Post 1514747)
As you can see I am still now awake to work on this hack. I just could not get it to work properly

I replied to your PM .. I am sure you are close (from the sounds of it).. We'll get you up and running :cool:

rapidphim 05-10-2008 04:12 PM

bob, thanks much. I sent you pm

MarsNIIT 05-10-2008 04:24 PM

Hello bobster65,

Please help me fix my problem,

thank you verry much.

Bree 05-10-2008 04:28 PM

Ok... I got it all installed on my test forum.... for some reason I expected it to be way harder, but of course, am happy that it was not LOL This is going to be so much fun to customize! I had originally planned not to put it at my .com but pretty sure I changed my mind REAL fast once I actually got to play with it =0) Think I am going to surprise everyone with it hehe

Anyways... Get some sleep everyone... grab a cup of coffee (or some other type of liquid motivation) and relax... One step at a time and the tutorial really is easier than first expected.

Have fun!
Always, Bree

mikkitine 05-10-2008 08:05 PM

I take back what I said about waiting to see what effect this modification will have on my sign ups. This mod is absolutely gold. After I realised I can control exactly what forums appear in which tabs, and that sub-forum links need not be shown in forums displayed under tabs of my choice, the deal was sealed for me.

Thanks for this bobster, really brilliant. /nominates

Defkalion 05-10-2008 08:25 PM

Bob,

excellent work, thankyou so much.

I installed without any problems, it was a piece of cake.

Question: is there any way to create an extra tab with the "what's going on" box, instead of having it appear under every tab?

Again, thankyou for a great hack. :)

bobster65 05-10-2008 09:33 PM

Quote:

Originally Posted by mikkitine (Post 1515273)
I take back what I said about waiting to see what effect this modification will have on my sign ups. This mod is absolutely gold. After I realised I can control exactly what forums appear in which tabs, and that sub-forum links need not be shown in forums displayed under tabs of my choice, the deal was sealed for me.

Thanks for this bobster, really brilliant. /nominates

Thank you for the kind words... look for an even better version coming soon :)

bobster65 05-10-2008 09:50 PM

Quote:

Originally Posted by Defkalion (Post 1515296)
Bob,

excellent work, thankyou so much.

I installed without any problems, it was a piece of cake.

Question: is there any way to create an extra tab with the "what's going on" box, instead of having it appear under every tab?

Again, thankyou for a great hack. :)

Yer welcome :)

Yes, you can create extra tabs with info in them other than just Forum categories. All you need to do is put the info in what I call a content div area just like you did with the other tabs ..

Here is an example of putting the Whats going on box into a tab .. Note the RED IDs .. those are what link the tab to the div content ..

First you need to create an li tag for your new extra tab (I added a 4th tab in this example called Whats Going On and its ID=tcontent4

Code:

<!-- Tabbed Forum Home Tabs Layout -->
        <ul id="forumtabs" class="shadetabs">
        <li><a href="#" rel="tcontent1" class="selected">Tab 1</a></li>
        <li><a href="#" rel="tcontent2">Tab 2</a></li>
        <li><a href="#" rel="tcontent3">Tab 3</a></li>
        <li><a href="#" rel="tcontent4">Whats Going On</a></li>
              </ul>
<!-- /Tabbed Forum Home Tabs Layout -->


Then you need to create the Content Container and make sure that it has the same ID as the li tag you just added ..

Code:

<!-- Tabbed Forum Home – START whats going on box Tab Content Layout -->

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

<!-- what's going on box -->
CONTENT REMOVED FOR SAMPLE
<!-- end what's going on box -->

</div>

<!-- /Tabbed Forum Home – END Tab 4 Content Layout -->



NOTE: Make sure that when you add extra tabs that they go BEFORE the below block of code.. You can always move this chunk of code lower in the template, just make sure that any content area Divs that you add go before it .. (Hope that made sense)

Code:

<!-- Tabbed Forums switch tab script -->
        <script type="text/javascript">
        var myforumtabs=new ddtabcontent("forumtabs")
        myforumtabs.setpersist(true)
        myforumtabs.setselectedClassTarget("link")
        myforumtabs.init()
        </script>
<!-- /end Tabbed Forums switch tab script -->

Thats all there is to it...

Eq4bits 05-10-2008 10:13 PM

Love this mod!
Clicks 'Installed'
using on vB3.6.10 with no problems


All times are GMT. The time now is 11:59 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.01859 seconds
  • Memory Usage 1,747KB
  • 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
  • (3)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