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 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 04:33 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.02101 seconds
  • Memory Usage 1,760KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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