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)

ProFifaLeagues 08-07-2012 01:34 PM

Quote:

Originally Posted by LouiseWilson (Post 2355221)
Well do all these other people who have it working have TMS ? is the question or have other people without TMS got it working as it only seems the road block at the moment.


I dont have the TMS installed but Have the mod working well on 4.2 On my standard skin

Zero came along and figured there was a conflict with the mod I posted about before hand but otherwise all A1

Losias 08-08-2012 02:54 AM

I've installed the mod, and it is working correctly. However, I've got a question about a custom module. What I'm looking for is a tab that will open up a page with a simple iframe embedded. How would I go about that? I'd love to get a few things nicely integrated into my site, and this mod would do it if I can get the implementation I want. Thanks in advance!

ProFifaLeagues 08-08-2012 05:12 AM

Quote:

Originally Posted by Losias (Post 2355391)
I've installed the mod, and it is working correctly. However, I've got a question about a custom module. What I'm looking for is a tab that will open up a page with a simple iframe embedded. How would I go about that? I'd love to get a few things nicely integrated into my site, and this mod would do it if I can get the implementation I want. Thanks in advance!


This one may be handy for that case m8 https://vborg.vbsupport.ru/showthread.php?t=281786

Losias 08-08-2012 12:33 PM

Quote:

Originally Posted by ProFifaLeagues (Post 2355427)
This one may be handy for that case m8 https://vborg.vbsupport.ru/showthread.php?t=281786

Brilliant! I'm not sure how I missed that before. Thanks!

LouiseWilson 08-08-2012 04:51 PM

so is ZeroHour going to jump onto this thread and help me out ?

LouiseWilson 08-09-2012 12:46 AM

ok finally sorted this out, all working as intended

LgsOfChampions 08-10-2012 07:54 PM

any chance u wanna help me bro?

LouiseWilson 08-10-2012 08:04 PM

you said you installed on a fresh site is it still up ?, if so let me know the details and ill give it a bash for you .

OQP 08-25-2012 01:32 PM

Hey mate LouiseWilson I also have the same problem is there is any idea to solve it out...

LgsOfChampions 08-26-2012 12:05 AM

Quote:

Originally Posted by OQP (Post 2359875)
Hey mate LouiseWilson I also have the same problem is there is any idea to solve it out...

It was pointed out to me about another tab system which is working and has more features to it by another vB member.

I won't advertise the link in here out of respect of zero's hard work on his mod. However, if your in need of a functional tab system that works now and I have no issue's with it what's so ever, then PM me

ArchAngelz 08-26-2012 01:42 PM

Hi,

I am trying to insert some banners between certain forum categories and am looking at this:

https://vborg.vbsupport.ru/showthread.php?t=275643

However, this doesn't seem to quite work with this mod (which I am also using). Anyone knows how to marry the two together?

Thanks!

onfranco 09-02-2012 03:33 PM

hi, i have a problem . i have done all but dont work . I installed EG: Tabbed Forum Home ver 4.0.8. i have vbulletin 4.2 version on.

i have replaced three template :

1) FORUMHOME TEMPLATE : i have add your code before head so the result :

{vb:stylevar htmldoctype}
<html xmlns="http://www.w3.org/1999/xhtml"<vb:if condition="$vboptions['enablefacebookconnect']"> xmlns:fb="http://www.facebook.com/2008/fbml"</vb:if> dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html">
<!-- Tabbed Forum Home Header Code 4.0.8 -->
<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" />
<!-- TFH JS -->
<script type="text/javascript">
<!--
if (remoteyui)
{
document.write('<script type="text/javascript" src="{vb:raw vboptions.bburl}/clientscript/tfh/dispatcher-min.2.2.js"></script>');
document.write('<script type="text/javascript" src="http://yui.yahooapis.com/2.9.0/build/element/element-min.js"></script>');
document.write('<script type="text/javascript" src="http://yui.yahooapis.com/2.9.0/build/tabview/tabview-min.js"></script>');
}
else
{
document.write('<script type="text/javascript" src="{vb:raw vboptions.bburl}/clientscript/tfh/dispatcher-min.2.2.js"></script>');
document.write('<script type="text/javascript" src="{vb:raw vboptions.bburl}/clientscript/yui/element/element-min.js"></script>');
document.write('<script type="text/javascript" src="{vb:raw vboptions.bburl}/clientscript/yui/tabview/tabview-min.js"></script>');
}
//-->
</script>
<!-- /Tabbed Forum Home Header Code -->
<head>

2) i have add second template

3) i have insert other two template with code at start of template and at the end of that.

4) then i have configured in admicp the plugin

but dont work

my site is www.gildaserenity.com

have you some suggest to me :up::D

LouiseWilson 09-02-2012 05:26 PM

Explain what you did on

2) I have add second template

to which template ?

onfranco 09-03-2012 09:58 AM

ok i will try to explain me better:

I modified the 3 template as :

1) FORUMHOME code (changes in red) :

{vb:stylevar htmldoctype}
<html xmlns="http://www.w3.org/1999/xhtml"<vb:if condition="$vboptions['enablefacebookconnect']"> xmlns:fb="http://www.facebook.com/2008/fbml"</vb:if> dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html">
<!-- Tabbed Forum Home Header Code 4.0.8 -->
<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" />
<!-- TFH JS -->
<script type="text/javascript">
<!--
if (remoteyui)
{
document.write('<script type="text/javascript" src="{vb:raw vboptions.bburl}/clientscript/tfh/dispatcher-min.2.2.js"></script>');
document.write('<script type="text/javascript" src="http://yui.yahooapis.com/2.9.0/build/element/element-min.js"></script>');
document.write('<script type="text/javascript" src="http://yui.yahooapis.com/2.9.0/build/tabview/tabview-min.js"></script>');
}
else
{
document.write('<script type="text/javascript" src="{vb:raw vboptions.bburl}/clientscript/tfh/dispatcher-min.2.2.js"></script>');
document.write('<script type="text/javascript" src="{vb:raw vboptions.bburl}/clientscript/yui/element/element-min.js"></script>');
document.write('<script type="text/javascript" src="{vb:raw vboptions.bburl}/clientscript/yui/tabview/tabview-min.js"></script>');
}
//-->
</script>
<!-- /Tabbed Forum Home Header Code -->

<head>

2) FORUMHOMETAB

<!-- 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 eg_tfh} </script>
<!-- /Tabbed Forum Home -->
{vb:raw template_hook.forumhome_below_forums}
<!-- /main -->


3) forumhome_forumbit_level1_nopost

<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')">
<li class="forumbit_nopost {vb:raw forum.statusicon} L1" id="cat{vb:raw forum.forumid}">
<div class="forumhead foruminfo L1 collapse">
<h2>
<span class="forumtitle"><a href="{vb:link forum, {vb:raw forum}}">{vb:raw forum.title}</a></span>
<span class="forumthreadpost">{vb:rawphrase threads_posts}&nbsp;</span>
<span class="forumlastpost">{vb:rawphrase last_post}</span>
<vb:if condition="!$show['collapsable_forums']">
<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="" /></a>
</vb:if>
</h2>

<vb:if condition="$show['forumdescription'] OR $show['subforums']">
<div class="forumrowdata">
<vb:if condition="$show['forumdescription']"><p class="subforumdescription">{vb:raw forum.description}</p></vb:if>
<vb:if condition="$show['subforums']">
{vb:raw forum.subforums}
</vb:if>
</div>
</vb:if>
</div>
<vb:if condition="$childforumbits">
<ol id="c_cat{vb:raw forum.forumid}" class="childforum">
{vb:raw childforumbits}
</ol>
</vb:if>
</li>
</vb:if>

4) forumhome_forumbit_level1_post

<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')">
<li id="forum{vb:raw forum.forumid}" class="forumbit_post {vb:raw forum.statusicon} L1">
<vb:if condition="THIS_SCRIPT != 'forumdisplay'">
<div class="forumhead L1">
<h2>
<span class="forumtitle">&nbsp;</span>
<span class="forumthreadpost">{vb:rawphrase threads_posts}&nbsp;</span>
<span class="forumlastpost">{vb:rawphrase last_post}</span>
</h2>
</div>
</vb:if>
<div class="forumbit_post L2">
<div class="forumrow">
<div class="foruminfo">
<img src="{vb:stylevar imgdir_statusicon}/{vb:raw forum.imageprefix}forum_{vb:raw forum.statusicon}-48.png" class="forumicon" id="forum_statusicon_{vb:raw forum.forumid}" alt="" />
<div class="forumdata">
<div class="datacontainer">
<div class="titleline">
<h2 class="forumtitle"><a href="{vb:link forum, {vb:raw forum}}">{vb:raw forum.title}</a></h2>
<vb:if condition="$show['browsers']"><span class="viewing">({vb:raw forum.browsers} {vb:rawphrase viewing})</span></vb:if>
</div>
<vb:if condition="$show['forumdescription']"><p class="forumdescription">{vb:raw forum.description}</p></vb:if>
<vb:if condition="$vboptions['showmoderatorcolumn'] AND $forum['moderators']">
<div class="moderators">
<h4>{vb:rawphrase moderators}:</h4>
<ol class="commalist">
<vb:each from="forum.moderators" value="row">
<li><a class="username" href="{vb:link member, {vb:raw row}}">{vb:raw row.musername}</a>{vb:raw row.comma}</li>
</vb:each>
</ol>
</div>
</vb:if>
<vb:if condition="$show['subforums']">
{vb:raw forum.subforums}
</vb:if>
</div>
</div>
</div>
<vb:if condition="$forum['statusicon'] != 'link'">
<h4 class="nocss_label">{vb:rawphrase forum_actions}:</h4>
<ul class="forumactionlinks td">
<vb:if condition="$forum['allowposting']">
<vb:if condition="$show['externalrss']">
<li class="forumactionlink rsslink"><a href="external.php?{vb:raw session.sessionurl}type=RSS2&amp;forumids={vb:raw forum.forumid}" title="{vb:rawphrase view_forum_rss_feed}">{vb:rawphrase view_forum_rss_feed}</a></li>
</vb:if>
<vb:if condition="$show['member']">
<vb:if condition="$show['forumsubscription']">
<li class="forumactionlink unsubslink"> <a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}subscription.php?{vb:raw session.sessionurl}do=removesubscription&amp;f={vb :raw forum.forumid}" title="{vb:rawphrase unsubscribe_from_this_forum}">{vb:rawphrase unsubscribe_from_this_forum}</a></li>
<vb:else />
<li class="forumactionlink subslink"> <a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}subscription.php?{vb:raw session.sessionurl}do=addsubscription&amp;f={vb:ra w forum.forumid}" title="{vb:rawphrase subscribe_to_this_forum}">{vb:rawphrase subscribe_to_this_forum}</a></li>
</vb:if>
</vb:if>
</vb:if>
</ul>
<h4 class="nocss_label">{vb:rawphrase forum_statistics}:</h4>
<ul class="forumstats_2 td">
<li>{vb:rawphrase threads}: {vb:raw forum.threadcount}</li>
<li>{vb:rawphrase posts}: {vb:raw forum.replycount}</li>
</ul>
<div class="forumlastpost td">
<h4 class="lastpostlabel">{vb:rawphrase last_post}:</h4>
<div>
{vb:raw forum.lastpostinfo}
</div>
</div>
</vb:if>
</div>
<vb:if condition="$childforumbits">
<ol id="childforum_for_{vb:raw forum.forumid}" class="childsubforum">
{vb:raw childforumbits}
</ol>
</vb:if>
</div>
</li>
</vb:if>

-) Upload Files located in the UPLOAD FOLDER to your FORUM ROOT : done

- ) Then i imported file product-edugeek_tfh done

-) then i managed Admin CP EG: Tabbed Forum Home

:confused:

LouiseWilson 09-03-2012 10:57 AM

This part

Quote:

2) FORUMHOMETAB

<!-- 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 eg_tfh} </script>
<!-- /Tabbed Forum Home -->
{vb:raw template_hook.forumhome_below_forums}
<!-- /main -->
Edit your FORUMHOME template

Find
PHP Code:

<!-- main -->
        {
vb:raw template_hook.forumhome_above_forums}
    <
ol id="forums" class="floatcontainer">
        {
vb:raw forumbits}
    </
ol>
        {
vb:raw template_hook.forumhome_below_forums}
    <!-- /
main --> 

and replace with

Code:

<!-- 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 eg_tfh} </script>
<!-- /Tabbed Forum Home  -->
{vb:raw template_hook.forumhome_below_forums}
<!-- /main -->

the above sorted the issue out for me, the how to install is not obviously written very well, nor by the looks is this mod supported.
or simply wait for DragonByte Tech to release there mod that will be coming.

segamarius 09-22-2012 09:25 PM

How make the browser's back button bring you back to your last active tab?

garyopa 10-04-2012 02:17 AM

How can you uninstalled this plugin.

I have stopped using it.

I removed all changes to the templates.

And deleted the plugin.

But I can't remove the PHP files from the server, if I do I get tons of database errors that it is looking for the plugin tables.

lurch_cr 11-07-2012 12:19 AM

ZeroHour,

First up - sensational Mod. WHen you have lots of forums, you end up with a really long front page, and this is a great way around it.

Several pages back, a question was asked regarding VaultWiki. I too use this and wanted to dedicate a tab to it; however the only thing that appears in the tab is the "normal" discussion forum. None of the 'Wiki' forums appear.

Happy to give you access yadda yadda to help.

Regards,
Lurch

killerford 11-07-2012 01:57 AM

Does this work for 4.2?

lurch_cr 11-07-2012 04:12 AM

Quote:

Originally Posted by killerford (Post 2379017)
Does this work for 4.2?

Yes

killerford 11-07-2012 05:24 PM

So which out of the two files do I need to download? I'm running 4.2

lurch_cr 11-09-2012 12:54 AM

tfh4.0.8.zip

W2OE_Prodigy 12-02-2012 07:29 AM

I need some help.

Some of my categories are not showing up in the tabs. I have made sure the correct ID is placed and nothing shows up. (They are categories and have no parent forums). Exact same setup as the ones that already work but this one and another are not working.

Can anybody help?

Jackchan 12-05-2012 05:22 PM

Well, when I edit the template and insert code before </head> , it's totally ruin break the forum and become a mess.

I remove the code and it back as normal so that code is the problem here!!

Could you point out what is the problem here?

Thanks.

CrumbDown 12-11-2012 01:06 PM

Hi

Can you add a notification to let viewers aware that JavaScript needs to be enabled? I have disabled mine and no message to alert me of an issue.

CrumbDown 12-27-2012 11:09 AM

I have an issue with this plugin. The forum link (not act a forum) redirects to the forum home page. Any reason why?

DAMINK 01-07-2013 09:12 AM

Got it working fine on my forum Latest version available: 4.2.0 Patch Level 3.
I do have one question however.

Any way we can set usergroups to have different tabs to load default?

DAMINK 01-07-2013 09:14 AM

Damn UNINSTALL lol.
No java means no forums. Thats a SMALL problem!

vicking74 01-23-2013 07:06 PM

Hi

It is compatible with version 4.2.0?

Thanks

fxdigi-cash 01-24-2013 04:30 AM

Quote:

Originally Posted by DAMINK (Post 2395235)
Damn UNINSTALL lol.
No java means no forums. Thats a SMALL problem!

I don't agree with what you said. I believe it is based on AJAX library so you don't need to worry about Java script function on the browser.... it would work anyways

I just made a little test without Java "java disabled" on my browser and it worked fine... no issues. :D

Cheers :)

fxdigi-cash 01-24-2013 04:32 AM

Quote:

Originally Posted by vicking74 (Post 2399002)
Hi

It is compatible with version 4.2.0?

Thanks

Yes, it is. I just installed it on vb.4.2 pl3. I installed both zip files, but only one worked well, which "tfh4.0.8"

Good luck, :)

Steve

fxdigi-cash 01-24-2013 10:27 PM

I just found that there is a conflict between this mod and some other mods. one issue is with the sidebar the feature made by vbullletin 4. The top arrow in the sidebar freezes and never move if this mod is installed.

I also noticed that there is a conflict with bf-latest topics ajax mod and thing never go right unless you choose to have the latest topics mod to display on top of footer.

Luis 01-30-2013 08:35 AM

a chance to remove the message "loading tab content" and get an instant view?

learning1234 01-30-2013 08:10 PM

i cant get this working i uploaded all files,did template mods but when i do this all forums dissappear,any help is appreciated

fxdigi-cash 02-02-2013 06:05 AM

Quote:

Originally Posted by learning1234 (Post 2400619)
i cant get this working i uploaded all files,did template mods but when i do this all forums dissappear,any help is appreciated

Did you follow all steps ??? also if so, do you see the tabs on your main forum??

I believe you are missed some step so please make sure again because I did it for 2 forums so far and both are working fine..

P.S: if all forums disappear, that means you did it right. All you need now is to grab the id of the main forums and create a tab for each forum(s) category you like to display in any tab...

fxdigi-cash 02-02-2013 06:17 AM

Quote:

Originally Posted by c0dehackz (Post 2400460)
a chance to remove the message "loading tab content" and get an instant view?

I believe it is possible to remove this instant message, look into the css file tabview.css and play with it. Maybe you can replace the picture ajax-loader.gif with anything else, or leave it empty...

If I have time, I will pass by again and see how this can be done. I don't think it is difficult task.


Cheers

mhgoz.com 02-14-2013 02:46 AM

thanks for this great work ,

i need for help right now , i want to make this tabs avilable in all pages of the fourm , also , i want to make a custom code for the main [ul] element of tabs and embed it in the header template manually , like this >>

PHP Code:

<ul >
<
li><a href="#">Name Of Tabs</a></li>
</
ul

but when i open the file , i did`t see any template tags or any html code to use or to update on it ,, ! so what could i do ?

mhgoz.com 02-17-2013 12:42 AM

if any body here can help in >
https://vborg.vbsupport.ru/showpost....&postcount=917

Amaury 02-25-2013 03:01 AM

What controls the styling?

We want to adjust it to fit each style accordingly.

Baghira 03-02-2013 11:30 PM

Hi. I can?t get it to work. Maybe, it?s my Forumhometab

This is what I have:

PHP Code:

<!-- main -->

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

{
vb:raw forumhome_markread_script}

<
script type="text/javascript">
vBCollapseFactory();
</
script>
<!-- /
main --> 

And this is what I did with it...

PHP Code:

<!-- 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 eg_tfh} </script>
<!-- /
Tabbed Forum Home  -->

{
vb:raw forumhome_markread_script}

<
script type="text/javascript">
vBCollapseFactory();
</
script>
<!-- /
main --> 



All times are GMT. The time now is 01:58 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.01973 seconds
  • Memory Usage 1,888KB
  • 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_php_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