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)

Simon Lloyd 08-19-2009 05:06 PM

Quote:

Originally Posted by bobster65 (Post 1870454)
If you are trying to simulate what vborg is doing, you are using the wrong Modification. This simply replaces the existing FORUMHOME listing of Categories and allows you to put them into a Tabbed Container on the FORUMHOME page. Just like default forum home, when you click on a FORUM link, it goes to a FORUM DISPLAY page (which is generated using a different PHP file and set of functions and templates)...

Now, what you CAN DO is make a template modification to the FORUMDISPLAY pages that have a Tabbed MENU that will take viewers to other Forums... kinda like combining the two MODS..

I took your suggestion thanks, i used the css form dynamic drive and simply added an edited version of that to my FORUMDISPLAY....Works great, just like your mod :)

bobster65 08-19-2009 05:14 PM

Quote:

Originally Posted by Simon Lloyd (Post 1870570)
I took your suggestion thanks, i used the css form dynamic drive and simply added an edited version of that to my FORUMDISPLAY....Works great, just like your mod :)

Sweet... don't you love it when a plan comes together ;)

McMendo 08-20-2009 11:47 PM

I guess that this question is like asking to read into the future. But I have to ask it anyway.

Any chances that it might run with the forthcoming vB 4 version?

From the few screenshots that I've seen it looks as if the style for vB 4 will be changing heavily: http://www.vbulletin.com/forum/blog.php?b=2360

Simon Lloyd 08-21-2009 01:56 PM

Quote:

Originally Posted by McMendo (Post 1871314)
I guess that this question is like asking to read into the future. But I have to ask it anyway.

Any chances that it might run with the forthcoming vB 4 version?

From the few screenshots that I've seen it looks as if the style for vB 4 will be changing heavily: http://www.vbulletin.com/forum/blog.php?b=2360

There would only be a problem if this mod uses hook locations as those will be different in vb4

bobster65 08-21-2009 03:49 PM

Quote:

Originally Posted by McMendo (Post 1871314)
I guess that this question is like asking to read into the future. But I have to ask it anyway.

Any chances that it might run with the forthcoming vB 4 version?

From the few screenshots that I've seen it looks as if the style for vB 4 will be changing heavily: http://www.vbulletin.com/forum/blog.php?b=2360

Depends on if they made/make any changes to the core files/functions in regards to the $forumbits ... if they do, then some recoding will have to take place. If they make an cosmetic changes to any of the FORUMHOME templates, then those changes will have to be made as well (which won't take much to fix)..

Won't know until I can see vb4.x

Keesa 08-28-2009 06:59 AM

Quote:

Originally Posted by Scamorz (Post 1556137)
In FF works fine...
i am not expert in css...but i try to modify something:(

EDIT: i deleted <br style="clear: left" /> and now the layout in IE6 is ok! ;)
Great mod!

In what file is that piece of code deleted?



Edit: Oh, I found it for future people here, it is.
Code:

<!-- Tabbed Forum Home -->

<div id="ajaxTFH" class="TFHmenu2">
        <ul>
                <li class="selected"><a href="tabforumhome.php?tabcat[]=1" rel="ajaxTFHcontentarea">TAB 1 NAME</a></li>
                <li><a href="tabforumhome.php?tabcat[]=1&tabcat[]=2" rel="ajaxTFHcontentarea">TAB 2 NAME</a></li>
                <li><a href="tabforumhome.php?tabcat[]=1&tabcat[]=2&tabcat[]=3" rel="ajaxTFHcontentarea">TAB 3 NAME</a></li>
        </ul>
</div>

<br style="clear: left" />


<div class="TFHmenu2line"></div>

<div id="ajaxTFHcontentarea" style="border:0px solid gray; width:100%; height: 100%; background-color: white; padding: 0px"></div>

<script type="text/javascript">
        var mytabs=new ddajaxtabs("ajaxTFH", "ajaxTFHcontentarea")
                mytabs.setpersist(true)
                mytabs.setselectedClassTarget("link")
                mytabs.init()
</script>

<!-- /Tabbed Forum Home  -->
<!-- /main -->


Also, in case this is helpful for someone new coming in and not wanting to read 105 pages, I had to set my paths to the clientscript files to be my WHOLE path, i.e., http://www.myforum.com/forums/... etc for it to work.

Good luck!

cbiweb 08-28-2009 11:29 PM

How can it be that I followed the instructions exactly as written, TWICE, and still don't have tabs? All I get is a regular unordered list. I even reverted the relevant templates to the defaults before starting, just to be sure it worked. :confused:

Edit: Found the solution. I had applied Schnee's fix above, but not to this part of the code:

Code:

<!-- Tabbed Forum Home Header Code -->   
    <link rel="stylesheet" type="text/css" href="/clientscript/tabs/ajaxtabs.css" />
    <script type="text/javascript" src="/clientscript/tabs/ajaxtabs.js"> </script>
<!-- /Tabbed Forum Home Header Code -->

Once I did that, it worked fine. Perhaps this should be in the installation instructions? ;)

bobster65 08-28-2009 11:33 PM

Quote:

Originally Posted by cbiweb (Post 1876094)
How can it be that I followed the instructions exactly as written, TWICE, and still don't have tabs? All I get is a regular unordered list. I even reverted the relevant templates to the defaults before starting, just to be sure it worked. :confused:

try removing the / from the clientscript path for both the js and css includes .. that are put the fully URL to those files..

cbiweb 08-28-2009 11:45 PM

Thanks, bobster. :) I'll take out the full URLs and leave off the / like you suggest. I'd rather do that because full URLs can come back to bite! ;)

cbiweb 08-29-2009 12:19 AM

One more thing... I'm using 1.5.0 beta, and would like to have a default tab selected when the page loads. I see instructions for v1.01, is there way to do the same thing in 1.5.0?


All times are GMT. The time now is 10:18 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.02714 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
  • (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