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)

dodjer42 08-22-2008 07:49 AM

Love this hack!

One thing that is strange on my install is some white padding between forums now. It only appears when I select the 'tabbed' style. The parent style does not have that problem.

Eg: http://www.wpguild.com/index.php

Also, once ive gone into a sub forum, the tabs disappear. Is there anyway to have them their at all times?

Nordinho 08-22-2008 03:18 PM

Quote:

Originally Posted by bobster65 (Post 1561226)
You can take a look at dynamic drive and see if the remote links work differently within the AJAX Version of the .js file. I did see in their forums that someone from here posted about this issue and there was some sorta solution that seemed to work for them.. I don't have it bookmarked, just do a search on Tabs and Remote Links and you should be able to find it. Sorry that I can't be more help right now... Im not pursuing using the DD .js file anymore as we shifted all development to YUI Tabview. (and just so you know, so far remote links work like a charm with the YUI Tabview).

Hey Bob, great mod. I'm having some troubles setting up remote links as well. Looked at the DD thread.

Quote:

Quote:

If you are doing that, then you will need to find a way to be able to get that data (the get variable for forumtabs) and pass that along to the expandit function in the script. Normally it would be something like this:

Code:

ajaxtabs_instance.expandit(<?php echo $_GET['forumtabs'];?>);
Although, being that this is vb and you are not able to parse php in your templates, I'm at a loss.
Hope this helps nonetheless.
Ok, I can define something like $tabid in vb's core php file which is bbs.php and have that passed to template forumhome, so I could put something like

Code:

ajaxtabs_instance.expandit($tabid);
in my forumhome template

That shouldn't be hard.

Any ideas how to achieve that I tried adding

Code:

$tabid = $_GET['ajaxTFH'];
to my index.php, but that obviously was too simple thinking (btw using the 1.5 version of the mod)

Chris11987 08-22-2008 03:28 PM

I was sort of skimming the thread and it appear this works for 3.7.x, right?

Also, I saw something about Google not being able to crawl or get certain content with the tabs. What's the story with this?

iBaker 08-22-2008 10:23 PM

Quote:

Originally Posted by King Kovifor (Post 1603854)
For me, this seems unfeasible. As switching between tabs would make us have to use AJAX to change the quick search query after extracting the category ids and allowing sub-forums in the search. I will add it to our tracker, but most likely won't see it for a long time.

I have worked out that this can be done through Usergroups. If public joinable secondary usergroups were set, up one for each tab and users selected which tabs of forums they were interested in viewing, then all the search, new posts etc would only display what their usergroups were allowed to see

Now the final thing and what seems to be the most elusive feature for me is how to get the tab bar after my first main category of generic forums.

I have experimented but can't get it to work. My main category of generic forums is ForumID 4 so somewhere in the compilation of the forum home page i.e. as it is creating the forums to display it need to have an "if" in there. So as it creates the page if condition="$forum[forumid] == 4" then start creating the page as normal (without tabs) and then if condition="$forum[forumid] != 4" THEN create the tabs.

I know it sounds easy for a non coder which I am but no doubt it may not be as easy as that.

Any suggestions on how I can do this as I so desperatly need it - my forum members need it :)

bobster65 08-23-2008 01:29 AM

Quote:

Originally Posted by iBaker (Post 1604814)
I have worked out that this can be done through Usergroups. If public joinable secondary usergroups were set, up one for each tab and users selected which tabs of forums they were interested in viewing, then all the search, new posts etc would only display what their usergroups were allowed to see

Now the final thing and what seems to be the most elusive feature for me is how to get the tab bar after my first main category of generic forums.

I have experimented but can't get it to work. My main category of generic forums is ForumID 4 so somewhere in the compilation of the forum home page i.e. as it is creating the forums to display it need to have an "if" in there. So as it creates the page if condition="$forum[forumid] == 4" then start creating the page as normal (without tabs) and then if condition="$forum[forumid] != 4" THEN create the tabs.

I know it sounds easy for a non coder which I am but no doubt it may not be as easy as that.

Any suggestions on how I can do this as I so desperatly need it - my forum members need it :)

Its actually very easy to pull off by using some code from version 1 (to do the forums before the tabs).. I don't have time to explain it right now as we've been evaced from our property do to forest fires, so I have limited internet access at the moment. Just hang on for a few days and I will show you how simple it is to do..

iBaker 08-23-2008 03:01 AM

Thanks a million Bobster

One more thing - I have just noticed that the "Who's Online" page is showing many blank locations for users - anyone else have this and is there a fix?

Thanks!

The Cat! 08-24-2008 12:48 AM

Is there a way to disable the collapse? When I installed this I had a few catagories collapsed and now no matter what I do I can't get them to un-collapse. I would like to just disable them. Anyone?

i156 08-24-2008 03:32 AM

Nevermind, seems to be working great now!

King Kovifor 08-24-2008 04:50 PM

Quote:

Originally Posted by TheInsaneManiac (Post 1604183)
This really isn't necessary? Considering advanced search lists all forums and you can select any that you want to search in.

Let me explain why I am saying changing it doesn't seem easily achieved. Unless I am reading your reply wrong, you have say 3 tabs (made up):
Tab One: Forum IDs: 2, 5, 8
Tab Two: Forum IDs: 1, 4, 7
Tab Three: Forum IDs: 3, 6

Now, as I understand it, if you are viewing tab one you would like the quick search to only search Forum IDs 2, 5, and 8. But viewing tab two, you want it to search 1, 4, and 7. The problem is not learning how to specify the tab URLs, it is learning how to dynamically change the values as you switch tabs unless we redesigned how TFH looked by removing the navbar and forcing it into the tab view so it could be different per tab.

Also, I am not sure if we can limit new posts and the other suggested items based on forum ids.

Quote:

Originally Posted by Chris11987 (Post 1604513)
I was sort of skimming the thread and it appear this works for 3.7.x, right?

Also, I saw something about Google not being able to crawl or get certain content with the tabs. What's the story with this?

Yes, this works with 3.7.x and according to the website where the engine was found, it says it is search engine friendly.

Quote:

Originally Posted by iBaker (Post 1604910)
Thanks a million Bobster

One more thing - I have just noticed that the "Who's Online" page is showing many blank locations for users - anyone else have this and is there a fix?

Thanks!

I believe Bob uploaded a .xml that has WOL fixes, if not, it is fixed in 2.0 already.

Quote:

Originally Posted by The Cat! (Post 1605464)
Is there a way to disable the collapse? When I installed this I had a few catagories collapsed and now no matter what I do I can't get them to un-collapse. I would like to just disable them. Anyone?

This is a known bug and we are working on fixing this in 2.0. I don't have a solution for you now, Bob?

vietfancy 08-24-2008 05:19 PM

The who's online thing is not working.

:)


All times are GMT. The time now is 10:23 PM.

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.02408 seconds
  • Memory Usage 1,757KB
  • 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
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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