vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Forum Home Enhancements - Tabbed Forumhome 1.0.0 (Light) (https://vborg.vbsupport.ru/showthread.php?t=189672)

Gio~Logist 08-31-2008 11:20 PM

Quote:

Originally Posted by Gasper (Post 1611538)
Can you do that when is in forumdisplay, and the forum have sub-forum use tabs??

Not at the moment.

ForumsMods 08-31-2008 11:21 PM

And when the user is viewing the forum the tab has an other colour??

ArnyVee 08-31-2008 11:52 PM

I just installed it...piece of cake. I'm still debating whether I want to keep it or not. I'll ask my members what they think.

But, it does what it's supposed to and effectively. Thanks for sharing! :D

Gio~Logist 09-01-2008 12:04 AM

Quote:

Originally Posted by ArnyVee (Post 1611562)
I just installed it...piece of cake. I'm still debating whether I want to keep it or not. I'll ask my members what they think.

But, it does what it's supposed to and effectively. Thanks for sharing! :D

:up:

ZombieAndy 09-01-2008 12:34 AM

Just so i know before i install, how difficult is this to enable on one style and not on other styles?

ArnyVee 09-01-2008 12:42 AM

Gio....anyway that I can have this showing to members but not for guests? I want to make sure that guests are not going to think that nothing is going on by only seeing the first category with only two forums in it.

Any thoughts?

Gio~Logist 09-01-2008 01:02 AM

Quote:

Originally Posted by ArnyVee (Post 1611599)
Gio....anyway that I can have this showing to members but not for guests? I want to make sure that guests are not going to think that nothing is going on by only seeing the first category with only two forums in it.

Any thoughts?

That's already planned for the premium version, but not the light at the moment.

ArnyVee 09-01-2008 01:04 AM

Any ETA on when the premium version will have that option?

Gio~Logist 09-01-2008 01:05 AM

Quote:

Originally Posted by ArnyVee (Post 1611607)
Any ETA on when the premium version will have that option?

Should be available by tomorrow.

ArnyVee 09-01-2008 01:14 AM

Sounds good. Please update us on that. That would be very big for us.

Jezlad 09-01-2008 01:35 AM

Well the light version looks totally useless then :) Awesome!

Deepdog009 09-01-2008 03:11 AM

Beautiful Mod...:cool:

If U can get it to use multi-layered-tabs,,, that would be Beauts...

abrecher 09-01-2008 04:34 AM

Demo please ?

sinucello 09-01-2008 05:24 AM

Hi,

good idea but you should try to get close to this one regarding the layout:
http://www.e-steki.gr/

Looks more beautiful and usable to me.

all the best,
Sacha

Attitude5ire 09-01-2008 11:14 AM

Nice addon Gio, like the fact there are no Edits.
I made a Custom tab structure for Morbid Styles Tabs
I might post it in my main style thread.

Gud one mate.
Small suggestion:
Perhaps something for Ordering the main categories around, or is that a premium feature.

bijju 09-01-2008 11:52 AM

great product. how can i have tabs on every single page of the forum

ShadowOne 09-01-2008 02:18 PM

this was very simple to install...
i edited the header bits template to thead instead of tcat tho...
all depends on your style...
thanks...just what i needed...

sinucello 09-01-2008 02:30 PM

Hello again,
Quote:

Originally Posted by sinucello (Post 1611740)
good idea but you should try to get close to this one regarding the layout:
http://www.e-steki.gr/

Looks more beautiful and usable to me.

I have installed your mod now and it`s really great. Maybe you can pick up the e-steki idea and allow another set of tabs for "what`s going on", "stats" etc. Don`t know if that`s possible.

Could you make a compare list of your free- and premium versions features? I`m interested in buying the premium one but I?m not sure what it offers above the free one.

Thank you - all the best,
Sacha

maidos 09-01-2008 02:34 PM

how can i allow user to click the tabs instead of just navgiating to see the tabs forum
Can we have a image saying forum category like the link Attitude5ire posted.

masons_mum 09-01-2008 03:28 PM

i added this but for 5 of my styles it shows 'Forum, Last Post, Threads, Posts. ABOVE the category name so its not inline. How can i change this? Other than that works fab thank you :D

GoTTi 09-01-2008 03:52 PM

will this mod mess with spiders and search engine crawlers and their findings on the site?

GoTTi 09-01-2008 03:55 PM

the last post, threads, and post columns for the stats are not lined up properly. ideas?

mystic10 09-01-2008 04:35 PM

Yeah Same Problem..its Not In Linke...is There Anyway I Can Pic And Choose Which Ones I Want To Show.

Gio~Logist 09-01-2008 05:35 PM

Quote:

Originally Posted by masons_mum (Post 1612076)
i added this but for 5 of my styles it shows 'Forum, Last Post, Threads, Posts. ABOVE the category name so its not inline. How can i change this? Other than that works fab thank you :D

Quote:

Originally Posted by GoTTi (Post 1612105)
the last post, threads, and post columns for the stats are not lined up properly. ideas?

To get rid of the header information on a style from above the tabs and into the tabs instead:

Delete the following from the forumhome template:

HTML Code:

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
        <thead>
        <tr align="center">
          <td class="thead">&nbsp;</td>
          <td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
          <td class="thead">$vbphrase[last_post]</td>
          <td class="thead">$vbphrase[threads]</td>
          <td class="thead">$vbphrase[posts]</td>
          <if condition="$vboptions['showmoderatorcolumn']">
          <td class="thead">$vbphrase[moderator]</td>
          </if>
        </tr>
</thead>

After $forumbits, add:
HTML Code:

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
In forumhome_forumbit_level1_nopost

Add this to the top of the template:
HTML Code:

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
Then before
HTML Code:

</tbody>
Add:
HTML Code:

        <tr align="center">
          <td class="thead" width="50">&nbsp;</td>
          <td class="thead" align="$stylevar[left]">$vbphrase[forum]</td>
          <td class="thead" width="175">$vbphrase[last_post]</td>
          <td class="thead" width="90">$vbphrase[threads]</td>
          <td class="thead" width="90">$vbphrase[posts]</td>
          <if condition="$vboptions['showmoderatorcolumn']">
          <td class="thead">$vbphrase[moderator]</td>
          </if>
        </tr>

Now add </table> to the end of the template and you should be good to go.

Keep in mind you can mess with the option to add the forum table wrap to mess with which styles it'll automatically update well for you, and for the others you can make the edit above if you'd like.

Quote:

Originally Posted by mystic10 (Post 1612129)
Yeah Same Problem..its Not In Linke...is There Anyway I Can Pic And Choose Which Ones I Want To Show.

Not in the light version, sorry.

masons_mum 09-01-2008 06:03 PM

i dont want to get rid of it, i want to move it below the tabs that your mod creates, on one of my styles it all appeasrs fine. Thanks :)

sinucello 09-01-2008 06:03 PM

Hi,

I had a closer look at the mod and will post now a summary of my understanding of how the mod works and how it can be improved:
  1. It adds a div element with the id "forumhome_tabs_switch_content" which will contain the first category of forums on your forum-startpage. This category will be displayed initially / by default when loading the page.
  2. Then all categories including their forums are displayed again and wrapped with a div element with the id "forumhome_tabs_$forum[forumid]". This means the first category will be included twice in the generated HTML-Source code which unnecessarily increases the size and loading time of the start page. It`s also confusing for visually impaired people if their screen-readers read the first cat twice.
  3. The categories also get a "display: none" inline style so they don`t appear but instead work as content-containers for the little java-script that pulls the content in these containers to the "forumhome_tabs_switch_content" when clicking on a tab.
  4. To make the containers invisible via an inline style has the drawback of making all categories and their forums inaccessible for users that have deactivated JavaScript.

So the three major disadvantages are:
  • repetition of the first category and all it`s forums
  • non-functional links in the tabs when JS is turned off
  • all categories and their forums are hidden and unaccessible when JS is turned off

To get rid of the disadvantages you should change the tab-links from
Code:

<a href="#" onclick
to
Code:

<a href="#forumhome_tabs_$forum[forumid]" onclick
in template: g_forumhome_tabs_headbits
so they work as link to local anchors when JS is not available.

To make the local anchors work, you should give the div-content-containers a name attribute with the same value as their id:
Code:

<div style="display: none;" id="forumhome_tabs_$forum[forumid]" name="forumhome_tabs_$forum[forumid]">
in template g_forumhome_tabs_forumbit_1

That was the easy part. I don`t have enough knowledge and experience yet to make the next steps myself but it shouldn`t be too difficult for someone who knows a bit of DOM-scripting.

Basically you should remove the style="display: none;" for the content containers and stop the repitition of the first category. Then you should give the first category a different id then the other categories (might be there already) and hide all the other categories via DOM-script instead with inline style.

After that you would have to change the JS-function that gets called by the tab links so it switches the desired category visible and all others invisible.

I`ll try to solve it myself and find the necessary DOM-script snippets. But I hope there are few devs here who can help.

edit: I think I found a solution: http://www.stilbuero.de/2006/05/13/a...s-with-jquery/
Will try tomorrow.

all the best,
Sacha

Gio~Logist 09-01-2008 06:13 PM

Quote:

Originally Posted by masons_mum (Post 1612207)
i dont want to get rid of it, i want to move it below the tabs that your mod creates, on one of my styles it all appeasrs fine. Thanks :)

Edited the post accordingly : )

Hornstar 09-01-2008 08:11 PM

Will there be a pro version to this? or is light meaning something else?

Gio~Logist 09-01-2008 08:17 PM

Quote:

Originally Posted by hornstar1337 (Post 1612298)
Will there be a pro version to this? or is light meaning something else?

Yep, there already is. The link to it is in the first post ;)

TheInsaneManiac 09-01-2008 08:34 PM

Great job! It's even a product unlike those other modifications!

masons_mum 09-01-2008 08:45 PM

its fantastic thank you very much, your edits sorted out my problem with the alignment and display of the forum stats (i had to remove the </table> part at the end though as it put my themes out of line just incase anyone else has the same thing)

Its great that its a simple product, i tried the other tab ones and found it very difficult.

ZombieAndy 09-01-2008 09:27 PM

Quote:

Originally Posted by ZombieAndy (Post 1611592)
Just so i know before i install, how difficult is this to enable on one style and not on other styles?

How about answering my question Gio-logist?

Gio~Logist 09-01-2008 10:02 PM

Quote:

Originally Posted by ZombieAndy (Post 1612360)
How about answering my question Gio-logist?

That option is only available in the premium modification.

redlabour 09-02-2008 07:40 PM

Bug:

s. Screenshot

Gio~Logist 09-02-2008 07:59 PM

The first bug is a width issue that will be fixed in the next update, the second one is the option via admincp to add a forum table wrap, edit it accordingly ; )

ShadowOne 09-02-2008 10:23 PM

Nominated....

redlabour 09-03-2008 04:09 AM

Feature Request:

What i miss really hard is a Option to select which Forum ID?s should be Tabbed.

I only want to tab the 4 largest Areas of my Forum and not my News-, Annonuncement- and Teamforum. The small ones should allways be present.

Should look and worke like for Example :

1. Tabs where they are now

2. The Forums that are not tabbed

3. The choosen tabbed Forum

Quote:

Originally Posted by gio~logist (Post 1613059)
The first bug is a width issue that will be fixed in the next update, the second one is the option via admincp to add a forum table wrap, edit it accordingly ; )

When will this Update arrive?

AdrianH 09-03-2008 04:25 AM

So, I go to your site thinking there may be a demo of this and right across the top of thr page we find :

Parse error: syntax error, unexpected T_STRING in /home/giologis/public_html/vb/forums.php(69) : eval()'d code on line 1

Gio~Logist 09-03-2008 11:27 PM

The width issue has been fixed, the zip has been updated..

Quote:

Originally Posted by CareyCrew (Post 1613327)
So, I go to your site thinking there may be a demo of this and right across the top of thr page we find :

Parse error: syntax error, unexpected T_STRING in /home/giologis/public_html/vb/forums.php(69) : eval()'d code on line 1

Nope, that was a new mod i was working on and you probably caught an error in between me doing so ;)

sinucello 09-04-2008 04:18 AM

Hi,

my users start complaining about the fact that when you open a tab and click on a link within the tab and then return to the start page you won`t see the tab that contained the link but always the default tab.

So I think it would be a very good idea to somehow remember which was the active tab when leaving the startpage or when opening any tab other than the default-tab. Maybe via cookie?

all the best,
Sacha


All times are GMT. The time now is 03:26 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.01546 seconds
  • Memory Usage 1,844KB
  • 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
  • (5)bbcode_html_printable
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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