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 - Flipped tabs = Swivel tabs = INVERTED TABS (https://vborg.vbsupport.ru/showthread.php?t=175890)

Astrof 06-16-2008 11:15 AM

Deepdog, thanks for your effort, but I figured it out myself before you posted, so I just now saw your message.

This is related to the old version of your mod, I see that you updated in the meantime, so parts of this may not be relevant anymore, but I'll post nevertheless as it might still be of some use to some.

So, to answer my own questions:

Quote:

Originally Posted by Astrof (Post 1540601)

1) First of all, the second installation step you describe:

Yet, in the .txt file, you write that we need to upload the client script folder as well.

So, which one should we do?

You do not need to upload anything to the client script folder. This mod works fine without it (the version I uploaded, at least, I don't know about the new one).

Quote:

2) Template editing.

PLEASE write EXACTLY what we have to do and WHERE.
$invertedtabbar needs to be placed whereever you need to place your tabs.

So, for instance, if you need to place your tabs on the very top of your forumhome page, you need to add $invertedtabbar on the very top of the FORUMHOME template:

HTML Code:

$invertedtabbar

$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
        <!-- no cache headers -->
        <meta http-equiv="Pragma" content="no-cache" />
        <meta http-equiv="Expires" content="-1" />
        <meta http-equiv="Cache-Control" content="no-cache" />
        <!-- end no cache headers -->
        $headinclude
        <title><phrase

Quote:

What I need to have is those tabs ABOVE FORUM HEADER, UNDER THE NAVIGATION BAR, WITHOUT TABBARS ON THE TOP OF THE PAGE TOO. Please, instruct me what EXACTLY I have to do, what EXACTLY has to be entered and where EXACTLY.
Okay, so in my case, I need the tabs to be placed above forum header under the navigation bar and under the guest welcome message shown to unregistered members, so I added $invertedtabbar in the right place and added one pair of <br> and <br /> :

HTML Code:

<if condition="$show['guest']">
<!-- guest welcome message -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
        <td class="tcat"><phrase 1="$vboptions[bbtitle]">$vbphrase[welcome_to_the_x]</phrase></td>
</tr>
<tr>
        <td class="alt1">
                <phrase 1="faq.php$session[sessionurl_q]" 2="register.php$session[sessionurl_q]">$vbphrase[first_visit_message]</phrase>
        </td>
</tr>
</table>
<!-- / guest welcome message -->
<br />
</if>
$invertedtabbar
<br>
<br />
<!-- main -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">

<br> <br /> are NECESSARY in case you don't use the tabs on the very top of forumhome so that you can preserve your layout.

I also added the tabs and a pair of <br> and <br /> under the What's Going On box on forumhome:

HTML Code:

<!-- end what's going on box -->
$invertedtabbar
<br>
<br />
<!-- icons and login code -->
<table cellpadding="0" cellspacing="2" border="0" width="100%">
<tr valign="bottom">
        <td>

I also wanted the tabs to appear in every forum and not just forumhome, so I also added $invertedtabbar to FORUMDISPLAY:

HTML Code:

$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$foruminfo[title_clean]<if condition="$pagenumber>1"> - <phrase 1="$pagenumber">$vbphrase[page_x]</phrase></if> - $vboptions[bbtitle]</title>
<if condition="$show['inlinemod']"><script type="text/javascript" src="clientscript/vbulletin_inlinemod.js?v=$vboptions[simpleversion]"></script></if>
</head>
<body>
$header
$navbar
$invertedtabbar
<br>
<br />
<if condition="$show['forumslist']">
<!-- sub-forum list  -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:0px">
<tr>

As you can see, I again added a pair of <br> and <br /> in order to preserve the layout and make it nicer with the spaces under the tabs.

Quote:

You describe adding $invertedtabbar and margin 0 somewhere, but for the life of me I can't understand where or how, or get it to work.
Margin 0 is not necessary to make this work or have the tabs placed at the right spot in the display.

Quote:

3) I don't know if this is related, but even though my image paths are right, the buttons are not showing.

Instead, I get this:

https://vborg.vbsupport.ru/external/2008/06/6.gif
You need to write the correct path. Mine was incomplete, hence the problems.

Quote:

vBulletin logo moved to the far right and none of the images showing, just the links.
This is, again, due to the absense of the $invertedtabbar on the very top of FORUMHOME template.

If you have it on the very top, above everything else, then you will not have these problems.

If you don't, like I don't, then you need to use <br> and <br /> in order to instruct the template to make a new line for the tabs.

Quote:

Also, in the options you wrote "left" two times instead of left and right, but that is less important.
Yes, this is a typo in the mod options in vBulletin Options. The top one is right, the bottom one is left.

Okay, so that's it.

However, I have one question:

I have a couple of parked domains for my forum and after you log in from one of those domains and click on one of the tabs to go to another address, the tabs redirect to the basic domain and the user is logged out.

Why does this happen? Is there any way around it?

Thanks in advance.

Deepdog009 06-23-2008 04:54 AM

However, I have one question:

I have a couple of parked domains for my forum and after you log in from one of those domains and click on one of the tabs to go to another address, the tabs redirect to the basic domain and the user is logged out.

Why does this happen? Is there any way around it?

Thanks in advance.[/QUOTE]

************************************************


Astrof,,,
Hmmmmmm,,, Im think its a cookie or session tracking issue...

You may need to use vbulletin link structure to fix issue,,, if that doesn't work then Im not sure why its doing that... I will look into this and post about it l8ter...

HTML Code:

<a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a>

lms 07-21-2008 11:05 PM

Thanks. Work fine.

Salud2

Astrof 07-31-2008 10:34 AM

Quote:

Originally Posted by Deepdog009 (Post 1556553)

Astrof,,,
Hmmmmmm,,, Im think its a cookie or session tracking issue...

You may need to use vbulletin link structure to fix issue,,, if that doesn't work then Im not sure why its doing that... I will look into this and post about it l8ter...

HTML Code:

<a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a>

Hi, Deepdog. Sorry for replying just now, but I didn't have time to come and get back to you sooner.

Have you investigated this in the meantime?

Also, another thing I'm interested in - is there any way for the tabs to appear in the showthread template? I tried inserting the var a couple of times, but it did not work.

Also, is there a way for the tabs to appear even when you go to reply to a thread (quote-reply)?

If there is a way to do both, where do I place the var?

Thanks in advance.

powerful_rogue 04-17-2009 06:49 PM

Anyone using this on their site? Wouldnt mind seeing a demo!

wwolf27 04-28-2009 07:36 AM

bump...I would like to know if it works on 3.8

yotsume 07-29-2009 09:37 PM

Interesting I might have to test this to see its functions... Is there a demo please!?

I also, need to know what version of vb this will be compatible with..... THANKS!

xinnek 10-16-2009 04:37 PM

Is there anyway to add more than 10 tabs? I need at least 5 more.

majorvbuser 11-20-2009 06:17 AM

Can this be used with 3.6 ?

netzspion 01-20-2010 08:39 AM

excuse for my bad english...:rolleyes:

i have installed your Add-on and it works very well!
Only the position is wrong.

I want to install the menue over the navbar like here:

I've attached a picture where you can see what I mean.
There is always a distance to the navbar...

What can i do? :confused:

Thanks for the help! :up:

Gerald
www.mtb-sulzbach.de


PS: this is the code i use in NAVBAR:
PHP Code:

<br />
$invertedtabbar
<!-- breadcrumbloginpm info --> 



All times are GMT. The time now is 02:03 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.01321 seconds
  • Memory Usage 1,772KB
  • 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
  • (6)bbcode_html_printable
  • (1)bbcode_php_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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