Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 05-16-2013, 06:15 PM
kurti kurti is offline
 
Join Date: Nov 2008
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Transplanted LOGIN box - not working in FORUMDISPLAY template

Hi,
to make things a little more intuitive for non-users reading my forum (vB 3.7.4)
to become a member and open an account...

i have added this "future user" box in the SHOWTHREAD template (appearing at the end of every thread)


This way the Login Box appears twice (up in the header area of the forum) and also below the thread.

In the SHOWTHREAD template this works fine.

But it does not work when i add the same thing in the FORUMDISPLAY template
(so its showing up at the bottom of each sub-forum.)
When i try to logg in there via the additional Login Box and hit the "login" button
it forwards to the "no permission" site:


trying to login there goes to:




Here is the code for the "future user" box:

Code:
<!-- future_user -->

<if condition="$show['member']">
&nbsp;
<else />


<div style="padding-top:20px;padding-bottom:0px;">


<table border="0" width="100%" align="center" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" style="border-bottom-width:0px">
<tr>
<td class="tcat" style="padding-left:20px;padding-right:20px;">
<fieldset class="fieldset ee_borders" style="margin-top:15px;">


<div style="width:220px;float:left;margin-top:30px;margin-bottom:15px;">
<center><img src="http://www.electroempire.com/forum/images/buttons/blackglossy/2/newthread.gif" /></center>
</div>

<div style="width:400px;float:left;margin-top:15px;margin-bottom:15px;font-weight:normal;"><center>
To post a reply or to start a new topic please <font color="#fbe59b"><strong>LOGIN</strong></font>.<br />
(<strong>Forgot your password?</strong> Quickly reset it: <a href="http://www.electroempire.com/forum/login.php?do=lostpw"><u>click here</u>)</a><br />
<p style="margin-top:8px;margin-bottom:0px;">
Open a <strong><font color="#fbe59b">New User Account</font></strong> in 2 easy steps: <a href="http://www.electroempire.com/forum/register.php"><u>click here</u></a></p>
</center></div>

<div style="width:220px;float:left;margin-top:20px;margin-bottom:15px;">
<!-- LOGIIIIIIIIIIIIIIIIN form -->

<form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
<script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>

<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">

<tr>
<td class="smallfont" style="white-space: nowrap;">
<label for="navbar_username">
<div align="right">$vbphrase[username]</div>
</label>
</td>

<td>
<input type="text" class="logintextfeld" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" />
</td>

<td class="smallfont" nowrap="nowrap">
<label for="cb_cookieuser_navbar">
<input type="checkbox" class="logincheckbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" />
$vbphrase[remember_me]
</label>
</td>
</tr>

<tr>

<td class="smallfont">
<label for="navbar_password">
<div align="right">$vbphrase[password]
</div>
</label>
</td>

<td>
<input type="password" class="logintextfeld" name="vb_login_password" id="navbar_password" size="10" tabindex="102" />
</td>

<td>
<input type="submit" class="loginschaltflaeche" value="$vbphrase[log_in]" tabindex="104" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" />
</td>

</tr>
</table>
		
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="login" />
<input type="hidden" name="vb_login_md5password" />
<input type="hidden" name="vb_login_md5password_utf" />
</form>

<!-- / login form -->
</div>


</fieldset>

</td></tr></table>
</div>



</if>
<!-- / future_user -->


Anyone got an idea whats wrong?
Why is it working in the SHOWTHREAD but not in FORUMDISPLAY template?
Is there anything in the code for the login box that permits it from working in the FORUMDISPLAY template?

--------------- Added [DATE]1368732583[/DATE] at [TIME]1368732583[/TIME] ---------------



To see where exactly i added it, heres the full FORUMDISPLAY inkluding the non-working "future_user" box:


part 1:
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

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

<td class="vbmenu_control" width="100%" style="padding-left:25px;">
$vbphrase[subforums]
<span class="normal"> : $foruminfo[title]</span>
</td>

<if condition="$show['forumsearch']">
<td class="vbmenu_control" id="forumsearch.subforums" nowrap="nowrap" style="padding-right:25px;">
<a href="search.php?$session[sessionurl]f=$foruminfo[forumid]" rel="nofollow">$vbphrase[search_this_forum]</a> 
<if condition="$show['quicksearch']">
<script type="text/javascript"> vbmenu_register("forumsearch.subforums"); </script>
</if>
</td>
</if>
</tr>
</table>


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

<tr align="center">
<td class="thead" style="padding-left:25px;">&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" style="padding-right:<if condition="$vboptions[showmoderatorcolumn]">0px<else />25px</if>">$vbphrase[posts]</td>
<if condition="$vboptions[showmoderatorcolumn]">
<td class="thead" style="padding-right:25px;">$vbphrase[moderator]</td>
</if>
</tr>
</thead>

$forumbits

</table>
<br />
<!-- / sub-forum list  -->
</if>




<if condition="$show['threadslist']">
<!-- threads list  -->

<form action="inlinemod.php?forumid=$forumid" method="post" id="inlinemodform">
<input type="hidden" name="url" value="$url" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="forumid" value="$forumid" />





<!-- controls above thread list -->
<!-- / controls above thread list -->









<!-- NEW THREAD BUTTON und SEITENZAHEL NAVI --><!--HIER-->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:0px">
<tr>

<td class="vbmenu_control" width="100%" style="border-right-width:0px;padding-left:25px">

<if condition="$show['newthreadlink']">
<a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]" rel="nofollow"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a>
<else />&nbsp;
</if>
</td>

<td class="vbmenu_control" id="forumtools" nowrap="nowrap" style="padding-right:25px">
<a href="$show[nojs_link]#goto_forumtools" rel="nofollow">$vbphrase[forum_tools]</a> <script type="text/javascript"> vbmenu_register("forumtools"); </script>
</td>





</tr>
</table>

<!-- / NEW THREAD BUTTON und SEITENZAHEL NAVI -->








<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" id="threadslist">
<tbody>
$announcebits

<tr>
<if condition="$show['search_engine']">
<if condition="$show['threadicons']">
<td class="thead" colspan="2" style="padding-left:25px">&nbsp;</td>
<else />
<td class="thead" style="padding-left:25px">&nbsp;</td>
</if>

<td class="thead" width="100%">



$vbphrase[thread] / $vbphrase[thread_starter]
</td>

<td class="thead" width="150" align="center" nowrap="nowrap">
<span style="white-space:nowrap">$vbphrase[last_post]</span>
</td>

<td class="thead" align="center" nowrap="nowrap">
<span style="white-space:nowrap">$vbphrase[replies]</span>
</td>

<td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap">$vbphrase[views]</span></td>
<else />

<if condition="$show['threadicons']">
<td class="thead" colspan="2">&nbsp;</td>
<else />
<td class="thead">&nbsp;</td>
</if>

<td class="thead" width="100%">

<!--rating-->

<a href="$sorturl&amp;order=asc&amp;sort=title" rel="nofollow">$vbphrase[thread]</a> $sortarrow[title] /
<a href="$sorturl&amp;order=asc&amp;sort=postusername" rel="nofollow">$vbphrase[thread_starter]</a> $sortarrow[postusername]
</td>

<td class="thead" width="150" align="center" nowrap="nowrap">
<span style="white-space:nowrap"><a href="$sorturl&amp;order=desc&amp;sort=lastpost" rel="nofollow">$vbphrase[last_post]</a> $sortarrow[lastpost]</span>
</td>

<td class="thead" align="center" nowrap="nowrap">
<span style="white-space:nowrap">
<a href="$sorturl&amp;order=desc&amp;sort=replycount" rel="nofollow">$vbphrase[replies]</a> 
$sortarrow[replycount]</span>
</td>

<td class="thead" align="center" nowrap="nowrap" style="padding-right:<if condition="$show['inlinemod']">0px<else />25px</if>">
<span style="white-space:nowrap">
<a href="$sorturl&amp;order=desc&amp;sort=views" rel="nofollow">$vbphrase[views]</a> $sortarrow[views]</span>
</td>

<if condition="$show['inlinemod']">
<if condition="$show['popups']">
<td class="thead" id="imod" align="center" title="$vbphrase[moderation]" style="padding-right:25px"> 
<script type="text/javascript"> vbmenu_register('imod'); </script> 
</td>

<else />
<td class="thead" align="center" style="padding-right:25px">
<input type="checkbox" name="allbox" id="checkall_all" title="$vbphrase[check_uncheck_all]" onclick="inlineMod.check_all()" />
</td>

</if>
</if>

</if>

</tr>
</tbody>





<if condition="$show['threads']">
<!-- show threads -->
<tbody id="threadbits_forum_$foruminfo[forumid]">
<if condition="$show['stickies']">
$threadbits_sticky
</if>
$threadbits
</tbody>
<!-- end show threads -->
<else />

<!-- show no threads message -->
<tbody>
<tr>

<td class="alt3w" colspan="$foruminfo[bottomcolspan]" align="center">
<div style="padding: 16px">
<if condition="$show['noposts']"><strong>$vbphrase[no_posts_in_this_forum]</strong><else /><strong><phrase 1="$daysprune">$vbphrase[no_posts_last_x_days_forum]</phrase></strong>
<br />
<span class="smallfont">$vbphrase[try_controls_below_for_older_posts]</span></if>
</div>
</td>
</tr>
</tbody>
<!-- end show no threads message -->
</if>
</table>










<!-- future_user -->

<if condition="$show['member']">
&nbsp;
<else />


<div style="padding-top:20px;padding-bottom:0px;">


<table border="0" width="100%" align="center" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" style="border-bottom-width:0px">
<tr>
<td class="tcat" style="padding-left:20px;padding-right:20px;">
<fieldset class="fieldset ee_borders" style="margin-top:15px;">


<div style="width:220px;float:left;margin-top:30px;margin-bottom:15px;">
<center><img src="http://www.electroempire.com/forum/images/buttons/blackglossy/2/newthread.gif" /></center>
</div>

<div style="width:400px;float:left;margin-top:15px;margin-bottom:15px;font-weight:normal;"><center>
To post a reply or to start a new topic please <font color="#fbe59b"><strong>LOGIN</strong></font>.<br />
(<strong>Forgot your password?</strong> Quickly reset it: <a href="http://www.electroempire.com/forum/login.php?do=lostpw"><u>click here</u>)</a><br />
<p style="margin-top:8px;margin-bottom:0px;">
Open a <strong><font color="#fbe59b">New User Account</font></strong> in 2 easy steps: <a href="http://www.electroempire.com/forum/register.php"><u>click here</u></a></p>
</center></div>

<div style="width:220px;float:left;margin-top:20px;margin-bottom:15px;">
<!-- LOGIIIIIIIIIIIIIIIIN form -->

<form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
<script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>

<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">

<tr>
<td class="smallfont" style="white-space: nowrap;">
<label for="navbar_username">
<div align="right">$vbphrase[username]</div>
</label>
</td>

<td>
<input type="text" class="logintextfeld" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" />
</td>

<td class="smallfont" nowrap="nowrap">
<label for="cb_cookieuser_navbar">
<input type="checkbox" class="logincheckbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" />
$vbphrase[remember_me]
</label>
</td>
</tr>

<tr>

<td class="smallfont">
<label for="navbar_password">
<div align="right">$vbphrase[password]
</div>
</label>
</td>

<td>
<input type="password" class="logintextfeld" name="vb_login_password" id="navbar_password" size="10" tabindex="102" />
</td>

<td>
<input type="submit" class="loginschaltflaeche" value="$vbphrase[log_in]" tabindex="104" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" />
</td>

</tr>
</table>
		
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="login" />
<input type="hidden" name="vb_login_md5password" />
<input type="hidden" name="vb_login_md5password_utf" />
</form>

<!-- / login form -->
</div>


</fieldset>

</td></tr></table>
</div>



</if>
<!-- / future_user -->















<!-- controls BELOOOOOOOOOOOOOOOOOOOOW thread list -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:0px">
<tr valign="top">


<td class="vbmenu_control" width="100%" style="padding-left:25px">
<if condition="$show['newthreadlink']">
<a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]" rel="nofollow">
<img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" />
</a>

<else />&nbsp;
</if>
</td>

<if condition="$show['pagenav'] OR $show['inlinemod']">
<td class="vbmenu_control" align="$stylevar[right]" style="padding-right:25px">
$pagenav
</td>
</if>
</tr>
</table>


<if condition="$show['inlinemod']">
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:3px">

<tr>

<div class="smallfont" style="padding-left:25px;padding-right:25px;text-align:$stylevar[left]; white-space:nowrap; float:$stylevar[right]">


<if condition="$show['pagenav']">
<br />
</if>


<strong>$vbphrase[moderation]</strong>
<br />

<select name="do">
<if condition="$show['deletethread'] OR $show['spamctrls'] OR $show['openthread'] OR $show['approvethread'] OR $show['movethread'] OR $template_hook['inlinemod_thread_bottom']">
<optgroup label="$vbphrase[option]">
<if condition="$show['deletethread']">
<option value="deletethread">$vbphrase[delete_threads]</option>
<option value="undeletethread">$vbphrase[undelete_threads]</option>
</if>
<if condition="$show['spamctrls']">
<option value="spamthread">$vbphrase[delete_threads_as_spam]</option>
</if>
<if condition="$show['openthread']">
<option value="open">$vbphrase[open_threads]</option>
<option value="close">$vbphrase[close_threads]</option>
</if>

<if condition="$show['approvethread']">
<option value="approvethread">$vbphrase[approve_threads]</option>
<option value="unapprovethread">$vbphrase[unapprove_threads]</option>
</if>
<if condition="$show['movethread']">
<option value="stick">$vbphrase[stick_threads]</option>
<option value="unstick">$vbphrase[unstick_threads]</option>
<option value="movethread">$vbphrase[move_threads]</option>
<option value="mergethread">$vbphrase[merge_threads]</option>
</if>
$template_hook[inlinemod_thread_bottom]
</optgroup>
</if>
<optgroup label="____________________">
<option value="viewthread">$vbphrase[view_selected_threads]</option>
<option value="clearthread">$vbphrase[clear_thread_list]</option>
</optgroup>
</select>

<input type="submit" style="margin-left:4px" class="button" id="inlinego" value="$vbphrase[go]" />

<script type="text/javascript">
<!--
inlineMod = new vB_Inline_Mod('inlineMod', 'thread', 'inlinemodform', '$vbphrase[go_x]');
//-->
</script>

</div>
</tr>
</table>
</if>
<!-- / controls below thread list -->




</form>





<br />

$ad_location[ad_forumdisplay_afterthreads]
continued in next post (because of too many characters per post)
Reply With Quote
  #2  
Old 05-16-2013, 06:30 PM
kurti kurti is offline
 
Join Date: Nov 2008
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

part 2:
Code:


<!-- Active Users in this Forum (and sub-forums) and Moderators -->

<form action="forumdisplay.php" method="get">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="f" value="$forumid" />
<input type="hidden" name="page" value="$pagenumber" />
<input type="hidden" name="pp" value="$perpage" />




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




<tr>

<td class="thead" style="padding-left:25px;" width="100%">
<phrase 1="$limitlower" 2="$limitupper" 3="$totalthreads">$vbphrase[showing_threads_x_to_y_of_z]</phrase>
</td>

<td class="thead"></td>

</tr>








<tr>


<td class="alt1">
<table cellpadding="0" cellspacing="1" border="0">
<tr valign="bottom">
<td class="smallfont" style="padding-left:20px;padding-$stylevar[right]:$stylevar[cellpadding]px">
<div class="anti_page_fontcolor">
<label for="sel_sort">$vbphrase[sorted_by]</label>
</div>
<select name="sort" id="sel_sort">
<option value="title" $sort[title]>$vbphrase[thread_title]</option>
<option value="lastpost" $sort[lastpost]>$vbphrase[last_post_time]</option>
<option value="dateline" $sort[dateline]>$vbphrase[thread_start_time]</option>
<option value="replycount" $sort[replycount]>$vbphrase[number_of_replies]</option>
<option value="views" $sort[views]>$vbphrase[number_of_views]</option>
<option value="postusername" $sort[postusername]>$vbphrase[thread_starter]</option>
<if condition="$show['threadratings']"><option value="voteavg" $sort[voteavg]>$vbphrase[thread_rating]</option></if>
</select>
</td>

<td class="smallfont" style="padding-$stylevar[right]:$stylevar[cellpadding]px">
<div class="anti_page_fontcolor">
<label for="sel_order">$vbphrase[sort_order]</label></div>
<select name="order" id="sel_order">
<option value="asc" $order[asc]>$vbphrase[ascending]</option>
<option value="desc" $order[desc]>$vbphrase[descending]</option>
</select>
</td>	
<td class="smallfont">
<div class="anti_page_fontcolor"><label for="sel_daysprune">$vbphrase[from_the]</label></div>
<select name="daysprune" id="sel_daysprune">
<option value="1" $daysprunesel[1]>$vbphrase[last_day]</option>
<option value="2" $daysprunesel[2]>$vbphrase[last_2_days]</option>
<option value="7" $daysprunesel[7]>$vbphrase[last_week]</option>
<option value="10" $daysprunesel[10]>$vbphrase[last_10_days]</option>
<option value="14" $daysprunesel[14]>$vbphrase[last_2_weeks]</option>
<option value="30" $daysprunesel[30]>$vbphrase[last_month]</option>
<option value="45" $daysprunesel[45]>$vbphrase[last_45_days]</option>
<option value="60" $daysprunesel[60]>$vbphrase[last_2_months]</option>
<option value="75" $daysprunesel[75]>$vbphrase[last_75_days]</option>
<option value="100" $daysprunesel[100]>$vbphrase[last_100_days]</option>
<option value="365" $daysprunesel[365]>$vbphrase[last_year]</option>
<option value="-1" $daysprunesel[all]>$vbphrase[beginning]</option>
</select>
<input type="submit" class="button" value="$vbphrase[show_threads]" />
</td>
</tr>
</table>


</td>



<td class="alt1" style="padding-right:25px;">
<div align="right" class="anti_page_fontcolor">
$forumjump
</div>
</td>

</tr>



</table>

</form>
<!-- End Active Users in this Forum (and sub-forums) and Moderators -->






<if condition="$show['popups']">
<br />
<!-- popup menu contents -->








<!-- forum tools menu -->
<div class="vbmenu_popup" id="forumtools_menu" style="display:none">
<form action="moderator.php?f=$forumid" method="post" name="forumadminform">
	<table cellpadding="4" cellspacing="1" border="0">
	<tr><td class="thead">$vbphrase[forum_tools]<a name="goto_forumtools"></a></td></tr>
	<if condition="$show['newthreadlink']"><tr><td class="vbmenu_option"><a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]" rel="nofollow">$vbphrase[post_a_new_thread]</a></td></tr></if>
	<tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]do=markread&amp;f=$foruminfo[forumid]" rel="nofollow" onclick="return mark_forum_read($foruminfo[forumid]);">$vbphrase[mark_this_forum_read]</a></td></tr>
	<tr>
		<td class="vbmenu_option">
		<if condition="$show['subscribed_to_forum']">
			<a href="subscription.php?$session[sessionurl]do=removesubscription&amp;f=$foruminfo[forumid]" rel="nofollow">$vbphrase[unsubscribe_from_this_forum]</a>
		<else />
			<a href="subscription.php?$session[sessionurl]do=addsubscription&amp;f=$foruminfo[forumid]" rel="nofollow">$vbphrase[subscribe_to_this_forum]</a>
		</if>
		</td>
	</tr>
	<tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]f=$foruminfo[parentid]" rel="nofollow">$vbphrase[view_parent_forum]</a></td></tr>
	<if condition="$show['adminoptions']">
	<tr>
		<td class="thead">$vbphrase[admin_tools]<a name="goto_forumadmin"></a></td>
	</tr>
	<tr>
		<td class="vbmenu_option" title="nohilite">
		<if condition="$show['post_queue']"><div><label for="fa_mpo"><input type="radio" name="do" id="fa_mpo" value="modposts" checked="checked" />$vbphrase[view_posts_queue]</label></div></if>
		<if condition="$show['attachment_queue']"><div><label for="fa_mat"><input type="radio" name="do" id="fa_mat" value="modattach" />$vbphrase[view_attachment_queue]</label></div></if>
		<if condition="$show['mass_move']"><div><label for="fa_mov"><input type="radio" name="do" id="fa_mov" value="move" />$vbphrase[massmove_threads]</label></div></if>
		<if condition="$show['mass_prune']"><div><label for="fa_prn"><input type="radio" name="do" id="fa_prn" value="prune" />$vbphrase[massprune_threads]</label></div></if>
		<if condition="$show['addmoderator']">
		<div><label for="fa_amd"><input type="radio" name="do" id="fa_amd" value="addmoderator" />$vbphrase[add_moderator]</label></div>
		</if>
		<if condition="$show['post_new_announcement']">
		<div><label for="fa_pan"><input type="radio" name="do" id="fa_pan" value="postannouncement" />$vbphrase[post_new_announcement]</label></div>
		</if>
		</td>
	</tr>

<tr>
<td class="vbmenu_option" title="nohilite" align="center" style="padding-left:25px;padding-right:25px;">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="f" value="$forumid" />
<input type="submit" class="button" value="$vbphrase[perform_action]" />
</td>
</tr>
</if>
</table>
</form>
</div>
<!-- / forum tools menu -->






<!-- inline mod menu -->
<if condition="$show['inlinemod']">
<div class="vbmenu_popup" id="imod_menu" style="display:none" align="$stylevar[left]">
$threadadmin_imod_menu_thread
</div>
</if>
<!-- / inline mod menu -->

<!-- / popup menu contents -->
<else />
<!-- controls for non-popup browsers -->


<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-top-width:0px">

<tr>
<td class="thead" style="padding-left:25px;">
$vbphrase[forum_tools]<a name="goto_forumtools"></a>
</td>

<td class="thead" style="padding-right:25px;">
$vbphrase[search_this_forum]<a name="goto_forumsearch"></a>
</td>
</tr>


<tr valign="top">


<!-- forum tools -->
<td class="alt1" style="padding-left:25px;">
<div class="smallfont">
<div><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[mark_this_forum_read]" vspace="1" /> <a href="forumdisplay.php?$session[sessionurl]do=markread&amp;f=$foruminfo[forumid]" rel="nofollow">$vbphrase[mark_this_forum_read]</a></div>
<if condition="$show['member']"><div><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[subscription]" vspace="1" />
<if condition="$show['subscribed_to_forum']">
<a href="subscription.php?$session[sessionurl]do=removesubscription&amp;f=$foruminfo[forumid]" rel="nofollow">$vbphrase[unsubscribe_from_this_forum]</a>

<else />
<a href="subscription.php?$session[sessionurl]do=addsubscription&amp;f=$foruminfo[forumid]" rel="nofollow">$vbphrase[subscribe_to_this_forum]</a>
</if>
</div>
</if>

<div>
<img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[view_parent_forum]" vspace="1" /> 
<a href="forumdisplay.php?$session[sessionurl]f=$foruminfo[parentid]" rel="nofollow">$vbphrase[view_parent_forum]</a>
</div>
</div>
</td>
<!-- / forum tools -->











<!-- search this forum -->
<td class="alt1" style="padding-right:25px;">
<form action="search.php?do=process" method="post">
<div class="smallfont">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="process" />
<input type="hidden" name="forumchoice[]" value="$forumid" />
<input type="hidden" name="childforums" value="1" />
<input type="hidden" name="exactname" value="1" />
<strong>$vbphrase[search_this_forum]</strong> :<br />
<input type="text" class="bginput" name="query" size="20" style="width:175px" />$gobutton<br />
<a href="search.php?$session[sessionurl]f=$forumid" rel="nofollow">$vbphrase[advanced_search]</a>
</div>
</form>
</td>
<!-- / search this forum -->
</tr>
</table>
<br />


<!-- / controls for non-popup browsers -->
</if>








<if condition="$show['ajax_js']">
	<script type="text/javascript" src="clientscript/vbulletin_ajax_threadslist.js?v=$vboptions[simpleversion]"></script>
	<script type="text/javascript">
	<!--
	vB_AJAX_Threadlist_Init('threadslist');
	var titlemaxchars = parseInt("$vboptions[titlemaxchars]");
	//-->
	</script>
</if>

<!-- ############## END THREADS LIST ##############  -->
</if>

$forumhome_markread_script

<if condition="$show['popups'] AND $show['forumsearch']">


<!-- forum search menu -->
<div class="vbmenu_popup" id="forumsearch_menu" style="display:none">
<form action="search.php?do=process" method="post">
<table cellpadding="4" cellspacing="1" border="0">

<tr>

<td class="thead" style="padding-left:25px;padding-right:25px;">
$vbphrase[search_this_forum]
<a name="goto_forumsearch"></a>
</td>

</tr>

<tr>
<td class="vbmenu_option" title="nohilite" style="padding-left:25px;padding-right:25px;">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="process" />
<input type="hidden" name="forumchoice[]" value="$forumid" />
<input type="hidden" name="childforums" value="1" />
<input type="hidden" name="exactname" value="1" />

<div>
<input type="text" class="bginput" name="query" size="25" tabindex="1001" /><input type="submit" class="button" value="$vbphrase[go]" accesskey="s" tabindex="1004" />
</div>
</td>

</tr>

<tr>
<td class="vbmenu_option" title="nohilite" style="padding-left:25px;padding-right:25px;">
<label for="rb_fd_sp0">
<input type="radio" name="showposts" value="0" id="rb_fd_sp0" tabindex="1002" checked="checked" />$vbphrase[show_threads]</label>
&nbsp;
<label for="rb_fd_sp1">
<input type="radio" name="showposts" value="1" id="rb_fd_sp1" tabindex="1003" />$vbphrase[show_posts]</label>
</td>
</tr>

<tr>
<td class="vbmenu_option" style="padding-left:25px;padding-right:25px;">
<a href="search.php?$session[sessionurl]f=$forumid" rel="nofollow">$vbphrase[advanced_search]</a>
</td>
</tr>

</table>
</form>
</div>
<!-- / forum search menu -->
</if>






<!-- forum rules & forum jump -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr valign="bottom">

<td style="padding-left:25px;padding-right:25px;">
<!-- hw forumjump v -->
<if condition="!$show['popups'] AND $show['adminoptions']">
<br />
<form action="moderator.php" method="get">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="f" value="$forumid" />
<div class="smallfont">
<strong>$vbphrase[admin_tools]</strong> :</div>
<select name="do" onchange="this.form.submit();">
<optgroup label="$vbphrase[admin_tools]">
<option value="modposts" selected="selected">$vbphrase[view_posts_queue]</option>
<option value="modattach">$vbphrase[view_attachment_queue]</option>
<option value="move">$vbphrase[mass_move]</option>
<option value="prune">$vbphrase[mass_prune]</option>
<if condition="$show['addmoderator']">
<option value="addmoderator">$vbphrase[add_moderator]</option>
</if>
<if condition="$show['post_new_announcement']">
<option value="postannouncement">$vbphrase[post_new_announcement]</option>
</if>
</optgroup>
</select>$gobutton
</form>
</if>
</td>
</tr>
</table>
<!-- / forum rules & forum jump -->






$footer
</body>
</html>
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:05 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.03368 seconds
  • Memory Usage 2,271KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (2)post_thanks_box
  • (2)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit_info
  • (2)postbit
  • (2)postbit_onlinestatus
  • (2)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete