Let's try this again. First, I must clarify as you can see live on the page and in the screen shot, the 'check it out' link is not below the username, but its on the same row in the Location column. It is below the "viewing gallery" text/link.
Further, the 'view gallery' is technically them on the home page, so technically it should say 'viewing index'. However, its assuming they are viewing the ajax tab (the first one selected by default, on the *home page*) which does have teh gallery icon and link to it of course. Why its doing that, I do not know. Its baffling me, but I'm sure an expert here will figure it out.
Some more details, this is my (portion) forumhome template with DD ajax tabs code highlighted in red:
Code:
$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 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase></title>
<link rel="stylesheet" type="text/css" href="clientscript/ajaxtabs/ajaxtabs.css" />
<script type="text/javascript" src="clientscript/ajaxtabs/ajaxtabs.js"></script>
</head>
<body>
$header
$navbar
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
$usc_left
<td valign="top" width="100%">
<!-- guest welcome message -->
<if condition="$show['guest']">
<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>
<div class="cat_spacer"></div>
</if>
<!-- / guest welcome message -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="1" border="0" width="100%">
<tr>
<td class="tcat" colspan="2">
<a href="online.php$session[sessionurl_q]" rel="nofollow">$vbphrase[currently_active_users]</a>: $totalonline
</td>
</tr>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_Shoutbox')"><img id="collapseimg_forumhome_Shoutbox" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_Shoutbox].gif" alt="" border="0" /></a>
Talk Jesus Shoutbox!</td>
</tr>
<tr>
<td align="center" class="alt2">
<iframe frameborder="0" width="100%" height="185" src="http://www.cbox.ws/box/?boxid=439&boxtag=7868&sec=main" marginheight="1" marginwidth="1" scrolling="auto" name="cboxmain" id="cboxmain"></iframe>
</td>
<td style="width: 250px; padding: 5px;" rowspan="2" class="alt2">
<div class="editor" align="center">
<b>Members in Live Chat:
<font size="5">$apichat[currentuserlocation]</font></b>
</div>
<div align="center">
<div id="flowerdivcontainer" style="width:250px; height: 200px; padding: 2px"></div>
<div id="flowertabs" class="modernbricksmenu2">
<ul>
<li><a href="misc.php?do=page&template=ajax1" class="selected">Fun</a></li>
<li><a href="misc.php?do=page&template=ajax2">Forum</a></li>
<li><a href="misc.php?do=page&template=ajax3">Bible</a></li>
<li><a href="misc.php?do=page&template=ajax4">Tools</a></li>
<li><a href="misc.php?do=page&template=ajax5">?</a></li>
</ul>
</div>
</div>
<script type="text/javascript">
var myflowers=new ddajaxtabs("flowertabs", "flowerdivcontainer")
myflowers.setpersist(true)
myflowers.setselectedClassTarget("link") //"link" or "linkparent"
myflowers.init()
</script>
</td>
</tr>
<tr>
<td align="center" class="alt2">
<if condition="in_array($bbuserinfo['usergroupid'], array(2,6,7))">
<iframe frameborder="0" width="100%" height="55" src="http://www.cbox.ws/box/?boxid=439&boxtag=7868&sec=form&nme=<?=urlencode($username)?>&nmekey=<?=md5('1j3n8ei6mo4j2g40'.$username)?>&wname=75&wemail=68&wmsg=250" marginheight="1" marginwidth="1" scrolling="no" allowtransparency="yes" name="cboxform" id="cboxform"></iframe>
<else />
You must be logged in and registered to use this shoutbox
</if>
</td>
</tr>
</table>
<div class="spacer"></div>
Bookmarks