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)

bobster65 06-02-2008 02:53 PM

Quote:

Originally Posted by Scamorz (Post 1538806)
Thank you for your fast reply!

This is my cod of TAB1:
Code:

<!-- Tabbed Forum Home ? START Tab 1 Content Layout -->
    <div id="tcontent1" class="tabcontent">
$forumbits

$forumhome_markread_script
    </div>

So, i must change $forumbits in others name variables (plural, because i have 12 main categories :P) and add it in index_tab.php, right?

yes sir, just build up Tab 1 like you build all the others..... then you don't have to set to 0 to hide ..

Scamorz 06-02-2008 03:32 PM

Ok thank you very much, it works well, but so the forumhome template is very long because i must put this code for each category, and i have 12 category in main tab1:

Code:

        <tr>
                <td class="tcat" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><a style="float:right" href="#top" onclick="return toggle_collapse('forumbit_99')"><img id="collapseimg_forumbit_99" src="gfx_vB36revisited/buttons/collapse_tcat.gif" alt="" border="0" /></a><a href="forumdisplay.php?f=2">Category Name</a></td>
        </tr>
<tbody id="collapseobj_forumbit_99" style="">
        <tr align="center">
          <td class="thead">&nbsp;</td>
        <td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
        <td class="thead" width="200" nowrap="nowrap">$vbphrase[last_post]
<div><img src="$stylevar[imgdir_misc]/_lastpostspacer.gif" alt="" /></div></td>
        <td class="thead" nowrap="nowrap">$vbphrase[threads]
<div><img src="$stylevar[imgdir_misc]/_last-p-t_spacer.gif" alt="" /></div></td>
        <td class="thead" nowrap="nowrap">$vbphrase[posts]
<div><img src="$stylevar[imgdir_misc]/_last-p-t_spacer.gif" alt="" /></div></td>
<if condition="$vboptions['showmoderatorcolumn']">
        <td class="thead">$vbphrase[moderator]</td>
          </if>
        </tr>


Then i must translate these categories (or less) in tab2 and in tab3. It's very long!
How i can do that? :P:P:P

bobster65 06-02-2008 03:39 PM

Quote:

Originally Posted by Scamorz (Post 1538887)
Ok thank you very much, it works well, but so the forumhome template is very long because i must put this code for each category, and i have 12 category in main tab1:

Code:

        <tr>
                <td class="tcat" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><a style="float:right" href="#top" onclick="return toggle_collapse('forumbit_99')"><img id="collapseimg_forumbit_99" src="gfx_vB36revisited/buttons/collapse_tcat.gif" alt="" border="0" /></a><a href="forumdisplay.php?f=2">Category Name</a></td>
        </tr>
<tbody id="collapseobj_forumbit_99" style="">
        <tr align="center">
          <td class="thead">&nbsp;</td>
        <td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
        <td class="thead" width="200" nowrap="nowrap">$vbphrase[last_post]
<div><img src="$stylevar[imgdir_misc]/_lastpostspacer.gif" alt="" /></div></td>
        <td class="thead" nowrap="nowrap">$vbphrase[threads]
<div><img src="$stylevar[imgdir_misc]/_last-p-t_spacer.gif" alt="" /></div></td>
        <td class="thead" nowrap="nowrap">$vbphrase[posts]
<div><img src="$stylevar[imgdir_misc]/_last-p-t_spacer.gif" alt="" /></div></td>
<if condition="$vboptions['showmoderatorcolumn']">
        <td class="thead">$vbphrase[moderator]</td>
          </if>
        </tr>


Then i must translate these categories (or less) in tab2 and in tab3. It's very long!
How i can do that? :P:P:P

ya, setting it up manually is not fast .... if you want, hold of for the next version which is a lot less template edits and cats are created automatically :cool:

Scamorz 06-02-2008 03:45 PM

Ok thanks sir, i will attend this new version. Your mod is a great script. I need it. :)

p.s. if you need beta testers i'm ready for that ;)

bigtime 06-02-2008 05:43 PM

Will this work in 3.71?

bobster65 06-02-2008 05:46 PM

Quote:

Originally Posted by bigtime (Post 1538984)
Will this work in 3.71?

Works in 3.7 have not tested in 3.7.1 unless they changed how forumbits are created, it should work just fine..

004 06-03-2008 02:16 PM

Can somebody tell me how or give an example of how to make a "Portal" tab....A tab that will take ya to the Portal, or any non-forum page?

Thanks

bobster65 06-03-2008 02:22 PM

Quote:

Originally Posted by 004 (Post 1539740)
Can somebody tell me how or give an example of how to make a "Portal" tab....A tab that will take ya to the Portal, or any non-forum page?

Thanks

You could check out Tabbar Suite (https://vborg.vbsupport.ru/showthread.php?t=179163) its a Tab Navigation system :up:

004 06-03-2008 02:53 PM

Quote:

Originally Posted by bobster65 (Post 1539747)
You could check out Tabbar Suite (https://vborg.vbsupport.ru/showthread.php?t=179163) its a Tab Navigation system :up:

Yeah i saw that one, as well as a couple others.
Was hoping to be able to use your mod for this though, as we already have it setup.
Is it not possible?

Thanks for the quick reply bob :)

bobster65 06-03-2008 03:01 PM

Quote:

Originally Posted by 004 (Post 1539765)
Yeah i saw that one, as well as a couple others.
Was hoping to be able to use your mod for this though, as we already have it setup.
Is it not possible?

Thanks for the quick reply bob :)

This MOD isn't a Navigation system... the tabs do not take you anywhere, they display content within a DIV on the page without leaving the page.. You want a Tab Navigation system like vborg most likely..


All times are GMT. The time now is 06:09 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.05631 seconds
  • Memory Usage 1,755KB
  • 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
  • (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