vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Forum Home Enhancements - [YUI] Tabbed Forum Home (https://vborg.vbsupport.ru/showthread.php?t=233135)

bobster65 07-07-2011 06:30 PM

Quote:

Originally Posted by radiofranky (Post 2217517)
will this mod works with vbadvanced? thanks

I really like the tab style, especially you have +10 forums

cheers

No, this for the FORUM HOME of vbulletin.

I answered your post on the vbadvanced site. I released AJAX Tabs for vbadvanced (both here and on the vbadvanced site).

Trek 07-07-2011 08:06 PM

Thanks for the mod, working good (I still need to style it though). But one question, I have the mod "Vault Wiki" installed and this does not display any of the Wiki "forums" (the mod uses forums as a wiki) at all. No idea really, but was wondering if you had any idea on what I might be able to look into in order to get it to display these?

I looked into your Module setup, but I don't want them all displayed in a single tab, they are separated out into various areas of the site depending on their content/access, so I'd like them to display where they display currently, just in the forum tab with the rest of the forums in that category.

Trek 07-07-2011 08:53 PM

Actually, it's not completely working right.

I have about 8 tabs I made, only a few of them seem to work. I've validated that the categories are in fact categories, but the subforums still do not display. Basically, anything 3 levels deep isn't displaying.

Here's an example of my hierarchy:

Root
--Level 2
----Level 3
------Level4
If a category is at level Root or Level 2, then the subforums will display in the tab, anything under it, I can't get it to display.

joggele 07-08-2011 09:19 PM

1 Attachment(s)
Hello Bobster,

i installed your great innovation to our community (www.sprinter-forum.net)! It looks and works fine, but it is not the best performance at the load.

I tested our website with www.webpagetest.org. And so I see what's the problem:

Our dedicated server is standing in Berlin/Germany. But always "tabbed forum" is called, the modification goes to Sunnyville, CA. This is the not the shortest way from Germany :rolleyes:.
You can see the result at the attachments.

At every time, if users push a tab, they goes to CA. This is really not very performant for us.

Have I any chance that the integrated javascript not call in CA?


regards
Juergen

final kaoss 07-08-2011 09:52 PM

That's because the yui is from yahoo and that's where it's hosted. Maybe they host the yui in germany too? If so, make changes.

Khriz 07-12-2011 02:40 AM

When released the new version? I've been long waiting for U_U

victorvu 07-12-2011 04:22 AM

Hello Bobster65:

First, I would like to congrat you for this mod. I think it is well done for creating the tabs in forum at the top level. I installed it without any problems.

Second, if this method could carry to lower level of the forums, that would be a plus, because sometimes a very large forum could use tabs to make it simplier for the users.

Third, if this method could also be done for blog and cms, that would add more capabilities for the vBulletin as well as making it simplier to manage information.

Forth, if this method could also be done as a stand alone item, so that I somehow want to insert it in the cms articles or forum threads or in blog articles.

Thank you very much for the mod. I installed, voted and nominated.

Victor

joggele 07-14-2011 07:48 AM

It's a fine idea and it looks very good, but ...

I've uninstall this add-on, because the YUI files, which this add-on is using, are in Canada. If I start a performance test (ex. http://www.webpagetest.org/), the result is not very fast.


regards
Juergen

bobster65 07-14-2011 01:18 PM

Quote:

Originally Posted by joggele (Post 2220349)
It's a fine idea and it looks very good, but ...

I've uninstall this add-on, because the YUI files, which this add-on is using, are in Canada. If I start a performance test (ex. http://www.webpagetest.org/), the result is not very fast.


regards
Juergen

You can host the js files where ever you want to (Local, CDN etc)..

Trek 07-14-2011 10:00 PM

Ok, I have this working fine now, other than it not being compatible with VaultWiki. Once I can get those forums to appear in this as well, I'll be able to use it.

victorvu 07-14-2011 10:20 PM

Hello Bobster65:

One thing I forgot to mention that the minimized button (arrow) is not working for all the forums. I think you are missing something there.

Victor


Quote:

Originally Posted by victorvu (Post 2219529)
Hello Bobster65:

First, I would like to congrat you for this mod. I think it is well done for creating the tabs in forum at the top level. I installed it without any problems.

Second, if this method could carry to lower level of the forums, that would be a plus, because sometimes a very large forum could use tabs to make it simplier for the users.

Third, if this method could also be done for blog and cms, that would add more capabilities for the vBulletin as well as making it simplier to manage information.

Forth, if this method could also be done as a stand alone item, so that I somehow want to insert it in the cms articles or forum threads or in blog articles.

Thank you very much for the mod. I installed, voted and nominated.

Victor


victorvu 07-15-2011 03:35 PM

1 Attachment(s)
I installed film strip mod first without any issues and love it, but now I have issue after installing Tabbed Forum Home mod. It gives me double film strips: one above the Tabbed Forum Home and one below Tabbed Home Forum, as shown below:

Attachment 131051

I am not sure at this moment, but the Tabbed Forum Home is responsible for this conflict. I post it here for possible fixes. I have the following:

1) The hook for film strip is below and it is correct:

$template_hook[forumhome_above_forums] .= $templater->render();

It calls out the film strip above forum.

2) The Tabbed Forum Home calls out both places, as highlighted and shown in RED color below:

<!-- main -->
{vb:raw template_hook.forumhome_above_forums}

<!-- Tabbed Forum Home -->
<div id="forumhome_container" style="margin-top:3px"> </div>
<script type="text/javascript"> {vb:raw tfh} </script>
<!-- /Tabbed Forum Home -->

{vb:raw template_hook.forumhome_below_forums}
<!-- /main -->

It did not call out the hook for the Tabbed Forum Home mod. I am not sure what going on here?

Please help!

Victor

nando99 07-17-2011 11:45 PM

installing now... jw if theres a latest thread module for this?

insanewhip 07-18-2011 05:51 AM

I tried installing this on 4.1.4 and it doesn't seem to work. I followed directions exactly but its giving me this error code:

Warning: require_once(includes/class_yui.php) [function.require-once]: failed to open stream: No such file or directory in [path]/forum.php(653) : eval()'d code on line 184

Fatal error: require_once() [function.require]: Failed opening required 'includes/class_yui.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/i/n/s/insanewhips/html/forum.php(653) : eval()'d code on line 184

Any help?

Trek 07-18-2011 04:54 PM

Can you please add support for VaultWiki forums? I'm not sure how it does things differently, but any VW forums are not appearing in the list when using this mod.

kderentz 08-04-2011 03:23 AM

Quote:

Originally Posted by bobster65 (Post 2220429)
You can host the js files where ever you want to (Local, CDN etc)..

Where can I DL the js files? Can you explain how to host them somewhere else as I noticed my sites loading is much slower with this.

insanewhip 08-09-2011 07:01 AM

Hey i installed everything like you said, but im getting some error codes and only the XML file is causing it... I unpluged some mods that i have on my site but im still getting this..

Warning: require_once(includes/class_yui.php) [function.require-once]: failed to open stream: No such file or directory in [path]/forum.php(653) : eval()'d code on line 48

Fatal error: require_once() [function.require]: Failed opening required 'includes/class_yui.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/i/n/s/insanewhips/html/forum.php(653) : eval()'d code on line 48

Any ideas? The first error code i got was 220 instead of line 48...

Thanks

Abhik 08-09-2011 05:32 PM

The tabs aren't showing the forums..
What may cause this? YUI Conflict?

I have several mod which uses their own YUI (Like AWCoding Donation System)

akxt660 08-20-2011 08:45 PM

Hello! I need to change the header image, one image to each of the available tabs, i can find a direct link to each of the tabs? Thank you.

infun 08-23-2011 01:52 AM

tax

infun 08-23-2011 02:14 AM

Help please
It does not show the forums

garyopa 08-30-2011 03:48 AM

I read thru all 45 pages, and I honestly can't see to find any working fix, for the fact that "All Forums" module, shows all the forums to everyone no matter if they have premission to view it or not. -- Of course they can't view the contents, but it still shows the "last post by" and time and the name of the semi-private forum. -- this bug really needs to be fixed!

garyopa 09-01-2011 06:26 PM

Found another bug with this.

Users with IE9, never get "reloads" in their browser windows, as IE9 caches all ajax stuff, so everything works, except "LAST POST" info never changes, as IE9 is caching it, even if the plugin is set NOT to cache.

Works fine in all other browsers, and older IE9's.

There a thread on how to change "cache headers" to make IE9 compatible with other AJAX scripting problems, but for the life of me I can't figure out how to port over those changes to this plugin.

This is one mod I really wish would be updated.

Michael.A 09-02-2011 08:02 PM

is this using AJAX?

NVM i dsont think so..

garyopa 09-02-2011 11:06 PM

Quote:

Originally Posted by MAD--DOG (Post 2241309)
is this using AJAX?

NVM i dsont think so..

Well the first post from the author itself states the following:

Quote:

These Tabs actually switch the content via AJAX without leaving the main forums page.
Well for sure it has a caching problem with IE9, if the user does not have the cache set to CHECK EVERY TIME I VISIT A WEBPAGE (which is not the default setting), on IE9, you never get to see the "reloads" when you switch tabbed pages, infact it can stay for over a day with no updates, so it sucks as users don't think there is any new posts, when in fact there is.

mikez006 09-22-2011 06:38 PM

Just installed on 4.1.4, tabs show up, but no forums are listed. Any ideas?

Lostboyfan 09-24-2011 11:24 PM

Tagged for later

bracodesign 09-25-2011 06:01 AM

I'm sorry, I'm from Brazil and do not speak English very well, I'm using google translator to formulate my question.

I'm new to VBulletin, I could not finish the installation. I did steps 1 and 2, but did not understand step 3.

Where do I find this page where I have to change the codes, I could explain it better?

Doc90 09-27-2011 07:20 AM

tagged

is it possible to obtain something like this?
http://www.inforge.net/community/

(it's jquery i think)

bracodesign 10-01-2011 01:53 AM

can anyone explain how to perform step 3, do not know what file should I modify the code

bobster65 10-01-2011 01:59 AM

Quote:

Originally Posted by bracodesign (Post 2251815)
can anyone explain how to perform step 3, do not know what file should I modify the code

Step 3 is TEMPLATE Edits, not file edits.

You edit templates via the Admin CP.

Styles & Templates >> Style Manager >> Edit Templates (chose this from the drop down box for the particular style you want to edit) >> chose which template you want to edit.

bracodesign 10-01-2011 01:31 PM

I'm sorry my ignorance, I really understand very little of vbulletin, I made it in the editing area as you indicated, but did not understand what I edit. information by editing, I should change the template in 3 parts, the first part I need to enter a code before the tag </ head> right? I found this tag within a "activateform" and insert the code. Is that correct? The second is to modify the content between the <! - Main -> but I can not find the right place.

These are the installation instructions, help me with this part of me showing how to do?

=========================
FORUMHOME TEMPLATE EDIT 1
=========================
INSERT THE BELOW LINE OF CODE RIGHT BEFORE </head>

<!-- Tabbed Forum Home Header Code -->

<!-- TFH CSS -->
<link rel="stylesheet" type="text/css" href="{vb:raw vboptions.bburl}/tfh/tabview.css" />
<link rel="stylesheet" type="text/css" href="{vb:raw vboptions.bburl}/tfh/skin-tfh.css" />

<!-- YUI Library -->
<script type="text/javascript" src="http://yui.yahooapis.com/2.7.0/build/utilities/utilities.js"></script>
<script type="text/javascript" src="http://yui.yahooapis.com/2.7.0/build/tabview/tabview-min.js"></script>

<!-- YUI Library Extension: Dispatcher -->
<script type="text/javascript" src="http://js.bubbling-library.com/2.1/build/dispatcher/dispatcher-min.js"></script>

<!-- /Tabbed Forum Home Header Code -->

=========================
FORUMHOME TEMPLATE EDIT 2
=========================
REPLACE:

<!-- main -->

*all the Default vb CODE between the remarks*

<!-- /main -->

WITH:

<!-- main -->

{vb:raw template_hook.forumhome_above_forums}

<!-- Tabbed Forum Home -->

<div id="forumhome_container" style="margin-top:5px"> </div>

<script type="text/javascript"> {vb:raw tfh} </script>

<!-- /Tabbed Forum Home -->

{vb:raw template_hook.forumhome_below_forums}

<!-- /main -->

NOTE: IF YOU HAVE CUSTOM <!-- main --> through <!-- /main --> CODE, YOU WILL NEED TO COPY IT AND REPLACE THE DEFAULT CODE IN THE FORUMHOMETAB TEMPLATE

=====================
FORUMHOMETAB TEMPLATE
=====================
THIS IS AUTOMATICALLY CREATED FOR YOU BASED ON DEFAULT VB4.

NOTE: YOU ONLY NEED TO EDIT THIS IF YOU HAVE A CUSTOM STYLE THAT HAS A DIFFERENT FORUMHOME <!-- main --> **CUSTOM CODE** <!-- /main --> CODE

<!-- main -->

<ol id="forums" class="floatcontainer">
{vb:raw forumbits}
</ol>

<!-- /main -->

{vb:raw forumhome_markread_script}

NOTE: IF YOU HAVE A CUSTOM STYLE WITH DIFFERET <!-- main --> **CUSTOM** <!-- /main --> CODE, Replace with your custom code. You do need to leave the last line ( {vb:raw forumhome_markread_script} ) in place tho as that is used for marking the forum(s) as READ.

================================================
forumhome_forumbit_level1_nopost TEMPLATE EDIT 1
================================================
INSERT AT BEGINNING OF TEMPLATE:

<vb:if condition="(THIS_SCRIPT=='indexTFH' AND (in_array($forum['forumid'], $_REQUEST['tabcat']) OR in_array('all', $_REQUEST['tabcat']))) OR (THIS_SCRIPT=='forumdisplay') OR (THIS_SCRIPT=='index')">

================================================
forumhome_forumbit_level1_nopost TEMPLATE EDIT 2
================================================
INSERT AT END OF TEMPLATE:

</vb:if>

==============================================
forumhome_forumbit_level1_post TEMPLATE EDIT 1
==============================================
INSERT AT BEGINNING OF TEMPLATE:

<vb:if condition="(THIS_SCRIPT=='indexTFH' AND (in_array($forum['forumid'], $_REQUEST['tabcat']) OR in_array('all', $_REQUEST['tabcat']))) OR (THIS_SCRIPT=='forumdisplay') OR (THIS_SCRIPT=='index')">

==============================================
forumhome_forumbit_level1_post TEMPLATE EDIT 2
==============================================
INSERT AT END OF TEMPLATE:

</vb:if>

Angle4cor 10-02-2011 06:57 PM

https://vborg.vbsupport.ru/external/2011/10/73.png

After all I always get only this. My categories just disappeared. I tried to do this on three styles already. I'm using vB 4.1.6.

Can someone help me?

Thanks in advance.

bobster65 10-04-2011 01:48 AM

Quote:

Originally Posted by bracodesign (Post 2251963)
I'm sorry my ignorance, I really understand very little of vbulletin, I made it in the editing area as you indicated, but did not understand what I edit. information by editing, I should change the template in 3 parts, the first part I need to enter a code before the tag </ head> right? I found this tag within a "activateform" and insert the code. Is that correct? The second is to modify the content between the <! - Main -> but I can not find the right place.

These are the installation instructions, help me with this part of me showing how to do?

=========================
FORUMHOME TEMPLATE EDIT 1
=========================

=========================
FORUMHOME TEMPLATE EDIT 2
=========================


=====================
FORUMHOMETAB TEMPLATE
=====================


================================================
forumhome_forumbit_level1_nopost TEMPLATE EDIT 1
================================================


================================================
forumhome_forumbit_level1_nopost TEMPLATE EDIT 2
================================================



==============================================
forumhome_forumbit_level1_post TEMPLATE EDIT 1
==============================================


==============================================
forumhome_forumbit_level1_post TEMPLATE EDIT 2
==============================================

The BOLD RED are the names of the specific template(s) that you edit.

bracodesign 10-04-2011 03:44 AM

I have some categories and within a forum with several sub-forums, how do I set the tab to show all when clicked, would be: tabindex.php? Tabcat [] = 152
152 is the ID of the category?

Angle4cor 10-04-2011 02:31 PM

Quote:

Originally Posted by Angle4cor (Post 2252448)
https://vborg.vbsupport.ru/external/2011/10/73.png

After all I always get only this. My categories just disappeared. I tried to do this on three styles already. I'm using vB 4.1.6.

Can someone help me?

Thanks in advance.

Anybody ?I made it step by step and still nothing.

RichieBoy67 10-11-2011 09:56 PM

Angle, You haven't made any tabs yet...

RichieBoy67 10-11-2011 10:07 PM

Have you released this yet??

Quote:

Originally Posted by ZeroHour (Post 2192235)
I am working on a fix right now, simply put the collapse code vbulletin has scans the page for certian tags and applies the collapse's and tags the onclick event to found links. Because the tabs are loaded after the page is loaded (aka dynamic) the script that does this tagging has already run and does not rerun.

For now I would remove the tab code for now. Remove the following from forumhpme_forumbit_level1_nopost THIS ISSUE HAS BEEN FIXED AND A FIXED VERSION WILL BE COMING SOON
Code:

<a class="collapse" id="collapse_c_cat{vb:raw forum.forumid}" href="{vb:raw relpath}#top"><img src="{vb:stylevar imgdir_button}/collapse_40b.png" alt="" title="{vb:rawphrase collapse_this_category}" /></a>
That will remove the button.

Regarding Santori's implementation, its not a tweaked version of this mod, his code loads the tab content along with the page as hidden div tags which means the vbulletin code can *tag* the collapse onclick to the divs. This also makes the pages a larger and I dont think the tabs live update themselves either unlike this mod. This is a lot like the vb3 version of a similar mod and not dynamic tab content.

Regarding vBSEO, I have vbSEO here and it all plays well.

Regarding SEO in general, like I said in the last post, if you are feeding google etc sitemaps there should be no real seo hit as your forum home page is not going to be affected in rankings tbh. In a way because the page size is smaller for forumhome you could actually benefit. Most of your google traffic will probably be *long tail* aka to specific threads rather then to your forumhome, having had a site using this for ages now its not had any negative effect I can see.


vanquish.securi 10-22-2011 02:37 AM

Works great on vB 4.1.7. Minus the hidden tabs when group ID is private. I guess you will have to treat it like a teaser. Although the Moderators tab did not how on regular user group test account. Installed. Such a great mod and blows mybb tabs away.

nezr 12-06-2011 05:41 AM

any new updates coming? :)


All times are GMT. The time now is 08:12 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.02435 seconds
  • Memory Usage 1,856KB
  • 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
  • (1)bbcode_code_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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