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
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:
|
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.