View Full Version : My Best Threads
Developer
02-16-2006, 10:00 PM
My Best Threads
v.1.2.7
Description::.
This adds to ur members a feature allow to them to choose thy best thread(s) via thread tools, shows in thier profiles
[Hack Features::.
1-easy yo install
2-Controlable by users
3-easy to add/remove threads
4-table in users profile shows
4.1-Thread title
4.2-Thread date
4.3-Thread forum
4.4-last poster
4.5-last post time
4.6-Views
4.7-replies
5-Users that doesn't have permission to view threads from restricted forums can't view them
[See Screen Shots]
PlannedFeatures::.
N/A
User Controllable
From Thread Tools ==> Add Thread To My best Threads OR Remove Thread from My best Threads.]
Installation::.
1-Import The Product.
3-Edit Template SHOWTHREAD
Find:<tr>
<td class="thead">$vbphrase[thread_tools]<a name="goto_threadtools"></a></td>
</tr>
Add Below it <if condition="$thread['postuserid'] == $bbuserinfo['userid']">
<tr>
<td class="vbmenu_option"> <if condition="in_array($thread['threadid'], $mybestthread)"><a href="showthread.php?$session[sessionurl]do=removemybest&t=$threadid">$vbphrase[mybest_remove]</a><else /><a href="showthread.php?$session[sessionurl]do=addmybest&t=$threadid">$vbphrase[mybest_add]</a></if></td>
</tr>
</if>
History::.
0.0.1 On 17. Feb 2006 Beta Version.
1.0.0 On 20. Feb 2006 Initial Version.[to upgrade:delete user field then import the product again and follow instruction above]
1.0.1 On 22. Mar 2006 Fix Template Edit
1.2.4 On 15. Apr 2006 Fix a slight bug
1.2.6 On 17. Apr 2006 Fix A minor bug & add alternate alt & no threads error
1.2.7 On 21. Apr 2006 Add forum permission for threads
Hack Languages::.
English Only For Now
Details::.
1 plugins, 13 phrases, 0 option, 1 query(reading only not change or add) and another addin a new row in user's table
Donation::.
Feel Free To https://vborg.vbsupport.ru/external/2010/09/1.gif (https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=filmahosting%40gmail%2ecom&item_name=DEVELOPER&item_number=1&no_shipping=0&no_note=1&tax=0¤cy_code=USD&bn=PP%2dDonationsBF&charset=UTF%2d8)
aT lAsT::.
IF YOu lIkE iT cLIcK INSTALL
vbulletin.orghttps://vborg.vbsupport.ru/ (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=108208)
Support Given For Who Clicked Install {ONLY}
The Realist
02-17-2006, 12:40 PM
Nice one M8, keep them coming :)
Laters
The Realist
02-17-2006, 01:44 PM
My best threads are NOT showing above the footer of my member info?
The code "$mybest" has been added to the memberinfo template but its not showing.
The thread ID's I have added to my info like: 1,2,3,4, and NOT 1, 2, 3, 4,
Any ideas why its not showing up?
Laters
PS,
Also you say to edit the X with the correct ID's, my line 62 and 64 reads:
// START EDIT
################################################## ############
##$mybestdevel = $vbulletin->userinfo['fieldX'];##Field ID####
################################################## ############
##$mybestlimit = XX;##Limit###################################
################################################## ############
// END EDIT
Do I remove the ## infront of the code? or leave it as it is?
Laters
Developer
02-17-2006, 02:27 PM
My best threads are NOT showing above the footer of my member info?
The code "$mybest" has been added to the memberinfo template but its not showing.
The thread ID's I have added to my info like: 1,2,3,4, and NOT 1, 2, 3, 4,
Any ideas why its not showing up?
Laters
PS,
Also you say to edit the X with the correct ID's, my line 62 and 64 reads:
// START EDIT
################################################## ############
##$mybestdevel = $vbulletin->userinfo['fieldX'];##Field ID####
################################################## ############
##$mybestlimit = XX;##Limit###################################
################################################## ############
// END EDIT
Do I remove the ## infront of the code? or leave it as it is?
Laters
download the zip again and you'll find an updated product
or you just change the code into
// START EDIT
$mybestdevel = $vbulletin->userinfo['fieldX'];
$mybestlimit = XX;
// END EDIT
and in profile feind make it into options: other not into edit profile and sorry for this i was in hurry
bashy
02-17-2006, 03:13 PM
Hi m8...only me :)
Another fine idea...have installed but got this error when i went into my profile
Database error in vBulletin 3.5.3:
Invalid SQL:
SELECT thread.threadid,
thread.title AS tht,
thread.postusername,
thread.replycount,
thread.lastposter,
thread.lastpost,
thread.dateline,
user.userid AS lastposterid2,
thread.views,
thread.attach,
forum.title AS fot,
forum.forumid AS fir
FROM thread AS thread, forum AS forum, user AS user
WHERE thread.postuserid = 1
AND thread.forumid = forum.forumid
AND thread.threadid IN ()
AND thread.lastposter = user.username
LIMIT XX;
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
AND thread.lastposter = user.username
LIMIT XX' at line 16
Error Number : 1064
Date : Friday, February 17th 2006 @ 05:11:02 PM
Script : http://www.bashys-place.com/forums/member.php?u=1
Referrer : http://www.bashys-place.com/forums/usercp.php
Developer
02-17-2006, 03:24 PM
Open The Product With any Editor on line 61 replace X with your field ID and on line 62 edit XX and replace it with the number of threads You Want To Be showen in member's profile
Developer
02-17-2006, 03:30 PM
Put your best 10 threads ids seperated by , eg:1,2,3,4,5 (change 10 With your limit)
note: (change 10 With your limit) this is my comment don't put it in Description
HaMaDa4eVeR
02-17-2006, 03:45 PM
great hacks
installed :)
bashy
02-17-2006, 04:08 PM
Hi m8
Ok sorted it now...
I needed to change fieldx blah blah blah lol
This is a little how can i say, erm... Well if a member makes a boo boo when inputting there best threads for e.g. 1 10 12 40 and fails to follow the correct guidelines and use the commas this will give a DB error is there not a fail safe that will stop this giving the error?
Also my best thread aint showing lol
What would be nice is if the users could tick a box, rather than entering the ids manually.
Many people (especially those on forums using some form of SEO hack) will have no idea what the thread id might be.
Snake
02-17-2006, 06:10 PM
Just thank you! :D
bashy
02-17-2006, 07:22 PM
Hi m8...
still gettting a DB error, when a members clicks my profile
It dont happen if i click my profile though...
I have added the field no. and amount of best threads to the product.
I have added the code to the memberinfo template.
I have added 1 thread ID in my CP as 194 nothing else....
I have had to tuirn this off again untill a fix is sorted :)
FleaBag
02-17-2006, 10:56 PM
This is awesome! :D
AshokForums.com
02-17-2006, 11:26 PM
Can this be displayed in his signature?
GamerJunk.net
02-18-2006, 01:14 AM
This doesn't work if you have SEO URL's enabled.
Developer
02-18-2006, 07:47 AM
mmmmmmmmmm i'll take my hack to beta stage sorry for this
GamerJunk.net
02-18-2006, 03:25 PM
Why revert to Beta?
The Realist
02-18-2006, 04:22 PM
Because of this and other problems.
This doesn't work if you have SEO URL's enabled.
nasser71
02-18-2006, 10:29 PM
What would be nice is if the users could tick a box, rather than entering the ids manually.
Many people (especially those on forums using some form of SEO hack) will have no idea what the thread id might be.
indeed i agree
but anyway nice work m8
thanks
Developer
02-20-2006, 01:47 PM
1.0.0 On 20. Feb 2006 Initial Version.[to upgrade:delete user field then import the product again and follow instruction above]
now it's great
The Realist
02-20-2006, 02:04 PM
Would just removing the product remove the user field as well?
And the user field is that removed from the database via phpmyadmin?
1.0.0 On 20. Feb 2006 Initial Version.[to upgrade:delete user field then import the product again and follow instruction above]
now it's great
Developer
02-20-2006, 02:07 PM
Would just removing the product remove the user field as well?
And the user field is that removed from the database via phpmyadmin?
no, user field is added and removed manually from ACP
The Realist
02-20-2006, 02:52 PM
Tried to follow instructions but my templates are not standard VB.
You state:
Find:
<else />
<a href="subscription.php?$session[sessionurl]do=addsubscription&t=$threadid">$vbphrase[subscribe_to_this_thread]</a>
</if>
</td>
</tr>
And below it place:
<if condition="$thread['postuserid'] == $bbuserinfo['userid'] && $thread['firstpostid'] != $bbuserinfo['userid']">
<tr>
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/best.gif" />
<if condition="in_array($thread['threadid'], $mybestthread)">
<a href="showthread.php?$session[sessionurl]do=removemybest&t=$threadid">$vbphrase[mybest_remove]</a>
<else />
<a href="showthread.php?$session[sessionurl]do=addmybest&t=$threadid">$vbphrase[mybest_add]</a>
</if>
</td>
</tr></if>
My templates have this code in them:
<else />
<a href="subscription.php?$session[sessionurl]do=addsubscription&t=$threadid">$vbphrase[subscribe_to_this_thread]</a>
</if>
</div>
</if>
<if condition="$show['addpoll']">
<div><img class="inlineimg" src="$stylevar[imgdir_button]/addpoll.gif" alt="$vbphrase[add_a_poll]" vspace="1" /> <a href="poll.php?$session[sessionurl]do=newpoll&t=$threadinfo[threadid]">$vbphrase[add_a_poll_to_this_thread]</a></div>
</if>
</div>
<!-- / thread tools -->
I have tried adding your code below the above and within the code, but the link does not show up?
Any ideas?
Laters
bashy
02-20-2006, 03:08 PM
Hi
Im sorry im a little lost...what user field lol
Developer
02-20-2006, 03:23 PM
sorry i had something wrong in the product i'll fix it then answer ur questions
Developer
02-20-2006, 04:10 PM
fixed you have to download the product again
Developer
02-20-2006, 04:11 PM
Tried to follow instructions but my templates are not standard VB.
You state:
And below it place:
My templates have this code in them:
I have tried adding your code below the above and within the code, but the link does not show up?
Any ideas?
Laters
add the code below
<else />
<a href="subscription.php?$session[sessionurl]do=addsubscription&t=$threadid">$vbphrase[subscribe_to_this_thread]</a>
</if>
</div>
</if>
Developer
02-20-2006, 04:13 PM
Hi
Im sorry im a little lost...what user field lol
i mean user profile field :)
OmeR4eVeR
02-20-2006, 04:20 PM
thanks developer very nice
emin3m
02-20-2006, 05:18 PM
juss wondering every of your plugin is great but you dun use template changes within the xml file
like
$vbulletin->templatecache['MEMBERINFO']=str_replace('$footer','$mybest
$footer',$vbulletin->templatecache['MEMBERINFO']);
make hook location "parse_template"
Developer
02-20-2006, 05:35 PM
juss wondering every of your plugin is great but you dun use template changes within the xml file
like
$vbulletin->templatecache['MEMBERINFO']=str_replace('$footer','$mybest
$footer',$vbulletin->templatecache['MEMBERINFO']);
make hook location "parse_template"
:) but not every one want to put it above the footer
emin3m
02-20-2006, 07:13 PM
lol then users can change from plugin!
i was juss suggestin to make it all in juss xml
Hornstar
02-20-2006, 07:28 PM
Very nice hack, this may make people more interested in making threads now. I'll intall it and let you know if everything goes good.
bashy
02-20-2006, 08:00 PM
I am having issues m8...
I cant see the the image /button in the thread tools menu :(
I have upped the image to my styles buttons dir
theres nothing in the menu thats changed and i have done the edit :(
Hornstar
02-20-2006, 08:05 PM
im doing the template edits, but for mine it looks like this
<a href="subscription.php?$session[sessionurl]do=addsubscription&t=$threadid">$vbphrase[subscribe_to_this_thread]</a>
</if>
</div>
</if>
Where as yours ended in
</if>
</td>
</tr>
Where should I add this after <if condition="$thread['postuserid'] == $bbuserinfo['userid'] && $thread['firstpostid'] != $bbuserinfo['userid']">
<tr>
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/best.gif" />
<if condition="in_array($thread['threadid'], $mybestthread)">
<a href="showthread.php?$session[sessionurl]do=removemybest&t=$threadid">$vbphrase[mybest_remove]</a>
<else />
<a href="showthread.php?$session[sessionurl]do=addmybest&t=$threadid">$vbphrase[mybest_add]</a>
</if>
</td>
</tr></if>
?
Developer
02-20-2006, 08:11 PM
I am having issues m8...
I cant see the the image /button in the thread tools menu :(
I have upped the image to my styles buttons dir
theres nothing in the menu thats changed and i have done the edit :(
change
$stylevar[imgdir_button]/best.gif
to the image location
Developer
02-20-2006, 08:13 PM
im doing the template edits, but for mine it looks like this
<a href="subscription.php?$session[sessionurl]do=addsubscription&t=$threadid">$vbphrase[subscribe_to_this_thread]</a>
</if>
</div>
</if>
Where as yours ended in
</if>
</td>
</tr>
Where should I add this after <if condition="$thread['postuserid'] == $bbuserinfo['userid'] && $thread['firstpostid'] != $bbuserinfo['userid']">
<tr>
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/best.gif" />
<if condition="in_array($thread['threadid'], $mybestthread)">
<a href="showthread.php?$session[sessionurl]do=removemybest&t=$threadid">$vbphrase[mybest_remove]</a>
<else />
<a href="showthread.php?$session[sessionurl]do=addmybest&t=$threadid">$vbphrase[mybest_add]</a>
</if>
</td>
</tr></if>
?
add it after the code you get it
<a href="subscription.php?$session[sessionurl]do=addsubscription&t=$threadid">$vbphrase[subscribe_to_this_thread]</a>
</if>
</div>
</if>
bashy
02-20-2006, 08:14 PM
Just check my usercp options and the best threads ID box aint there any more either
bashy
02-20-2006, 08:16 PM
Something like this?
change
$stylevar[imgdir_button]/forums/images/buttons_mns/best.gif
to the image location
Hornstar
02-20-2006, 08:28 PM
add it after the code you get it
<a href="subscription.php?$session[sessionurl]do=addsubscription&t=$threadid">$vbphrase[subscribe_to_this_thread]</a>
</if>
</div>
</if>
I added it after that, but nothing shows up when I click on "thread tools" for my thread.
Here is what i have
<!-- thread tools -->
<div class="smallfont">
<if condition="!$show['search_engine']">
<div><img class="inlineimg" src="$stylevar[imgdir_button]/printer.gif" alt="$vbphrase[show_printable_version]" vspace="1" /> <a href="printthread.php?$session[sessionurl]t=$threadid" accesskey="p" rel="nofollow">$vbphrase[show_printable_version]</a></div>
<div><img class="inlineimg" src="$stylevar[imgdir_button]/sendtofriend.gif" alt="$vbphrase[email_this_page]" vspace="1" /> <a href="sendmessage.php?$session[sessionurl]do=sendtofriend&t=$threadid" rel="nofollow">$vbphrase[email_this_page]</a></div>
</if>
<if condition="$show['member']">
<div><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[subscription]" vspace="1" />
<if condition="$show['subscribed']">
<a href="subscription.php?$session[sessionurl]do=removesubscription&t=$threadid">$vbphrase[unsubscribe_from_this_thread]</a>
<else />
<a href="subscription.php?$session[sessionurl]do=addsubscription&t=$threadid">$vbphrase[subscribe_to_this_thread]</a>
</if>
</div>
</if>
<if condition="$thread['postuserid'] == $bbuserinfo['userid'] && $thread['firstpostid'] != $bbuserinfo['userid']">
<tr>
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/best.gif" />
<if condition="in_array($thread['threadid'], $mybestthread)">
<a href="showthread.php?$session[sessionurl]do=removemybest&t=$threadid">$vbphrase[mybest_remove]</a>
<else />
<a href="showthread.php?$session[sessionurl]do=addmybest&t=$threadid">$vbphrase[mybest_add]</a>
</if>
</td>
</tr></if>
<if condition="$show['addpoll']">
<div><img class="inlineimg" src="$stylevar[imgdir_button]/addpoll.gif" alt="$vbphrase[add_a_poll]" vspace="1" /> <a href="poll.php?$session[sessionurl]do=newpoll&t=$threadinfo[threadid]">$vbphrase[add_a_poll_to_this_thread]</a></div>
</if>
</div>
<!-- / thread tools -->
Can you see anything wrong with this?
username12
02-20-2006, 10:53 PM
I have the same issue as hornstar.
Developer
02-20-2006, 11:21 PM
<u>hornstar1337</u>
give me ur showthread template and i'll edit it for u
Hornstar
02-21-2006, 12:23 AM
showthread template as requested
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$thread[title]<if condition="$pagenumber>1"> - <phrase 1="$pagenumber">$vbphrase[page_x]</phrase></if> - $vboptions[bbtitle]</title>
</head>
<body onload="$onload">
$header
$navbar
$poll
<if condition="$show['inlinemod']">
$spacer_close
<form action="inlinemod.php" method="post" id="inlinemodform">
$spacer_open
</if>
<a name="poststop" id="poststop"></a>
<!-- controls above postbits -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px">
<tr valign="bottom">
<if condition="$show['largereplybutton']">
<td class="smallfont"><a href="newreply.php?$session[sessionurl]do=newreply&noquote=1&p=$FIRSTPOSTID" rel="nofollow"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" /></if></a></td>
<else />
<td class="smallfont"> </td>
</if>
<if condition="$show['pagenav']"><td align="$stylevar[right]">$pagenav</td></if>
</tr>
</table>
<!-- / controls above postbits -->
<!-- toolbar -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:0px">
<tr>
<td class="tcat" width="100%">
<div class="smallfont">
<if condition="$show['firstunreadlink']">
<a href="$firstunread"><img class="inlineimg" src="$stylevar[imgdir_button]/firstnew.gif" alt="$vbphrase[view_first_unread]" border="0" /></a>
<a href="$firstunread"><strong>$vbphrase[view_first_unread]</strong></a>
</if>
</div>
</td>
<td class="vbmenu_control" id="threadtools" nowrap="nowrap">
<a href="$show[nojs_link]#goto_threadtools"<if condition="is_browser('ie')"> accesskey="3"</if>>$vbphrase[thread_tools]</a>
<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadtools"); </script></if>
</td>
<if condition="$show['search']">
<td class="vbmenu_control" id="threadsearch" nowrap="nowrap">
<a href="$show[nojs_link]#goto_threadsearch">$vbphrase[search_this_thread]</a>
<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadsearch"); </script></if>
</td>
</if>
<if condition="$show['threadrating']">
<td class="vbmenu_control" id="threadrating" nowrap="nowrap">
<a href="$show[nojs_link]#goto_threadrating"><if condition="$show['rating']">$vbphrase[rating]: <img class="inlineimg" src="$stylevar[imgdir_rating]/rating_$thread[rating].gif" alt="<phrase 1="$thread[votenum]" 2="$thread[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" border="0" /><else />$vbphrase[rate_thread]</if></a>
<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadrating"); </script></if>
</td>
</if>
<if condition="$vboptions['allowthreadedmode']">
<td class="vbmenu_control" id="displaymodes" nowrap="nowrap">
<a href="$show[nojs_link]#goto_displaymodes">$vbphrase[display_modes]</a>
<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("displaymodes"); </script></if>
</td>
</if>
<if condition="$show['inlinemod']">
<if condition="$show['popups']">
<td class="vbmenu_control" id="imod" align="center" title="$vbphrase[moderation]"><script type="text/javascript"> vbmenu_register('imod'); </script></td>
<else />
<td class="thead" align="center">
<input type="checkbox" name="allbox" id="checkall_all" title="$vbphrase[check_uncheck_all]" onclick="inlineMod.check_all()" />
</td>
</if>
</if>
</tr>
</table>
<!-- / toolbar -->
<if condition="$show['inlinemod'] AND $show['popups']">
<div class="vbmenu_popup" id="imod_menu" style="display:none" align="$stylevar[left]">
$threadadmin_imod_menu_post
</div>
</if>
<!-- end content table -->
$spacer_close
<!-- / end content table -->
<if condition="$show['threadedmode'] OR $show['hybridmode']">
<!-- thread posts list -->
$threadlist
<!-- /thread posts list -->
</if>
<div id="posts">$postbits<div id="lastpost"></div></div>
<!-- start content table -->
$spacer_open
<!-- / start content table -->
<!-- controls below postbits -->
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr valign="top">
<if condition="$show['largereplybutton']">
<td class="smallfont"><a href="newreply.php?$session[sessionurl]do=newreply&noquote=1&p=$LASTPOSTID" rel="nofollow"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" /></if></a></td>
<else />
<td class="smallfont"> </td>
</if>
<if condition="$show['pagenav'] OR $show['inlinemod']">
<td align="$stylevar[right]">$pagenav
<if condition="$show['inlinemod']">
<div class="smallfont" style="text-align:$stylevar[left]; white-space:nowrap; float:$stylevar[right]">
<if condition="$show['pagenav']"><br /></if><strong>$vbphrase[moderation]</strong><br />
<select name="do">
<optgroup label="$vbphrase[option]">
<if condition="$show['managethread']">
<option value="mergeposts">$vbphrase[merge_posts]</option>
<option value="moveposts">$vbphrase[move_posts]</option>
</if>
<if condition="$show['managepost']">
<option value="deleteposts">$vbphrase[delete_posts]</option>
<option value="undeleteposts">$vbphrase[undelete_posts]</option>
</if>
<if condition="$show['approvepost']">
<option value="approveposts">$vbphrase[approve_posts]</option>
<option value="unapproveposts">$vbphrase[unapprove_posts]</option>
</if>
<if condition="$show['approveattachment']">
<option value="approveattachments">$vbphrase[approve_attachments]</option>
<option value="unapproveattachments">$vbphrase[unapprove_attachments]</option>
</if>
</optgroup>
<optgroup label="____________________">
<option value="clearpost">$vbphrase[clear_post_list]</option>
</optgroup>
</select><input type="submit" class="button" id="inlinego" value="$vbphrase[go]" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="threadid" value="$threadinfo[threadid]" />
<input type="hidden" name="p" value="$postid" />
<input type="hidden" name="url" value="$url" />
</div>
<script type="text/javascript" src="clientscript/vbulletin_inlinemod.js"></script>
<script type="text/javascript">
<!--
inlineMod = new vB_Inline_Mod('inlineMod', 'post', 'inlinemodform', '$vbphrase[go_x]');
//-->
</script>
</if>
</td>
</if>
</tr>
</table>
<!-- / controls below postbits -->
<if condition="$show['inlinemod']">
$spacer_close
</form>
$spacer_open
</if>
<if condition="!$show['search_engine']">
<br />
<div class="smallfont" align="center">
<strong>«</strong>
<a href="showthread.php?$session[sessionurl]t=$threadid&goto=nextoldest">$vbphrase[prev_thread]</a>
|
<a href="showthread.php?$session[sessionurl]t=$threadid&goto=nextnewest">$vbphrase[next_thread]</a>
<strong>»</strong>
</div>
</if>
<br />
<if condition="$show['quickreply'] OR $show['ajax_js']">
<!-- ajax errors table -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" style="display:none; position:absolute" id="ajax_post_errors">
<tr>
<td class="thead">
<span style="float:$stylevar[right]"><input type="button" class="button" value=" X " onclick="vB_QuickEditor.hide_errors()" unselectable="true" /></span>
$vbphrase[vbulletin_message]
</td>
</tr>
<tr>
<td class="alt2" colspan="2" id="ajax_post_errors_message"> </td>
</tr>
<tr>
<td class="tfoot" colspan="2" align="center"><a href="#" onclick="vB_QuickEditor.abort(); return false;">$vbphrase[cancel_changes]</a></td>
</tr>
</table>
<!-- / ajax errors table -->
<!-- scripts for quick reply and quick edit -->
$vBeditTemplate[clientscript]
<if condition="$show['quickedit']">
<script type="text/javascript" src="clientscript/vbulletin_quick_edit.js"></script>
<script type="text/javascript">
<!--
vB_AJAX_QuickEdit_Init('posts');
//-->
</script>
</if>
<!-- / scripts for quick reply and quick edit -->
</if>
<if condition="$show['quickreply']">
<!-- quick reply -->
<form action="newreply.php" method="post" name="vbform" onsubmit="return qr_prepare_submit(this, $vboptions[postminchars]);" id="qrform">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="2">
<if condition="$show['quickreply_collapse']"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('quickreply');"><img id="collapseimg_quickreply" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_quickreply].gif" alt="" border="0" /></a></if>
$vbphrase[quick_reply]
</td>
</tr>
</thead>
<tbody id="qr_error_tbody" style="display:none">
<tr>
<td class="thead">$vbphrase[errors_occured_when_submitted]</td>
</tr>
<tr>
<td class="alt1" id="qr_error_td"></td>
</tr>
<tr>
<td class="tfoot" align="center"><span class="smallfont"><a href="#" onclick="return qr_hide_errors()">$vbphrase[okay]</a></span></td>
</tr>
</tbody>
<tbody id="collapseobj_quickreply" style="$vbcollapse[collapseobj_quickreply]">
<tr>
<td class="panelsurround" align="center">
<div class="panel">
<table cellpadding="0" cellspacing="0" border="0" align="center">
<tr>
<td class="smallfont" align="$stylevar[left]">$vbphrase[message]:</td>
</tr>
<tr>
<td id="$editorid" class="vBulletin_editor" align="$stylevar[left]">$messagearea</td>
</tr>
<tr>
<td align="$stylevar[left]">
<fieldset class="fieldset" style="margin:$stylevar[formspacer]px 0px 0px 0px">
<legend>$vbphrase[options]</legend>
<div>
<if condition="$bbuserinfo['signature']">
<div style="float:$stylevar[right]"><label for="cb_signature"><input type="checkbox" name="signature" value="1" id="cb_signature" tabindex="5" checked="checked" />$vbphrase[show_your_signature]</label></div>
</if>
<label for="qr_quickreply"><input type="checkbox" name="quickreply" value="1" id="qr_quickreply" accesskey="w" tabindex="4" />$vbphrase[quote_message_in_reply]</label>
</div>
</fieldset>
</td>
</tr>
</table>
</div>
<div style="margin-top:$stylevar[cellpadding]px">
<input type="hidden" name="fromquickreply" value="1" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="postreply" />
<input type="hidden" name="t" value="$threadid" id="qr_threadid" />
<input type="hidden" name="p" value="$qrpostid" id="qr_postid" />
<input type="hidden" name="parseurl" value="1" />
<input type="submit" class="button" value="$vbphrase[post_quick_reply]" accesskey="s" title="(Alt + S)" name="sbutton" tabindex="2" id="qr_submit" onclick="clickedelm = this.value" />
<input type="submit" class="button" value="$vbphrase[go_advanced]" accesskey="x" title="(Alt + X)" name="preview" tabindex="3" id="qr_preview" onclick="clickedelm = this.value" />
</div>
<div align="center" id="qr_posting_msg" style="display:none; margin-top:6px">
<strong>$vbphrase[posting_quick_reply_please_wait]</strong>
</div>
</td>
</tr>
</tbody>
</table>
</form>
<if condition="!is_browser('ie') AND $show['wysiwyg']">
<!-- Mozilla work around for focusing on QR in WYSIWYG mode -->
<div id="qr_scroll"></div>
</if>
<br />
<script type="text/javascript" src="clientscript/vbulletin_quick_reply.js"></script>
<!-- end quick reply -->
</if>
<!-- currently active users -->
<if condition="$show['activeusers']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat" colspan="2">
<phrase 1="$totalonline" 2="$numberregistered" 3="$numberguest">$vbphrase[users_viewing_this_thread_x_y_z]</phrase>
</td>
</tr>
<tr>
<td class="alt1" colspan="2">
<span class="smallfont">$activeusers</span>
</td>
</tr>
</table>
</if>
<!-- end currently active users -->
<if condition="$show['popups']">
<!-- popup menu contents -->
<br />
<!-- thread tools menu -->
<div class="vbmenu_popup" id="threadtools_menu" style="display:none">
<form action="postings.php" method="post" name="threadadminform">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[thread_tools]<a name="goto_threadtools"></a></td>
</tr>
<tr>
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/printer.gif" alt="$vbphrase[show_printable_version]" /> <a href="printthread.php?$session[sessionurl]t=$threadid" accesskey="3" rel="nofollow">$vbphrase[show_printable_version]</a></td>
</tr>
<tr>
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/sendtofriend.gif" alt="$vbphrase[email_this_page]" /> <a href="sendmessage.php?$session[sessionurl]do=sendtofriend&t=$threadid" rel="nofollow">$vbphrase[email_this_page]</a></td>
</tr>
<if condition="$show['member']">
<tr>
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[subscription]" />
<if condition="$show['subscribed']">
<a href="subscription.php?$session[sessionurl]do=removesubscription&t=$threadid" rel="nofollow">$vbphrase[unsubscribe_from_this_thread]</a>
<else />
<a href="subscription.php?$session[sessionurl]do=addsubscription&t=$threadid" rel="nofollow">$vbphrase[subscribe_to_this_thread]</a>
</if>
</td>
</tr>
</if>
<if condition="$show['addpoll']">
<tr>
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/addpoll.gif" alt="$vbphrase[add_a_poll]" /> <a href="poll.php?$session[sessionurl]do=newpoll&t=$threadinfo[threadid]">$vbphrase[add_a_poll_to_this_thread]</a></td>
</tr>
</if>
<if condition="$show['adminoptions']">
<tr>
<td class="thead">$vbphrase[admin_tools]<a name="goto_threadadmin"></a></td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<if condition="$show['openclose']"><div><label for="ao_oct"><input type="radio" name="do" id="ao_oct" value="openclosethread" checked="checked" /><if condition="$show['closethread']">$vbphrase[close_thread]<else />$vbphrase[open_thread]</if></label></div></if>
<if condition="$show['movethread']"><div><label for="ao_mvt"><input type="radio" name="do" id="ao_mvt" value="movethread" />$vbphrase[move_copy_thread]</label></div></if>
<if condition="$show['editthread']"><div><label for="ao_edt"><input type="radio" name="do" id="ao_edt" value="editthread" />$vbphrase[edit_thread]</label></div></if>
<if condition="$show['deletethread']"><div><label for="ao_dlt"><input type="radio" name="do" id="ao_dlt" value="deletethread" />$vbphrase[delete_thread]</label></div></if>
<if condition="$show['managethread']">
<div><label for="ao_sut"><input type="radio" name="do" id="ao_sut" value="stick" /><if condition="$show['unstick']">$vbphrase[unstick_thread]<else />$vbphrase[stick_thread]</if></label></div>
<div><label for="ao_mgt"><input type="radio" name="do" id="ao_mgt" value="mergethread" />$vbphrase[merge_threads]</label></div>
<!--<div><label for="ao_spt"><input type="radio" name="do" id="ao_spt" value="splitthread" />$vbphrase[split_thread]</label></div>-->
<div><label for="ao_rrd"><input type="radio" name="do" id="ao_rrd" value="removeredirect" />$vbphrase[remove_redirects]</label></div>
</if>
<if condition="$show['editpoll']"><div><label for="ao_edp"><input type="radio" name="do" id="ao_edp" value="editpoll" />$vbphrase[edit_poll]</label></div></if>
</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite" align="center">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="t" value="$threadid" />
<input type="hidden" name="pollid" value="$pollid" />
<input type="submit" class="button" value="$vbphrase[perform_action]" />
</td>
</tr>
</if>
</table>
</form>
</div>
<!-- / thread tools menu -->
<if condition="$vboptions['allowthreadedmode']">
<!-- ************************************************** ** -->
<!-- thread display mode menu -->
<div class="vbmenu_popup" id="displaymodes_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[display_modes]<a name="goto_displaymodes"></a></td>
</tr>
<tr>
<if condition="$show['linearmode']">
<td class="vbmenu_option" title="nohilite"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_linear.gif" alt="$vbphrase[linear_mode]" /> <strong>$vbphrase[linear_mode]</strong></td>
<else />
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_linear.gif" alt="$vbphrase[linear_mode]" /> <a href="showthread.php?$session[sessionurl]p=$FIRSTPOSTID&mode=linear$highlightwords#post$FIR STPOSTID">$vbphrase[switch_to_linear_mode]</a></td>
</if>
</tr>
<tr>
<if condition="$show['hybridmode']">
<td class="vbmenu_option" title="nohilite"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_hybrid.gif" alt="$vbphrase[hybrid_mode]" /> <strong>$vbphrase[hybrid_mode]</strong></td>
<else />
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_hybrid.gif" alt="$vbphrase[hybrid_mode]" /> <a href="showthread.php?$session[sessionurl]mode=hybrid&t=$thread[threadid]$highlightwords">$vbphrase[switch_to_hybrid_mode]</a></td>
</if>
</tr>
<tr>
<if condition="$show['threadedmode']">
<td class="vbmenu_option" title="nohilite"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_threaded.gif" alt="$vbphrase[threaded_mode]" /> <strong>$vbphrase[threaded_mode]</strong></td>
<else />
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_threaded.gif" alt="$vbphrase[threaded_mode]" /> <a href="showthread.php?$session[sessionurl]p=$FIRSTPOSTID&mode=threaded$highlightwords#post$F IRSTPOSTID">$vbphrase[switch_to_threaded_mode]</a></td>
</if>
</tr>
</table>
</div>
<!-- / thread display mode menu -->
</if>
<!-- ************************************************** ** -->
<if condition="$show['search']">
<!-- thread search menu -->
<div class="vbmenu_popup" id="threadsearch_menu" style="display:none">
<form action="search.php" method="post">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[search_this_thread]<a name="goto_threadsearch"></a></td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="process" />
<input type="hidden" name="searchthread" value="1" />
<input type="hidden" name="showposts" value="1" />
<input type="hidden" name="searchthreadid" value="$threadid" />
<input type="text" class="bginput" name="query" size="20" />$gobutton<br />
</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php$session[sessionurl_q]">$vbphrase[advanced_search]</a></td>
</tr>
</table>
</form>
</div>
<!-- / thread search menu -->
</if>
<!-- ************************************************** ** -->
<!-- thread rating menu -->
<div class="vbmenu_popup" id="threadrating_menu" style="display:none">
<form action="threadrate.php" method="post">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[rate_this_thread]<a name="goto_threadrating"></a></td>
</tr>
<if condition="$show['ratethread']">
<tr>
<td class="vbmenu_option" title="nohilite">
<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_5.gif" alt="$vbphrase[excellent]" /><label for="vote5"><input type="radio" name="vote" id="vote5" value="5" $votechecked[5] />$vbphrase[excellent]</label></div>
<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_4.gif" alt="$vbphrase[good]" /><label for="vote4"><input type="radio" name="vote" id="vote4" value="4" $votechecked[4] />$vbphrase[good]</label></div>
<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_3.gif" alt="$vbphrase[average]" /><label for="vote3"><input type="radio" name="vote" id="vote3" value="3" $votechecked[3] />$vbphrase[average]</label></div>
<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_2.gif" alt="$vbphrase[bad]" /><label for="vote2"><input type="radio" name="vote" id="vote2" value="2" $votechecked[2] />$vbphrase[bad]</label></div>
<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_1.gif" alt="$vbphrase[terrible]" /><label for="vote1"><input type="radio" name="vote" id="vote1" value="1" $votechecked[1] />$vbphrase[terrible]</label></div>
</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite" align="center">
<input type="hidden" name="s" value="$session[dbsessionhash]" />
<input type="hidden" name="t" value="$threadid" />
<input type="hidden" name="pp" value="$perpage" />
<input type="hidden" name="page" value="$pagenumber" />
<input type="submit" class="button" value="$vbphrase[vote_now]" />
</td>
</tr>
<else />
<tr>
<td>$vbphrase[already_rated_this_thread]</td>
</tr>
</if>
</table>
</form>
</div>
<!-- / thread rating 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" <if condition="!$show['search']">colspan="2"</if>>$vbphrase[thread_tools]<a name="goto_threadtools"></a></td>
<if condition="$show['search']"><td class="thead">$vbphrase[search_this_thread]<a name="goto_threadsearch"></a></td></if>
</tr>
<tr valign="top">
<td class="alt1" <if condition="!$show['search']">colspan="2"</if>>
<!-- thread tools -->
<div class="smallfont">
<if condition="!$show['search_engine']">
<div><img class="inlineimg" src="$stylevar[imgdir_button]/printer.gif" alt="$vbphrase[show_printable_version]" vspace="1" /> <a href="printthread.php?$session[sessionurl]t=$threadid" accesskey="p" rel="nofollow">$vbphrase[show_printable_version]</a></div>
<div><img class="inlineimg" src="$stylevar[imgdir_button]/sendtofriend.gif" alt="$vbphrase[email_this_page]" vspace="1" /> <a href="sendmessage.php?$session[sessionurl]do=sendtofriend&t=$threadid" rel="nofollow">$vbphrase[email_this_page]</a></div>
</if>
<if condition="$show['member']">
<div><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[subscription]" vspace="1" />
<if condition="$show['subscribed']">
<a href="subscription.php?$session[sessionurl]do=removesubscription&t=$threadid">$vbphrase[unsubscribe_from_this_thread]</a>
<else />
<a href="subscription.php?$session[sessionurl]do=addsubscription&t=$threadid">$vbphrase[subscribe_to_this_thread]</a>
</if>
<if condition="$thread['postuserid'] == $bbuserinfo['userid'] && $thread['firstpostid'] != $bbuserinfo['userid']">
<tr>
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/best.gif" />
<if condition="in_array($thread['threadid'], $mybestthread)">
<a href="showthread.php?$session[sessionurl]do=removemybest&t=$threadid">$vbphrase[mybest_remove]</a>
<else />
<a href="showthread.php?$session[sessionurl]do=addmybest&t=$threadid">$vbphrase[mybest_add]</a>
</if>
</td>
</tr></if>
</div>
</if>
<if condition="$show['addpoll']">
<div><img class="inlineimg" src="$stylevar[imgdir_button]/addpoll.gif" alt="$vbphrase[add_a_poll]" vspace="1" /> <a href="poll.php?$session[sessionurl]do=newpoll&t=$threadinfo[threadid]">$vbphrase[add_a_poll_to_this_thread]</a></div>
</if>
</div>
<!-- / thread tools -->
</td>
<if condition="$show['search']">
<td class="alt1">
<!-- search this thread -->
<form action="search.php" method="post">
<div class="smallfont">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="process" />
<input type="hidden" name="searchthread" value="1" />
<input type="hidden" name="showposts" value="1" />
<input type="hidden" name="searchthreadid" value="$threadid" />
<strong>$vbphrase[search_this_thread]</strong>:<br />
<input type="text" class="bginput" name="query" size="20" style="width:175px" />$gobutton<br />
<a href="search.php$session[sessionurl_q]">$vbphrase[advanced_search]</a>
</div>
</form>
<!-- / search this thread -->
</td>
</if>
</tr>
<if condition="$vboptions['allowthreadedmode'] OR $show['threadrating']">
<tr>
<if condition="$vboptions['allowthreadedmode']"><td class="thead" $nodhtmlcolspan>$vbphrase[display_modes]<a name="goto_displaymodes"></a></td></if>
<if condition="$show['threadrating']"><td class="thead" $nodhtmlcolspan>$vbphrase[rate_this_thread]<a name="goto_threadrating"></a></td></if>
</tr>
<tr valign="top">
<if condition="$vboptions['allowthreadedmode']">
<td class="alt2" $nodhtmlcolspan>
<!-- thread display modes -->
<div class="smallfont">
<div><img class="inlineimg" src="$stylevar[imgdir_button]/mode_linear.gif" alt="$vbphrase[linear_mode]" vspace="1" /> <if condition="$show['linearmode']"><strong>$vbphrase[linear_mode]</strong><else /><a href="showthread.php?$session[sessionurl]p=$FIRSTPOSTID&mode=linear$highlightwords#post$FIR STPOSTID">$vbphrase[switch_to_linear_mode]</a></if></div>
<div><img class="inlineimg" src="$stylevar[imgdir_button]/mode_hybrid.gif" alt="$vbphrase[hybrid_mode]" vspace="1" /> <if condition="$show['hybridmode']"><strong>$vbphrase[hybrid_mode]</strong><else /><a href="showthread.php?$session[sessionurl]mode=hybrid&t=$thread[threadid]$highlightwords">$vbphrase[switch_to_hybrid_mode]</a></if></div>
<div><img class="inlineimg" src="$stylevar[imgdir_button]/mode_threaded.gif" alt="$vbphrase[threaded_mode]" vspace="1" /> <if condition="$show['threadedmode']"><strong>$vbphrase[threaded_mode]</strong><else /><a href="showthread.php?$session[sessionurl]p=$FIRSTPOSTID&mode=threaded$highlightwords#post$F IRSTPOSTID">$vbphrase[switch_to_threaded_mode]</a></if></div>
</div>
<!-- / thread display modes -->
</td>
</if>
<if condition="$show['threadrating']">
<td class="alt2" $nodhtmlcolspan>
<!-- rate this thread -->
<form action="threadrate.php" method="post">
<div class="smallfont">
<input type="hidden" name="s" value="$session[dbsessionhash]" />
<input type="hidden" name="t" value="$threadid" />
<input type="hidden" name="pp" value="$perpage" />
<input type="hidden" name="page" value="$pagenumber" />
<strong>$vbphrase[rate_this_thread]</strong>:<br />
<select name="vote" onchange="this.form.submit()" style="width:175px">
<optgroup label="$vbphrase[choose_a_rating]">
<option value="5" $voteselected[5]>5 : $vbphrase[excellent]</option>
<option value="4" $voteselected[4]>4 : $vbphrase[good]</option>
<option value="3" $voteselected[3]>3 : $vbphrase[average]</option>
<option value="2" $voteselected[2]>2 : $vbphrase[bad]</option>
<option value="1" $voteselected[1]>1 : $vbphrase[terrible]</option>
</optgroup>
</select>$gobutton
</div>
</form>
<!-- / rate this thread -->
</td>
</if>
</tr>
</if>
</table>
<br />
<!-- / controls for non-popup browsers -->
</if>
<!-- forum rules and admin links -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr valign="bottom">
<td class="smallfont" align="$stylevar[left]">
$forumrules
</td>
<td class="smallfont" align="$stylevar[right]">
<table cellpadding="0" cellspacing="0" border="0">
<if condition="!$show['popups'] AND $show['adminoptions']">
<tr>
<td>
<div class="smallfont" style="text-align:$stylevar[left]; white-space:nowrap">
<form action="postings.php" method="post" name="adminoptionsform">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="t" value="$threadid" />
<strong>$vbphrase[admin_tools]</strong>:<br />
<select name="do" onchange="this.form.submit()">
<optgroup label="$vbphrase[thread_admin_tools]">
<if condition="$show['openclose']"><option value="openclosethread" selected="selected"><if condition="$show['closethread']">$vbphrase[close_thread]<else />$vbphrase[open_thread]</if></option></if>
<if condition="$show['editthread']"><option value="editthread">$vbphrase[edit_thread]</option></if>
<if condition="$show['deletethread']"><option value="deletethread">$vbphrase[delete_thread]</option></if>
<if condition="$show['movethread']"><option value="movethread">$vbphrase[move_copy_thread]</option></if>
<if condition="$show['managethread']">
<option value="stick"><if condition="$show['unstick']">$vbphrase[unstick_thread]<else />$vbphrase[stick_thread]</if></option>
<option value="mergethread">$vbphrase[merge_threads]</option>
<!--<option value="splitthread">$vbphrase[split_thread]</option>-->
<option value="removeredirect">$vbphrase[remove_redirects]</option>
</if>
<if condition="$show['editpoll']"><option value="editpoll">$vbphrase[edit_poll]</option></if>
</optgroup>
</select>$gobutton
</form>
</div>
</td>
</tr>
<br />
</if>
<tr>
<td>
$forumjump
</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- /forum rules and admin links -->
<br />
$similarthreads
$footer
<!-- temp -->
<div style="display:none">
<!-- thread rate -->
<if condition="$show['ratethread']">
<!-- thread ratings form here -->
<else />
<if condition="$show['threadrating']">
$vbphrase[you_rated_this_thread]: <strong>$threadinfo[vote]</strong>
</if>
</if>
<!-- / thread rate -->
</div>
</body>
</html>
Developer
02-21-2006, 12:55 PM
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$thread[title]<if condition="$pagenumber>1"> - <phrase 1="$pagenumber">$vbphrase[page_x]</phrase></if> - $vboptions[bbtitle]</title>
</head>
<body onload="$onload">
$header
$navbar
$poll
<if condition="$show['inlinemod']">
$spacer_close
<form action="inlinemod.php" method="post" id="inlinemodform">
$spacer_open
</if>
<a name="poststop" id="poststop"></a>
<!-- controls above postbits -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px">
<tr valign="bottom">
<if condition="$show['largereplybutton']">
<td class="smallfont"><a href="newreply.php?$session[sessionurl]do=newreply&noquote=1&p=$FIRSTPOSTID" rel="nofollow"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" /></if></a></td>
<else />
<td class="smallfont"> </td>
</if>
<if condition="$show['pagenav']"><td align="$stylevar[right]">$pagenav</td></if>
</tr>
</table>
<!-- / controls above postbits -->
<!-- toolbar -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:0px">
<tr>
<td class="tcat" width="100%">
<div class="smallfont">
<if condition="$show['firstunreadlink']">
<a href="$firstunread"><img class="inlineimg" src="$stylevar[imgdir_button]/firstnew.gif" alt="$vbphrase[view_first_unread]" border="0" /></a>
<a href="$firstunread"><strong>$vbphrase[view_first_unread]</strong></a>
</if>
</div>
</td>
<td class="vbmenu_control" id="threadtools" nowrap="nowrap">
<a href="$show[nojs_link]#goto_threadtools"<if condition="is_browser('ie')"> accesskey="3"</if>>$vbphrase[thread_tools]</a>
<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadtools"); </script></if>
</td>
<if condition="$show['search']">
<td class="vbmenu_control" id="threadsearch" nowrap="nowrap">
<a href="$show[nojs_link]#goto_threadsearch">$vbphrase[search_this_thread]</a>
<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadsearch"); </script></if>
</td>
</if>
<if condition="$show['threadrating']">
<td class="vbmenu_control" id="threadrating" nowrap="nowrap">
<a href="$show[nojs_link]#goto_threadrating"><if condition="$show['rating']">$vbphrase[rating]: <img class="inlineimg" src="$stylevar[imgdir_rating]/rating_$thread[rating].gif" alt="<phrase 1="$thread[votenum]" 2="$thread[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" border="0" /><else />$vbphrase[rate_thread]</if></a>
<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadrating"); </script></if>
</td>
</if>
<if condition="$vboptions['allowthreadedmode']">
<td class="vbmenu_control" id="displaymodes" nowrap="nowrap">
<a href="$show[nojs_link]#goto_displaymodes">$vbphrase[display_modes]</a>
<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("displaymodes"); </script></if>
</td>
</if>
<if condition="$show['inlinemod']">
<if condition="$show['popups']">
<td class="vbmenu_control" id="imod" align="center" title="$vbphrase[moderation]"><script type="text/javascript"> vbmenu_register('imod'); </script></td>
<else />
<td class="thead" align="center">
<input type="checkbox" name="allbox" id="checkall_all" title="$vbphrase[check_uncheck_all]" onclick="inlineMod.check_all()" />
</td>
</if>
</if>
</tr>
</table>
<!-- / toolbar -->
<if condition="$show['inlinemod'] AND $show['popups']">
<div class="vbmenu_popup" id="imod_menu" style="display:none" align="$stylevar[left]">
$threadadmin_imod_menu_post
</div>
</if>
<!-- end content table -->
$spacer_close
<!-- / end content table -->
<if condition="$show['threadedmode'] OR $show['hybridmode']">
<!-- thread posts list -->
$threadlist
<!-- /thread posts list -->
</if>
<div id="posts">$postbits<div id="lastpost"></div></div>
<!-- start content table -->
$spacer_open
<!-- / start content table -->
<!-- controls below postbits -->
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr valign="top">
<if condition="$show['largereplybutton']">
<td class="smallfont"><a href="newreply.php?$session[sessionurl]do=newreply&noquote=1&p=$LASTPOSTID" rel="nofollow"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" /></if></a></td>
<else />
<td class="smallfont"> </td>
</if>
<if condition="$show['pagenav'] OR $show['inlinemod']">
<td align="$stylevar[right]">$pagenav
<if condition="$show['inlinemod']">
<div class="smallfont" style="text-align:$stylevar[left]; white-space:nowrap; float:$stylevar[right]">
<if condition="$show['pagenav']"><br /></if><strong>$vbphrase[moderation]</strong><br />
<select name="do">
<optgroup label="$vbphrase[option]">
<if condition="$show['managethread']">
<option value="mergeposts">$vbphrase[merge_posts]</option>
<option value="moveposts">$vbphrase[move_posts]</option>
</if>
<if condition="$show['managepost']">
<option value="deleteposts">$vbphrase[delete_posts]</option>
<option value="undeleteposts">$vbphrase[undelete_posts]</option>
</if>
<if condition="$show['approvepost']">
<option value="approveposts">$vbphrase[approve_posts]</option>
<option value="unapproveposts">$vbphrase[unapprove_posts]</option>
</if>
<if condition="$show['approveattachment']">
<option value="approveattachments">$vbphrase[approve_attachments]</option>
<option value="unapproveattachments">$vbphrase[unapprove_attachments]</option>
</if>
</optgroup>
<optgroup label="____________________">
<option value="clearpost">$vbphrase[clear_post_list]</option>
</optgroup>
</select><input type="submit" class="button" id="inlinego" value="$vbphrase[go]" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="threadid" value="$threadinfo[threadid]" />
<input type="hidden" name="p" value="$postid" />
<input type="hidden" name="url" value="$url" />
</div>
<script type="text/javascript" src="clientscript/vbulletin_inlinemod.js"></script>
<script type="text/javascript">
<!--
inlineMod = new vB_Inline_Mod('inlineMod', 'post', 'inlinemodform', '$vbphrase[go_x]');
//-->
</script>
</if>
</td>
</if>
</tr>
</table>
<!-- / controls below postbits -->
<if condition="$show['inlinemod']">
$spacer_close
</form>
$spacer_open
</if>
<if condition="!$show['search_engine']">
<br />
<div class="smallfont" align="center">
<strong>«</strong>
<a href="showthread.php?$session[sessionurl]t=$threadid&goto=nextoldest">$vbphrase[prev_thread]</a>
|
<a href="showthread.php?$session[sessionurl]t=$threadid&goto=nextnewest">$vbphrase[next_thread]</a>
<strong>»</strong>
</div>
</if>
<br />
<if condition="$show['quickreply'] OR $show['ajax_js']">
<!-- ajax errors table -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" style="display:none; position:absolute" id="ajax_post_errors">
<tr>
<td class="thead">
<span style="float:$stylevar[right]"><input type="button" class="button" value=" X " onclick="vB_QuickEditor.hide_errors()" unselectable="true" /></span>
$vbphrase[vbulletin_message]
</td>
</tr>
<tr>
<td class="alt2" colspan="2" id="ajax_post_errors_message"> </td>
</tr>
<tr>
<td class="tfoot" colspan="2" align="center"><a href="#" onclick="vB_QuickEditor.abort(); return false;">$vbphrase[cancel_changes]</a></td>
</tr>
</table>
<!-- / ajax errors table -->
<!-- scripts for quick reply and quick edit -->
$vBeditTemplate[clientscript]
<if condition="$show['quickedit']">
<script type="text/javascript" src="clientscript/vbulletin_quick_edit.js"></script>
<script type="text/javascript">
<!--
vB_AJAX_QuickEdit_Init('posts');
//-->
</script>
</if>
<!-- / scripts for quick reply and quick edit -->
</if>
<if condition="$show['quickreply']">
<!-- quick reply -->
<form action="newreply.php" method="post" name="vbform" onsubmit="return qr_prepare_submit(this, $vboptions[postminchars]);" id="qrform">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="2">
<if condition="$show['quickreply_collapse']"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('quickreply');"><img id="collapseimg_quickreply" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_quickreply].gif" alt="" border="0" /></a></if>
$vbphrase[quick_reply]
</td>
</tr>
</thead>
<tbody id="qr_error_tbody" style="display:none">
<tr>
<td class="thead">$vbphrase[errors_occured_when_submitted]</td>
</tr>
<tr>
<td class="alt1" id="qr_error_td"></td>
</tr>
<tr>
<td class="tfoot" align="center"><span class="smallfont"><a href="#" onclick="return qr_hide_errors()">$vbphrase[okay]</a></span></td>
</tr>
</tbody>
<tbody id="collapseobj_quickreply" style="$vbcollapse[collapseobj_quickreply]">
<tr>
<td class="panelsurround" align="center">
<div class="panel">
<table cellpadding="0" cellspacing="0" border="0" align="center">
<tr>
<td class="smallfont" align="$stylevar[left]">$vbphrase[message]:</td>
</tr>
<tr>
<td id="$editorid" class="vBulletin_editor" align="$stylevar[left]">$messagearea</td>
</tr>
<tr>
<td align="$stylevar[left]">
<fieldset class="fieldset" style="margin:$stylevar[formspacer]px 0px 0px 0px">
<legend>$vbphrase[options]</legend>
<div>
<if condition="$bbuserinfo['signature']">
<div style="float:$stylevar[right]"><label for="cb_signature"><input type="checkbox" name="signature" value="1" id="cb_signature" tabindex="5" checked="checked" />$vbphrase[show_your_signature]</label></div>
</if>
<label for="qr_quickreply"><input type="checkbox" name="quickreply" value="1" id="qr_quickreply" accesskey="w" tabindex="4" />$vbphrase[quote_message_in_reply]</label>
</div>
</fieldset>
</td>
</tr>
</table>
</div>
<div style="margin-top:$stylevar[cellpadding]px">
<input type="hidden" name="fromquickreply" value="1" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="postreply" />
<input type="hidden" name="t" value="$threadid" id="qr_threadid" />
<input type="hidden" name="p" value="$qrpostid" id="qr_postid" />
<input type="hidden" name="parseurl" value="1" />
<input type="submit" class="button" value="$vbphrase[post_quick_reply]" accesskey="s" title="(Alt + S)" name="sbutton" tabindex="2" id="qr_submit" onclick="clickedelm = this.value" />
<input type="submit" class="button" value="$vbphrase[go_advanced]" accesskey="x" title="(Alt + X)" name="preview" tabindex="3" id="qr_preview" onclick="clickedelm = this.value" />
</div>
<div align="center" id="qr_posting_msg" style="display:none; margin-top:6px">
<strong>$vbphrase[posting_quick_reply_please_wait]</strong>
</div>
</td>
</tr>
</tbody>
</table>
</form>
<if condition="!is_browser('ie') AND $show['wysiwyg']">
<!-- Mozilla work around for focusing on QR in WYSIWYG mode -->
<div id="qr_scroll"></div>
</if>
<br />
<script type="text/javascript" src="clientscript/vbulletin_quick_reply.js"></script>
<!-- end quick reply -->
</if>
<!-- currently active users -->
<if condition="$show['activeusers']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat" colspan="2">
<phrase 1="$totalonline" 2="$numberregistered" 3="$numberguest">$vbphrase[users_viewing_this_thread_x_y_z]</phrase>
</td>
</tr>
<tr>
<td class="alt1" colspan="2">
<span class="smallfont">$activeusers</span>
</td>
</tr>
</table>
</if>
<!-- end currently active users -->
<if condition="$show['popups']">
<!-- popup menu contents -->
<br />
<!-- thread tools menu -->
<div class="vbmenu_popup" id="threadtools_menu" style="display:none">
<form action="postings.php" method="post" name="threadadminform">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[thread_tools]<a name="goto_threadtools"></a></td>
</tr>
<tr>
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/printer.gif" alt="$vbphrase[show_printable_version]" /> <a href="printthread.php?$session[sessionurl]t=$threadid" accesskey="3" rel="nofollow">$vbphrase[show_printable_version]</a></td>
</tr>
<tr>
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/sendtofriend.gif" alt="$vbphrase[email_this_page]" /> <a href="sendmessage.php?$session[sessionurl]do=sendtofriend&t=$threadid" rel="nofollow">$vbphrase[email_this_page]</a></td>
</tr>
<if condition="$show['member']">
<tr>
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[subscription]" />
<if condition="$show['subscribed']">
<a href="subscription.php?$session[sessionurl]do=removesubscription&t=$threadid" rel="nofollow">$vbphrase[unsubscribe_from_this_thread]</a>
<else />
<a href="subscription.php?$session[sessionurl]do=addsubscription&t=$threadid" rel="nofollow">$vbphrase[subscribe_to_this_thread]</a>
</if>
</td>
</tr>
</if>
<if condition="$thread['postuserid'] == $bbuserinfo['userid'] && $thread['firstpostid'] != $bbuserinfo['userid']">
<tr>
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/best.gif" />
<if condition="in_array($thread['threadid'], $mybestthread)">
<a href="showthread.php?$session[sessionurl]do=removemybest&t=$threadid">$vbphrase[mybest_remove]</a>
<else />
<a href="showthread.php?$session[sessionurl]do=addmybest&t=$threadid">$vbphrase[mybest_add]</a>
</if>
</td>
</tr></if>
<if condition="$show['addpoll']">
<tr>
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[add_a_poll]" /> <a href="poll.php?$session[sessionurl]do=newpoll&t=$threadinfo[threadid]">$vbphrase[add_a_poll_to_this_thread]</a></td>
</tr>
</if>
<if condition="$show['adminoptions']">
<tr>
<td class="thead">$vbphrase[admin_tools]<a name="goto_threadadmin"></a></td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<if condition="$show['openclose']"><div><label for="ao_oct"><input type="radio" name="do" id="ao_oct" value="openclosethread" checked="checked" /><if condition="$show['closethread']">$vbphrase[close_thread]<else />$vbphrase[open_thread]</if></label></div></if>
<if condition="$show['movethread']"><div><label for="ao_mvt"><input type="radio" name="do" id="ao_mvt" value="movethread" />$vbphrase[move_copy_thread]</label></div></if>
<if condition="$show['editthread']"><div><label for="ao_edt"><input type="radio" name="do" id="ao_edt" value="editthread" />$vbphrase[edit_thread]</label></div></if>
<if condition="$show['deletethread']"><div><label for="ao_dlt"><input type="radio" name="do" id="ao_dlt" value="deletethread" />$vbphrase[delete_thread]</label></div></if>
<if condition="$show['managethread']">
<div><label for="ao_sut"><input type="radio" name="do" id="ao_sut" value="stick" /><if condition="$show['unstick']">$vbphrase[unstick_thread]<else />$vbphrase[stick_thread]</if></label></div>
<div><label for="ao_mgt"><input type="radio" name="do" id="ao_mgt" value="mergethread" />$vbphrase[merge_threads]</label></div>
<!--<div><label for="ao_spt"><input type="radio" name="do" id="ao_spt" value="splitthread" />$vbphrase[split_thread]</label></div>-->
<div><label for="ao_rrd"><input type="radio" name="do" id="ao_rrd" value="removeredirect" />$vbphrase[remove_redirects]</label></div>
</if>
<if condition="$show['editpoll']"><div><label for="ao_edp"><input type="radio" name="do" id="ao_edp" value="editpoll" />$vbphrase[edit_poll]</label></div></if>
</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite" align="center">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="t" value="$threadid" />
<input type="hidden" name="pollid" value="$pollid" />
<input type="submit" class="button" value="$vbphrase[perform_action]" />
</td>
</tr>
</if>
</table>
</form>
</div>
<!-- / thread tools menu -->
<if condition="$vboptions['allowthreadedmode']">
<!-- ************************************************** ** -->
<!-- thread display mode menu -->
<div class="vbmenu_popup" id="displaymodes_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[display_modes]<a name="goto_displaymodes"></a></td>
</tr>
<tr>
<if condition="$show['linearmode']">
<td class="vbmenu_option" title="nohilite"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_linear.gif" alt="$vbphrase[linear_mode]" /> <strong>$vbphrase[linear_mode]</strong></td>
<else />
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_linear.gif" alt="$vbphrase[linear_mode]" /> <a href="showthread.php?$session[sessionurl]p=$FIRSTPOSTID&mode=linear$highlightwords#post$FIR STPOSTID">$vbphrase[switch_to_linear_mode]</a></td>
</if>
</tr>
<tr>
<if condition="$show['hybridmode']">
<td class="vbmenu_option" title="nohilite"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_hybrid.gif" alt="$vbphrase[hybrid_mode]" /> <strong>$vbphrase[hybrid_mode]</strong></td>
<else />
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_hybrid.gif" alt="$vbphrase[hybrid_mode]" /> <a href="showthread.php?$session[sessionurl]mode=hybrid&t=$thread[threadid]$highlightwords">$vbphrase[switch_to_hybrid_mode]</a></td>
</if>
</tr>
<tr>
<if condition="$show['threadedmode']">
<td class="vbmenu_option" title="nohilite"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_threaded.gif" alt="$vbphrase[threaded_mode]" /> <strong>$vbphrase[threaded_mode]</strong></td>
<else />
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_threaded.gif" alt="$vbphrase[threaded_mode]" /> <a href="showthread.php?$session[sessionurl]p=$FIRSTPOSTID&mode=threaded$highlightwords#post$F IRSTPOSTID">$vbphrase[switch_to_threaded_mode]</a></td>
</if>
</tr>
</table>
</div>
<!-- / thread display mode menu -->
</if>
<!-- ************************************************** ** -->
<if condition="$show['search']">
<!-- thread search menu -->
<div class="vbmenu_popup" id="threadsearch_menu" style="display:none">
<form action="search.php" method="post">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[search_this_thread]<a name="goto_threadsearch"></a></td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="process" />
<input type="hidden" name="searchthread" value="1" />
<input type="hidden" name="showposts" value="1" />
<input type="hidden" name="searchthreadid" value="$threadid" />
<input type="text" class="bginput" name="query" size="20" />$gobutton<br />
</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php$session[sessionurl_q]">$vbphrase[advanced_search]</a></td>
</tr>
</table>
</form>
</div>
<!-- / thread search menu -->
</if>
<!-- ************************************************** ** -->
<!-- thread rating menu -->
<div class="vbmenu_popup" id="threadrating_menu" style="display:none">
<form action="threadrate.php" method="post">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[rate_this_thread]<a name="goto_threadrating"></a></td>
</tr>
<if condition="$show['ratethread']">
<tr>
<td class="vbmenu_option" title="nohilite">
<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_5.gif" alt="$vbphrase[excellent]" /><label for="vote5"><input type="radio" name="vote" id="vote5" value="5" $votechecked[5] />$vbphrase[excellent]</label></div>
<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_4.gif" alt="$vbphrase[good]" /><label for="vote4"><input type="radio" name="vote" id="vote4" value="4" $votechecked[4] />$vbphrase[good]</label></div>
<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_3.gif" alt="$vbphrase[average]" /><label for="vote3"><input type="radio" name="vote" id="vote3" value="3" $votechecked[3] />$vbphrase[average]</label></div>
<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_2.gif" alt="$vbphrase[bad]" /><label for="vote2"><input type="radio" name="vote" id="vote2" value="2" $votechecked[2] />$vbphrase[bad]</label></div>
<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_1.gif" alt="$vbphrase[terrible]" /><label for="vote1"><input type="radio" name="vote" id="vote1" value="1" $votechecked[1] />$vbphrase[terrible]</label></div>
</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite" align="center">
<input type="hidden" name="s" value="$session[dbsessionhash]" />
<input type="hidden" name="t" value="$threadid" />
<input type="hidden" name="pp" value="$perpage" />
<input type="hidden" name="page" value="$pagenumber" />
<input type="submit" class="button" value="$vbphrase[vote_now]" />
</td>
</tr>
<else />
<tr>
<td>$vbphrase[already_rated_this_thread]</td>
</tr>
</if>
</table>
</form>
</div>
<!-- / thread rating 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" <if condition="!$show['search']">colspan="2"</if>>$vbphrase[thread_tools]<a name="goto_threadtools"></a></td>
<if condition="$show['search']"><td class="thead">$vbphrase[search_this_thread]<a name="goto_threadsearch"></a></td></if>
</tr>
<tr valign="top">
<td class="alt1" <if condition="!$show['search']">colspan="2"</if>>
<!-- thread tools -->
<div class="smallfont">
<if condition="!$show['search_engine']">
<div><img class="inlineimg" src="$stylevar[imgdir_button]/printer.gif" alt="$vbphrase[show_printable_version]" vspace="1" /> <a href="printthread.php?$session[sessionurl]t=$threadid" accesskey="p" rel="nofollow">$vbphrase[show_printable_version]</a></div>
<div><img class="inlineimg" src="$stylevar[imgdir_button]/sendtofriend.gif" alt="$vbphrase[email_this_page]" vspace="1" /> <a href="sendmessage.php?$session[sessionurl]do=sendtofriend&t=$threadid" rel="nofollow">$vbphrase[email_this_page]</a></div>
</if>
<if condition="$show['member']">
<div><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[subscription]" vspace="1" />
<if condition="$show['subscribed']">
<a href="subscription.php?$session[sessionurl]do=removesubscription&t=$threadid">$vbphrase[unsubscribe_from_this_thread]</a>
<else />
<a href="subscription.php?$session[sessionurl]do=addsubscription&t=$threadid">$vbphrase[subscribe_to_this_thread]</a>
</if>
</div>
</if>
<if condition="$show['addpoll']">
<div><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[add_a_poll]" vspace="1" /> <a href="poll.php?$session[sessionurl]do=newpoll&t=$threadinfo[threadid]">$vbphrase[add_a_poll_to_this_thread]</a></div>
</if>
</div>
<!-- / thread tools -->
</td>
<if condition="$show['search']">
<td class="alt1">
<!-- search this thread -->
<form action="search.php" method="post">
<div class="smallfont">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="process" />
<input type="hidden" name="searchthread" value="1" />
<input type="hidden" name="showposts" value="1" />
<input type="hidden" name="searchthreadid" value="$threadid" />
<strong>$vbphrase[search_this_thread]</strong>:<br />
<input type="text" class="bginput" name="query" size="20" style="width:175px" />$gobutton<br />
<a href="search.php$session[sessionurl_q]">$vbphrase[advanced_search]</a>
</div>
</form>
<!-- / search this thread -->
</td>
</if>
</tr>
<if condition="$vboptions['allowthreadedmode'] OR $show['threadrating']">
<tr>
<if condition="$vboptions['allowthreadedmode']"><td class="thead" $nodhtmlcolspan>$vbphrase[display_modes]<a name="goto_displaymodes"></a></td></if>
<if condition="$show['threadrating']"><td class="thead" $nodhtmlcolspan>$vbphrase[rate_this_thread]<a name="goto_threadrating"></a></td></if>
</tr>
<tr valign="top">
<if condition="$vboptions['allowthreadedmode']">
<td class="alt2" $nodhtmlcolspan>
<!-- thread display modes -->
<div class="smallfont">
<div><img class="inlineimg" src="$stylevar[imgdir_button]/mode_linear.gif" alt="$vbphrase[linear_mode]" vspace="1" /> <if condition="$show['linearmode']"><strong>$vbphrase[linear_mode]</strong><else /><a href="showthread.php?$session[sessionurl]p=$FIRSTPOSTID&mode=linear$highlightwords#post$FIR STPOSTID">$vbphrase[switch_to_linear_mode]</a></if></div>
<div><img class="inlineimg" src="$stylevar[imgdir_button]/mode_hybrid.gif" alt="$vbphrase[hybrid_mode]" vspace="1" /> <if condition="$show['hybridmode']"><strong>$vbphrase[hybrid_mode]</strong><else /><a href="showthread.php?$session[sessionurl]mode=hybrid&t=$thread[threadid]$highlightwords">$vbphrase[switch_to_hybrid_mode]</a></if></div>
<div><img class="inlineimg" src="$stylevar[imgdir_button]/mode_threaded.gif" alt="$vbphrase[threaded_mode]" vspace="1" /> <if condition="$show['threadedmode']"><strong>$vbphrase[threaded_mode]</strong><else /><a href="showthread.php?$session[sessionurl]p=$FIRSTPOSTID&mode=threaded$highlightwords#post$F IRSTPOSTID">$vbphrase[switch_to_threaded_mode]</a></if></div>
</div>
<!-- / thread display modes -->
</td>
</if>
<if condition="$show['threadrating']">
<td class="alt2" $nodhtmlcolspan>
<!-- rate this thread -->
<form action="threadrate.php" method="post">
<div class="smallfont">
<input type="hidden" name="s" value="$session[dbsessionhash]" />
<input type="hidden" name="t" value="$threadid" />
<input type="hidden" name="pp" value="$perpage" />
<input type="hidden" name="page" value="$pagenumber" />
<strong>$vbphrase[rate_this_thread]</strong>:<br />
<select name="vote" onchange="this.form.submit()" style="width:175px">
<optgroup label="$vbphrase[choose_a_rating]">
<option value="5" $voteselected[5]>5 : $vbphrase[excellent]</option>
<option value="4" $voteselected[4]>4 : $vbphrase[good]</option>
<option value="3" $voteselected[3]>3 : $vbphrase[average]</option>
<option value="2" $voteselected[2]>2 : $vbphrase[bad]</option>
<option value="1" $voteselected[1]>1 : $vbphrase[terrible]</option>
</optgroup>
</select>$gobutton
</div>
</form>
<!-- / rate this thread -->
</td>
</if>
</tr>
</if>
</table>
<br />
<!-- / controls for non-popup browsers -->
</if>
<!-- forum rules and admin links -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr valign="bottom">
<td class="smallfont" align="$stylevar[left]">
$forumrules
</td>
<td class="smallfont" align="$stylevar[right]">
<table cellpadding="0" cellspacing="0" border="0">
<if condition="!$show['popups'] AND $show['adminoptions']">
<tr>
<td>
<div class="smallfont" style="text-align:$stylevar[left]; white-space:nowrap">
<form action="postings.php" method="post" name="adminoptionsform">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="t" value="$threadid" />
<strong>$vbphrase[admin_tools]</strong>:<br />
<select name="do" onchange="this.form.submit()">
<optgroup label="$vbphrase[thread_admin_tools]">
<if condition="$show['openclose']"><option value="openclosethread" selected="selected"><if condition="$show['closethread']">$vbphrase[close_thread]<else />$vbphrase[open_thread]</if></option></if>
<if condition="$show['editthread']"><option value="editthread">$vbphrase[edit_thread]</option></if>
<if condition="$show['deletethread']"><option value="deletethread">$vbphrase[delete_thread]</option></if>
<if condition="$show['movethread']"><option value="movethread">$vbphrase[move_copy_thread]</option></if>
<if condition="$show['managethread']">
<option value="stick"><if condition="$show['unstick']">$vbphrase[unstick_thread]<else />$vbphrase[stick_thread]</if></option>
<option value="mergethread">$vbphrase[merge_threads]</option>
<!--<option value="splitthread">$vbphrase[split_thread]</option>-->
<option value="removeredirect">$vbphrase[remove_redirects]</option>
</if>
<if condition="$show['editpoll']"><option value="editpoll">$vbphrase[edit_poll]</option></if>
</optgroup>
</select>$gobutton
</form>
</div>
</td>
</tr>
<br />
</if>
<tr>
<td>
$forumjump
</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- /forum rules and admin links -->
<br />
$similarthreads
$footer
<!-- temp -->
<div style="display:none">
<!-- thread rate -->
<if condition="$show['ratethread']">
<!-- thread ratings form here -->
<else />
<if condition="$show['threadrating']">
$vbphrase[you_rated_this_thread]: <strong>$threadinfo[vote]</strong>
</if>
</if>
<!-- / thread rate -->
</div>
</body>
</html>
bashy
02-21-2006, 03:42 PM
Hi Developer...
Can i post my show thread and image location and ya sort mine please?
Developer
02-21-2006, 04:55 PM
Hi Developer...
Can i post my show thread and image location and ya sort mine please?
ofcourse
bashy
02-21-2006, 04:58 PM
Cheers m8...here is it..
This is where my image is located
/forums/images/buttons_mns/best.gif
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$thread[title]<if condition="$pagenumber>1"> - <phrase 1="$pagenumber">$vbphrase[page_x]</phrase></if> - $vboptions[bbtitle]</title>
</head>
<body onload="$onload">
$header
$navbar
$foruminfo[forumheader]
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tr>
<td class="tcat"><span class="smallfont"><b><center>Thread Informations</center></b></span></td></tr>
<tr valign="middle"><td class="alt1">
<br />
<center><h3>$thread[title]</h3>
<h4>$vbphrase[views] : $thread[views]</h2>
<b>$vbphrase[replies] : $thread[replycount]</b><br /><br />
<b>Users Viewing This Thread : $activeusers</b></center>
</td>
</tr>
</table>
<br />
$poll
$vbookie_event
$release
<if condition="$show['inlinemod']">
$spacer_close
<form action="inlinemod.php" method="post" id="inlinemodform">
$spacer_open
</if>
<a name="poststop" id="poststop"></a>
<!-- controls above postbits -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px">
<tr valign="bottom">
<td class="smallfont"><a href="newthread.php?$session[sessionurl]do=newthread&f=$forumid" rel="nofollow"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a>
<if condition="$show['largereplybutton']">
<a href="newreply.php?$session[sessionurl]do=newreply&noquote=1&p=$FIRSTPOSTID" rel="nofollow"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /> <else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" /></if></a></td>
<else />
<td class="smallfont"> </td>
</if>
<if condition="$show['pagenav']"><td align="$stylevar[right]">$pagenav</td></if>
</tr>
</table>
<!-- / controls above postbits -->
<!-- toolbar -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:0px">
<tr>
<td class="tcat" width="100%">
<div class="smallfont">
<if condition="$show['firstunreadlink']">
<a href="$firstunread"><img class="inlineimg" src="$stylevar[imgdir_button]/firstnew.gif" alt="$vbphrase[view_first_unread]" border="0" /></a>
<a href="$firstunread"><strong>$vbphrase[view_first_unread]</strong></a>
</if>
</div>
</td>
<td class="vbmenu_control" id="threadtools" nowrap="nowrap">
<a href="$show[nojs_link]#goto_threadtools"<if condition="is_browser('ie')"> accesskey="3"</if>>$vbphrase[thread_tools]</a>
<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadtools"); </script></if>
</td>
<if condition="$show['search']">
<td class="vbmenu_control" id="threadsearch" nowrap="nowrap">
<a href="$show[nojs_link]#goto_threadsearch">$vbphrase[search_this_thread]</a>
<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadsearch"); </script></if>
</td>
</if>
<if condition="$show['threadrating']">
<td class="vbmenu_control" id="threadrating" nowrap="nowrap">
<a href="$show[nojs_link]#goto_threadrating"><if condition="$show['rating']">$vbphrase[rating]: <img class="inlineimg" src="$stylevar[imgdir_rating]/rating_$thread[rating].gif" alt="<phrase 1="$thread[votenum]" 2="$thread[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" border="0" /><else />$vbphrase[rate_thread]</if></a>
<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadrating"); </script></if>
</td>
</if>
<if condition="$vboptions['allowthreadedmode']">
<td class="vbmenu_control" id="displaymodes" nowrap="nowrap">
<a href="$show[nojs_link]#goto_displaymodes">$vbphrase[display_modes]</a>
<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("displaymodes"); </script></if>
</td>
</if>
<if condition="$show['inlinemod']">
<if condition="$show['popups']">
<td class="vbmenu_control" id="imod" align="center" title="$vbphrase[moderation]"><script type="text/javascript"> vbmenu_register('imod'); </script></td>
<else />
<td class="thead" align="center">
<input type="checkbox" name="allbox" id="checkall_all" title="$vbphrase[check_uncheck_all]" onclick="inlineMod.check_all()" />
</td>
</if>
</if>
</tr>
</table>
<!-- / toolbar -->
<if condition="$show['inlinemod'] AND $show['popups']">
<div class="vbmenu_popup" id="imod_menu" style="display:none" align="$stylevar[left]">
$threadadmin_imod_menu_post
</div>
</if>
<!-- end content table -->
$spacer_close
<!-- / end content table -->
<if condition="$show['threadedmode'] OR $show['hybridmode']">
<!-- thread posts list -->
$threadlist
<!-- /thread posts list -->
</if>
<div id="posts">$postbits<div id="lastpost"></div></div>
<!-- start content table -->
$spacer_open
<!-- / start content table -->
<!-- controls below postbits -->
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr valign="top">
<td class="smallfont"><a href="newthread.php?$session[sessionurl]do=newthread&f=$forumid" rel="nofollow"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a>
<if condition="$show['largereplybutton']">
<a href="newreply.php?$session[sessionurl]do=newreply&noquote=1&p=$FIRSTPOSTID" rel="nofollow"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /> <else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" /></if></a></td>
<else />
<td class="smallfont"> </td>
</if>
<if condition="$show['pagenav'] OR $show['inlinemod']">
<td align="$stylevar[right]">$pagenav
<if condition="$show['inlinemod']">
<div class="smallfont" style="text-align:$stylevar[left]; white-space:nowrap; float:$stylevar[right]">
<if condition="$show['pagenav']"><br /></if><strong>$vbphrase[moderation]</strong><br />
<select name="do">
<optgroup label="$vbphrase[option]">
<if condition="$show['managethread']">
<option value="mergeposts">$vbphrase[merge_posts]</option>
<option value="moveposts">$vbphrase[move_posts]</option>
</if>
<if condition="$show['managepost']">
<option value="deleteposts">$vbphrase[delete_posts]</option>
<option value="undeleteposts">$vbphrase[undelete_posts]</option>
</if>
<if condition="$show['approvepost']">
<option value="approveposts">$vbphrase[approve_posts]</option>
<option value="unapproveposts">$vbphrase[unapprove_posts]</option>
</if>
<if condition="$show['approveattachment']">
<option value="approveattachments">$vbphrase[approve_attachments]</option>
<option value="unapproveattachments">$vbphrase[unapprove_attachments]</option>
</if>
</optgroup>
<optgroup label="____________________">
<option value="clearpost">$vbphrase[clear_post_list]</option>
</optgroup>
</select><input type="submit" class="button" id="inlinego" value="$vbphrase[go]" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="threadid" value="$threadinfo[threadid]" />
<input type="hidden" name="p" value="$postid" />
<input type="hidden" name="url" value="$url" />
</div>
<script type="text/javascript" src="clientscript/vbulletin_inlinemod.js"></script>
<script type="text/javascript">
<!--
inlineMod = new vB_Inline_Mod('inlineMod', 'post', 'inlinemodform', '$vbphrase[go_x]');
//-->
</script>
</if>
</td>
</if>
</tr>
</table>
<!-- / controls below postbits -->
<if condition="$show['inlinemod']">
$spacer_close
</form>
$spacer_open
</if>
<if condition="!$show['search_engine']">
<br />
<div class="smallfont" align="center">
<strong>«</strong>
<a href="showthread.php?$session[sessionurl]t=$threadid&goto=nextoldest">$vbphrase[prev_thread]</a>
|
<a href="showthread.php?$session[sessionurl]t=$threadid&goto=nextnewest">$vbphrase[next_thread]</a>
<strong>»</strong>
</div>
</if>
<br />
<if condition="$show['quickreply'] OR $show['ajax_js']">
<!-- ajax errors table -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" style="display:none; position:absolute" id="ajax_post_errors">
<tr>
<td class="thead">
<span style="float:$stylevar[right]"><input type="button" class="button" value=" X " onclick="vB_QuickEditor.hide_errors()" unselectable="true" /></span>
$vbphrase[vbulletin_message]
</td>
</tr>
<tr>
<td class="alt2" colspan="2" id="ajax_post_errors_message"> </td>
</tr>
<tr>
<td class="tfoot" colspan="2" align="center"><a href="#" onclick="vB_QuickEditor.abort(); return false;">$vbphrase[cancel_changes]</a></td>
</tr>
</table>
<!-- / ajax errors table -->
<!-- scripts for quick reply and quick edit -->
$vBeditTemplate[clientscript]
<if condition="$show['quickedit']">
<script type="text/javascript" src="clientscript/vbulletin_quick_edit.js"></script>
<script type="text/javascript">
<!--
vB_AJAX_QuickEdit_Init('posts');
//-->
</script>
</if>
<!-- / scripts for quick reply and quick edit -->
</if>
<if condition="$show['quickreply']">
<!-- quick reply -->
<form action="newreply.php" method="post" name="vbform" onsubmit="return qr_prepare_submit(this, $vboptions[postminchars]);" id="qrform">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="2">
<if condition="$show['quickreply_collapse']"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('quickreply');"><img id="collapseimg_quickreply" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_quickreply].gif" alt="" border="0" /></a></if>
$vbphrase[quick_reply]
</td>
</tr>
</thead>
<tbody id="qr_error_tbody" style="display:none">
<tr>
<td class="thead">$vbphrase[errors_occured_when_submitted]</td>
</tr>
<tr>
<td class="alt1" id="qr_error_td"></td>
</tr>
<tr>
<td class="tfoot" align="center"><span class="smallfont"><a href="#" onclick="return qr_hide_errors()">$vbphrase[okay]</a></span></td>
</tr>
</tbody>
<tbody id="collapseobj_quickreply" style="$vbcollapse[collapseobj_quickreply]">
<tr>
<td class="panelsurround" align="center">
<div class="panel">
<table cellpadding="0" cellspacing="0" border="0" align="center">
<tr>
<td class="smallfont" align="$stylevar[left]">$vbphrase[message]:</td>
</tr>
<tr>
<td id="$editorid" class="vBulletin_editor" align="$stylevar[left]">$messagearea</td>
</tr>
<tr>
<td align="$stylevar[left]">
<fieldset class="fieldset" style="margin:$stylevar[formspacer]px 0px 0px 0px">
<legend>$vbphrase[options]</legend>
<div>
<if condition="$bbuserinfo['signature']">
<div style="float:$stylevar[right]"><label for="cb_signature"><input type="checkbox" name="signature" value="1" id="cb_signature" tabindex="5" checked="checked" />$vbphrase[show_your_signature]</label></div>
</if>
<label for="qr_quickreply"><input type="checkbox" name="quickreply" value="1" id="qr_quickreply" accesskey="w" tabindex="4" />$vbphrase[quote_message_in_reply]</label>
</div>
$threadmanagement
</fieldset>
</td>
</tr>
</table>
</div>
<div style="margin-top:$stylevar[cellpadding]px">
<input type="hidden" name="fromquickreply" value="1" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="postreply" />
<input type="hidden" name="t" value="$threadid" id="qr_threadid" />
<input type="hidden" name="p" value="$qrpostid" id="qr_postid" />
<input type="hidden" name="parseurl" value="1" />
<input type="submit" class="button" value="$vbphrase[post_quick_reply]" accesskey="s" title="(Alt + S)" name="sbutton" tabindex="2" id="qr_submit" onclick="clickedelm = this.value" />
<input type="submit" class="button" value="$vbphrase[go_advanced]" accesskey="x" title="(Alt + X)" name="preview" tabindex="3" id="qr_preview" onclick="clickedelm = this.value" />
</div>
<div align="center" id="qr_posting_msg" style="display:none; margin-top:6px">
<strong>$vbphrase[posting_quick_reply_please_wait]</strong>
</div>
</td>
</tr>
</tbody>
</table>
</form>
<if condition="!is_browser('ie') AND $show['wysiwyg']">
<!-- Mozilla work around for focusing on QR in WYSIWYG mode -->
<div id="qr_scroll"></div>
</if>
<br />
<script type="text/javascript" src="clientscript/vbulletin_quick_reply.js"></script>
<!-- end quick reply -->
</if>
<!-- currently active users -->
<if condition="$show['activeusers']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat" colspan="2">
<phrase 1="$totalonline" 2="$numberregistered" 3="$numberguest">$vbphrase[users_viewing_this_thread_x_y_z]</phrase>
</td>
</tr>
<tr>
<td class="alt1" colspan="2">
<span class="smallfont">$activeusers</span>
</td>
</tr>
</table>
</if>
<!-- end currently active users -->
<!-- who viewed this thread -->
<br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat" colspan="2">
$vbphrase[already_viewed_this_thread]
</td>
</tr>
<tr>
<td class="alt1" colspan="2">
<span class="smallfont">$thread[viewers]</span>
</td>
</tr>
</table>
<!-- who viewed this thread -->
<if condition="$show['popups']">
<!-- popup menu contents -->
<br />
<!-- thread tools menu -->
<div class="vbmenu_popup" id="threadtools_menu" style="display:none">
<form action="postings.php" method="post" name="threadadminform">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[thread_tools]<a name="goto_threadtools"></a></td>
</tr>
<tr>
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/printer.gif" alt="$vbphrase[show_printable_version]" /> <a href="printthread.php?$session[sessionurl]t=$threadid" accesskey="3" rel="nofollow">$vbphrase[show_printable_version]</a></td>
</tr>
<tr>
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/sendtofriend.gif" alt="$vbphrase[email_this_page]" /> <a href="sendmessage.php?$session[sessionurl]do=sendtofriend&t=$threadid" rel="nofollow">$vbphrase[email_this_page]</a></td>
</tr>
<if condition="$show['member']">
<tr>
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[subscription]" />
<if condition="$show['subscribed']">
<a href="subscription.php?$session[sessionurl]do=removesubscription&t=$threadid" rel="nofollow">$vbphrase[unsubscribe_from_this_thread]</a>
<else />
<a href="subscription.php?$session[sessionurl]do=addsubscription&t=$threadid" rel="nofollow">$vbphrase[subscribe_to_this_thread]</a>
</if>
</td>
</tr>
</if>
<if condition="$show['addpoll']">
<tr>
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/addpoll.gif" alt="$vbphrase[add_a_poll]" /> <a href="poll.php?$session[sessionurl]do=newpoll&t=$threadinfo[threadid]">$vbphrase[add_a_poll_to_this_thread]</a></td>
</tr>
</if>
<if condition="$show['addrelease']">
<tr>
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/addpoll.gif" alt="$vbphrase[add_a_release]" /> <a href="release.php?$session[sessionurl]do=newrelease&t=$threadinfo[threadid]">$vbphrase[add_a_release_to_this_thread]</a></td>
</tr>
</if>
<if condition="$show['adminoptions']">
<tr>
<td class="thead">$vbphrase[admin_tools]<a name="goto_threadadmin"></a></td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<if condition="$show['openclose']"><div><label for="ao_oct"><input type="radio" name="do" id="ao_oct" value="openclosethread" checked="checked" /><if condition="$show['closethread']">$vbphrase[close_thread]<else />$vbphrase[open_thread]</if></label></div></if>
<if condition="$show['movethread']"><div><label for="ao_mvt"><input type="radio" name="do" id="ao_mvt" value="movethread" />$vbphrase[move_copy_thread]</label></div></if>
<if condition="$show['editthread']"><div><label for="ao_edt"><input type="radio" name="do" id="ao_edt" value="editthread" />$vbphrase[edit_thread]</label></div></if>
<if condition="$show['deletethread']"><div><label for="ao_dlt"><input type="radio" name="do" id="ao_dlt" value="deletethread" />$vbphrase[delete_thread]</label></div></if>
<if condition="$show['managethread']">
<div><label for="ao_sut"><input type="radio" name="do" id="ao_sut" value="stick" /><if condition="$show['unstick']">$vbphrase[unstick_thread]<else />$vbphrase[stick_thread]</if></label></div>
<div><label for="ao_mgt"><input type="radio" name="do" id="ao_mgt" value="mergethread" />$vbphrase[merge_threads]</label></div>
<!--<div><label for="ao_spt"><input type="radio" name="do" id="ao_spt" value="splitthread" />$vbphrase[split_thread]</label></div>-->
<div><label for="ao_rrd"><input type="radio" name="do" id="ao_rrd" value="removeredirect" />$vbphrase[remove_redirects]</label></div>
</if>
<if condition="$show['editpoll']"><div><label for="ao_edp"><input type="radio" name="do" id="ao_edp" value="editpoll" />$vbphrase[edit_poll]</label></div></if>
<if condition="$show['editrelease']"><div><label for="ao_edr"><input type="radio" name="do" id="ao_edr" value="editrelease" />$vbphrase[edit_release]</label></div></if>
</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite" align="center">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="t" value="$threadid" />
<input type="hidden" name="released" value="$releaseid" />
<input type="hidden" name="pollid" value="$pollid" />
<input type="submit" class="button" value="$vbphrase[perform_action]" />
</td>
</tr>
</if>
</table>
</form>
</div>
<!-- / thread tools menu -->
<if condition="$vboptions['allowthreadedmode']">
<!-- ************************************************** ** -->
<!-- thread display mode menu -->
<div class="vbmenu_popup" id="displaymodes_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[display_modes]<a name="goto_displaymodes"></a></td>
</tr>
<tr>
<if condition="$show['linearmode']">
<td class="vbmenu_option" title="nohilite"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_linear.gif" alt="$vbphrase[linear_mode]" /> <strong>$vbphrase[linear_mode]</strong></td>
<else />
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_linear.gif" alt="$vbphrase[linear_mode]" /> <a href="showthread.php?$session[sessionurl]p=$FIRSTPOSTID&mode=linear$highlightwords#post$FIR STPOSTID">$vbphrase[switch_to_linear_mode]</a></td>
</if>
</tr>
<tr>
<if condition="$show['hybridmode']">
<td class="vbmenu_option" title="nohilite"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_hybrid.gif" alt="$vbphrase[hybrid_mode]" /> <strong>$vbphrase[hybrid_mode]</strong></td>
<else />
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_hybrid.gif" alt="$vbphrase[hybrid_mode]" /> <a href="showthread.php?$session[sessionurl]mode=hybrid&t=$thread[threadid]$highlightwords">$vbphrase[switch_to_hybrid_mode]</a></td>
</if>
</tr>
<tr>
<if condition="$show['threadedmode']">
<td class="vbmenu_option" title="nohilite"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_threaded.gif" alt="$vbphrase[threaded_mode]" /> <strong>$vbphrase[threaded_mode]</strong></td>
<else />
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_threaded.gif" alt="$vbphrase[threaded_mode]" /> <a href="showthread.php?$session[sessionurl]p=$FIRSTPOSTID&mode=threaded$highlightwords#post$F IRSTPOSTID">$vbphrase[switch_to_threaded_mode]</a></td>
</if>
</tr>
</table>
</div>
<!-- / thread display mode menu -->
</if>
<!-- ************************************************** ** -->
<if condition="$show['search']">
<!-- thread search menu -->
<div class="vbmenu_popup" id="threadsearch_menu" style="display:none">
<form action="search.php" method="post">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[search_this_thread]<a name="goto_threadsearch"></a></td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="process" />
<input type="hidden" name="searchthread" value="1" />
<input type="hidden" name="showposts" value="1" />
<input type="hidden" name="searchthreadid" value="$threadid" />
<input type="text" class="bginput" name="query" size="20" />$gobutton<br />
</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php$session[sessionurl_q]">$vbphrase[advanced_search]</a></td>
</tr>
</table>
</form>
</div>
<!-- / thread search menu -->
</if>
<!-- ************************************************** ** -->
<!-- thread rating menu -->
<div class="vbmenu_popup" id="threadrating_menu" style="display:none">
<form action="threadrate.php" method="post">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[rate_this_thread]<a name="goto_threadrating"></a></td>
</tr>
<if condition="$show['ratethread']">
<tr>
<td class="vbmenu_option" title="nohilite">
<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_5.gif" alt="$vbphrase[excellent]" /><label for="vote5"><input type="radio" name="vote" id="vote5" value="5" $votechecked[5] />$vbphrase[excellent]</label></div>
<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_4.gif" alt="$vbphrase[good]" /><label for="vote4"><input type="radio" name="vote" id="vote4" value="4" $votechecked[4] />$vbphrase[good]</label></div>
<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_3.gif" alt="$vbphrase[average]" /><label for="vote3"><input type="radio" name="vote" id="vote3" value="3" $votechecked[3] />$vbphrase[average]</label></div>
<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_2.gif" alt="$vbphrase[bad]" /><label for="vote2"><input type="radio" name="vote" id="vote2" value="2" $votechecked[2] />$vbphrase[bad]</label></div>
<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_1.gif" alt="$vbphrase[terrible]" /><label for="vote1"><input type="radio" name="vote" id="vote1" value="1" $votechecked[1] />$vbphrase[terrible]</label></div>
</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite" align="center">
<input type="hidden" name="s" value="$session[dbsessionhash]" />
<input type="hidden" name="t" value="$threadid" />
<input type="hidden" name="pp" value="$perpage" />
<input type="hidden" name="page" value="$pagenumber" />
<input type="submit" class="button" value="$vbphrase[vote_now]" />
</td>
</tr>
<else />
<tr>
<td>$vbphrase[already_rated_this_thread]</td>
</tr>
</if>
</table>
</form>
</div>
<!-- / thread rating 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" <if condition="!$show['search']">colspan="2"</if>>$vbphrase[thread_tools]<a name="goto_threadtools"></a></td>
<if condition="$show['search']"><td class="thead">$vbphrase[search_this_thread]<a name="goto_threadsearch"></a></td></if>
</tr>
<tr valign="top">
<td class="alt1" <if condition="!$show['search']">colspan="2"</if>>
<!-- thread tools -->
<div class="smallfont">
<if condition="!$show['search_engine']">
<div><img class="inlineimg" src="$stylevar[imgdir_button]/printer.gif" alt="$vbphrase[show_printable_version]" vspace="1" /> <a href="printthread.php?$session[sessionurl]t=$threadid" accesskey="p" rel="nofollow">$vbphrase[show_printable_version]</a></div>
<div><img class="inlineimg" src="$stylevar[imgdir_button]/sendtofriend.gif" alt="$vbphrase[email_this_page]" vspace="1" /> <a href="sendmessage.php?$session[sessionurl]do=sendtofriend&t=$threadid" rel="nofollow">$vbphrase[email_this_page]</a></div>
</if>
<if condition="$show['member']">
<div><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[subscription]" vspace="1" />
<if condition="$show['subscribed']">
<a href="subscription.php?$session[sessionurl]do=removesubscription&t=$threadid">$vbphrase[unsubscribe_from_this_thread]</a>
<else />
<a href="subscription.php?$session[sessionurl]do=addsubscription&t=$threadid">$vbphrase[subscribe_to_this_thread]</a>
</if>
</div>
</if>
<if condition="$thread['postuserid'] == $bbuserinfo['userid'] && $thread['firstpostid'] != $bbuserinfo['userid']">
<tr>
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/forums/images/buttons_mns/best.gif" />
<if condition="in_array($thread['threadid'], $mybestthread)">
<a href="showthread.php?$session[sessionurl]do=removemybest&t=$threadid">$vbphrase[mybest_remove]</a>
<else />
<a href="showthread.php?$session[sessionurl]do=addmybest&t=$threadid">$vbphrase[mybest_add]</a>
</if>
</td>
</tr></if>
<if condition="$show['addpoll']">
<div><img class="inlineimg" src="$stylevar[imgdir_button]/addpoll.gif" alt="$vbphrase[add_a_poll]" vspace="1" /> <a href="poll.php?$session[sessionurl]do=newpoll&t=$threadinfo[threadid]">$vbphrase[add_a_poll_to_this_thread]</a></div>
</if>
</div>
<!-- / thread tools -->
</td>
<if condition="$show['search']">
<td class="alt1">
<!-- search this thread -->
<form action="search.php" method="post">
<div class="smallfont">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="process" />
<input type="hidden" name="searchthread" value="1" />
<input type="hidden" name="showposts" value="1" />
<input type="hidden" name="searchthreadid" value="$threadid" />
<strong>$vbphrase[search_this_thread]</strong>:<br />
<input type="text" class="bginput" name="query" size="20" style="width:175px" />$gobutton<br />
<a href="search.php$session[sessionurl_q]">$vbphrase[advanced_search]</a>
</div>
</form>
<!-- / search this thread -->
</td>
</if>
</tr>
<if condition="$vboptions['allowthreadedmode'] OR $show['threadrating']">
<tr>
<if condition="$vboptions['allowthreadedmode']"><td class="thead" $nodhtmlcolspan>$vbphrase[display_modes]<a name="goto_displaymodes"></a></td></if>
<if condition="$show['threadrating']"><td class="thead" $nodhtmlcolspan>$vbphrase[rate_this_thread]<a name="goto_threadrating"></a></td></if>
</tr>
<tr valign="top">
<if condition="$vboptions['allowthreadedmode']">
<td class="alt2" $nodhtmlcolspan>
<!-- thread display modes -->
<div class="smallfont">
<div><img class="inlineimg" src="$stylevar[imgdir_button]/mode_linear.gif" alt="$vbphrase[linear_mode]" vspace="1" /> <if condition="$show['linearmode']"><strong>$vbphrase[linear_mode]</strong><else /><a href="showthread.php?$session[sessionurl]p=$FIRSTPOSTID&mode=linear$highlightwords#post$FIR STPOSTID">$vbphrase[switch_to_linear_mode]</a></if></div>
<div><img class="inlineimg" src="$stylevar[imgdir_button]/mode_hybrid.gif" alt="$vbphrase[hybrid_mode]" vspace="1" /> <if condition="$show['hybridmode']"><strong>$vbphrase[hybrid_mode]</strong><else /><a href="showthread.php?$session[sessionurl]mode=hybrid&t=$thread[threadid]$highlightwords">$vbphrase[switch_to_hybrid_mode]</a></if></div>
<div><img class="inlineimg" src="$stylevar[imgdir_button]/mode_threaded.gif" alt="$vbphrase[threaded_mode]" vspace="1" /> <if condition="$show['threadedmode']"><strong>$vbphrase[threaded_mode]</strong><else /><a href="showthread.php?$session[sessionurl]p=$FIRSTPOSTID&mode=threaded$highlightwords#post$F IRSTPOSTID">$vbphrase[switch_to_threaded_mode]</a></if></div>
</div>
<!-- / thread display modes -->
</td>
</if>
<if condition="$show['threadrating']">
<td class="alt2" $nodhtmlcolspan>
<!-- rate this thread -->
<form action="threadrate.php" method="post">
<div class="smallfont">
<input type="hidden" name="s" value="$session[dbsessionhash]" />
<input type="hidden" name="t" value="$threadid" />
<input type="hidden" name="pp" value="$perpage" />
<input type="hidden" name="page" value="$pagenumber" />
<strong>$vbphrase[rate_this_thread]</strong>:<br />
<select name="vote" onchange="this.form.submit()" style="width:175px">
<optgroup label="$vbphrase[choose_a_rating]">
<option value="5" $voteselected[5]>5 : $vbphrase[excellent]</option>
<option value="4" $voteselected[4]>4 : $vbphrase[good]</option>
<option value="3" $voteselected[3]>3 : $vbphrase[average]</option>
<option value="2" $voteselected[2]>2 : $vbphrase[bad]</option>
<option value="1" $voteselected[1]>1 : $vbphrase[terrible]</option>
</optgroup>
</select>$gobutton
</div>
</form>
<!-- / rate this thread -->
</td>
</if>
</tr>
</if>
</table>
<br />
<!-- / controls for non-popup browsers -->
</if>
<!-- forum rules and admin links -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr valign="bottom">
<td class="smallfont" align="$stylevar[left]">
$forumrules
</td>
<td class="smallfont" align="$stylevar[right]">
<table cellpadding="0" cellspacing="0" border="0">
<if condition="!$show['popups'] AND $show['adminoptions']">
<tr>
<td>
<div class="smallfont" style="text-align:$stylevar[left]; white-space:nowrap">
<form action="postings.php" method="post" name="adminoptionsform">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="t" value="$threadid" />
<strong>$vbphrase[admin_tools]</strong>:<br />
<select name="do" onchange="this.form.submit()">
<optgroup label="$vbphrase[thread_admin_tools]">
<if condition="$show['openclose']"><option value="openclosethread" selected="selected"><if condition="$show['closethread']">$vbphrase[close_thread]<else />$vbphrase[open_thread]</if></option></if>
<if condition="$show['editthread']"><option value="editthread">$vbphrase[edit_thread]</option></if>
<if condition="$show['deletethread']"><option value="deletethread">$vbphrase[delete_thread]</option></if>
<if condition="$show['movethread']"><option value="movethread">$vbphrase[move_copy_thread]</option></if>
<if condition="$show['managethread']">
<option value="stick"><if condition="$show['unstick']">$vbphrase[unstick_thread]<else />$vbphrase[stick_thread]</if></option>
<option value="mergethread">$vbphrase[merge_threads]</option>
<!--<option value="splitthread">$vbphrase[split_thread]</option>-->
<option value="removeredirect">$vbphrase[remove_redirects]</option>
</if>
<if condition="$show['editpoll']"><option value="editpoll">$vbphrase[edit_poll]</option></if>
<if condition="$show['editrelease']"><option value="editrelease">$vbphrase[edit_release]</option></if>
</optgroup>
</select>$gobutton
</form>
</div>
</td>
</tr>
<br />
</if>
<tr>
<td>
$forumjump
</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- /forum rules and admin links -->
<br />
<table class="tborder" cellspacing="0" cellpadding="$stylevar[cellpadding]" border="0" width="100%">
<tr>
<td class="alt2"><span class="navbar"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb] ><strong>$navbits[lastelement]</strong></td>
</tr>
</table>
$similarthreads
$foruminfo[forumfooter]
$footer
<!-- temp -->
<div style="display:none">
<!-- thread rate -->
<if condition="$show['ratethread']">
<!-- thread ratings form here -->
<else />
<if condition="$show['threadrating']">
$vbphrase[you_rated_this_thread]: <strong>$threadinfo[vote]</strong>
</if>
</if>
<!-- / thread rate -->
</div>
</body>
</html>
Developer
02-21-2006, 05:15 PM
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$thread[title]<if condition="$pagenumber>1"> - <phrase 1="$pagenumber">$vbphrase[page_x]</phrase></if> - $vboptions[bbtitle]</title>
</head>
<body onload="$onload">
$header
$navbar
$foruminfo[forumheader]
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tr>
<td class="tcat"><span class="smallfont"><b><center>Thread Informations</center></b></span></td></tr>
<tr valign="middle"><td class="alt1">
<br />
<center><h3>$thread[title]</h3>
<h4>$vbphrase[views] : $thread[views]</h2>
<b>$vbphrase[replies] : $thread[replycount]</b><br /><br />
<b>Users Viewing This Thread : $activeusers</b></center>
</td>
</tr>
</table>
<br />
$poll
$vbookie_event
$release
<if condition="$show['inlinemod']">
$spacer_close
<form action="inlinemod.php" method="post" id="inlinemodform">
$spacer_open
</if>
<a name="poststop" id="poststop"></a>
<!-- controls above postbits -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px">
<tr valign="bottom">
<td class="smallfont"><a href="newthread.php?$session[sessionurl]do=newthread&f=$forumid" rel="nofollow"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a>
<if condition="$show['largereplybutton']">
<a href="newreply.php?$session[sessionurl]do=newreply&noquote=1&p=$FIRSTPOSTID" rel="nofollow"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /> <else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" /></if></a></td>
<else />
<td class="smallfont"> </td>
</if>
<if condition="$show['pagenav']"><td align="$stylevar[right]">$pagenav</td></if>
</tr>
</table>
<!-- / controls above postbits -->
<!-- toolbar -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:0px">
<tr>
<td class="tcat" width="100%">
<div class="smallfont">
<if condition="$show['firstunreadlink']">
<a href="$firstunread"><img class="inlineimg" src="$stylevar[imgdir_button]/firstnew.gif" alt="$vbphrase[view_first_unread]" border="0" /></a>
<a href="$firstunread"><strong>$vbphrase[view_first_unread]</strong></a>
</if>
</div>
</td>
<td class="vbmenu_control" id="threadtools" nowrap="nowrap">
<a href="$show[nojs_link]#goto_threadtools"<if condition="is_browser('ie')"> accesskey="3"</if>>$vbphrase[thread_tools]</a>
<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadtools"); </script></if>
</td>
<if condition="$show['search']">
<td class="vbmenu_control" id="threadsearch" nowrap="nowrap">
<a href="$show[nojs_link]#goto_threadsearch">$vbphrase[search_this_thread]</a>
<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadsearch"); </script></if>
</td>
</if>
<if condition="$show['threadrating']">
<td class="vbmenu_control" id="threadrating" nowrap="nowrap">
<a href="$show[nojs_link]#goto_threadrating"><if condition="$show['rating']">$vbphrase[rating]: <img class="inlineimg" src="$stylevar[imgdir_rating]/rating_$thread[rating].gif" alt="<phrase 1="$thread[votenum]" 2="$thread[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" border="0" /><else />$vbphrase[rate_thread]</if></a>
<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadrating"); </script></if>
</td>
</if>
<if condition="$vboptions['allowthreadedmode']">
<td class="vbmenu_control" id="displaymodes" nowrap="nowrap">
<a href="$show[nojs_link]#goto_displaymodes">$vbphrase[display_modes]</a>
<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("displaymodes"); </script></if>
</td>
</if>
<if condition="$show['inlinemod']">
<if condition="$show['popups']">
<td class="vbmenu_control" id="imod" align="center" title="$vbphrase[moderation]"><script type="text/javascript"> vbmenu_register('imod'); </script></td>
<else />
<td class="thead" align="center">
<input type="checkbox" name="allbox" id="checkall_all" title="$vbphrase[check_uncheck_all]" onclick="inlineMod.check_all()" />
</td>
</if>
</if>
</tr>
</table>
<!-- / toolbar -->
<if condition="$show['inlinemod'] AND $show['popups']">
<div class="vbmenu_popup" id="imod_menu" style="display:none" align="$stylevar[left]">
$threadadmin_imod_menu_post
</div>
</if>
<!-- end content table -->
$spacer_close
<!-- / end content table -->
<if condition="$show['threadedmode'] OR $show['hybridmode']">
<!-- thread posts list -->
$threadlist
<!-- /thread posts list -->
</if>
<div id="posts">$postbits<div id="lastpost"></div></div>
<!-- start content table -->
$spacer_open
<!-- / start content table -->
<!-- controls below postbits -->
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr valign="top">
<td class="smallfont"><a href="newthread.php?$session[sessionurl]do=newthread&f=$forumid" rel="nofollow"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a>
<if condition="$show['largereplybutton']">
<a href="newreply.php?$session[sessionurl]do=newreply&noquote=1&p=$FIRSTPOSTID" rel="nofollow"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /> <else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" /></if></a></td>
<else />
<td class="smallfont"> </td>
</if>
<if condition="$show['pagenav'] OR $show['inlinemod']">
<td align="$stylevar[right]">$pagenav
<if condition="$show['inlinemod']">
<div class="smallfont" style="text-align:$stylevar[left]; white-space:nowrap; float:$stylevar[right]">
<if condition="$show['pagenav']"><br /></if><strong>$vbphrase[moderation]</strong><br />
<select name="do">
<optgroup label="$vbphrase[option]">
<if condition="$show['managethread']">
<option value="mergeposts">$vbphrase[merge_posts]</option>
<option value="moveposts">$vbphrase[move_posts]</option>
</if>
<if condition="$show['managepost']">
<option value="deleteposts">$vbphrase[delete_posts]</option>
<option value="undeleteposts">$vbphrase[undelete_posts]</option>
</if>
<if condition="$show['approvepost']">
<option value="approveposts">$vbphrase[approve_posts]</option>
<option value="unapproveposts">$vbphrase[unapprove_posts]</option>
</if>
<if condition="$show['approveattachment']">
<option value="approveattachments">$vbphrase[approve_attachments]</option>
<option value="unapproveattachments">$vbphrase[unapprove_attachments]</option>
</if>
</optgroup>
<optgroup label="____________________">
<option value="clearpost">$vbphrase[clear_post_list]</option>
</optgroup>
</select><input type="submit" class="button" id="inlinego" value="$vbphrase[go]" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="threadid" value="$threadinfo[threadid]" />
<input type="hidden" name="p" value="$postid" />
<input type="hidden" name="url" value="$url" />
</div>
<script type="text/javascript" src="clientscript/vbulletin_inlinemod.js"></script>
<script type="text/javascript">
<!--
inlineMod = new vB_Inline_Mod('inlineMod', 'post', 'inlinemodform', '$vbphrase[go_x]');
//-->
</script>
</if>
</td>
</if>
</tr>
</table>
<!-- / controls below postbits -->
<if condition="$show['inlinemod']">
$spacer_close
</form>
$spacer_open
</if>
<if condition="!$show['search_engine']">
<br />
<div class="smallfont" align="center">
<strong>«</strong>
<a href="showthread.php?$session[sessionurl]t=$threadid&goto=nextoldest">$vbphrase[prev_thread]</a>
|
<a href="showthread.php?$session[sessionurl]t=$threadid&goto=nextnewest">$vbphrase[next_thread]</a>
<strong>»</strong>
</div>
</if>
<br />
<if condition="$show['quickreply'] OR $show['ajax_js']">
<!-- ajax errors table -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" style="display:none; position:absolute" id="ajax_post_errors">
<tr>
<td class="thead">
<span style="float:$stylevar[right]"><input type="button" class="button" value=" X " onclick="vB_QuickEditor.hide_errors()" unselectable="true" /></span>
$vbphrase[vbulletin_message]
</td>
</tr>
<tr>
<td class="alt2" colspan="2" id="ajax_post_errors_message"> </td>
</tr>
<tr>
<td class="tfoot" colspan="2" align="center"><a href="#" onclick="vB_QuickEditor.abort(); return false;">$vbphrase[cancel_changes]</a></td>
</tr>
</table>
<!-- / ajax errors table -->
<!-- scripts for quick reply and quick edit -->
$vBeditTemplate[clientscript]
<if condition="$show['quickedit']">
<script type="text/javascript" src="clientscript/vbulletin_quick_edit.js"></script>
<script type="text/javascript">
<!--
vB_AJAX_QuickEdit_Init('posts');
//-->
</script>
</if>
<!-- / scripts for quick reply and quick edit -->
</if>
<if condition="$show['quickreply']">
<!-- quick reply -->
<form action="newreply.php" method="post" name="vbform" onsubmit="return qr_prepare_submit(this, $vboptions[postminchars]);" id="qrform">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="2">
<if condition="$show['quickreply_collapse']"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('quickreply');"><img id="collapseimg_quickreply" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_quickreply].gif" alt="" border="0" /></a></if>
$vbphrase[quick_reply]
</td>
</tr>
</thead>
<tbody id="qr_error_tbody" style="display:none">
<tr>
<td class="thead">$vbphrase[errors_occured_when_submitted]</td>
</tr>
<tr>
<td class="alt1" id="qr_error_td"></td>
</tr>
<tr>
<td class="tfoot" align="center"><span class="smallfont"><a href="#" onclick="return qr_hide_errors()">$vbphrase[okay]</a></span></td>
</tr>
</tbody>
<tbody id="collapseobj_quickreply" style="$vbcollapse[collapseobj_quickreply]">
<tr>
<td class="panelsurround" align="center">
<div class="panel">
<table cellpadding="0" cellspacing="0" border="0" align="center">
<tr>
<td class="smallfont" align="$stylevar[left]">$vbphrase[message]:</td>
</tr>
<tr>
<td id="$editorid" class="vBulletin_editor" align="$stylevar[left]">$messagearea</td>
</tr>
<tr>
<td align="$stylevar[left]">
<fieldset class="fieldset" style="margin:$stylevar[formspacer]px 0px 0px 0px">
<legend>$vbphrase[options]</legend>
<div>
<if condition="$bbuserinfo['signature']">
<div style="float:$stylevar[right]"><label for="cb_signature"><input type="checkbox" name="signature" value="1" id="cb_signature" tabindex="5" checked="checked" />$vbphrase[show_your_signature]</label></div>
</if>
<label for="qr_quickreply"><input type="checkbox" name="quickreply" value="1" id="qr_quickreply" accesskey="w" tabindex="4" />$vbphrase[quote_message_in_reply]</label>
</div>
$threadmanagement
</fieldset>
</td>
</tr>
</table>
</div>
<div style="margin-top:$stylevar[cellpadding]px">
<input type="hidden" name="fromquickreply" value="1" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="postreply" />
<input type="hidden" name="t" value="$threadid" id="qr_threadid" />
<input type="hidden" name="p" value="$qrpostid" id="qr_postid" />
<input type="hidden" name="parseurl" value="1" />
<input type="submit" class="button" value="$vbphrase[post_quick_reply]" accesskey="s" title="(Alt + S)" name="sbutton" tabindex="2" id="qr_submit" onclick="clickedelm = this.value" />
<input type="submit" class="button" value="$vbphrase[go_advanced]" accesskey="x" title="(Alt + X)" name="preview" tabindex="3" id="qr_preview" onclick="clickedelm = this.value" />
</div>
<div align="center" id="qr_posting_msg" style="display:none; margin-top:6px">
<strong>$vbphrase[posting_quick_reply_please_wait]</strong>
</div>
</td>
</tr>
</tbody>
</table>
</form>
<if condition="!is_browser('ie') AND $show['wysiwyg']">
<!-- Mozilla work around for focusing on QR in WYSIWYG mode -->
<div id="qr_scroll"></div>
</if>
<br />
<script type="text/javascript" src="clientscript/vbulletin_quick_reply.js"></script>
<!-- end quick reply -->
</if>
<!-- currently active users -->
<if condition="$show['activeusers']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat" colspan="2">
<phrase 1="$totalonline" 2="$numberregistered" 3="$numberguest">$vbphrase[users_viewing_this_thread_x_y_z]</phrase>
</td>
</tr>
<tr>
<td class="alt1" colspan="2">
<span class="smallfont">$activeusers</span>
</td>
</tr>
</table>
</if>
<!-- end currently active users -->
<!-- who viewed this thread -->
<br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat" colspan="2">
$vbphrase[already_viewed_this_thread]
</td>
</tr>
<tr>
<td class="alt1" colspan="2">
<span class="smallfont">$thread[viewers]</span>
</td>
</tr>
</table>
<!-- who viewed this thread -->
<if condition="$show['popups']">
<!-- popup menu contents -->
<br />
<!-- thread tools menu -->
<div class="vbmenu_popup" id="threadtools_menu" style="display:none">
<form action="postings.php" method="post" name="threadadminform">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[thread_tools]<a name="goto_threadtools"></a></td>
</tr>
<tr>
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/printer.gif" alt="$vbphrase[show_printable_version]" /> <a href="printthread.php?$session[sessionurl]t=$threadid" accesskey="3" rel="nofollow">$vbphrase[show_printable_version]</a></td>
</tr>
<tr>
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/sendtofriend.gif" alt="$vbphrase[email_this_page]" /> <a href="sendmessage.php?$session[sessionurl]do=sendtofriend&t=$threadid" rel="nofollow">$vbphrase[email_this_page]</a></td>
</tr>
<if condition="$show['member']">
<tr>
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[subscription]" />
<if condition="$show['subscribed']">
<a href="subscription.php?$session[sessionurl]do=removesubscription&t=$threadid" rel="nofollow">$vbphrase[unsubscribe_from_this_thread]</a>
<else />
<a href="subscription.php?$session[sessionurl]do=addsubscription&t=$threadid" rel="nofollow">$vbphrase[subscribe_to_this_thread]</a>
</if>
</td>
</tr>
</if>
<if condition="$thread['postuserid'] == $bbuserinfo['userid'] && $thread['firstpostid'] != $bbuserinfo['userid']">
<tr>
<td class="vbmenu_option"><img class="inlineimg" src="images/buttons_mns/best.gif" />
<if condition="in_array($thread['threadid'], $mybestthread)">
<a href="showthread.php?$session[sessionurl]do=removemybest&t=$threadid">$vbphrase[mybest_remove]</a>
<else />
<a href="showthread.php?$session[sessionurl]do=addmybest&t=$threadid">$vbphrase[mybest_add]</a>
</if>
</td>
</tr></if>
<if condition="$show['addpoll']">
<tr>
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[add_a_poll]" /> <a href="poll.php?$session[sessionurl]do=newpoll&t=$threadinfo[threadid]">$vbphrase[add_a_poll_to_this_thread]</a></td>
</tr>
</if>
<if condition="$show['addrelease']">
<tr>
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[add_a_release]" /> <a href="release.php?$session[sessionurl]do=newrelease&t=$threadinfo[threadid]">$vbphrase[add_a_release_to_this_thread]</a></td>
</tr>
</if>
<if condition="$show['adminoptions']">
<tr>
<td class="thead">$vbphrase[admin_tools]<a name="goto_threadadmin"></a></td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<if condition="$show['openclose']"><div><label for="ao_oct"><input type="radio" name="do" id="ao_oct" value="openclosethread" checked="checked" /><if condition="$show['closethread']">$vbphrase[close_thread]<else />$vbphrase[open_thread]</if></label></div></if>
<if condition="$show['movethread']"><div><label for="ao_mvt"><input type="radio" name="do" id="ao_mvt" value="movethread" />$vbphrase[move_copy_thread]</label></div></if>
<if condition="$show['editthread']"><div><label for="ao_edt"><input type="radio" name="do" id="ao_edt" value="editthread" />$vbphrase[edit_thread]</label></div></if>
<if condition="$show['deletethread']"><div><label for="ao_dlt"><input type="radio" name="do" id="ao_dlt" value="deletethread" />$vbphrase[delete_thread]</label></div></if>
<if condition="$show['managethread']">
<div><label for="ao_sut"><input type="radio" name="do" id="ao_sut" value="stick" /><if condition="$show['unstick']">$vbphrase[unstick_thread]<else />$vbphrase[stick_thread]</if></label></div>
<div><label for="ao_mgt"><input type="radio" name="do" id="ao_mgt" value="mergethread" />$vbphrase[merge_threads]</label></div>
<!--<div><label for="ao_spt"><input type="radio" name="do" id="ao_spt" value="splitthread" />$vbphrase[split_thread]</label></div>-->
<div><label for="ao_rrd"><input type="radio" name="do" id="ao_rrd" value="removeredirect" />$vbphrase[remove_redirects]</label></div>
</if>
<if condition="$show['editpoll']"><div><label for="ao_edp"><input type="radio" name="do" id="ao_edp" value="editpoll" />$vbphrase[edit_poll]</label></div></if>
<if condition="$show['editrelease']"><div><label for="ao_edr"><input type="radio" name="do" id="ao_edr" value="editrelease" />$vbphrase[edit_release]</label></div></if>
</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite" align="center">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="t" value="$threadid" />
<input type="hidden" name="released" value="$releaseid" />
<input type="hidden" name="pollid" value="$pollid" />
<input type="submit" class="button" value="$vbphrase[perform_action]" />
</td>
</tr>
</if>
</table>
</form>
</div>
<!-- / thread tools menu -->
<if condition="$vboptions['allowthreadedmode']">
<!-- ************************************************** ** -->
<!-- thread display mode menu -->
<div class="vbmenu_popup" id="displaymodes_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[display_modes]<a name="goto_displaymodes"></a></td>
</tr>
<tr>
<if condition="$show['linearmode']">
<td class="vbmenu_option" title="nohilite"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_linear.gif" alt="$vbphrase[linear_mode]" /> <strong>$vbphrase[linear_mode]</strong></td>
<else />
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_linear.gif" alt="$vbphrase[linear_mode]" /> <a href="showthread.php?$session[sessionurl]p=$FIRSTPOSTID&mode=linear$highlightwords#post$FIR STPOSTID">$vbphrase[switch_to_linear_mode]</a></td>
</if>
</tr>
<tr>
<if condition="$show['hybridmode']">
<td class="vbmenu_option" title="nohilite"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_hybrid.gif" alt="$vbphrase[hybrid_mode]" /> <strong>$vbphrase[hybrid_mode]</strong></td>
<else />
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_hybrid.gif" alt="$vbphrase[hybrid_mode]" /> <a href="showthread.php?$session[sessionurl]mode=hybrid&t=$thread[threadid]$highlightwords">$vbphrase[switch_to_hybrid_mode]</a></td>
</if>
</tr>
<tr>
<if condition="$show['threadedmode']">
<td class="vbmenu_option" title="nohilite"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_threaded.gif" alt="$vbphrase[threaded_mode]" /> <strong>$vbphrase[threaded_mode]</strong></td>
<else />
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_threaded.gif" alt="$vbphrase[threaded_mode]" /> <a href="showthread.php?$session[sessionurl]p=$FIRSTPOSTID&mode=threaded$highlightwords#post$F IRSTPOSTID">$vbphrase[switch_to_threaded_mode]</a></td>
</if>
</tr>
</table>
</div>
<!-- / thread display mode menu -->
</if>
<!-- ************************************************** ** -->
<if condition="$show['search']">
<!-- thread search menu -->
<div class="vbmenu_popup" id="threadsearch_menu" style="display:none">
<form action="search.php" method="post">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[search_this_thread]<a name="goto_threadsearch"></a></td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="process" />
<input type="hidden" name="searchthread" value="1" />
<input type="hidden" name="showposts" value="1" />
<input type="hidden" name="searchthreadid" value="$threadid" />
<input type="text" class="bginput" name="query" size="20" />$gobutton<br />
</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php$session[sessionurl_q]">$vbphrase[advanced_search]</a></td>
</tr>
</table>
</form>
</div>
<!-- / thread search menu -->
</if>
<!-- ************************************************** ** -->
<!-- thread rating menu -->
<div class="vbmenu_popup" id="threadrating_menu" style="display:none">
<form action="threadrate.php" method="post">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[rate_this_thread]<a name="goto_threadrating"></a></td>
</tr>
<if condition="$show['ratethread']">
<tr>
<td class="vbmenu_option" title="nohilite">
<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_5.gif" alt="$vbphrase[excellent]" /><label for="vote5"><input type="radio" name="vote" id="vote5" value="5" $votechecked[5] />$vbphrase[excellent]</label></div>
<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_4.gif" alt="$vbphrase[good]" /><label for="vote4"><input type="radio" name="vote" id="vote4" value="4" $votechecked[4] />$vbphrase[good]</label></div>
<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_3.gif" alt="$vbphrase[average]" /><label for="vote3"><input type="radio" name="vote" id="vote3" value="3" $votechecked[3] />$vbphrase[average]</label></div>
<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_2.gif" alt="$vbphrase[bad]" /><label for="vote2"><input type="radio" name="vote" id="vote2" value="2" $votechecked[2] />$vbphrase[bad]</label></div>
<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_1.gif" alt="$vbphrase[terrible]" /><label for="vote1"><input type="radio" name="vote" id="vote1" value="1" $votechecked[1] />$vbphrase[terrible]</label></div>
</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite" align="center">
<input type="hidden" name="s" value="$session[dbsessionhash]" />
<input type="hidden" name="t" value="$threadid" />
<input type="hidden" name="pp" value="$perpage" />
<input type="hidden" name="page" value="$pagenumber" />
<input type="submit" class="button" value="$vbphrase[vote_now]" />
</td>
</tr>
<else />
<tr>
<td>$vbphrase[already_rated_this_thread]</td>
</tr>
</if>
</table>
</form>
</div>
<!-- / thread rating 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" <if condition="!$show['search']">colspan="2"</if>>$vbphrase[thread_tools]<a name="goto_threadtools"></a></td>
<if condition="$show['search']"><td class="thead">$vbphrase[search_this_thread]<a name="goto_threadsearch"></a></td></if>
</tr>
<tr valign="top">
<td class="alt1" <if condition="!$show['search']">colspan="2"</if>>
<!-- thread tools -->
<div class="smallfont">
<if condition="!$show['search_engine']">
<div><img class="inlineimg" src="$stylevar[imgdir_button]/printer.gif" alt="$vbphrase[show_printable_version]" vspace="1" /> <a href="printthread.php?$session[sessionurl]t=$threadid" accesskey="p" rel="nofollow">$vbphrase[show_printable_version]</a></div>
<div><img class="inlineimg" src="$stylevar[imgdir_button]/sendtofriend.gif" alt="$vbphrase[email_this_page]" vspace="1" /> <a href="sendmessage.php?$session[sessionurl]do=sendtofriend&t=$threadid" rel="nofollow">$vbphrase[email_this_page]</a></div>
</if>
<if condition="$show['member']">
<div><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[subscription]" vspace="1" />
<if condition="$show['subscribed']">
<a href="subscription.php?$session[sessionurl]do=removesubscription&t=$threadid">$vbphrase[unsubscribe_from_this_thread]</a>
<else />
<a href="subscription.php?$session[sessionurl]do=addsubscription&t=$threadid">$vbphrase[subscribe_to_this_thread]</a>
</if>
</div>
</if>
<if condition="$thread['postuserid'] == $bbuserinfo['userid'] && $thread['firstpostid'] != $bbuserinfo['userid']">
<tr>
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/forums/images/buttons_mns/best.gif" />
<if condition="in_array($thread['threadid'], $mybestthread)">
<a href="showthread.php?$session[sessionurl]do=removemybest&t=$threadid">$vbphrase[mybest_remove]</a>
<else />
<a href="showthread.php?$session[sessionurl]do=addmybest&t=$threadid">$vbphrase[mybest_add]</a>
</if>
</td>
</tr></if>
<if condition="$show['addpoll']">
<div><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[add_a_poll]" vspace="1" /> <a href="poll.php?$session[sessionurl]do=newpoll&t=$threadinfo[threadid]">$vbphrase[add_a_poll_to_this_thread]</a></div>
</if>
</div>
<!-- / thread tools -->
</td>
<if condition="$show['search']">
<td class="alt1">
<!-- search this thread -->
<form action="search.php" method="post">
<div class="smallfont">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="process" />
<input type="hidden" name="searchthread" value="1" />
<input type="hidden" name="showposts" value="1" />
<input type="hidden" name="searchthreadid" value="$threadid" />
<strong>$vbphrase[search_this_thread]</strong>:<br />
<input type="text" class="bginput" name="query" size="20" style="width:175px" />$gobutton<br />
<a href="search.php$session[sessionurl_q]">$vbphrase[advanced_search]</a>
</div>
</form>
<!-- / search this thread -->
</td>
</if>
</tr>
<if condition="$vboptions['allowthreadedmode'] OR $show['threadrating']">
<tr>
<if condition="$vboptions['allowthreadedmode']"><td class="thead" $nodhtmlcolspan>$vbphrase[display_modes]<a name="goto_displaymodes"></a></td></if>
<if condition="$show['threadrating']"><td class="thead" $nodhtmlcolspan>$vbphrase[rate_this_thread]<a name="goto_threadrating"></a></td></if>
</tr>
<tr valign="top">
<if condition="$vboptions['allowthreadedmode']">
<td class="alt2" $nodhtmlcolspan>
<!-- thread display modes -->
<div class="smallfont">
<div><img class="inlineimg" src="$stylevar[imgdir_button]/mode_linear.gif" alt="$vbphrase[linear_mode]" vspace="1" /> <if condition="$show['linearmode']"><strong>$vbphrase[linear_mode]</strong><else /><a href="showthread.php?$session[sessionurl]p=$FIRSTPOSTID&mode=linear$highlightwords#post$FIR STPOSTID">$vbphrase[switch_to_linear_mode]</a></if></div>
<div><img class="inlineimg" src="$stylevar[imgdir_button]/mode_hybrid.gif" alt="$vbphrase[hybrid_mode]" vspace="1" /> <if condition="$show['hybridmode']"><strong>$vbphrase[hybrid_mode]</strong><else /><a href="showthread.php?$session[sessionurl]mode=hybrid&t=$thread[threadid]$highlightwords">$vbphrase[switch_to_hybrid_mode]</a></if></div>
<div><img class="inlineimg" src="$stylevar[imgdir_button]/mode_threaded.gif" alt="$vbphrase[threaded_mode]" vspace="1" /> <if condition="$show['threadedmode']"><strong>$vbphrase[threaded_mode]</strong><else /><a href="showthread.php?$session[sessionurl]p=$FIRSTPOSTID&mode=threaded$highlightwords#post$F IRSTPOSTID">$vbphrase[switch_to_threaded_mode]</a></if></div>
</div>
<!-- / thread display modes -->
</td>
</if>
<if condition="$show['threadrating']">
<td class="alt2" $nodhtmlcolspan>
<!-- rate this thread -->
<form action="threadrate.php" method="post">
<div class="smallfont">
<input type="hidden" name="s" value="$session[dbsessionhash]" />
<input type="hidden" name="t" value="$threadid" />
<input type="hidden" name="pp" value="$perpage" />
<input type="hidden" name="page" value="$pagenumber" />
<strong>$vbphrase[rate_this_thread]</strong>:<br />
<select name="vote" onchange="this.form.submit()" style="width:175px">
<optgroup label="$vbphrase[choose_a_rating]">
<option value="5" $voteselected[5]>5 : $vbphrase[excellent]</option>
<option value="4" $voteselected[4]>4 : $vbphrase[good]</option>
<option value="3" $voteselected[3]>3 : $vbphrase[average]</option>
<option value="2" $voteselected[2]>2 : $vbphrase[bad]</option>
<option value="1" $voteselected[1]>1 : $vbphrase[terrible]</option>
</optgroup>
</select>$gobutton
</div>
</form>
<!-- / rate this thread -->
</td>
</if>
</tr>
</if>
</table>
<br />
<!-- / controls for non-popup browsers -->
</if>
<!-- forum rules and admin links -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr valign="bottom">
<td class="smallfont" align="$stylevar[left]">
$forumrules
</td>
<td class="smallfont" align="$stylevar[right]">
<table cellpadding="0" cellspacing="0" border="0">
<if condition="!$show['popups'] AND $show['adminoptions']">
<tr>
<td>
<div class="smallfont" style="text-align:$stylevar[left]; white-space:nowrap">
<form action="postings.php" method="post" name="adminoptionsform">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="t" value="$threadid" />
<strong>$vbphrase[admin_tools]</strong>:<br />
<select name="do" onchange="this.form.submit()">
<optgroup label="$vbphrase[thread_admin_tools]">
<if condition="$show['openclose']"><option value="openclosethread" selected="selected"><if condition="$show['closethread']">$vbphrase[close_thread]<else />$vbphrase[open_thread]</if></option></if>
<if condition="$show['editthread']"><option value="editthread">$vbphrase[edit_thread]</option></if>
<if condition="$show['deletethread']"><option value="deletethread">$vbphrase[delete_thread]</option></if>
<if condition="$show['movethread']"><option value="movethread">$vbphrase[move_copy_thread]</option></if>
<if condition="$show['managethread']">
<option value="stick"><if condition="$show['unstick']">$vbphrase[unstick_thread]<else />$vbphrase[stick_thread]</if></option>
<option value="mergethread">$vbphrase[merge_threads]</option>
<!--<option value="splitthread">$vbphrase[split_thread]</option>-->
<option value="removeredirect">$vbphrase[remove_redirects]</option>
</if>
<if condition="$show['editpoll']"><option value="editpoll">$vbphrase[edit_poll]</option></if>
<if condition="$show['editrelease']"><option value="editrelease">$vbphrase[edit_release]</option></if>
</optgroup>
</select>$gobutton
</form>
</div>
</td>
</tr>
<br />
</if>
<tr>
<td>
$forumjump
</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- /forum rules and admin links -->
<br />
<table class="tborder" cellspacing="0" cellpadding="$stylevar[cellpadding]" border="0" width="100%">
<tr>
<td class="alt2"><span class="navbar"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb] ><strong>$navbits[lastelement]</strong></td>
</tr>
</table>
$similarthreads
$foruminfo[forumfooter]
$footer
<!-- temp -->
<div style="display:none">
<!-- thread rate -->
<if condition="$show['ratethread']">
<!-- thread ratings form here -->
<else />
<if condition="$show['threadrating']">
$vbphrase[you_rated_this_thread]: <strong>$threadinfo[vote]</strong>
</if>
</if>
<!-- / thread rate -->
</div>
</body>
</html>
bashy
02-21-2006, 05:18 PM
Whoops spoke too soon lol
I tried toadd one and got this err m8
Still got no thread id box in user panrl m8
Database error in vBulletin 3.5.3:
Invalid SQL:
UPDATE user SET oneof='194' WHERE userid = '1';
MySQL Error : Unknown column 'oneof' in 'field list'
Error Number : 1054
Date : Tuesday, February 21st 2006 @ 07:19:04 PM
Script : http://www.bashys-place.com/forums/showthread.php?do=addmybest&t=194
Referrer : http://www.bashys-place.com/forums/showthread.php?t=194
Developer
02-22-2006, 07:25 AM
run this query and it will work
ALTER TABLE user ADD oneof text NOT NULL;
SaN-DeeP
02-22-2006, 09:01 AM
looks cool, shall give a try.
Damien2005
02-23-2006, 04:58 PM
Hi
Is it also possible to convert this hack "without the options" like the topXstats hack, and that it shows on the forum home ?
think that would be nice... just a idea
Greetz
Damien
Developer
02-23-2006, 06:50 PM
Hi
Is it also possible to convert this hack "without the options" like the topXstats hack, and that it shows on the forum home ?
think that would be nice... just a idea
Greetz
Damien
plz explain more do you mean latest threads?
Allan
02-23-2006, 07:31 PM
@Developper: you bear your name well ;)
Damien2005
02-23-2006, 10:29 PM
plz explain more do you mean latest threads?
Yes as the latest threads, and the usernames in usergroup colors and that you can change the display quantity like 10 threads or 15 threads ect..
Just a idea mate.. :rolleyes:
Developer
02-24-2006, 11:19 AM
Yes as the latest threads, and the usernames in usergroup colors and that you can change the display quantity like 10 threads or 15 threads ect..
Just a idea mate.. :rolleyes:
i made 2 hacks for latest threads :nervous:
https://vborg.vbsupport.ru/showthread.php?s=&threadid=108116
https://vborg.vbsupport.ru/showthread.php?s=&threadid=108031
Damien2005
02-24-2006, 04:10 PM
That are also realy nice hacks..
But a latest thread hack in the table from your Your Users Best Threads hack https://vborg.vbsupport.ru/attachment.php?attachmentid=43118 that would be nice...
Greetz mate..
adhari_com
02-24-2006, 08:03 PM
well I've added the custom field, but for members who didn't update their profile, or they don't have any threads to show, they get SQL error, how to solve that?
adhari_com
02-24-2006, 09:21 PM
this hack must really go to beta, it's missing handling the operations of Add / Remove within showthread.php, missing phrases "mybest_add" and "mybest_remove"
and as mentioned earlier the hooks system should be used to replace $foot with the desired variable.
I've done these things and I guess I made it work.
Thank you.
MarsNIIT
03-12-2006, 09:12 PM
this hack must really go to beta, it's missing handling the operations of Add / Remove within showthread.php, missing phrases "mybest_add" and "mybest_remove"
and as mentioned earlier the hooks system should be used to replace $foot with the desired variable.
I've done these things and I guess I made it work.
Thank you.
Yes, i use vbb 3.5.4 and it's missing handling the operations of Add / Remove within showthread.php, missing phrases "mybest_add" and "mybest_remove". Who can help me fix this error.
Thanks.
Developer
03-14-2006, 04:13 PM
i'll test the hack today on 3.5.4 and see error and i'll fix it
Developer
03-21-2006, 04:16 PM
sorry for lating
tell me r u shure that ur edit the template correctly?
Developer
03-22-2006, 12:55 PM
1.0.1 On 22. Mar 2006 Fix Template Edit
to upgrade redit the template SHOWTHREAD again!
bashy
03-22-2006, 03:15 PM
Updated...cheers Developer :)
MarsNIIT
04-02-2006, 09:34 PM
Please help me check my SHOWTHREAD ok??? It still not working for me :(
Thanks.
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$thread[title]<if condition="$pagenumber>1"> - <phrase 1="$pagenumber">$vbphrase[page_x]</phrase></if> - $vboptions[bbtitle]</title>
</head>
<body onload="$onload">
$header
$navbar
$poll
<if condition="$show['inlinemod']">
$spacer_close
<form action="inlinemod.php" method="post" id="inlinemodform">
$spacer_open
</if>
<a name="poststop" id="poststop"></a>
<!-- controls above postbits -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px">
<tr valign="bottom">
<if condition="$show['largereplybutton']">
<td class="fog"><a href="newthread.php?$session[sessionurl]do=newthread&f=$foruminfo[forumid]"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a> <a href="newreply.php?$session[sessionurl]do=newreply&noquote=1&p=$FIRSTPOSTID"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" /></if></a></td>
<else />
<td class="smallfont"> </td>
</if>
<if condition="$show['pagenav']"><td align="$stylevar[right]">$pagenav</td></if>
</tr>
</table>
<!-- / controls above postbits -->
<!-- toolbar -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:0px">
<tr>
<td class="tcat" width="100%">
<div class="smallfont">
<if condition="$show['firstunreadlink']">
<a href="$firstunread"><img class="inlineimgfog" src="$stylevar[imgdir_button]/firstnew.gif" alt="$vbphrase[view_first_unread]" border="0" /></a>
<a href="$firstunread"><strong>$vbphrase[view_first_unread]</strong></a>
</if>
</div>
</td>
<td class="vbmenu_control" id="threadtools" nowrap="nowrap">
<a href="$show[nojs_link]#goto_threadtools"<if condition="is_browser('ie')"> accesskey="3"</if>>$vbphrase[thread_tools]</a>
<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadtools"); </script></if>
</td>
<if condition="$show['search']">
<td class="vbmenu_control" id="threadsearch" nowrap="nowrap">
<a href="$show[nojs_link]#goto_threadsearch">$vbphrase[search_this_thread]</a>
<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadsearch"); </script></if>
</td>
</if>
<if condition="$show['threadrating']">
<td class="vbmenu_control" id="threadrating" nowrap="nowrap">
<a href="$show[nojs_link]#goto_threadrating"><if condition="$show['rating']">$vbphrase[rating]: <img class="inlineimg" src="$stylevar[imgdir_rating]/rating_$thread[rating].gif" alt="<phrase 1="$thread[votenum]" 2="$thread[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" border="0" /><else />$vbphrase[rate_thread]</if></a>
<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadrating"); </script></if>
</td>
</if>
<if condition="$vboptions['allowthreadedmode']">
<td class="vbmenu_control" id="displaymodes" nowrap="nowrap">
<a href="$show[nojs_link]#goto_displaymodes">$vbphrase[display_modes]</a>
<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("displaymodes"); </script></if>
</td>
</if>
<if condition="$show['inlinemod']">
<if condition="$show['popups']">
<td class="vbmenu_control" id="imod" align="center" title="$vbphrase[moderation]"><script type="text/javascript"> vbmenu_register('imod'); </script></td>
<else />
<td class="thead" align="center">
<input type="checkbox" name="allbox" id="checkall_all" title="$vbphrase[check_uncheck_all]" onclick="inlineMod.check_all()" />
</td>
</if>
</if>
</tr>
</table>
<!-- / toolbar -->
<if condition="$show['inlinemod'] AND $show['popups']">
<div class="vbmenu_popup" id="imod_menu" style="display:none" align="$stylevar[left]">
$threadadmin_imod_menu_post
</div>
</if>
<!-- end content table -->
$spacer_close
<!-- / end content table -->
<if condition="$show['threadedmode'] OR $show['hybridmode']">
<!-- thread posts list -->
$threadlist
<!-- /thread posts list -->
</if>
<div id="posts">$postbits<div id="lastpost"></div></div>
<!-- start content table -->
$spacer_open
<!-- / start content table -->
<!-- controls below postbits -->
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr valign="top">
<if condition="$show['largereplybutton']">
<td class="fog"><a href="newthread.php?$session[sessionurl]do=newthread&f=$foruminfo[forumid]"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a> <a href="newreply.php?$session[sessionurl]do=newreply&noquote=1&p=$LASTPOSTID"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" /></if></a></td>
<else />
<td class="smallfont"> </td>
</if>
<if condition="$show['pagenav'] OR $show['inlinemod']">
<td align="$stylevar[right]">$pagenav
<if condition="$show['approvepost']">
<div>
<strong>$vbphrase[moderation]</strong>
<select name="do">
<optgroup label="$vbphrase[option]">
<if condition="$show['managethread']">
<option value="mergeposts">$vbphrase[merge_posts]</option>
<option value="moveposts">$vbphrase[move_posts]</option>
</if>
<if condition="$show['managepost']">
<option value="deleteposts">$vbphrase[delete_posts]</option>
<option value="undeleteposts">$vbphrase[undelete_posts]</option>
</if>
<if condition="$show['approvepost']">
<option value="approveposts">$vbphrase[approve_posts]</option>
<option value="unapproveposts">$vbphrase[unapprove_posts]</option>
</if>
<if condition="$show['approveattachment']">
<option value="approveattachments">$vbphrase[approve_attachments]</option>
<option value="unapproveattachments">$vbphrase[unapprove_attachments]</option>
</if>
</optgroup>
<optgroup label="____________________">
<option value="clearpost">$vbphrase[clear_post_list]</option>
</optgroup>
</select>
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="threadid" value="$threadinfo[threadid]" />
<input type="hidden" name="p" value="$postid" />
<input type="hidden" name="url" value="$url" />
<input type="submit" class="button" id="inlinego" value="$vbphrase[go]" />
</div>
<script type="text/javascript" src="clientscript/vbulletin_inlinemod.js"></script>
<script type="text/javascript">
<!--
inlineMod = new vB_Inline_Mod('inlineMod', 'post', 'inlinemodform', '$vbphrase[go_x]');
//-->
</script>
</if>
</td>
</if>
</tr>
</table>
<!-- / controls below postbits -->
<if condition="$show['inlinemod']">
$spacer_close
</form>
$spacer_open
</if>
<if condition="!$show['search_engine']">
<br />
<div class="smallfont" align="center">
<strong>«</strong>
<a href="showthread.php?$session[sessionurl]t=$threadid&goto=nextoldest">$vbphrase[prev_thread]</a>
|
<a href="showthread.php?$session[sessionurl]t=$threadid&goto=nextnewest">$vbphrase[next_thread]</a>
<strong>»</strong>
</div>
</if>
<br />
<if condition="$show['quickreply'] OR $show['ajax_js']">
<!-- ajax errors table -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" style="display:none; position:absolute" id="ajax_post_errors">
<tr>
<td class="thead">
<span style="float:$stylevar[right]"><input type="button" class="button" value=" X " onclick="vB_QuickEditor.hide_errors()" unselectable="true" /></span>
$vbphrase[vbulletin_message]
</td>
</tr>
<tr>
<td class="alt2" colspan="2" id="ajax_post_errors_message"> </td>
</tr>
<tr>
<td class="tfoot" colspan="2" align="center"><a href="#" onclick="vB_QuickEditor.abort(); return false;">$vbphrase[cancel_changes]</a></td>
</tr>
</table>
<!-- / ajax errors table -->
<!-- scripts for quick reply and quick edit -->
$vBeditTemplate[clientscript]
<if condition="$show['quickedit']">
<script type="text/javascript" src="clientscript/vbulletin_quick_edit.js"></script>
<script type="text/javascript">
<!--
vB_AJAX_QuickEdit_Init('posts');
//-->
</script>
</if>
<!-- / scripts for quick reply and quick edit -->
</if>
<if condition="$show['quickreply']">
<!-- quick reply -->
<form action="newreply.php" method="post" name="vbform" onsubmit="return qr_prepare_submit(this, $vboptions[postminchars]);" id="qrform">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="2">
<if condition="$show['quickreply_collapse']"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('quickreply');"><img id="collapseimg_quickreply" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_quickreply].gif" alt="" border="0" /></a></if>
$vbphrase[quick_reply]
</td>
</tr>
</thead>
<tbody id="qr_error_tbody" style="display:none">
<tr>
<td class="thead">$vbphrase[errors_occured_when_submitted]</td>
</tr>
<tr>
<td class="alt1" id="qr_error_td"></td>
</tr>
<tr>
<td class="tfoot" align="center"><span class="smallfont"><a href="#" onclick="return qr_hide_errors()">$vbphrase[okay]</a></span></td>
</tr>
</tbody>
<tbody id="collapseobj_quickreply" style="$vbcollapse[collapseobj_quickreply]">
<tr>
<td class="panelsurround" align="center">
<div class="panel">
<table cellpadding="0" cellspacing="0" border="0" align="center">
<tr>
<td class="smallfont" align="$stylevar[left]">$vbphrase[message]:</td>
</tr>
<tr>
<td id="$editorid" class="vBulletin_editor" align="$stylevar[left]">$messagearea</td>
</tr>
<tr>
<td align="$stylevar[left]">
<fieldset class="fieldset" style="margin:$stylevar[formspacer]px 0px 0px 0px">
<legend>$vbphrase[options]</legend>
<div>
<if condition="$bbuserinfo['signature']">
<div style="float:$stylevar[right]"><label for="cb_signature"><input type="checkbox" name="signature" value="1" id="cb_signature" tabindex="5" checked="checked" />$vbphrase[show_your_signature]</label></div>
</if>
<label for="qr_quickreply"><input type="checkbox" name="quickreply" value="1" id="qr_quickreply" accesskey="w" tabindex="4" />$vbphrase[quote_message_in_reply]</label>
</div>
</fieldset>
</td>
</tr>
</table>
</div>
<div style="margin-top:$stylevar[cellpadding]px">
<input type="hidden" name="fromquickreply" value="1" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="postreply" />
<input type="hidden" name="t" value="$threadid" id="qr_threadid" />
<input type="hidden" name="p" value="$qrpostid" id="qr_postid" />
<input type="hidden" name="parseurl" value="1" />
<input type="submit" class="button" value="$vbphrase[post_quick_reply]" accesskey="s" title="(Alt + S)" name="sbutton" tabindex="2" id="qr_submit" onclick="clickedelm = this.value" />
<input type="submit" class="button" value="$vbphrase[go_advanced]" accesskey="x" title="(Alt + X)" name="preview" tabindex="3" id="qr_preview" onclick="clickedelm = this.value" />
</div>
<div align="center" id="qr_posting_msg" style="display:none; margin-top:6px">
<strong>$vbphrase[posting_quick_reply_please_wait]</strong>
</div>
</td>
</tr>
</tbody>
</table>
</form>
<if condition="!is_browser('ie') AND $show['wysiwyg']">
<!-- Mozilla work around for focusing on QR in WYSIWYG mode -->
<div id="qr_scroll"></div>
</if>
<br />
<script type="text/javascript" src="clientscript/vbulletin_quick_reply.js"></script>
<!-- end quick reply -->
</if>
<!-- currently active users -->
<if condition="$show['activeusers']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat" colspan="2">
<phrase 1="$totalonline" 2="$numberregistered" 3="$numberguest">$vbphrase[users_viewing_this_thread_x_y_z]</phrase>
</td>
</tr>
<tr>
<td class="alt1" colspan="2">
<span class="smallfont">$activeusers</span>
</td>
</tr>
</table>
</if>
<!-- end currently active users -->
<if condition="$show['popups']">
<!-- popup menu contents -->
<br />
<!-- thread tools menu -->
<div class="vbmenu_popup" id="threadtools_menu" style="display:none">
<form action="postings.php" method="post" name="threadadminform">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[thread_tools]<a name="goto_threadtools"></a></td>
</tr>
<tr>
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/printer.gif" alt="$vbphrase[show_printable_version]" /> <a href="printthread.php?$session[sessionurl]t=$threadid" accesskey="3">$vbphrase[show_printable_version]</a></td>
</tr>
<tr>
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/pdf.gif" alt="$vbphrase[download_pdf_version]" /> <a href="pdfthread.php?$session[sessionurl]t=$threadid">$vbphrase[download_pdf_version]</a></td>
</tr>
<tr>
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/sendtofriend.gif" alt="$vbphrase[email_this_page]" /> <a href="sendmessage.php?$session[sessionurl]do=sendtofriend&t=$threadid">$vbphrase[email_this_page]</a></td>
</tr>
<if condition="$show['member']">
<tr>
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[subscription]" />
<if condition="$show['subscribed']">
<a href="subscription.php?$session[sessionurl]do=removesubscription&t=$threadid">$vbphrase[unsubscribe_from_this_thread]</a>
<else />
<a href="subscription.php?$session[sessionurl]do=addsubscription&t=$threadid">$vbphrase[subscribe_to_this_thread]</a>
</if>
</td>
</tr>
</if>
<if condition="$show['addpoll']">
<tr>
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/addpoll.gif" alt="$vbphrase[add_a_poll]" /> <a href="poll.php?$session[sessionurl]do=newpoll&t=$threadinfo[threadid]">$vbphrase[add_a_poll_to_this_thread]</a></td>
</tr>
</if>
<if condition="$thread['postuserid'] == $bbuserinfo['userid']">
<tr>
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/best.gif" />
<if condition="in_array($thread['threadid'], $mybestthread)">
<a href="showthread.php?$session[sessionurl]do=removemybest&t=$threadid">$vbphrase[mybest_remove]</a>
<else />
<a href="showthread.php?$session[sessionurl]do=addmybest&t=$threadid">$vbphrase[mybest_add]</a>
</if>
</td>
</tr>
</if>
<if condition="$show['adminoptions']">
<tr>
<td class="thead">$vbphrase[admin_tools]<a name="goto_threadadmin"></a></td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<if condition="$show['openclose']"><div><label for="ao_oct"><input type="radio" name="do" id="ao_oct" value="openclosethread" checked="checked" /><if condition="$show['closethread']">$vbphrase[close_thread]<else />$vbphrase[open_thread]</if></label></div></if>
<if condition="$show['movethread']"><div><label for="ao_mvt"><input type="radio" name="do" id="ao_mvt" value="movethread" />$vbphrase[move_copy_thread]</label></div></if>
<if condition="$show['editthread']"><div><label for="ao_edt"><input type="radio" name="do" id="ao_edt" value="editthread" />$vbphrase[edit_thread]</label></div></if>
<if condition="$show['deletethread']"><div><label for="ao_dlt"><input type="radio" name="do" id="ao_dlt" value="deletethread" />$vbphrase[delete_thread]</label></div></if>
<if condition="$show['managethread']">
<div><label for="ao_sut"><input type="radio" name="do" id="ao_sut" value="stick" /><if condition="$show['unstick']">$vbphrase[unstick_thread]<else />$vbphrase[stick_thread]</if></label></div>
<div><label for="ao_mgt"><input type="radio" name="do" id="ao_mgt" value="mergethread" />$vbphrase[merge_threads]</label></div>
<!--<div><label for="ao_spt"><input type="radio" name="do" id="ao_spt" value="splitthread" />$vbphrase[split_thread]</label></div>-->
<div><label for="ao_rrd"><input type="radio" name="do" id="ao_rrd" value="removeredirect" />$vbphrase[remove_redirects]</label></div>
</if>
<if condition="$show['editpoll']"><div><label for="ao_edp"><input type="radio" name="do" id="ao_edp" value="editpoll" />$vbphrase[edit_poll]</label></div></if>
</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite" align="center">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="t" value="$threadid" />
<input type="hidden" name="pollid" value="$pollid" />
<input type="submit" class="button" value="$vbphrase[perform_action]" />
</td>
</tr>
</if>
</table>
</form>
</div>
<!-- / thread tools menu -->
<if condition="$vboptions['allowthreadedmode']">
<!-- ************************************************** ** -->
<!-- thread display mode menu -->
<div class="vbmenu_popup" id="displaymodes_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[display_modes]<a name="goto_displaymodes"></a></td>
</tr>
<tr>
<if condition="$show['linearmode']">
<td class="vbmenu_option" title="nohilite"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_linear.gif" alt="$vbphrase[linear_mode]" /> <strong>$vbphrase[linear_mode]</strong></td>
<else />
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_linear.gif" alt="$vbphrase[linear_mode]" /> <a href="showthread.php?$session[sessionurl]p=$FIRSTPOSTID&mode=linear$highlightwords#post$FIR STPOSTID">$vbphrase[switch_to_linear_mode]</a></td>
</if>
</tr>
<tr>
<if condition="$show['hybridmode']">
<td class="vbmenu_option" title="nohilite"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_hybrid.gif" alt="$vbphrase[hybrid_mode]" /> <strong>$vbphrase[hybrid_mode]</strong></td>
<else />
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_hybrid.gif" alt="$vbphrase[hybrid_mode]" /> <a href="showthread.php?$session[sessionurl]mode=hybrid&t=$thread[threadid]$highlightwords">$vbphrase[switch_to_hybrid_mode]</a></td>
</if>
</tr>
<tr>
<if condition="$show['threadedmode']">
<td class="vbmenu_option" title="nohilite"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_threaded.gif" alt="$vbphrase[threaded_mode]" /> <strong>$vbphrase[threaded_mode]</strong></td>
<else />
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_threaded.gif" alt="$vbphrase[threaded_mode]" /> <a href="showthread.php?$session[sessionurl]p=$FIRSTPOSTID&mode=threaded$highlightwords#post$F IRSTPOSTID">$vbphrase[switch_to_threaded_mode]</a></td>
</if>
</tr>
</table>
</div>
<!-- / thread display mode menu -->
</if>
<!-- ************************************************** ** -->
<if condition="$show['search']">
<!-- thread search menu -->
<div class="vbmenu_popup" id="threadsearch_menu" style="display:none">
<form action="search.php" method="post">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[search_this_thread]<a name="goto_threadsearch"></a></td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="process" />
<input type="hidden" name="searchthread" value="1" />
<input type="hidden" name="showposts" value="1" />
<input type="hidden" name="searchthreadid" value="$threadid" />
<input type="text" class="bginput" name="query" size="20" />$gobutton<br />
</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php$session[sessionurl_q]">$vbphrase[advanced_search]</a></td>
</tr>
</table>
</form>
</div>
<!-- / thread search menu -->
</if>
<!-- ************************************************** ** -->
<!-- thread rating menu -->
<div class="vbmenu_popup" id="threadrating_menu" style="display:none">
<form action="threadrate.php" method="post">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[rate_this_thread]<a name="goto_threadrating"></a></td>
</tr>
<if condition="$show['ratethread']">
<tr>
<td class="vbmenu_option" title="nohilite">
<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_5.gif" alt="$vbphrase[excellent]" /><label for="vote5"><input type="radio" name="vote" id="vote5" value="5" $votechecked[5] />$vbphrase[excellent]</label></div>
<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_4.gif" alt="$vbphrase[good]" /><label for="vote4"><input type="radio" name="vote" id="vote4" value="4" $votechecked[4] />$vbphrase[good]</label></div>
<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_3.gif" alt="$vbphrase[average]" /><label for="vote3"><input type="radio" name="vote" id="vote3" value="3" $votechecked[3] />$vbphrase[average]</label></div>
<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_2.gif" alt="$vbphrase[bad]" /><label for="vote2"><input type="radio" name="vote" id="vote2" value="2" $votechecked[2] />$vbphrase[bad]</label></div>
<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_1.gif" alt="$vbphrase[terrible]" /><label for="vote1"><input type="radio" name="vote" id="vote1" value="1" $votechecked[1] />$vbphrase[terrible]</label></div>
</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite" align="center">
<input type="hidden" name="s" value="$session[dbsessionhash]" />
<input type="hidden" name="t" value="$threadid" />
<input type="hidden" name="pp" value="$perpage" />
<input type="hidden" name="page" value="$pagenumber" />
<input type="submit" class="button" value="$vbphrase[vote_now]" />
</td>
</tr>
<else />
<tr>
<td>$vbphrase[already_rated_this_thread]</td>
</tr>
</if>
</table>
</form>
</div>
<!-- / thread rating 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" <if condition="!$show['search']">colspan="2"</if>>$vbphrase[thread_tools]<a name="goto_threadtools"></a></td>
<if condition="$show['search']"><td class="thead">$vbphrase[search_this_thread]<a name="goto_threadsearch"></a></td></if>
</tr>
<tr valign="top">
<td class="alt1" <if condition="!$show['search']">colspan="2"</if>>
<!-- thread tools -->
<div class="smallfont">
<if condition="!$show['search_engine']">
<div><img class="inlineimg" src="$stylevar[imgdir_button]/printer.gif" alt="$vbphrase[show_printable_version]" vspace="1" /> <a href="printthread.php?$session[sessionurl]t=$threadid" accesskey="p">$vbphrase[show_printable_version]</a></div>
<div><img class="inlineimg" src="$stylevar[imgdir_button]/sendtofriend.gif" alt="$vbphrase[email_this_page]" vspace="1" /> <a href="sendmessage.php?$session[sessionurl]do=sendtofriend&t=$threadid">$vbphrase[email_this_page]</a></div>
</if>
<if condition="$show['member']">
<div><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[subscription]" vspace="1" />
<if condition="$show['subscribed']">
<a href="subscription.php?$session[sessionurl]do=removesubscription&t=$threadid">$vbphrase[unsubscribe_from_this_thread]</a>
<else />
<a href="subscription.php?$session[sessionurl]do=addsubscription&t=$threadid">$vbphrase[subscribe_to_this_thread]</a>
</if>
</div>
</if>
<if condition="$show['addpoll']">
<div><img class="inlineimg" src="$stylevar[imgdir_button]/addpoll.gif" alt="$vbphrase[add_a_poll]" vspace="1" /> <a href="poll.php?$session[sessionurl]do=newpoll&t=$threadinfo[threadid]">$vbphrase[add_a_poll_to_this_thread]</a></div>
</if>
</div>
<!-- / thread tools -->
</td>
<if condition="$show['search']">
<td class="alt1">
<!-- search this thread -->
<form action="search.php" method="post">
<div class="smallfont">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="process" />
<input type="hidden" name="searchthread" value="1" />
<input type="hidden" name="showposts" value="1" />
<input type="hidden" name="searchthreadid" value="$threadid" />
<strong>$vbphrase[search_this_thread]</strong>:<br />
<input type="text" class="bginput" name="query" size="20" style="width:175px" />$gobutton<br />
<a href="search.php$session[sessionurl_q]">$vbphrase[advanced_search]</a>
</div>
</form>
<!-- / search this thread -->
</td>
</if>
</tr>
<if condition="$vboptions['allowthreadedmode'] OR $show['threadrating']">
<tr>
<if condition="$vboptions['allowthreadedmode']"><td class="thead" $nodhtmlcolspan>$vbphrase[display_modes]<a name="goto_displaymodes"></a></td></if>
<if condition="$show['threadrating']"><td class="thead" $nodhtmlcolspan>$vbphrase[rate_this_thread]<a name="goto_threadrating"></a></td></if>
</tr>
<tr valign="top">
<if condition="$vboptions['allowthreadedmode']">
<td class="alt2" $nodhtmlcolspan>
<!-- thread display modes -->
<div class="smallfont">
<div><img class="inlineimg" src="$stylevar[imgdir_button]/mode_linear.gif" alt="$vbphrase[linear_mode]" vspace="1" /> <if condition="$show['linearmode']"><strong>$vbphrase[linear_mode]</strong><else /><a href="showthread.php?$session[sessionurl]p=$FIRSTPOSTID&mode=linear$highlightwords#post$FIR STPOSTID">$vbphrase[switch_to_linear_mode]</a></if></div>
<div><img class="inlineimg" src="$stylevar[imgdir_button]/mode_hybrid.gif" alt="$vbphrase[hybrid_mode]" vspace="1" /> <if condition="$show['hybridmode']"><strong>$vbphrase[hybrid_mode]</strong><else /><a href="showthread.php?$session[sessionurl]mode=hybrid&t=$thread[threadid]$highlightwords">$vbphrase[switch_to_hybrid_mode]</a></if></div>
<div><img class="inlineimg" src="$stylevar[imgdir_button]/mode_threaded.gif" alt="$vbphrase[threaded_mode]" vspace="1" /> <if condition="$show['threadedmode']"><strong>$vbphrase[threaded_mode]</strong><else /><a href="showthread.php?$session[sessionurl]p=$FIRSTPOSTID&mode=threaded$highlightwords#post$F IRSTPOSTID">$vbphrase[switch_to_threaded_mode]</a></if></div>
</div>
<!-- / thread display modes -->
</td>
</if>
<if condition="$show['threadrating']">
<td class="alt2" $nodhtmlcolspan>
<!-- rate this thread -->
<form action="threadrate.php" method="post">
<div class="smallfont">
<input type="hidden" name="s" value="$session[dbsessionhash]" />
<input type="hidden" name="t" value="$threadid" />
<input type="hidden" name="pp" value="$perpage" />
<input type="hidden" name="page" value="$pagenumber" />
<strong>$vbphrase[rate_this_thread]</strong>:<br />
<select name="vote" onchange="this.form.submit()" style="width:175px">
<optgroup label="$vbphrase[choose_a_rating]">
<option value="5" $voteselected[5]>5 : $vbphrase[excellent]</option>
<option value="4" $voteselected[4]>4 : $vbphrase[good]</option>
<option value="3" $voteselected[3]>3 : $vbphrase[average]</option>
<option value="2" $voteselected[2]>2 : $vbphrase[bad]</option>
<option value="1" $voteselected[1]>1 : $vbphrase[terrible]</option>
</optgroup>
</select>$gobutton
</div>
</form>
<!-- / rate this thread -->
</td>
</if>
</tr>
</if>
</table>
<br />
<!-- / controls for non-popup browsers -->
</if>
<!-- forum rules and admin links -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr valign="bottom">
<td class="smallfont" align="$stylevar[left]">
$forumrules
</td>
<td class="smallfont" align="$stylevar[right]">
<table cellpadding="0" cellspacing="0" border="0">
<if condition="!$show['popups'] AND $show['adminoptions']">
<tr>
<td>
<div class="smallfont" style="text-align:$stylevar[left]; white-space:nowrap">
<form action="postings.php" method="post" name="adminoptionsform">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="t" value="$threadid" />
<strong>$vbphrase[admin_tools]</strong>:<br />
<select name="do" onchange="this.form.submit()">
<optgroup label="$vbphrase[thread_admin_tools]">
<if condition="$show['openclose']"><option value="openclosethread" selected="selected"><if condition="$show['closethread']">$vbphrase[close_thread]<else />$vbphrase[open_thread]</if></option></if>
<if condition="$show['editthread']"><option value="editthread">$vbphrase[edit_thread]</option></if>
<if condition="$show['deletethread']"><option value="deletethread">$vbphrase[delete_thread]</option></if>
<if condition="$show['movethread']"><option value="movethread">$vbphrase[move_copy_thread]</option></if>
<if condition="$show['managethread']">
<option value="stick"><if condition="$show['unstick']">$vbphrase[unstick_thread]<else />$vbphrase[stick_thread]</if></option>
<option value="mergethread">$vbphrase[merge_threads]</option>
<!--<option value="splitthread">$vbphrase[split_thread]</option>-->
<option value="removeredirect">$vbphrase[remove_redirects]</option>
</if>
<if condition="$show['editpoll']"><option value="editpoll">$vbphrase[edit_poll]</option></if>
</optgroup>
</select>$gobutton
</form>
</div>
</td>
</tr>
<br />
</if>
<tr>
<td>
$forumjump
</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- /forum rules and admin links -->
<br />
$similarthreads
$footer
<!-- temp -->
<div style="display:none">
<!-- thread rate -->
<if condition="$show['ratethread']">
<!-- thread ratings form here -->
<else />
<if condition="$show['threadrating']">
$vbphrase[you_rated_this_thread]: <strong>$threadinfo[vote]</strong>
</if>
</if>
<!-- / thread rate -->
</div>
</body>
</html>
Developer
04-02-2006, 09:41 PM
Support Given For Who Clicked Install {ONLY}
Pcparts
04-03-2006, 12:59 PM
Thanks for this hack.
I installed it, works for me (as admin) but not for normal registered users. They dont get to see the menu in the dropdown?
any idea what it could be?
chuanguyen2000
04-03-2006, 06:33 PM
this very kool, thanks alot
can add this in Postbit ?
<if condition="$thread['postuserid'] == $bbuserinfo['userid']">
<tr>
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/best.gif" />
<if condition="in_array($thread['threadid'], $mybestthread)">
<a href="showthread.php?$session[sessionurl]do=removemybest&t=$threadid">$vbphrase[mybest_remove]</a>
<else />
<a href="showthread.php?$session[sessionurl]do=addmybest&t=$threadid">$vbphrase[mybest_add]</a>
</if>
</td>
</tr>
</if>
Nathan2006
04-03-2006, 07:40 PM
Thank you Developer
Tested & is working great!:D
Install
EDIT:
Found just 1 problem :(
When a member views another members profile when looking at the Best Threads list at the bottom all the threads the user chose don't show up for other members to see.
That's a member choosing best threads and the admin not being able to view anything:confused:
I did all the template edits and the table is there but no info in it for other threads :(
Thank you for any help :)
chuanguyen2000
04-06-2006, 05:52 AM
if you can add Other Threads into Best Threads too, that be great?
hope that will release :) thanks agains
MarsNIIT
04-09-2006, 05:10 PM
Support Given For Who Clicked Install {ONLY}
Clicked Install :P
akanevsky
04-09-2006, 05:13 PM
What's the difference between this and my vBFavorites?
Allan
04-09-2006, 05:26 PM
What's the difference between this and my vBFavorites?
Easy install of course ;)
No templates modifications.
Nj?rd Eriksson
04-15-2006, 08:05 AM
Found just 1 problem :(
When a member views another members profile when looking at the Best Threads list at the bottom all the threads the user chose don't show up for other members to see.
That's a member choosing best threads and the admin not being able to view anything:confused:
I did all the template edits and the table is there but no info in it for other threads :(
Thank you for any help :) Yes, one can only see the threads in one's own profile but not the threads in other members' profiles.
Replace 3 in hook location member_start with:
$mybestthread1 = $vbulletin->GPC['userid'];
$mybestthread2 = mysql_query("SELECT * FROM " . TABLE_PREFIX . "user WHERE userid = $mybestthread1");
while ($row = mysql_fetch_assoc($mybestthread2)) {
$mybestthreads = $row['oneof'];
}
if ($mybestthreads == NULL) {
$mybestthreads = "0";
}
Developer
04-15-2006, 12:51 PM
Update Is Coming Soon !!
Developer
04-15-2006, 04:11 PM
1.2.4 On 15. Apr 2006 Fix a slight bug
Developer
04-15-2006, 04:12 PM
What's the difference between this and my vBFavorites?
Completelty different this hack give users a feature to select thier best thread
Nathan2006
04-15-2006, 06:25 PM
Hi,
I have removed all the previous code from the other install and installed the new product but I'm getting this error?
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/forum/public_html/includes/adminfunctions_template.php(3537) : eval()'d code on line 344
This happens when I add this code:
<if condition="$thread['postuserid'] == $bbuserinfo['userid']">
<tr>
<td class="vbmenu_option"><if condition="in_array($thread['threadid'], $mybestthread)">
<a href="showthread.php?$session[sessionurl]do=removemybest&t=$threadid">$vbphrase[mybest_remove]</a>
<else />
<a href="showthread.php?$session[sessionurl]do=addmybest&t=$threadid">$vbphrase[mybest_add]</a>
</if>
Thank you for any help :)
Developer
04-15-2006, 06:54 PM
fixed. :)
edit the template again
Nathan2006
04-15-2006, 07:12 PM
fixed. :)
edit the template again
Hi thank you for your reply,
The only problem is that this code:
<if condition="$thread['postuserid'] == $bbuserinfo['userid']">
<tr>
<td class="vbmenu_option"> <if condition="in_array($thread['threadid'], $mybestthread)"><a href="showthread.php?$session[sessionurl]do=removemybest&t=$threadid">$vbphrase[mybest_remove]</a><else /><a href="showthread.php?$session[sessionurl]do=addmybest&t=$threadid">$vbphrase[mybest_add]</a></if></td>
</tr>
</if>
Does not seem to show the image as in the old code?
<if condition="$thread['postuserid'] == $bbuserinfo['userid']">
<tr>
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/best.gif" />
<if condition="in_array($thread['threadid'], $mybestthread)">
<a href="showthread.php?$session[sessionurl]do=removemybest&t=$threadid">$vbphrase[mybest_remove]</a>
<else />
<a href="showthread.php?$session[sessionurl]do=addmybest&t=$threadid">$vbphrase[mybest_add]</a>
</if>
</td>
</tr>
</if>
Or is it me just being stupid?:D
Im not getting an image in the showthread
Developer
04-15-2006, 07:21 PM
Hi thank you for your reply,
The only problem is that this code:
<if condition="$thread['postuserid'] == $bbuserinfo['userid']">
<tr>
<td class="vbmenu_option"> <if condition="in_array($thread['threadid'], $mybestthread)"><a href="showthread.php?$session[sessionurl]do=removemybest&t=$threadid">$vbphrase[mybest_remove]</a><else /><a href="showthread.php?$session[sessionurl]do=addmybest&t=$threadid">$vbphrase[mybest_add]</a></if></td>
</tr>
</if>
Does not seem to show the image as in the old code?
<if condition="$thread['postuserid'] == $bbuserinfo['userid']">
<tr>
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/best.gif" />
<if condition="in_array($thread['threadid'], $mybestthread)">
<a href="showthread.php?$session[sessionurl]do=removemybest&t=$threadid">$vbphrase[mybest_remove]</a>
<else />
<a href="showthread.php?$session[sessionurl]do=addmybest&t=$threadid">$vbphrase[mybest_add]</a>
</if>
</td>
</tr>
</if>
Or is it me just being stupid?:D
Im not getting an image in the showthread
yup, no image but u can use one with this code
<if condition="$thread['postuserid'] == $bbuserinfo['userid']">
<tr>
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/best.gif" /><if condition="in_array($thread['threadid'], $mybestthread)"><a href="showthread.php?$session[sessionurl]do=removemybest&t=$threadid">$vbphrase[mybest_remove]</a><else /><a href="showthread.php?$session[sessionurl]do=addmybest&t=$threadid">$vbphrase[mybest_add]</a></if></td>
</tr>
</if>
Nathan2006
04-15-2006, 09:38 PM
Hi,
I had a few problems with it so I just used the code for the upgrade and now when trying to view a members profile I'm receiving the following error.
Database error in vBulletin 3.5.4:
Invalid SQL:
SELECT thread.threadid,
thread.title AS tht,
thread.postusername,
thread.replycount,
thread.lastposter,
thread.lastpost,
thread.dateline,
user.userid AS lastposterid2,
thread.views,
thread.attach,
forum.title AS fot,
forum.forumid AS fir
FROM thread AS thread
LEFT JOIN forum AS forum ON (thread.forumid = forum.forumid)
LEFT JOIN user AS user ON (thread.lastposter = user.username)
WHERE thread.threadid IN ()
AND thread.postuserid = 3
order by thread.threadid Desc
LIMIT 0, 99;
MySQL Error : You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ')
AND thread.postuserid = 3
order by thread.threadi
Error Number : 1064
Thank you for any help :)
Developer
04-17-2006, 03:25 AM
1.2.6 On 17. Apr 2006 Fix A minor bug & add alternate alt & no threads error
Nathan2006
04-17-2006, 03:34 AM
1.2.6 On 17. Apr 2006 Fix A minor bug & add alternate alt & no threads error
Thank you Developer
this is working great now :cool:
Is there anyway to add a closed thread to "Best Threads" as they don't have an option?
Thanks again :)
Developer
04-17-2006, 03:37 AM
Thank you Developer
this is working great now :cool:
Is there anyway to add a closed thread to "Best Threads" as they don't have an option?
Thanks again :)
you could do this by changing the edit in template showthread
Nathan2006
04-17-2006, 03:48 AM
you could do this by changing the edit in template showthread
Thanks
oops I found 1 more problem
When admin adds threads from the staff section members can see them threads,
Not sure if its happening to you too?
Thanks for your help :)
Very nice! *installed* ;)
Developer
04-17-2006, 12:53 PM
Thanks
oops I found 1 more problem
When admin adds threads from the staff section members can see them threads,
Not sure if its happening to you too?
Thanks for your help :)
i'll fetch forum permission in next release :)
*BTW:You make my hacks better
Nathan2006
04-18-2006, 10:06 AM
i'll fetch forum permission in next release :)
*BTW:You make my hacks better
Thanks:)
I'm getting the same problem as this member
If you sign in as a normal member you cannot add any best threads at all.
I even made a test member account to an admin and that does not appear for that either. I even tried a moderator account too but still no luck :(
It only seems to work for admins lol
Thanks for any help :)
Thanks for this hack.
I installed it, works for me (as admin) but not for normal registered users. They dont get to see the menu in the dropdown?
any idea what it could be?
jeddah_eyes
04-18-2006, 01:10 PM
thanks u develper u r the best i said before .
Developer
04-18-2006, 10:01 PM
Thanks:)
I'm getting the same problem as this member
If you sign in as a normal member you cannot add any best threads at all.
I even made a test member account to an admin and that does not appear for that either. I even tried a moderator account too but still no luck :(
It only seems to work for admins lol
Thanks for any help :)
nop i test it and works for all :surprised:
in template edit did u find
<tr>
<td class="thead">$vbphrase[thread_tools]<a name="goto_threadtools"></a></td>
</tr>
twice or just one time?
Allan
04-18-2006, 10:49 PM
Thanks Developer :)
Click Install
But this hack work only for admin, no members ....
File Attach, French Language ;)
Nathan2006
04-18-2006, 11:32 PM
nop i test it and works for all :surprised:
in template edit did u find
<tr>
<td class="thead">$vbphrase[thread_tools]<a name="goto_threadtools"></a></td>
</tr>
twice or just one time?
Hi,
I only found it once here is all the code I have within the showthread
I have checked it again but no joy with it for members or moderators
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$thread[title]<if condition="$pagenumber>1"> - <phrase 1="$pagenumber">$vbphrase[page_x]</phrase></if> - $vboptions[bbtitle]</title>
<script language="JavaScript">
<!--//BEGIN Script
function new_window(url) {
link = window.open(url,"Link","toolbar=0,location=0,directories=0,status=0,menuba r=0,scrollbars=1,resizable=1,width=500,height=250, left=180,top=180");
}
//END Script-->
</script>
</head>
<body onload="$onload">
$header
$navbar
$poll
<if condition="$show['inlinemod']">
$spacer_close
<form action="inlinemod.php" method="post" id="inlinemodform">
$spacer_open
</if>
<a name="poststop" id="poststop"></a>
<!-- controls above postbits -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px">
<tr valign="bottom">
<if condition="$show['largereplybutton']">
<td class="smallfont"><a href="newreply.php?$session[sessionurl]do=newreply&noquote=1&p=$FIRSTPOSTID" rel="nofollow"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" /></if></a></td>
<else />
<td class="smallfont"> </td>
</if>
<if condition="$show['pagenav']"><td align="$stylevar[right]">$pagenav</td></if>
</tr>
</table>
<!-- / controls above postbits -->
<!-- toolbar -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:0px">
<tr>
<td class="tcat" width="100%">
<div class="smallfont">
<if condition="$show['firstunreadlink']">
<a href="$firstunread"><img class="inlineimg" src="$stylevar[imgdir_button]/firstnew.gif" alt="$vbphrase[view_first_unread]" border="0" /></a>
<a href="$firstunread"><strong>$vbphrase[view_first_unread]</strong></a>
</if>
</div>
</td>
<td class="vbmenu_control" id="threadtools" nowrap="nowrap">
<a href="$show[nojs_link]#goto_threadtools"<if condition="is_browser('ie')"> accesskey="3"</if>>$vbphrase[thread_tools]</a>
<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadtools"); </script></if>
</td>
<if condition="$show['search']">
<td class="vbmenu_control" id="threadsearch" nowrap="nowrap">
<a href="$show[nojs_link]#goto_threadsearch">$vbphrase[search_this_thread]</a>
<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadsearch"); </script></if>
</td>
</if>
<if condition="$show['threadrating']">
<td class="vbmenu_control" id="threadrating" nowrap="nowrap">
<a href="$show[nojs_link]#goto_threadrating"><if condition="$show['rating']">$vbphrase[rating]: <img class="inlineimg" src="$stylevar[imgdir_rating]/rating_$thread[rating].gif" alt="<phrase 1="$thread[votenum]" 2="$thread[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" border="0" /><else />$vbphrase[rate_thread]</if></a>
<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadrating"); </script></if>
</td>
</if>
<if condition="$vboptions['allowthreadedmode']">
<td class="vbmenu_control" id="displaymodes" nowrap="nowrap">
<a href="$show[nojs_link]#goto_displaymodes">$vbphrase[display_modes]</a>
<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("displaymodes"); </script></if>
</td>
</if>
<if condition="$show['inlinemod']">
<if condition="$show['popups']">
<td class="vbmenu_control" id="imod" align="center" title="$vbphrase[moderation]"><script type="text/javascript"> vbmenu_register('imod'); </script></td>
<else />
<td class="thead" align="center">
<input type="checkbox" name="allbox" id="checkall_all" title="$vbphrase[check_uncheck_all]" onclick="inlineMod.check_all()" />
</td>
</if>
</if>
</tr>
</table>
<!-- / toolbar -->
<if condition="$show['inlinemod'] AND $show['popups']">
<div class="vbmenu_popup" id="imod_menu" style="display:none" align="$stylevar[left]">
$threadadmin_imod_menu_post
</div>
</if>
<!-- end content table -->
$spacer_close
<!-- / end content table -->
<if condition="$show['threadedmode'] OR $show['hybridmode']">
<!-- thread posts list -->
$threadlist
<!-- /thread posts list -->
</if>
<div id="posts">$postbits<div id="lastpost"></div></div>
<!-- start content table -->
$spacer_open
<!-- / start content table -->
<!-- controls below postbits -->
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr valign="top">
<if condition="$show['largereplybutton']">
<td class="smallfont"><a href="newreply.php?$session[sessionurl]do=newreply&noquote=1&p=$LASTPOSTID" rel="nofollow"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" /></if></a></td>
<else />
<td class="smallfont"> </td>
</if>
<if condition="$show['pagenav'] OR $show['inlinemod']">
<td align="$stylevar[right]">$pagenav
<if condition="$show['inlinemod']">
<div class="smallfont" style="text-align:$stylevar[left]; white-space:nowrap; float:$stylevar[right]">
<if condition="$show['pagenav']"><br /></if><strong>$vbphrase[moderation]</strong><br />
<select name="do">
<optgroup label="$vbphrase[option]">
<if condition="$show['managethread']">
<option value="mergeposts">$vbphrase[merge_posts]</option>
<option value="moveposts">$vbphrase[move_posts]</option>
</if>
<if condition="$show['managepost']">
<option value="deleteposts">$vbphrase[delete_posts]</option>
<option value="undeleteposts">$vbphrase[undelete_posts]</option>
</if>
<if condition="$show['approvepost']">
<option value="approveposts">$vbphrase[approve_posts]</option>
<option value="unapproveposts">$vbphrase[unapprove_posts]</option>
</if>
<if condition="$show['approveattachment']">
<option value="approveattachments">$vbphrase[approve_attachments]</option>
<option value="unapproveattachments">$vbphrase[unapprove_attachments]</option>
</if>
</optgroup>
<optgroup label="____________________">
<option value="clearpost">$vbphrase[clear_post_list]</option>
</optgroup>
</select><input type="submit" class="button" id="inlinego" value="$vbphrase[go]" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="threadid" value="$threadinfo[threadid]" />
<input type="hidden" name="p" value="$postid" />
<input type="hidden" name="url" value="$url" />
</div>
<script type="text/javascript" src="clientscript/vbulletin_inlinemod.js"></script>
<script type="text/javascript">
<!--
inlineMod = new vB_Inline_Mod('inlineMod', 'post', 'inlinemodform', '$vbphrase[go_x]');
//-->
</script>
</if>
</td>
</if>
</tr>
</table>
<!-- / controls below postbits -->
<if condition="$show['inlinemod']">
$spacer_close
</form>
$spacer_open
</if>
<if condition="!$show['search_engine']">
<br />
<div class="smallfont" align="center">
<strong>«</strong>
<a href="showthread.php?$session[sessionurl]t=$threadid&goto=nextoldest">$vbphrase[prev_thread]</a>
|
<a href="showthread.php?$session[sessionurl]t=$threadid&goto=nextnewest">$vbphrase[next_thread]</a>
<strong>»</strong>
</div>
</if>
<br />
<if condition="$show['quickreply'] OR $show['ajax_js']">
<!-- ajax errors table -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" style="display:none; position:absolute" id="ajax_post_errors">
<tr>
<td class="thead">
<span style="float:$stylevar[right]"><input type="button" class="button" value=" X " onclick="vB_QuickEditor.hide_errors()" unselectable="true" /></span>
$vbphrase[vbulletin_message]
</td>
</tr>
<tr>
<td class="alt2" colspan="2" id="ajax_post_errors_message"> </td>
</tr>
<tr>
<td class="tfoot" colspan="2" align="center"><a href="#" onclick="vB_QuickEditor.abort(); return false;">$vbphrase[cancel_changes]</a></td>
</tr>
</table>
<!-- / ajax errors table -->
<!-- scripts for quick reply and quick edit -->
$vBeditTemplate[clientscript]
<if condition="$show['quickedit']">
<script type="text/javascript" src="clientscript/vbulletin_quick_edit.js"></script>
<script type="text/javascript">
<!--
vB_AJAX_QuickEdit_Init('posts');
//-->
</script>
</if>
<!-- / scripts for quick reply and quick edit -->
</if>
<if condition="$show['quickreply']">
<!-- quick reply -->
<form action="newreply.php" method="post" name="vbform" onsubmit="return qr_prepare_submit(this, $vboptions[postminchars]);" id="qrform">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="2">
<if condition="$show['quickreply_collapse']"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('quickreply');"><img id="collapseimg_quickreply" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_quickreply].gif" alt="" border="0" /></a></if>
$vbphrase[quick_reply]
</td>
</tr>
</thead>
<tbody id="qr_error_tbody" style="display:none">
<tr>
<td class="thead">$vbphrase[errors_occured_when_submitted]</td>
</tr>
<tr>
<td class="alt1" id="qr_error_td"></td>
</tr>
<tr>
<td class="tfoot" align="center"><span class="smallfont"><a href="#" onclick="return qr_hide_errors()">$vbphrase[okay]</a></span></td>
</tr>
</tbody>
<tbody id="collapseobj_quickreply" style="$vbcollapse[collapseobj_quickreply]">
<tr>
<td class="panelsurround" align="center">
<div class="panel">
<table cellpadding="0" cellspacing="0" border="0" align="center">
<tr>
<td class="smallfont" align="$stylevar[left]">$vbphrase[message]:</td>
</tr>
<tr>
<td id="$editorid" class="vBulletin_editor" align="$stylevar[left]">$messagearea</td>
</tr>
<tr>
<td align="$stylevar[left]">
<fieldset class="fieldset" style="margin:$stylevar[formspacer]px 0px 0px 0px">
<legend>$vbphrase[options]</legend>
<div>
<if condition="$bbuserinfo['signature']">
<div style="float:$stylevar[right]"><label for="cb_signature"><input type="checkbox" name="signature" value="1" id="cb_signature" tabindex="5" checked="checked" />$vbphrase[show_your_signature]</label></div>
</if>
<label for="qr_quickreply"><input type="checkbox" name="quickreply" value="1" id="qr_quickreply" accesskey="w" tabindex="4" />$vbphrase[quote_message_in_reply]</label>
</div>
</fieldset>
<if condition="$show['oldthreadwarning']">
<fieldset class="fieldset" style="margin:$stylevar[formspacer]px 0px 0px 0px">
<legend>$vbphrase[old_thread_warning]</legend>
<div>
<img src="$stylevar[imgdir_misc]/exclamation.gif" align="left" width="40" height="42" alt="" /><phrase 1="$threaddays">$vbphrase[thread_x_days_old]</phrase><br />
<label for="cb_forcepost"><input type="checkbox" name="forcepost" value="1" id="cb_forcepost" />$vbphrase[thread_age_accepted]</label>
</div>
</fieldset>
</if>
</td>
</tr>
</table>
</div>
<div style="margin-top:$stylevar[cellpadding]px">
<input type="hidden" name="fromquickreply" value="1" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="postreply" />
<input type="hidden" name="t" value="$threadid" id="qr_threadid" />
<input type="hidden" name="p" value="$qrpostid" id="qr_postid" />
<input type="hidden" name="parseurl" value="1" />
<input type="hidden" name="loggedinuser" value="$bbuserinfo[userid]" />
<input type="submit" class="button" value="$vbphrase[post_quick_reply]" accesskey="s" title="(Alt + S)" name="sbutton" tabindex="2" id="qr_submit" onclick="clickedelm = this.value" />
<input type="submit" class="button" value="$vbphrase[go_advanced]" accesskey="x" title="(Alt + X)" name="preview" tabindex="3" id="qr_preview" onclick="clickedelm = this.value" />
</div>
<div align="center" id="qr_posting_msg" style="display:none; margin-top:6px">
<strong>$vbphrase[posting_quick_reply_please_wait]</strong>
</div>
</td>
</tr>
</tbody>
</table>
</form>
<if condition="!is_browser('ie') AND $show['wysiwyg']">
<!-- Mozilla work around for focusing on QR in WYSIWYG mode -->
<div id="qr_scroll"></div>
</if>
<br />
<script type="text/javascript" src="clientscript/vbulletin_quick_reply.js"></script>
<!-- end quick reply -->
</if>
<!-- currently active users -->
<if condition="$show['activeusers']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat" colspan="2">
<phrase 1="$totalonline" 2="$numberregistered" 3="$numberguest">$vbphrase[users_viewing_this_thread_x_y_z]</phrase>
</td>
</tr>
<tr>
<td class="alt1" colspan="2">
<span class="smallfont">$activeusers</span>
</td>
</tr>
</table>
</if>
<!-- end currently active users -->
<if condition="$show['popups']">
<!-- popup menu contents -->
<br />
<!-- thread tools menu -->
<div class="vbmenu_popup" id="threadtools_menu" style="display:none">
<form action="postings.php" method="post" name="threadadminform">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[thread_tools]<a name="goto_threadtools"></a></td>
</tr>
<tr>
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/printer.gif" alt="$vbphrase[show_printable_version]" /> <a href="printthread.php?$session[sessionurl]t=$threadid" accesskey="3" rel="nofollow">$vbphrase[show_printable_version]</a></td>
</tr>
<tr>
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/sendtofriend.gif" alt="$vbphrase[email_this_page]" /> <a href="sendmessage.php?$session[sessionurl]do=sendtofriend&t=$threadid" rel="nofollow">$vbphrase[email_this_page]</a></td>
</tr>
<if condition="$show['member']">
<tr>
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[subscription]" />
<if condition="$show['subscribed']">
<a href="subscription.php?$session[sessionurl]do=removesubscription&t=$threadid" rel="nofollow">$vbphrase[unsubscribe_from_this_thread]</a>
<else />
<a href="subscription.php?$session[sessionurl]do=addsubscription&t=$threadid" rel="nofollow">$vbphrase[subscribe_to_this_thread]</a>
</if>
</td>
</tr>
</if>
<if condition="$show['addpoll']">
<tr>
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[add_a_poll]" /> <a href="poll.php?$session[sessionurl]do=newpoll&t=$threadinfo[threadid]">$vbphrase[add_a_poll_to_this_thread]</a></td>
</tr>
</if>
<if condition="$thread['postuserid'] == $bbuserinfo['userid']">
<tr>
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/best.gif" /><if condition="in_array($thread['threadid'], $mybestthread)"><a href="showthread.php?$session[sessionurl]do=removemybest&t=$threadid">$vbphrase[mybest_remove]</a><else /><a href="showthread.php?$session[sessionurl]do=addmybest&t=$threadid">$vbphrase[mybest_add]</a></if></td>
</tr>
</if>
<if condition="$show['adminoptions']">
<tr>
<td class="thead">$vbphrase[admin_tools]<a name="goto_threadadmin"></a></td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<if condition="$show['openclose']"><div><label for="ao_oct"><input type="radio" name="do" id="ao_oct" value="openclosethread" checked="checked" /><if condition="$show['closethread']">$vbphrase[close_thread]<else />$vbphrase[open_thread]</if></label></div></if>
<if condition="$show['btu_canban']">
<div><label for="ao_btu"><input type="radio" name="do" id="ao_btu" value="btu_clear" />$vbphrase[btu_clear]</label></div>
<div><label for="ao_btua"><input type="radio" name="do" id="ao_btua" value="btu_clear_all" />$vbphrase[btu_clear_all]</label></div>
<div><label for="ao_btuv"><input type="radio" name="do" id="ao_btuv" value="btu_view_all" />$vbphrase[btu_view_all]</label></div>
</if>
<if condition="$show['movethread']"><div><label for="ao_mvt"><input type="radio" name="do" id="ao_mvt" value="movethread" />$vbphrase[move_copy_thread]</label></div></if>
<if condition="$show['editthread']"><div><label for="ao_edt"><input type="radio" name="do" id="ao_edt" value="editthread" />$vbphrase[edit_thread]</label></div></if>
<if condition="$show['deletethread']"><div><label for="ao_dlt"><input type="radio" name="do" id="ao_dlt" value="deletethread" />$vbphrase[delete_thread]</label></div></if>
<if condition="$show['managethread']">
<div><label for="ao_sut"><input type="radio" name="do" id="ao_sut" value="stick" /><if condition="$show['unstick']">$vbphrase[unstick_thread]<else />$vbphrase[stick_thread]</if></label></div>
<div><label for="ao_mtr"><input type="radio" name="do" id="ao_mtr" value="recyclebin" />$vbphrase[move_thread_to_recycle_bin]</label></div>
<div><label for="ao_mgt"><input type="radio" name="do" id="ao_mgt" value="mergethread" />$vbphrase[merge_threads]</label></div>
<!--<div><label for="ao_spt"><input type="radio" name="do" id="ao_spt" value="splitthread" />$vbphrase[split_thread]</label></div>-->
<div><label for="ao_rrd"><input type="radio" name="do" id="ao_rrd" value="removeredirect" />$vbphrase[remove_redirects]</label></div>
</if>
<if condition="$show['editpoll']"><div><label for="ao_edp"><input type="radio" name="do" id="ao_edp" value="editpoll" />$vbphrase[edit_poll]</label></div></if>
</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite" align="center">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="t" value="$threadid" />
<input type="hidden" name="pollid" value="$pollid" />
<input type="submit" class="button" value="$vbphrase[perform_action]" />
</td>
</tr>
</if>
</table>
</form>
</div>
<!-- / thread tools menu -->
<if condition="$vboptions['allowthreadedmode']">
<!-- ************************************************** ** -->
<!-- thread display mode menu -->
<div class="vbmenu_popup" id="displaymodes_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[display_modes]<a name="goto_displaymodes"></a></td>
</tr>
<tr>
<if condition="$show['linearmode']">
<td class="vbmenu_option" title="nohilite"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_linear.gif" alt="$vbphrase[linear_mode]" /> <strong>$vbphrase[linear_mode]</strong></td>
<else />
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_linear.gif" alt="$vbphrase[linear_mode]" /> <a href="showthread.php?$session[sessionurl]p=$FIRSTPOSTID&mode=linear$highlightwords#post$FIR STPOSTID">$vbphrase[switch_to_linear_mode]</a></td>
</if>
</tr>
<tr>
<if condition="$show['hybridmode']">
<td class="vbmenu_option" title="nohilite"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_hybrid.gif" alt="$vbphrase[hybrid_mode]" /> <strong>$vbphrase[hybrid_mode]</strong></td>
<else />
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_hybrid.gif" alt="$vbphrase[hybrid_mode]" /> <a href="showthread.php?$session[sessionurl]mode=hybrid&t=$thread[threadid]$highlightwords">$vbphrase[switch_to_hybrid_mode]</a></td>
</if>
</tr>
<tr>
<if condition="$show['threadedmode']">
<td class="vbmenu_option" title="nohilite"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_threaded.gif" alt="$vbphrase[threaded_mode]" /> <strong>$vbphrase[threaded_mode]</strong></td>
<else />
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_threaded.gif" alt="$vbphrase[threaded_mode]" /> <a href="showthread.php?$session[sessionurl]p=$FIRSTPOSTID&mode=threaded$highlightwords#post$F IRSTPOSTID">$vbphrase[switch_to_threaded_mode]</a></td>
</if>
</tr>
</table>
</div>
<!-- / thread display mode menu -->
</if>
<!-- ************************************************** ** -->
<if condition="$show['search']">
<!-- thread search menu -->
<div class="vbmenu_popup" id="threadsearch_menu" style="display:none">
<form action="search.php" method="post">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[search_this_thread]<a name="goto_threadsearch"></a></td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="process" />
<input type="hidden" name="searchthread" value="1" />
<input type="hidden" name="showposts" value="1" />
<input type="hidden" name="searchthreadid" value="$threadid" />
<input type="text" class="bginput" name="query" size="20" />$gobutton<br />
</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php$session[sessionurl_q]">$vbphrase[advanced_search]</a></td>
</tr>
</table>
</form>
</div>
<!-- / thread search menu -->
</if>
<!-- ************************************************** ** -->
<!-- thread rating menu -->
<div class="vbmenu_popup" id="threadrating_menu" style="display:none">
<form action="threadrate.php" method="post">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[rate_this_thread]<a name="goto_threadrating"></a><if condition="in_array($bbuserinfo[usergroupid], array(6))"><a href="#" onclick="javascript:new_window('misc.php?do=whorate&threadid=$threadinfo[threadid]')">$vbphrase[devel_whorate_who]?</a></if></td>
</tr>
<if condition="$show['ratethread']">
<tr>
<td class="vbmenu_option" title="nohilite">
<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_5.gif" alt="$vbphrase[excellent]" /><label for="vote5"><input type="radio" name="vote" id="vote5" value="5" $votechecked[5] />$vbphrase[excellent]</label></div>
<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_4.gif" alt="$vbphrase[good]" /><label for="vote4"><input type="radio" name="vote" id="vote4" value="4" $votechecked[4] />$vbphrase[good]</label></div>
<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_3.gif" alt="$vbphrase[average]" /><label for="vote3"><input type="radio" name="vote" id="vote3" value="3" $votechecked[3] />$vbphrase[average]</label></div>
<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_2.gif" alt="$vbphrase[bad]" /><label for="vote2"><input type="radio" name="vote" id="vote2" value="2" $votechecked[2] />$vbphrase[bad]</label></div>
<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_1.gif" alt="$vbphrase[terrible]" /><label for="vote1"><input type="radio" name="vote" id="vote1" value="1" $votechecked[1] />$vbphrase[terrible]</label></div>
</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite" align="center">
<input type="hidden" name="s" value="$session[dbsessionhash]" />
<input type="hidden" name="t" value="$threadid" />
<input type="hidden" name="pp" value="$perpage" />
<input type="hidden" name="page" value="$pagenumber" />
<input type="submit" class="button" value="$vbphrase[vote_now]" />
</td>
</tr>
<else />
<tr>
<td>$vbphrase[already_rated_this_thread]</td>
</tr>
</if>
</table>
</form>
</div>
<!-- / thread rating 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" <if condition="!$show['search']">colspan="2"</if>>$vbphrase[thread_tools]<a name="goto_threadtools"></a></td>
<if condition="$show['search']"><td class="thead">$vbphrase[search_this_thread]<a name="goto_threadsearch"></a></td></if>
</tr>
<tr valign="top">
<td class="alt1" <if condition="!$show['search']">colspan="2"</if>>
<!-- thread tools -->
<div class="smallfont">
<if condition="!$show['search_engine']">
<div><img class="inlineimg" src="$stylevar[imgdir_button]/printer.gif" alt="$vbphrase[show_printable_version]" vspace="1" /> <a href="printthread.php?$session[sessionurl]t=$threadid" accesskey="p" rel="nofollow">$vbphrase[show_printable_version]</a></div>
<div><img class="inlineimg" src="$stylevar[imgdir_button]/sendtofriend.gif" alt="$vbphrase[email_this_page]" vspace="1" /> <a href="sendmessage.php?$session[sessionurl]do=sendtofriend&t=$threadid" rel="nofollow">$vbphrase[email_this_page]</a></div>
</if>
<if condition="$show['member']">
<div><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[subscription]" vspace="1" />
<if condition="$show['subscribed']">
<a href="subscription.php?$session[sessionurl]do=removesubscription&t=$threadid">$vbphrase[unsubscribe_from_this_thread]</a>
<else />
<a href="subscription.php?$session[sessionurl]do=addsubscription&t=$threadid">$vbphrase[subscribe_to_this_thread]</a>
</if>
</div>
</if>
<if condition="$show['addpoll']">
<div><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[add_a_poll]" vspace="1" /> <a href="poll.php?$session[sessionurl]do=newpoll&t=$threadinfo[threadid]">$vbphrase[add_a_poll_to_this_thread]</a></div>
</if>
</div>
<!-- / thread tools -->
</td>
<if condition="$show['search']">
<td class="alt1">
<!-- search this thread -->
<form action="search.php" method="post">
<div class="smallfont">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="process" />
<input type="hidden" name="searchthread" value="1" />
<input type="hidden" name="showposts" value="1" />
<input type="hidden" name="searchthreadid" value="$threadid" />
<strong>$vbphrase[search_this_thread]</strong>:<br />
<input type="text" class="bginput" name="query" size="20" style="width:175px" />$gobutton<br />
<a href="search.php$session[sessionurl_q]">$vbphrase[advanced_search]</a>
</div>
</form>
<!-- / search this thread -->
</td>
</if>
</tr>
<if condition="$vboptions['allowthreadedmode'] OR $show['threadrating']">
<tr>
<if condition="$vboptions['allowthreadedmode']"><td class="thead" $nodhtmlcolspan>$vbphrase[display_modes]<a name="goto_displaymodes"></a></td></if>
<if condition="$show['threadrating']"><td class="thead" $nodhtmlcolspan>$vbphrase[rate_this_thread]<a name="goto_threadrating"></a></td></if>
</tr>
<tr valign="top">
<if condition="$vboptions['allowthreadedmode']">
<td class="alt2" $nodhtmlcolspan>
<!-- thread display modes -->
<div class="smallfont">
<div><img class="inlineimg" src="$stylevar[imgdir_button]/mode_linear.gif" alt="$vbphrase[linear_mode]" vspace="1" /> <if condition="$show['linearmode']"><strong>$vbphrase[linear_mode]</strong><else /><a href="showthread.php?$session[sessionurl]p=$FIRSTPOSTID&mode=linear$highlightwords#post$FIR STPOSTID">$vbphrase[switch_to_linear_mode]</a></if></div>
<div><img class="inlineimg" src="$stylevar[imgdir_button]/mode_hybrid.gif" alt="$vbphrase[hybrid_mode]" vspace="1" /> <if condition="$show['hybridmode']"><strong>$vbphrase[hybrid_mode]</strong><else /><a href="showthread.php?$session[sessionurl]mode=hybrid&t=$thread[threadid]$highlightwords">$vbphrase[switch_to_hybrid_mode]</a></if></div>
<div><img class="inlineimg" src="$stylevar[imgdir_button]/mode_threaded.gif" alt="$vbphrase[threaded_mode]" vspace="1" /> <if condition="$show['threadedmode']"><strong>$vbphrase[threaded_mode]</strong><else /><a href="showthread.php?$session[sessionurl]p=$FIRSTPOSTID&mode=threaded$highlightwords#post$F IRSTPOSTID">$vbphrase[switch_to_threaded_mode]</a></if></div>
</div>
<!-- / thread display modes -->
</td>
</if>
<if condition="$show['threadrating']">
<td class="alt2" $nodhtmlcolspan>
<!-- rate this thread -->
<form action="threadrate.php" method="post">
<div class="smallfont">
<input type="hidden" name="s" value="$session[dbsessionhash]" />
<input type="hidden" name="t" value="$threadid" />
<input type="hidden" name="pp" value="$perpage" />
<input type="hidden" name="page" value="$pagenumber" />
<strong>$vbphrase[rate_this_thread]</strong>:<br />
<select name="vote" onchange="this.form.submit()" style="width:175px">
<optgroup label="$vbphrase[choose_a_rating]">
<option value="5" $voteselected[5]>5 : $vbphrase[excellent]</option>
<option value="4" $voteselected[4]>4 : $vbphrase[good]</option>
<option value="3" $voteselected[3]>3 : $vbphrase[average]</option>
<option value="2" $voteselected[2]>2 : $vbphrase[bad]</option>
<option value="1" $voteselected[1]>1 : $vbphrase[terrible]</option>
</optgroup>
</select>$gobutton
</div>
</form>
<!-- / rate this thread -->
</td>
</if>
</tr>
</if>
</table>
<br />
<!-- / controls for non-popup browsers -->
</if>
<!-- forum rules and admin links -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr valign="bottom">
<td class="smallfont" align="$stylevar[left]">
$forumrules
</td>
<td class="smallfont" align="$stylevar[right]">
<table cellpadding="0" cellspacing="0" border="0">
<if condition="!$show['popups'] AND $show['adminoptions']">
<tr>
<td>
<div class="smallfont" style="text-align:$stylevar[left]; white-space:nowrap">
<form action="postings.php" method="post" name="adminoptionsform">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="t" value="$threadid" />
<strong>$vbphrase[admin_tools]</strong>:<br />
<select name="do" onchange="this.form.submit()">
<optgroup label="$vbphrase[thread_admin_tools]">
<if condition="$show['openclose']"><option value="openclosethread" selected="selected"><if condition="$show['closethread']">$vbphrase[close_thread]<else />$vbphrase[open_thread]</if></option></if>
<if condition="$show['editthread']"><option value="editthread">$vbphrase[edit_thread]</option></if>
<if condition="$show['deletethread']"><option value="deletethread">$vbphrase[delete_thread]</option></if>
<if condition="$show['movethread']"><option value="movethread">$vbphrase[move_copy_thread]</option></if>
<if condition="$show['managethread']">
<option value="stick"><if condition="$show['unstick']">$vbphrase[unstick_thread]<else />$vbphrase[stick_thread]</if></option>
<option value="recyclebin">$vbphrase[move_thread_to_recycle_bin]</option>
<option value="mergethread">$vbphrase[merge_threads]</option>
<!--<option value="splitthread">$vbphrase[split_thread]</option>-->
<option value="removeredirect">$vbphrase[remove_redirects]</option>
</if>
<if condition="$show['editpoll']"><option value="editpoll">$vbphrase[edit_poll]</option></if>
</optgroup>
</select>$gobutton
</form>
</div>
</td>
</tr>
<br />
</if>
<tr>
<td>
$forumjump
</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- /forum rules and admin links -->
<br />
$similarthreads
$footer
<!-- temp -->
<div style="display:none">
<!-- thread rate -->
<if condition="$show['ratethread']">
<!-- thread ratings form here -->
<else />
<if condition="$show['threadrating']">
$vbphrase[you_rated_this_thread]: <strong>$threadinfo[vote]</strong>
</if>
</if>
<!-- / thread rate -->
</div>
</body>
</html>
Developer
04-21-2006, 04:29 AM
1.2.7 On 21. Apr 2006 Add forum permission for threads (Users that doesn't have permission to view threads from restricted forums can't view them)
Developer
04-21-2006, 04:39 AM
Try this edit
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$thread[title]<if condition="$pagenumber>1"> - <phrase 1="$pagenumber">$vbphrase[page_x]</phrase></if> - $vboptions[bbtitle]</title>
<script language="JavaScript">
<!--//BEGIN Script
function new_window(url) {
link = window.open(url,"Link","toolbar=0,location=0,directories=0,status=0,menuba r=0,scrollbars=1,resizable=1,width=500,height=250, left=180,top=180");
}
//END Script-->
</script>
</head>
<body onload="$onload">
$header
$navbar
$poll
<if condition="$show['inlinemod']">
$spacer_close
<form action="inlinemod.php" method="post" id="inlinemodform">
$spacer_open
</if>
<a name="poststop" id="poststop"></a>
<!-- controls above postbits -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px">
<tr valign="bottom">
<if condition="$show['largereplybutton']">
<td class="smallfont"><a href="newreply.php?$session[sessionurl]do=newreply&noquote=1&p=$FIRSTPOSTID" rel="nofollow"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" /></if></a></td>
<else />
<td class="smallfont"> </td>
</if>
<if condition="$show['pagenav']"><td align="$stylevar[right]">$pagenav</td></if>
</tr>
</table>
<!-- / controls above postbits -->
<!-- toolbar -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:0px">
<tr>
<td class="tcat" width="100%">
<div class="smallfont">
<if condition="$show['firstunreadlink']">
<a href="$firstunread"><img class="inlineimg" src="$stylevar[imgdir_button]/firstnew.gif" alt="$vbphrase[view_first_unread]" border="0" /></a>
<a href="$firstunread"><strong>$vbphrase[view_first_unread]</strong></a>
</if>
</div>
</td>
<td class="vbmenu_control" id="threadtools" nowrap="nowrap">
<a href="$show[nojs_link]#goto_threadtools"<if condition="is_browser('ie')"> accesskey="3"</if>>$vbphrase[thread_tools]</a>
<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadtools"); </script></if>
</td>
<if condition="$show['search']">
<td class="vbmenu_control" id="threadsearch" nowrap="nowrap">
<a href="$show[nojs_link]#goto_threadsearch">$vbphrase[search_this_thread]</a>
<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadsearch"); </script></if>
</td>
</if>
<if condition="$show['threadrating']">
<td class="vbmenu_control" id="threadrating" nowrap="nowrap">
<a href="$show[nojs_link]#goto_threadrating"><if condition="$show['rating']">$vbphrase[rating]: <img class="inlineimg" src="$stylevar[imgdir_rating]/rating_$thread[rating].gif" alt="<phrase 1="$thread[votenum]" 2="$thread[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" border="0" /><else />$vbphrase[rate_thread]</if></a>
<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadrating"); </script></if>
</td>
</if>
<if condition="$vboptions['allowthreadedmode']">
<td class="vbmenu_control" id="displaymodes" nowrap="nowrap">
<a href="$show[nojs_link]#goto_displaymodes">$vbphrase[display_modes]</a>
<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("displaymodes"); </script></if>
</td>
</if>
<if condition="$show['inlinemod']">
<if condition="$show['popups']">
<td class="vbmenu_control" id="imod" align="center" title="$vbphrase[moderation]"><script type="text/javascript"> vbmenu_register('imod'); </script></td>
<else />
<td class="thead" align="center">
<input type="checkbox" name="allbox" id="checkall_all" title="$vbphrase[check_uncheck_all]" onclick="inlineMod.check_all()" />
</td>
</if>
</if>
</tr>
</table>
<!-- / toolbar -->
<if condition="$show['inlinemod'] AND $show['popups']">
<div class="vbmenu_popup" id="imod_menu" style="display:none" align="$stylevar[left]">
$threadadmin_imod_menu_post
</div>
</if>
<!-- end content table -->
$spacer_close
<!-- / end content table -->
<if condition="$show['threadedmode'] OR $show['hybridmode']">
<!-- thread posts list -->
$threadlist
<!-- /thread posts list -->
</if>
<div id="posts">$postbits<div id="lastpost"></div></div>
<!-- start content table -->
$spacer_open
<!-- / start content table -->
<!-- controls below postbits -->
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr valign="top">
<if condition="$show['largereplybutton']">
<td class="smallfont"><a href="newreply.php?$session[sessionurl]do=newreply&noquote=1&p=$LASTPOSTID" rel="nofollow"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" /></if></a></td>
<else />
<td class="smallfont"> </td>
</if>
<if condition="$show['pagenav'] OR $show['inlinemod']">
<td align="$stylevar[right]">$pagenav
<if condition="$show['inlinemod']">
<div class="smallfont" style="text-align:$stylevar[left]; white-space:nowrap; float:$stylevar[right]">
<if condition="$show['pagenav']"><br /></if><strong>$vbphrase[moderation]</strong><br />
<select name="do">
<optgroup label="$vbphrase[option]">
<if condition="$show['managethread']">
<option value="mergeposts">$vbphrase[merge_posts]</option>
<option value="moveposts">$vbphrase[move_posts]</option>
</if>
<if condition="$show['managepost']">
<option value="deleteposts">$vbphrase[delete_posts]</option>
<option value="undeleteposts">$vbphrase[undelete_posts]</option>
</if>
<if condition="$show['approvepost']">
<option value="approveposts">$vbphrase[approve_posts]</option>
<option value="unapproveposts">$vbphrase[unapprove_posts]</option>
</if>
<if condition="$show['approveattachment']">
<option value="approveattachments">$vbphrase[approve_attachments]</option>
<option value="unapproveattachments">$vbphrase[unapprove_attachments]</option>
</if>
</optgroup>
<optgroup label="____________________">
<option value="clearpost">$vbphrase[clear_post_list]</option>
</optgroup>
</select><input type="submit" class="button" id="inlinego" value="$vbphrase[go]" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="threadid" value="$threadinfo[threadid]" />
<input type="hidden" name="p" value="$postid" />
<input type="hidden" name="url" value="$url" />
</div>
<script type="text/javascript" src="clientscript/vbulletin_inlinemod.js"></script>
<script type="text/javascript">
<!--
inlineMod = new vB_Inline_Mod('inlineMod', 'post', 'inlinemodform', '$vbphrase[go_x]');
//-->
</script>
</if>
</td>
</if>
</tr>
</table>
<!-- / controls below postbits -->
<if condition="$show['inlinemod']">
$spacer_close
</form>
$spacer_open
</if>
<if condition="!$show['search_engine']">
<br />
<div class="smallfont" align="center">
<strong>«</strong>
<a href="showthread.php?$session[sessionurl]t=$threadid&goto=nextoldest">$vbphrase[prev_thread]</a>
|
<a href="showthread.php?$session[sessionurl]t=$threadid&goto=nextnewest">$vbphrase[next_thread]</a>
<strong>»</strong>
</div>
</if>
<br />
<if condition="$show['quickreply'] OR $show['ajax_js']">
<!-- ajax errors table -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" style="display:none; position:absolute" id="ajax_post_errors">
<tr>
<td class="thead">
<span style="float:$stylevar[right]"><input type="button" class="button" value=" X " onclick="vB_QuickEditor.hide_errors()" unselectable="true" /></span>
$vbphrase[vbulletin_message]
</td>
</tr>
<tr>
<td class="alt2" colspan="2" id="ajax_post_errors_message"> </td>
</tr>
<tr>
<td class="tfoot" colspan="2" align="center"><a href="#" onclick="vB_QuickEditor.abort(); return false;">$vbphrase[cancel_changes]</a></td>
</tr>
</table>
<!-- / ajax errors table -->
<!-- scripts for quick reply and quick edit -->
$vBeditTemplate[clientscript]
<if condition="$show['quickedit']">
<script type="text/javascript" src="clientscript/vbulletin_quick_edit.js"></script>
<script type="text/javascript">
<!--
vB_AJAX_QuickEdit_Init('posts');
//-->
</script>
</if>
<!-- / scripts for quick reply and quick edit -->
</if>
<if condition="$show['quickreply']">
<!-- quick reply -->
<form action="newreply.php" method="post" name="vbform" onsubmit="return qr_prepare_submit(this, $vboptions[postminchars]);" id="qrform">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="2">
<if condition="$show['quickreply_collapse']"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('quickreply');"><img id="collapseimg_quickreply" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_quickreply].gif" alt="" border="0" /></a></if>
$vbphrase[quick_reply]
</td>
</tr>
</thead>
<tbody id="qr_error_tbody" style="display:none">
<tr>
<td class="thead">$vbphrase[errors_occured_when_submitted]</td>
</tr>
<tr>
<td class="alt1" id="qr_error_td"></td>
</tr>
<tr>
<td class="tfoot" align="center"><span class="smallfont"><a href="#" onclick="return qr_hide_errors()">$vbphrase[okay]</a></span></td>
</tr>
</tbody>
<tbody id="collapseobj_quickreply" style="$vbcollapse[collapseobj_quickreply]">
<tr>
<td class="panelsurround" align="center">
<div class="panel">
<table cellpadding="0" cellspacing="0" border="0" align="center">
<tr>
<td class="smallfont" align="$stylevar[left]">$vbphrase[message]:</td>
</tr>
<tr>
<td id="$editorid" class="vBulletin_editor" align="$stylevar[left]">$messagearea</td>
</tr>
<tr>
<td align="$stylevar[left]">
<fieldset class="fieldset" style="margin:$stylevar[formspacer]px 0px 0px 0px">
<legend>$vbphrase[options]</legend>
<div>
<if condition="$bbuserinfo['signature']">
<div style="float:$stylevar[right]"><label for="cb_signature"><input type="checkbox" name="signature" value="1" id="cb_signature" tabindex="5" checked="checked" />$vbphrase[show_your_signature]</label></div>
</if>
<label for="qr_quickreply"><input type="checkbox" name="quickreply" value="1" id="qr_quickreply" accesskey="w" tabindex="4" />$vbphrase[quote_message_in_reply]</label>
</div>
</fieldset>
<if condition="$show['oldthreadwarning']">
<fieldset class="fieldset" style="margin:$stylevar[formspacer]px 0px 0px 0px">
<legend>$vbphrase[old_thread_warning]</legend>
<div>
<img src="$stylevar[imgdir_misc]/exclamation.gif" align="left" width="40" height="42" alt="" /><phrase 1="$threaddays">$vbphrase[thread_x_days_old]</phrase><br />
<label for="cb_forcepost"><input type="checkbox" name="forcepost" value="1" id="cb_forcepost" />$vbphrase[thread_age_accepted]</label>
</div>
</fieldset>
</if>
</td>
</tr>
</table>
</div>
<div style="margin-top:$stylevar[cellpadding]px">
<input type="hidden" name="fromquickreply" value="1" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="postreply" />
<input type="hidden" name="t" value="$threadid" id="qr_threadid" />
<input type="hidden" name="p" value="$qrpostid" id="qr_postid" />
<input type="hidden" name="parseurl" value="1" />
<input type="hidden" name="loggedinuser" value="$bbuserinfo[userid]" />
<input type="submit" class="button" value="$vbphrase[post_quick_reply]" accesskey="s" title="(Alt + S)" name="sbutton" tabindex="2" id="qr_submit" onclick="clickedelm = this.value" />
<input type="submit" class="button" value="$vbphrase[go_advanced]" accesskey="x" title="(Alt + X)" name="preview" tabindex="3" id="qr_preview" onclick="clickedelm = this.value" />
</div>
<div align="center" id="qr_posting_msg" style="display:none; margin-top:6px">
<strong>$vbphrase[posting_quick_reply_please_wait]</strong>
</div>
</td>
</tr>
</tbody>
</table>
</form>
<if condition="!is_browser('ie') AND $show['wysiwyg']">
<!-- Mozilla work around for focusing on QR in WYSIWYG mode -->
<div id="qr_scroll"></div>
</if>
<br />
<script type="text/javascript" src="clientscript/vbulletin_quick_reply.js"></script>
<!-- end quick reply -->
</if>
<!-- currently active users -->
<if condition="$show['activeusers']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat" colspan="2">
<phrase 1="$totalonline" 2="$numberregistered" 3="$numberguest">$vbphrase[users_viewing_this_thread_x_y_z]</phrase>
</td>
</tr>
<tr>
<td class="alt1" colspan="2">
<span class="smallfont">$activeusers</span>
</td>
</tr>
</table>
</if>
<!-- end currently active users -->
<if condition="$show['popups']">
<!-- popup menu contents -->
<br />
<!-- thread tools menu -->
<div class="vbmenu_popup" id="threadtools_menu" style="display:none">
<form action="postings.php" method="post" name="threadadminform">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[thread_tools]<a name="goto_threadtools"></a></td>
</tr>
<if condition="$thread['postuserid'] == $bbuserinfo['userid']">
<tr>
<td class="vbmenu_option"> <if condition="in_array($thread['threadid'], $mybestthread)"><a href="showthread.php?$session[sessionurl]do=removemybest&t=$threadid">$vbphrase[mybest_remove]</a><else /><a href="showthread.php?$session[sessionurl]do=addmybest&t=$threadid">$vbphrase[mybest_add]</a></if></td>
</tr>
</if>
<tr>
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/printer.gif" alt="$vbphrase[show_printable_version]" /> <a href="printthread.php?$session[sessionurl]t=$threadid" accesskey="3" rel="nofollow">$vbphrase[show_printable_version]</a></td>
</tr>
<tr>
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/sendtofriend.gif" alt="$vbphrase[email_this_page]" /> <a href="sendmessage.php?$session[sessionurl]do=sendtofriend&t=$threadid" rel="nofollow">$vbphrase[email_this_page]</a></td>
</tr>
<if condition="$show['member']">
<tr>
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[subscription]" />
<if condition="$show['subscribed']">
<a href="subscription.php?$session[sessionurl]do=removesubscription&t=$threadid" rel="nofollow">$vbphrase[unsubscribe_from_this_thread]</a>
<else />
<a href="subscription.php?$session[sessionurl]do=addsubscription&t=$threadid" rel="nofollow">$vbphrase[subscribe_to_this_thread]</a>
</if>
</td>
</tr>
</if>
<if condition="$show['addpoll']">
<tr>
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[add_a_poll]" /> <a href="poll.php?$session[sessionurl]do=newpoll&t=$threadinfo[threadid]">$vbphrase[add_a_poll_to_this_thread]</a></td>
</tr>
</if>
<if condition="$thread['postuserid'] == $bbuserinfo['userid']">
<tr>
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/best.gif" /><if condition="in_array($thread['threadid'], $mybestthread)"><a href="showthread.php?$session[sessionurl]do=removemybest&t=$threadid">$vbphrase[mybest_remove]</a><else /><a href="showthread.php?$session[sessionurl]do=addmybest&t=$threadid">$vbphrase[mybest_add]</a></if></td>
</tr>
</if>
<if condition="$show['adminoptions']">
<tr>
<td class="thead">$vbphrase[admin_tools]<a name="goto_threadadmin"></a></td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<if condition="$show['openclose']"><div><label for="ao_oct"><input type="radio" name="do" id="ao_oct" value="openclosethread" checked="checked" /><if condition="$show['closethread']">$vbphrase[close_thread]<else />$vbphrase[open_thread]</if></label></div></if>
<if condition="$show['btu_canban']">
<div><label for="ao_btu"><input type="radio" name="do" id="ao_btu" value="btu_clear" />$vbphrase[btu_clear]</label></div>
<div><label for="ao_btua"><input type="radio" name="do" id="ao_btua" value="btu_clear_all" />$vbphrase[btu_clear_all]</label></div>
<div><label for="ao_btuv"><input type="radio" name="do" id="ao_btuv" value="btu_view_all" />$vbphrase[btu_view_all]</label></div>
</if>
<if condition="$show['movethread']"><div><label for="ao_mvt"><input type="radio" name="do" id="ao_mvt" value="movethread" />$vbphrase[move_copy_thread]</label></div></if>
<if condition="$show['editthread']"><div><label for="ao_edt"><input type="radio" name="do" id="ao_edt" value="editthread" />$vbphrase[edit_thread]</label></div></if>
<if condition="$show['deletethread']"><div><label for="ao_dlt"><input type="radio" name="do" id="ao_dlt" value="deletethread" />$vbphrase[delete_thread]</label></div></if>
<if condition="$show['managethread']">
<div><label for="ao_sut"><input type="radio" name="do" id="ao_sut" value="stick" /><if condition="$show['unstick']">$vbphrase[unstick_thread]<else />$vbphrase[stick_thread]</if></label></div>
<div><label for="ao_mtr"><input type="radio" name="do" id="ao_mtr" value="recyclebin" />$vbphrase[move_thread_to_recycle_bin]</label></div>
<div><label for="ao_mgt"><input type="radio" name="do" id="ao_mgt" value="mergethread" />$vbphrase[merge_threads]</label></div>
<!--<div><label for="ao_spt"><input type="radio" name="do" id="ao_spt" value="splitthread" />$vbphrase[split_thread]</label></div>-->
<div><label for="ao_rrd"><input type="radio" name="do" id="ao_rrd" value="removeredirect" />$vbphrase[remove_redirects]</label></div>
</if>
<if condition="$show['editpoll']"><div><label for="ao_edp"><input type="radio" name="do" id="ao_edp" value="editpoll" />$vbphrase[edit_poll]</label></div></if>
</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite" align="center">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="t" value="$threadid" />
<input type="hidden" name="pollid" value="$pollid" />
<input type="submit" class="button" value="$vbphrase[perform_action]" />
</td>
</tr>
</if>
</table>
</form>
</div>
<!-- / thread tools menu -->
<if condition="$vboptions['allowthreadedmode']">
<!-- ************************************************** ** -->
<!-- thread display mode menu -->
<div class="vbmenu_popup" id="displaymodes_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[display_modes]<a name="goto_displaymodes"></a></td>
</tr>
<tr>
<if condition="$show['linearmode']">
<td class="vbmenu_option" title="nohilite"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_linear.gif" alt="$vbphrase[linear_mode]" /> <strong>$vbphrase[linear_mode]</strong></td>
<else />
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_linear.gif" alt="$vbphrase[linear_mode]" /> <a href="showthread.php?$session[sessionurl]p=$FIRSTPOSTID&mode=linear$highlightwords#post$FIR STPOSTID">$vbphrase[switch_to_linear_mode]</a></td>
</if>
</tr>
<tr>
<if condition="$show['hybridmode']">
<td class="vbmenu_option" title="nohilite"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_hybrid.gif" alt="$vbphrase[hybrid_mode]" /> <strong>$vbphrase[hybrid_mode]</strong></td>
<else />
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_hybrid.gif" alt="$vbphrase[hybrid_mode]" /> <a href="showthread.php?$session[sessionurl]mode=hybrid&t=$thread[threadid]$highlightwords">$vbphrase[switch_to_hybrid_mode]</a></td>
</if>
</tr>
<tr>
<if condition="$show['threadedmode']">
<td class="vbmenu_option" title="nohilite"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_threaded.gif" alt="$vbphrase[threaded_mode]" /> <strong>$vbphrase[threaded_mode]</strong></td>
<else />
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_threaded.gif" alt="$vbphrase[threaded_mode]" /> <a href="showthread.php?$session[sessionurl]p=$FIRSTPOSTID&mode=threaded$highlightwords#post$F IRSTPOSTID">$vbphrase[switch_to_threaded_mode]</a></td>
</if>
</tr>
</table>
</div>
<!-- / thread display mode menu -->
</if>
<!-- ************************************************** ** -->
<if condition="$show['search']">
<!-- thread search menu -->
<div class="vbmenu_popup" id="threadsearch_menu" style="display:none">
<form action="search.php" method="post">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[search_this_thread]<a name="goto_threadsearch"></a></td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="process" />
<input type="hidden" name="searchthread" value="1" />
<input type="hidden" name="showposts" value="1" />
<input type="hidden" name="searchthreadid" value="$threadid" />
<input type="text" class="bginput" name="query" size="20" />$gobutton<br />
</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php$session[sessionurl_q]">$vbphrase[advanced_search]</a></td>
</tr>
</table>
</form>
</div>
<!-- / thread search menu -->
</if>
<!-- ************************************************** ** -->
<!-- thread rating menu -->
<div class="vbmenu_popup" id="threadrating_menu" style="display:none">
<form action="threadrate.php" method="post">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[rate_this_thread]<a name="goto_threadrating"></a><if condition="in_array($bbuserinfo[usergroupid], array(6))"><a href="#" onclick="javascript:new_window('misc.php?do=whorate&threadid=$threadinfo[threadid]')">$vbphrase[devel_whorate_who]?</a></if></td>
</tr>
<if condition="$show['ratethread']">
<tr>
<td class="vbmenu_option" title="nohilite">
<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_5.gif" alt="$vbphrase[excellent]" /><label for="vote5"><input type="radio" name="vote" id="vote5" value="5" $votechecked[5] />$vbphrase[excellent]</label></div>
<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_4.gif" alt="$vbphrase[good]" /><label for="vote4"><input type="radio" name="vote" id="vote4" value="4" $votechecked[4] />$vbphrase[good]</label></div>
<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_3.gif" alt="$vbphrase[average]" /><label for="vote3"><input type="radio" name="vote" id="vote3" value="3" $votechecked[3] />$vbphrase[average]</label></div>
<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_2.gif" alt="$vbphrase[bad]" /><label for="vote2"><input type="radio" name="vote" id="vote2" value="2" $votechecked[2] />$vbphrase[bad]</label></div>
<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_1.gif" alt="$vbphrase[terrible]" /><label for="vote1"><input type="radio" name="vote" id="vote1" value="1" $votechecked[1] />$vbphrase[terrible]</label></div>
</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite" align="center">
<input type="hidden" name="s" value="$session[dbsessionhash]" />
<input type="hidden" name="t" value="$threadid" />
<input type="hidden" name="pp" value="$perpage" />
<input type="hidden" name="page" value="$pagenumber" />
<input type="submit" class="button" value="$vbphrase[vote_now]" />
</td>
</tr>
<else />
<tr>
<td>$vbphrase[already_rated_this_thread]</td>
</tr>
</if>
</table>
</form>
</div>
<!-- / thread rating 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" <if condition="!$show['search']">colspan="2"</if>>$vbphrase[thread_tools]<a name="goto_threadtools"></a></td>
<if condition="$show['search']"><td class="thead">$vbphrase[search_this_thread]<a name="goto_threadsearch"></a></td></if>
</tr>
<tr valign="top">
<td class="alt1" <if condition="!$show['search']">colspan="2"</if>>
<!-- thread tools -->
<div class="smallfont">
<if condition="!$show['search_engine']">
<div><img class="inlineimg" src="$stylevar[imgdir_button]/printer.gif" alt="$vbphrase[show_printable_version]" vspace="1" /> <a href="printthread.php?$session[sessionurl]t=$threadid" accesskey="p" rel="nofollow">$vbphrase[show_printable_version]</a></div>
<div><img class="inlineimg" src="$stylevar[imgdir_button]/sendtofriend.gif" alt="$vbphrase[email_this_page]" vspace="1" /> <a href="sendmessage.php?$session[sessionurl]do=sendtofriend&t=$threadid" rel="nofollow">$vbphrase[email_this_page]</a></div>
</if>
<if condition="$show['member']">
<div><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[subscription]" vspace="1" />
<if condition="$show['subscribed']">
<a href="subscription.php?$session[sessionurl]do=removesubscription&t=$threadid">$vbphrase[unsubscribe_from_this_thread]</a>
<else />
<a href="subscription.php?$session[sessionurl]do=addsubscription&t=$threadid">$vbphrase[subscribe_to_this_thread]</a>
</if>
</div>
</if>
<if condition="$show['addpoll']">
<div><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[add_a_poll]" vspace="1" /> <a href="poll.php?$session[sessionurl]do=newpoll&t=$threadinfo[threadid]">$vbphrase[add_a_poll_to_this_thread]</a></div>
</if>
</div>
<!-- / thread tools -->
</td>
<if condition="$show['search']">
<td class="alt1">
<!-- search this thread -->
<form action="search.php" method="post">
<div class="smallfont">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="process" />
<input type="hidden" name="searchthread" value="1" />
<input type="hidden" name="showposts" value="1" />
<input type="hidden" name="searchthreadid" value="$threadid" />
<strong>$vbphrase[search_this_thread]</strong>:<br />
<input type="text" class="bginput" name="query" size="20" style="width:175px" />$gobutton<br />
<a href="search.php$session[sessionurl_q]">$vbphrase[advanced_search]</a>
</div>
</form>
<!-- / search this thread -->
</td>
</if>
</tr>
<if condition="$vboptions['allowthreadedmode'] OR $show['threadrating']">
<tr>
<if condition="$vboptions['allowthreadedmode']"><td class="thead" $nodhtmlcolspan>$vbphrase[display_modes]<a name="goto_displaymodes"></a></td></if>
<if condition="$show['threadrating']"><td class="thead" $nodhtmlcolspan>$vbphrase[rate_this_thread]<a name="goto_threadrating"></a></td></if>
</tr>
<tr valign="top">
<if condition="$vboptions['allowthreadedmode']">
<td class="alt2" $nodhtmlcolspan>
<!-- thread display modes -->
<div class="smallfont">
<div><img class="inlineimg" src="$stylevar[imgdir_button]/mode_linear.gif" alt="$vbphrase[linear_mode]" vspace="1" /> <if condition="$show['linearmode']"><strong>$vbphrase[linear_mode]</strong><else /><a href="showthread.php?$session[sessionurl]p=$FIRSTPOSTID&mode=linear$highlightwords#post$FIR STPOSTID">$vbphrase[switch_to_linear_mode]</a></if></div>
<div><img class="inlineimg" src="$stylevar[imgdir_button]/mode_hybrid.gif" alt="$vbphrase[hybrid_mode]" vspace="1" /> <if condition="$show['hybridmode']"><strong>$vbphrase[hybrid_mode]</strong><else /><a href="showthread.php?$session[sessionurl]mode=hybrid&t=$thread[threadid]$highlightwords">$vbphrase[switch_to_hybrid_mode]</a></if></div>
<div><img class="inlineimg" src="$stylevar[imgdir_button]/mode_threaded.gif" alt="$vbphrase[threaded_mode]" vspace="1" /> <if condition="$show['threadedmode']"><strong>$vbphrase[threaded_mode]</strong><else /><a href="showthread.php?$session[sessionurl]p=$FIRSTPOSTID&mode=threaded$highlightwords#post$F IRSTPOSTID">$vbphrase[switch_to_threaded_mode]</a></if></div>
</div>
<!-- / thread display modes -->
</td>
</if>
<if condition="$show['threadrating']">
<td class="alt2" $nodhtmlcolspan>
<!-- rate this thread -->
<form action="threadrate.php" method="post">
<div class="smallfont">
<input type="hidden" name="s" value="$session[dbsessionhash]" />
<input type="hidden" name="t" value="$threadid" />
<input type="hidden" name="pp" value="$perpage" />
<input type="hidden" name="page" value="$pagenumber" />
<strong>$vbphrase[rate_this_thread]</strong>:<br />
<select name="vote" onchange="this.form.submit()" style="width:175px">
<optgroup label="$vbphrase[choose_a_rating]">
<option value="5" $voteselected[5]>5 : $vbphrase[excellent]</option>
<option value="4" $voteselected[4]>4 : $vbphrase[good]</option>
<option value="3" $voteselected[3]>3 : $vbphrase[average]</option>
<option value="2" $voteselected[2]>2 : $vbphrase[bad]</option>
<option value="1" $voteselected[1]>1 : $vbphrase[terrible]</option>
</optgroup>
</select>$gobutton
</div>
</form>
<!-- / rate this thread -->
</td>
</if>
</tr>
</if>
</table>
<br />
<!-- / controls for non-popup browsers -->
</if>
<!-- forum rules and admin links -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr valign="bottom">
<td class="smallfont" align="$stylevar[left]">
$forumrules
</td>
<td class="smallfont" align="$stylevar[right]">
<table cellpadding="0" cellspacing="0" border="0">
<if condition="!$show['popups'] AND $show['adminoptions']">
<tr>
<td>
<div class="smallfont" style="text-align:$stylevar[left]; white-space:nowrap">
<form action="postings.php" method="post" name="adminoptionsform">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="t" value="$threadid" />
<strong>$vbphrase[admin_tools]</strong>:<br />
<select name="do" onchange="this.form.submit()">
<optgroup label="$vbphrase[thread_admin_tools]">
<if condition="$show['openclose']"><option value="openclosethread" selected="selected"><if condition="$show['closethread']">$vbphrase[close_thread]<else />$vbphrase[open_thread]</if></option></if>
<if condition="$show['editthread']"><option value="editthread">$vbphrase[edit_thread]</option></if>
<if condition="$show['deletethread']"><option value="deletethread">$vbphrase[delete_thread]</option></if>
<if condition="$show['movethread']"><option value="movethread">$vbphrase[move_copy_thread]</option></if>
<if condition="$show['managethread']">
<option value="stick"><if condition="$show['unstick']">$vbphrase[unstick_thread]<else />$vbphrase[stick_thread]</if></option>
<option value="recyclebin">$vbphrase[move_thread_to_recycle_bin]</option>
<option value="mergethread">$vbphrase[merge_threads]</option>
<!--<option value="splitthread">$vbphrase[split_thread]</option>-->
<option value="removeredirect">$vbphrase[remove_redirects]</option>
</if>
<if condition="$show['editpoll']"><option value="editpoll">$vbphrase[edit_poll]</option></if>
</optgroup>
</select>$gobutton
</form>
</div>
</td>
</tr>
<br />
</if>
<tr>
<td>
$forumjump
</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- /forum rules and admin links -->
<br />
$similarthreads
$footer
<!-- temp -->
<div style="display:none">
<!-- thread rate -->
<if condition="$show['ratethread']">
<!-- thread ratings form here -->
<else />
<if condition="$show['threadrating']">
$vbphrase[you_rated_this_thread]: <strong>$threadinfo[vote]</strong>
</if>
</if>
<!-- / thread rate -->
</div>
</body>
</html>
and i am realy try it many times and works great with members and admins
.
BTW: thnx allan and i will update the french version soon
Nathan2006
04-21-2006, 09:48 AM
Try this edit
[and i am realy try it many times and works great with members and admins
I have had a good look around and I think it is a permissions thing that is in some code that seems to be making it admin viewable only but the only permission code I can find in the showthread is the code for your show who rated this thread (Your other hack) but I uninstalled that and it doing the same admins only :(
I will have a good look through everything today and see what I can find
Thank you very much for all your help :)
tei727
04-23-2006, 06:52 PM
I have the same issue. Admins only can see this option in forum threads.
Developer
04-23-2006, 07:56 PM
:confused:
ok try to do this edit
open template Showthread
find:
<a href="$firstunread"><strong>$vbphrase[view_first_unread]</strong></a>
</if>
add below it:
<if condition="$thread['postuserid'] == $bbuserinfo['userid']">
<if condition="in_array($thread['threadid'], $mybestthread)">
<a href="showthread.php?$session[sessionurl]do=removemybest&t=$threadid">$vbphrase[mybest_remove]</a><else /><a href="showthread.php?$session[sessionurl]do=addmybest&t=$threadid">$vbphrase[mybest_add]</a></if>
</if>
Invalid ID
04-24-2006, 04:41 AM
Dear Devolper, I have acted upon your instructions, but there's no new link in my Thread Tool.
Can you help me?
Thanks
Developer
04-24-2006, 02:05 PM
try to do the last edit in post # 104
Nathan2006
04-24-2006, 02:25 PM
try to do the last edit in post # 104
Hi Developer,
I have tried that code and it works now for Admin and Members but not working for moderators :(
Any ideas?
Developer
04-24-2006, 02:31 PM
:hurt:
i am sure i didn't put any conditions for usergroups
but let me see
Invalid ID
05-01-2006, 01:19 PM
It's working only for the Admin. There's not link for the regular users.
Developer
05-01-2006, 02:03 PM
Now, i had test the hack with another forum
and it works :(
could u plz give me ur modified template
Invalid ID
05-01-2006, 05:42 PM
Sure
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$thread[title]<if condition="$pagenumber>1"> - <phrase 1="$pagenumber">$vbphrase[page_x]</phrase></if> - $vboptions[bbtitle]</title>
</head>
<body onload="$onload">
$header
$navbar
$mmez
<br />
$poll
<if condition="$show['inlinemod']">
$spacer_close
<form action="inlinemod.php" method="post" id="inlinemodform">
$spacer_open
</if>
<a name="poststop" id="poststop"></a>
<!-- controls above postbits -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px">
<tr valign="bottom">
<if condition="$show['largereplybutton']">
<td class="smallfont"><a href="newreply.php?$session[sessionurl]do=newreply&noquote=1&p=$FIRSTPOSTID" rel="nofollow"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" /></if></a></td>
<else />
<td class="smallfont"> </td>
</if>
<if condition="$show['pagenav']"><td align="$stylevar[right]">$pagenav</td></if>
</tr>
</table>
<!-- / controls above postbits -->
<!-- toolbar -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:0px">
<tr>
<td class="tcat" width="100%">
<div class="smallfont">
<if condition="$show['firstunreadlink']">
<a href="$firstunread"><img class="inlineimg" src="$stylevar[imgdir_button]/firstnew.gif" alt="$vbphrase[view_first_unread]" border="0" /></a>
<a href="$firstunread"><strong>$vbphrase[view_first_unread]</strong></a>
</if>
</div>
</td>
<td class="vbmenu_control" id="threadtools" nowrap="nowrap">
<a href="$show[nojs_link]#goto_threadtools"<if condition="is_browser('ie')"> accesskey="3"</if>>$vbphrase[thread_tools]</a>
<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadtools"); </script></if>
</td>
<if condition="$show['search']">
<td class="vbmenu_control" id="threadsearch" nowrap="nowrap">
<a href="$show[nojs_link]#goto_threadsearch">$vbphrase[search_this_thread]</a>
<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadsearch"); </script></if>
</td>
</if>
<if condition="$show['threadrating']">
<td class="vbmenu_control" id="threadrating" nowrap="nowrap">
<a href="$show[nojs_link]#goto_threadrating"><if condition="$show['rating']">$vbphrase[rating]: <img class="inlineimg" src="$stylevar[imgdir_rating]/rating_$thread[rating].gif" alt="<phrase 1="$thread[votenum]" 2="$thread[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" border="0" /><else />$vbphrase[rate_thread]</if></a>
<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadrating"); </script></if>
</td>
</if>
<if condition="$vboptions['allowthreadedmode']">
<td class="vbmenu_control" id="displaymodes" nowrap="nowrap">
<a href="$show[nojs_link]#goto_displaymodes">$vbphrase[display_modes]</a>
<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("displaymodes"); </script></if>
</td>
</if>
<if condition="$show['inlinemod']">
<if condition="$show['popups']">
<td class="vbmenu_control" id="imod" align="center" title="$vbphrase[moderation]"><script type="text/javascript"> vbmenu_register('imod'); </script></td>
<else />
<td class="thead" align="center">
<input type="checkbox" name="allbox" id="checkall_all" title="$vbphrase[check_uncheck_all]" onclick="inlineMod.check_all()" />
</td>
</if>
</if>
</tr>
</table>
<!-- / toolbar -->
<if condition="$show['inlinemod'] AND $show['popups']">
<div class="vbmenu_popup" id="imod_menu" style="display:none" align="$stylevar[left]">
$threadadmin_imod_menu_post
</div>
</if>
<!-- end content table -->
$spacer_close
<!-- / end content table -->
<if condition="$show['threadedmode'] OR $show['hybridmode']">
<!-- thread posts list -->
$threadlist
<!-- /thread posts list -->
</if>
<div id="posts">$postbits<div id="lastpost"></div></div>
<!-- start content table -->
$spacer_open
<!-- / start content table -->
<!-- controls below postbits -->
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr valign="top">
<if condition="$show['largereplybutton']">
<td class="smallfont"><a href="newreply.php?$session[sessionurl]do=newreply&noquote=1&p=$LASTPOSTID" rel="nofollow"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" /></if></a></td>
<else />
<td class="smallfont"> </td>
</if>
<if condition="$show['pagenav'] OR $show['inlinemod']">
<td align="$stylevar[right]">$pagenav
<if condition="$show['inlinemod']">
<div class="smallfont" style="text-align:$stylevar[left]; white-space:nowrap; float:$stylevar[right]">
<if condition="$show['pagenav']"><br /></if><strong>$vbphrase[moderation]</strong><br />
<select name="do">
<optgroup label="$vbphrase[option]">
<if condition="$show['managethread']">
<option value="mergeposts">$vbphrase[merge_posts]</option>
<option value="moveposts">$vbphrase[move_posts]</option>
</if>
<if condition="$show['managepost']">
<option value="deleteposts">$vbphrase[delete_posts]</option>
<option value="undeleteposts">$vbphrase[undelete_posts]</option>
</if>
<if condition="$show['approvepost']">
<option value="approveposts">$vbphrase[approve_posts]</option>
<option value="unapproveposts">$vbphrase[unapprove_posts]</option>
</if>
<if condition="$show['approveattachment']">
<option value="approveattachments">$vbphrase[approve_attachments]</option>
<option value="unapproveattachments">$vbphrase[unapprove_attachments]</option>
</if>
</optgroup>
<optgroup label="____________________">
<option value="clearpost">$vbphrase[clear_post_list]</option>
</optgroup>
</select><input type="submit" class="button" id="inlinego" value="$vbphrase[go]" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="threadid" value="$threadinfo[threadid]" />
<input type="hidden" name="p" value="$postid" />
<input type="hidden" name="url" value="$url" />
</div>
<script type="text/javascript" src="clientscript/vbulletin_inlinemod.js"></script>
<script type="text/javascript">
<!--
inlineMod = new vB_Inline_Mod('inlineMod', 'post', 'inlinemodform', '$vbphrase[go_x]');
//-->
</script>
</if>
</td>
</if>
</tr>
</table>
<!-- / controls below postbits -->
<if condition="$show['inlinemod']">
$spacer_close
</form>
$spacer_open
</if>
<if condition="!$show['search_engine']">
<br />
<div class="smallfont" align="center">
<strong>«</strong>
<a href="showthread.php?$session[sessionurl]t=$threadid&goto=nextoldest">$vbphrase[prev_thread]</a>
|
<a href="showthread.php?$session[sessionurl]t=$threadid&goto=nextnewest">$vbphrase[next_thread]</a>
<strong>»</strong>
</div>
</if>
<br />
<if condition="$show['quickreply'] OR $show['ajax_js']">
<!-- ajax errors table -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" style="display:none; position:absolute" id="ajax_post_errors">
<tr>
<td class="thead">
<span style="float:$stylevar[right]"><input type="button" class="button" value=" X " onclick="vB_QuickEditor.hide_errors()" unselectable="true" /></span>
$vbphrase[vbulletin_message]
</td>
</tr>
<tr>
<td class="alt2" colspan="2" id="ajax_post_errors_message"> </td>
</tr>
<tr>
<td class="tfoot" colspan="2" align="center"><a href="#" onclick="vB_QuickEditor.abort(); return false;">$vbphrase[cancel_changes]</a></td>
</tr>
</table>
<!-- / ajax errors table -->
<!-- scripts for quick reply and quick edit -->
$vBeditTemplate[clientscript]
<if condition="$show['quickedit']">
<script type="text/javascript" src="clientscript/vbulletin_quick_edit.js"></script>
<script type="text/javascript">
<!--
vB_AJAX_QuickEdit_Init('posts');
//-->
</script>
</if>
<!-- / scripts for quick reply and quick edit -->
</if>
<if condition="$show['quickreply']">
<!-- quick reply -->
<form action="newreply.php" method="post" name="vbform" onsubmit="return qr_prepare_submit(this, $vboptions[postminchars]);" id="qrform">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="2">
<if condition="$show['quickreply_collapse']"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('quickreply');"><img id="collapseimg_quickreply" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_quickreply].gif" alt="" border="0" /></a></if>
$vbphrase[quick_reply]
</td>
</tr>
</thead>
<tbody id="qr_error_tbody" style="display:none">
<tr>
<td class="thead">$vbphrase[errors_occured_when_submitted]</td>
</tr>
<tr>
<td class="alt1" id="qr_error_td"></td>
</tr>
<tr>
<td class="tfoot" align="center"><span class="smallfont"><a href="#" onclick="return qr_hide_errors()">$vbphrase[okay]</a></span></td>
</tr>
</tbody>
<tbody id="collapseobj_quickreply" style="$vbcollapse[collapseobj_quickreply]">
<tr>
<td class="panelsurround" align="center">
<div class="panel">
<table cellpadding="0" cellspacing="0" border="0" align="center">
<tr>
<td class="smallfont" align="$stylevar[left]">$vbphrase[message]:</td>
</tr>
<tr>
<td id="$editorid" class="vBulletin_editor" align="$stylevar[left]">$messagearea</td>
</tr>
<tr>
<td align="$stylevar[left]">
<fieldset class="fieldset" style="margin:$stylevar[formspacer]px 0px 0px 0px">
<legend>$vbphrase[options]</legend>
<div>
<if condition="$bbuserinfo['signature']">
<div style="float:$stylevar[right]"><label for="cb_signature"><input type="checkbox" name="signature" value="1" id="cb_signature" tabindex="5" checked="checked" />$vbphrase[show_your_signature]</label></div>
</if>
<label for="qr_quickreply"><input type="checkbox" name="quickreply" value="1" id="qr_quickreply" accesskey="w" tabindex="4" />$vbphrase[quote_message_in_reply]</label>
</div>
</fieldset>
</td>
</tr>
</table>
</div>
<div style="margin-top:$stylevar[cellpadding]px">
<input type="hidden" name="fromquickreply" value="1" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="postreply" />
<input type="hidden" name="t" value="$threadid" id="qr_threadid" />
<input type="hidden" name="p" value="$qrpostid" id="qr_postid" />
<input type="hidden" name="parseurl" value="1" />
<input type="hidden" name="loggedinuser" value="$bbuserinfo[userid]" />
<input type="submit" class="button" value="$vbphrase[post_quick_reply]" accesskey="s" title="(Alt + S)" name="sbutton" tabindex="2" id="qr_submit" onclick="clickedelm = this.value" />
<input type="submit" class="button" value="$vbphrase[go_advanced]" accesskey="x" title="(Alt + X)" name="preview" tabindex="3" id="qr_preview" onclick="clickedelm = this.value" />
</div>
<div align="center" id="qr_posting_msg" style="display:none; margin-top:6px">
<strong>$vbphrase[posting_quick_reply_please_wait]</strong>
</div>
</td>
</tr>
</tbody>
</table>
</form>
<if condition="!is_browser('ie') AND $show['wysiwyg']">
<!-- Mozilla work around for focusing on QR in WYSIWYG mode -->
<div id="qr_scroll"></div>
</if>
<br />
<script type="text/javascript" src="clientscript/vbulletin_quick_reply.js"></script>
<!-- end quick reply -->
</if>
<!-- currently active users -->
<if condition="$show['activeusers']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat" colspan="2">
<phrase 1="$totalonline" 2="$numberregistered" 3="$numberguest">$vbphrase[users_viewing_this_thread_x_y_z]</phrase>
</td>
</tr>
<tr>
<td class="alt1" colspan="2">
<span class="smallfont">$activeusers</span>
</td>
</tr>
</table>
</if>
<!-- end currently active users -->
<if condition="$show['popups']">
<!-- popup menu contents -->
<br />
<!-- thread tools menu -->
<div class="vbmenu_popup" id="threadtools_menu" style="display:none">
<form action="postings.php" method="post" name="threadadminform">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[thread_tools]<a name="goto_threadtools"></a></td>
</tr>
<if condition="$thread['postuserid'] == $bbuserinfo['userid']">
<tr>
<td class="vbmenu_option"> <if condition="in_array($thread['threadid'], $mybestthread)"><a href="showthread.php?$session[sessionurl]do=removemybest&t=$threadid">$vbphrase[mybest_remove]</a><else /><a href="showthread.php?$session[sessionurl]do=addmybest&t=$threadid">$vbphrase[mybest_add]</a></if></td>
</tr>
</if>
<tr>
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/printer.gif" alt="$vbphrase[show_printable_version]" /> <a href="printthread.php?$session[sessionurl]t=$threadid" accesskey="3" rel="nofollow">$vbphrase[show_printable_version]</a></td>
</tr>
<tr>
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/sendtofriend.gif" alt="$vbphrase[email_this_page]" /> <a href="sendmessage.php?$session[sessionurl]do=sendtofriend&t=$threadid" rel="nofollow">$vbphrase[email_this_page]</a></td>
</tr>
<if condition="$show['member']">
<tr>
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[subscription]" />
<if condition="$show['subscribed']">
<a href="subscription.php?$session[sessionurl]do=removesubscription&t=$threadid" rel="nofollow">$vbphrase[unsubscribe_from_this_thread]</a>
<else />
<a href="subscription.php?$session[sessionurl]do=addsubscription&t=$threadid" rel="nofollow">$vbphrase[subscribe_to_this_thread]</a>
</if>
</td>
</tr>
</if>
<if condition="$show['addpoll']">
<tr>
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/addpoll.gif" alt="$vbphrase[add_a_poll]" /> <a href="poll.php?$session[sessionurl]do=newpoll&t=$threadinfo[threadid]">$vbphrase[add_a_poll_to_this_thread]</a></td>
</tr>
</if>
<if condition="$show['adminoptions']">
<tr>
<td class="thead">$vbphrase[admin_tools]<a name="goto_threadadmin"></a></td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<if condition="$show['openclose']"><div><label for="ao_oct"><input type="radio" name="do" id="ao_oct" value="openclosethread" checked="checked" /><if condition="$show['closethread']">$vbphrase[close_thread]<else />$vbphrase[open_thread]</if></label></div></if>
<if condition="$show['movethread']"><div><label for="ao_mvt"><input type="radio" name="do" id="ao_mvt" value="movethread" />$vbphrase[move_copy_thread]</label></div></if>
<if condition="$show['editthread']"><div><label for="ao_edt"><input type="radio" name="do" id="ao_edt" value="editthread" />$vbphrase[edit_thread]</label></div></if>
<if condition="$show['deletethread']"><div><label for="ao_dlt"><input type="radio" name="do" id="ao_dlt" value="deletethread" />$vbphrase[delete_thread]</label></div></if>
<if condition="$show['managethread']">
<div><label for="ao_sut"><input type="radio" name="do" id="ao_sut" value="stick" /><if condition="$show['unstick']">$vbphrase[unstick_thread]<else />$vbphrase[stick_thread]</if></label></div>
<div><label for="ao_mgt"><input type="radio" name="do" id="ao_mgt" value="mergethread" />$vbphrase[merge_threads]</label></div>
<!--<div><label for="ao_spt"><input type="radio" name="do" id="ao_spt" value="splitthread" />$vbphrase[split_thread]</label></div>-->
<div><label for="ao_rrd"><input type="radio" name="do" id="ao_rrd" value="removeredirect" />$vbphrase[remove_redirects]</label></div>
</if>
<if condition="$show['editpoll']"><div><label for="ao_edp"><input type="radio" name="do" id="ao_edp" value="editpoll" />$vbphrase[edit_poll]</label></div></if>
<if condition="$how_mmez">
<div><label for="ao_mmez"><input type="radio" name="do" id="ao_mm" value="mmez" checked="checked" /><if condition="$how_mmez['characteristic']!=1">$vbphrase[mmez_add]<else />$vbphrase[mmez_remove]</if></label></div>
</if>
</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite" align="center">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="t" value="$threadid" />
<input type="hidden" name="pollid" value="$pollid" />
<input type="submit" class="button" value="$vbphrase[perform_action]" />
</td>
</tr>
</if>
</table>
</form>
</div>
<!-- / thread tools menu -->
<if condition="$vboptions['allowthreadedmode']">
<!-- ************************************************** ** -->
<!-- thread display mode menu -->
<div class="vbmenu_popup" id="displaymodes_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[display_modes]<a name="goto_displaymodes"></a></td>
</tr>
<tr>
<if condition="$show['linearmode']">
<td class="vbmenu_option" title="nohilite"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_linear.gif" alt="$vbphrase[linear_mode]" /> <strong>$vbphrase[linear_mode]</strong></td>
<else />
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_linear.gif" alt="$vbphrase[linear_mode]" /> <a href="showthread.php?$session[sessionurl]p=$FIRSTPOSTID&mode=linear$highlightwords#post$FIR STPOSTID">$vbphrase[switch_to_linear_mode]</a></td>
</if>
</tr>
<tr>
<if condition="$show['hybridmode']">
<td class="vbmenu_option" title="nohilite"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_hybrid.gif" alt="$vbphrase[hybrid_mode]" /> <strong>$vbphrase[hybrid_mode]</strong></td>
<else />
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_hybrid.gif" alt="$vbphrase[hybrid_mode]" /> <a href="showthread.php?$session[sessionurl]mode=hybrid&t=$thread[threadid]$highlightwords">$vbphrase[switch_to_hybrid_mode]</a></td>
</if>
</tr>
<tr>
<if condition="$show['threadedmode']">
<td class="vbmenu_option" title="nohilite"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_threaded.gif" alt="$vbphrase[threaded_mode]" /> <strong>$vbphrase[threaded_mode]</strong></td>
<else />
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_threaded.gif" alt="$vbphrase[threaded_mode]" /> <a href="showthread.php?$session[sessionurl]p=$FIRSTPOSTID&mode=threaded$highlightwords#post$F IRSTPOSTID">$vbphrase[switch_to_threaded_mode]</a></td>
</if>
</tr>
</table>
</div>
<!-- / thread display mode menu -->
</if>
<!-- ************************************************** ** -->
<if condition="$show['search']">
<!-- thread search menu -->
<div class="vbmenu_popup" id="threadsearch_menu" style="display:none">
<form action="search.php" method="post">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[search_this_thread]<a name="goto_threadsearch"></a></td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="process" />
<input type="hidden" name="searchthread" value="1" />
<input type="hidden" name="showposts" value="1" />
<input type="hidden" name="searchthreadid" value="$threadid" />
<input type="text" class="bginput" name="query" size="20" />$gobutton<br />
</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php$session[sessionurl_q]">$vbphrase[advanced_search]</a></td>
</tr>
</table>
</form>
</div>
<!-- / thread search menu -->
</if>
<!-- ************************************************** ** -->
<!-- thread rating menu -->
<div class="vbmenu_popup" id="threadrating_menu" style="display:none">
<form action="threadrate.php" method="post">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[rate_this_thread]<a name="goto_threadrating"></a></td>
</tr>
<if condition="$show['ratethread']">
<tr>
<td class="vbmenu_option" title="nohilite">
<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_5.gif" alt="$vbphrase[excellent]" /><label for="vote5"><input type="radio" name="vote" id="vote5" value="5" $votechecked[5] />$vbphrase[excellent]</label></div>
<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_4.gif" alt="$vbphrase[good]" /><label for="vote4"><input type="radio" name="vote" id="vote4" value="4" $votechecked[4] />$vbphrase[good]</label></div>
<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_3.gif" alt="$vbphrase[average]" /><label for="vote3"><input type="radio" name="vote" id="vote3" value="3" $votechecked[3] />$vbphrase[average]</label></div>
<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_2.gif" alt="$vbphrase[bad]" /><label for="vote2"><input type="radio" name="vote" id="vote2" value="2" $votechecked[2] />$vbphrase[bad]</label></div>
<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_1.gif" alt="$vbphrase[terrible]" /><label for="vote1"><input type="radio" name="vote" id="vote1" value="1" $votechecked[1] />$vbphrase[terrible]</label></div>
</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite" align="center">
<input type="hidden" name="s" value="$session[dbsessionhash]" />
<input type="hidden" name="t" value="$threadid" />
<input type="hidden" name="pp" value="$perpage" />
<input type="hidden" name="page" value="$pagenumber" />
<input type="submit" class="button" value="$vbphrase[vote_now]" />
</td>
</tr>
<else />
<tr>
<td>$vbphrase[already_rated_this_thread]</td>
</tr>
</if>
</table>
</form>
</div>
<!-- / thread rating 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" <if condition="!$show['search']">colspan="2"</if>>$vbphrase[thread_tools]<a name="goto_threadtools"></a></td>
<if condition="$show['search']"><td class="thead">$vbphrase[search_this_thread]<a name="goto_threadsearch"></a></td></if>
</tr>
<tr valign="top">
<td class="alt1" <if condition="!$show['search']">colspan="2"</if>>
<!-- thread tools -->
<div class="smallfont">
<if condition="!$show['search_engine']">
<div><img class="inlineimg" src="$stylevar[imgdir_button]/printer.gif" alt="$vbphrase[show_printable_version]" vspace="1" /> <a href="printthread.php?$session[sessionurl]t=$threadid" accesskey="p" rel="nofollow">$vbphrase[show_printable_version]</a></div>
<div><img class="inlineimg" src="$stylevar[imgdir_button]/sendtofriend.gif" alt="$vbphrase[email_this_page]" vspace="1" /> <a href="sendmessage.php?$session[sessionurl]do=sendtofriend&t=$threadid" rel="nofollow">$vbphrase[email_this_page]</a></div>
</if>
<if condition="$show['member']">
<div><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[subscription]" vspace="1" />
<if condition="$show['subscribed']">
<a href="subscription.php?$session[sessionurl]do=removesubscription&t=$threadid">$vbphrase[unsubscribe_from_this_thread]</a>
<else />
<a href="subscription.php?$session[sessionurl]do=addsubscription&t=$threadid">$vbphrase[subscribe_to_this_thread]</a>
</if>
</div>
</if>
<if condition="$show['addpoll']">
<div><img class="inlineimg" src="$stylevar[imgdir_button]/addpoll.gif" alt="$vbphrase[add_a_poll]" vspace="1" /> <a href="poll.php?$session[sessionurl]do=newpoll&t=$threadinfo[threadid]">$vbphrase[add_a_poll_to_this_thread]</a></div>
</if>
</div>
<!-- / thread tools -->
</td>
<if condition="$show['search']">
<td class="alt1">
<!-- search this thread -->
<form action="search.php" method="post">
<div class="smallfont">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="process" />
<input type="hidden" name="searchthread" value="1" />
<input type="hidden" name="showposts" value="1" />
<input type="hidden" name="searchthreadid" value="$threadid" />
<strong>$vbphrase[search_this_thread]</strong>:<br />
<input type="text" class="bginput" name="query" size="20" style="width:175px" />$gobutton<br />
<a href="search.php$session[sessionurl_q]">$vbphrase[advanced_search]</a>
</div>
</form>
<!-- / search this thread -->
</td>
</if>
</tr>
<if condition="$vboptions['allowthreadedmode'] OR $show['threadrating']">
<tr>
<if condition="$vboptions['allowthreadedmode']"><td class="thead" $nodhtmlcolspan>$vbphrase[display_modes]<a name="goto_displaymodes"></a></td></if>
<if condition="$show['threadrating']"><td class="thead" $nodhtmlcolspan>$vbphrase[rate_this_thread]<a name="goto_threadrating"></a></td></if>
</tr>
<tr valign="top">
<if condition="$vboptions['allowthreadedmode']">
<td class="alt2" $nodhtmlcolspan>
<!-- thread display modes -->
<div class="smallfont">
<div><img class="inlineimg" src="$stylevar[imgdir_button]/mode_linear.gif" alt="$vbphrase[linear_mode]" vspace="1" /> <if condition="$show['linearmode']"><strong>$vbphrase[linear_mode]</strong><else /><a href="showthread.php?$session[sessionurl]p=$FIRSTPOSTID&mode=linear$highlightwords#post$FIR STPOSTID">$vbphrase[switch_to_linear_mode]</a></if></div>
<div><img class="inlineimg" src="$stylevar[imgdir_button]/mode_hybrid.gif" alt="$vbphrase[hybrid_mode]" vspace="1" /> <if condition="$show['hybridmode']"><strong>$vbphrase[hybrid_mode]</strong><else /><a href="showthread.php?$session[sessionurl]mode=hybrid&t=$thread[threadid]$highlightwords">$vbphrase[switch_to_hybrid_mode]</a></if></div>
<div><img class="inlineimg" src="$stylevar[imgdir_button]/mode_threaded.gif" alt="$vbphrase[threaded_mode]" vspace="1" /> <if condition="$show['threadedmode']"><strong>$vbphrase[threaded_mode]</strong><else /><a href="showthread.php?$session[sessionurl]p=$FIRSTPOSTID&mode=threaded$highlightwords#post$F IRSTPOSTID">$vbphrase[switch_to_threaded_mode]</a></if></div>
</div>
<!-- / thread display modes -->
</td>
</if>
<if condition="$show['threadrating']">
<td class="alt2" $nodhtmlcolspan>
<!-- rate this thread -->
<form action="threadrate.php" method="post">
<div class="smallfont">
<input type="hidden" name="s" value="$session[dbsessionhash]" />
<input type="hidden" name="t" value="$threadid" />
<input type="hidden" name="pp" value="$perpage" />
<input type="hidden" name="page" value="$pagenumber" />
<strong>$vbphrase[rate_this_thread]</strong>:<br />
<select name="vote" onchange="this.form.submit()" style="width:175px">
<optgroup label="$vbphrase[choose_a_rating]">
<option value="5" $voteselected[5]>5 : $vbphrase[excellent]</option>
<option value="4" $voteselected[4]>4 : $vbphrase[good]</option>
<option value="3" $voteselected[3]>3 : $vbphrase[average]</option>
<option value="2" $voteselected[2]>2 : $vbphrase[bad]</option>
<option value="1" $voteselected[1]>1 : $vbphrase[terrible]</option>
</optgroup>
</select>$gobutton
</div>
</form>
<!-- / rate this thread -->
</td>
</if>
</tr>
</if>
</table>
<br />
<!-- / controls for non-popup browsers -->
</if>
<!-- forum rules and admin links -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr valign="bottom">
<td class="smallfont" align="$stylevar[left]">
$forumrules
</td>
<td class="smallfont" align="$stylevar[right]">
<table cellpadding="0" cellspacing="0" border="0">
<if condition="!$show['popups'] AND $show['adminoptions']">
<tr>
<td>
<div class="smallfont" style="text-align:$stylevar[left]; white-space:nowrap">
<form action="postings.php" method="post" name="adminoptionsform">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="t" value="$threadid" />
<strong>$vbphrase[admin_tools]</strong>:<br />
<select name="do" onchange="this.form.submit()">
<optgroup label="$vbphrase[thread_admin_tools]">
<if condition="$show['openclose']"><option value="openclosethread" selected="selected"><if condition="$show['closethread']">$vbphrase[close_thread]<else />$vbphrase[open_thread]</if></option></if>
<if condition="$show['editthread']"><option value="editthread">$vbphrase[edit_thread]</option></if>
<if condition="$show['deletethread']"><option value="deletethread">$vbphrase[delete_thread]</option></if>
<if condition="$show['movethread']"><option value="movethread">$vbphrase[move_copy_thread]</option></if>
<if condition="$show['managethread']">
<option value="stick"><if condition="$show['unstick']">$vbphrase[unstick_thread]<else />$vbphrase[stick_thread]</if></option>
<option value="mergethread">$vbphrase[merge_threads]</option>
<!--<option value="splitthread">$vbphrase[split_thread]</option>-->
<option value="removeredirect">$vbphrase[remove_redirects]</option>
</if>
<if condition="$show['editpoll']"><option value="editpoll">$vbphrase[edit_poll]</option></if>
</optgroup>
</select>$gobutton
</form>
</div>
</td>
</tr>
<br />
</if>
<tr>
<td>
$forumjump
</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- /forum rules and admin links -->
<br />
$similarthreads
$footer
<!-- temp -->
<div style="display:none">
<!-- thread rate -->
<if condition="$show['ratethread']">
<!-- thread ratings form here -->
<else />
<if condition="$show['threadrating']">
$vbphrase[you_rated_this_thread]: <strong>$threadinfo[vote]</strong>
</if>
</if>
<!-- / thread rate -->
</div>
</body>
</html>
Invalid ID
05-01-2006, 05:44 PM
sorry, posted twice.
Developer
05-01-2006, 06:02 PM
Try This,
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$thread[title]<if condition="$pagenumber>1"> - <phrase 1="$pagenumber">$vbphrase[page_x]</phrase></if> - $vboptions[bbtitle]</title>
</head>
<body onload="$onload">
$header
$navbar
$mmez
<br />
$poll
<if condition="$show['inlinemod']">
$spacer_close
<form action="inlinemod.php" method="post" id="inlinemodform">
$spacer_open
</if>
<a name="poststop" id="poststop"></a>
<!-- controls above postbits -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px">
<tr valign="bottom">
<if condition="$show['largereplybutton']">
<td class="smallfont"><a href="newreply.php?$session[sessionurl]do=newreply&noquote=1&p=$FIRSTPOSTID" rel="nofollow"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" /></if></a></td>
<else />
<td class="smallfont"> </td>
</if>
<if condition="$show['pagenav']"><td align="$stylevar[right]">$pagenav</td></if>
</tr>
</table>
<!-- / controls above postbits -->
<!-- toolbar -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:0px">
<tr>
<td class="tcat" width="100%">
<div class="smallfont">
<if condition="$show['firstunreadlink']">
<a href="$firstunread"><img class="inlineimg" src="$stylevar[imgdir_button]/firstnew.gif" alt="$vbphrase[view_first_unread]" border="0" /></a>
<a href="$firstunread"><strong>$vbphrase[view_first_unread]</strong></a>
</if>
</div>
</td>
<td class="vbmenu_control" id="threadtools" nowrap="nowrap">
<a href="$show[nojs_link]#goto_threadtools"<if condition="is_browser('ie')"> accesskey="3"</if>>$vbphrase[thread_tools]</a>
<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadtools"); </script></if>
</td>
<if condition="$show['search']">
<td class="vbmenu_control" id="threadsearch" nowrap="nowrap">
<a href="$show[nojs_link]#goto_threadsearch">$vbphrase[search_this_thread]</a>
<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadsearch"); </script></if>
</td>
</if>
<if condition="$show['threadrating']">
<td class="vbmenu_control" id="threadrating" nowrap="nowrap">
<a href="$show[nojs_link]#goto_threadrating"><if condition="$show['rating']">$vbphrase[rating]: <img class="inlineimg" src="$stylevar[imgdir_rating]/rating_$thread[rating].gif" alt="<phrase 1="$thread[votenum]" 2="$thread[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" border="0" /><else />$vbphrase[rate_thread]</if></a>
<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadrating"); </script></if>
</td>
</if>
<if condition="$vboptions['allowthreadedmode']">
<td class="vbmenu_control" id="displaymodes" nowrap="nowrap">
<a href="$show[nojs_link]#goto_displaymodes">$vbphrase[display_modes]</a>
<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("displaymodes"); </script></if>
</td>
</if>
<if condition="$show['inlinemod']">
<if condition="$show['popups']">
<td class="vbmenu_control" id="imod" align="center" title="$vbphrase[moderation]"><script type="text/javascript"> vbmenu_register('imod'); </script></td>
<else />
<td class="thead" align="center">
<input type="checkbox" name="allbox" id="checkall_all" title="$vbphrase[check_uncheck_all]" onclick="inlineMod.check_all()" />
</td>
</if>
</if>
</tr>
</table>
<!-- / toolbar -->
<if condition="$show['inlinemod'] AND $show['popups']">
<div class="vbmenu_popup" id="imod_menu" style="display:none" align="$stylevar[left]">
$threadadmin_imod_menu_post
</div>
</if>
<!-- end content table -->
$spacer_close
<!-- / end content table -->
<if condition="$show['threadedmode'] OR $show['hybridmode']">
<!-- thread posts list -->
$threadlist
<!-- /thread posts list -->
</if>
<div id="posts">$postbits<div id="lastpost"></div></div>
<!-- start content table -->
$spacer_open
<!-- / start content table -->
<!-- controls below postbits -->
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr valign="top">
<if condition="$show['largereplybutton']">
<td class="smallfont"><a href="newreply.php?$session[sessionurl]do=newreply&noquote=1&p=$LASTPOSTID" rel="nofollow"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" /></if></a></td>
<else />
<td class="smallfont"> </td>
</if>
<if condition="$show['pagenav'] OR $show['inlinemod']">
<td align="$stylevar[right]">$pagenav
<if condition="$show['inlinemod']">
<div class="smallfont" style="text-align:$stylevar[left]; white-space:nowrap; float:$stylevar[right]">
<if condition="$show['pagenav']"><br /></if><strong>$vbphrase[moderation]</strong><br />
<select name="do">
<optgroup label="$vbphrase[option]">
<if condition="$show['managethread']">
<option value="mergeposts">$vbphrase[merge_posts]</option>
<option value="moveposts">$vbphrase[move_posts]</option>
</if>
<if condition="$show['managepost']">
<option value="deleteposts">$vbphrase[delete_posts]</option>
<option value="undeleteposts">$vbphrase[undelete_posts]</option>
</if>
<if condition="$show['approvepost']">
<option value="approveposts">$vbphrase[approve_posts]</option>
<option value="unapproveposts">$vbphrase[unapprove_posts]</option>
</if>
<if condition="$show['approveattachment']">
<option value="approveattachments">$vbphrase[approve_attachments]</option>
<option value="unapproveattachments">$vbphrase[unapprove_attachments]</option>
</if>
</optgroup>
<optgroup label="____________________">
<option value="clearpost">$vbphrase[clear_post_list]</option>
</optgroup>
</select><input type="submit" class="button" id="inlinego" value="$vbphrase[go]" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="threadid" value="$threadinfo[threadid]" />
<input type="hidden" name="p" value="$postid" />
<input type="hidden" name="url" value="$url" />
</div>
<script type="text/javascript" src="clientscript/vbulletin_inlinemod.js"></script>
<script type="text/javascript">
<!--
inlineMod = new vB_Inline_Mod('inlineMod', 'post', 'inlinemodform', '$vbphrase[go_x]');
//-->
</script>
</if>
</td>
</if>
</tr>
</table>
<!-- / controls below postbits -->
<if condition="$show['inlinemod']">
$spacer_close
</form>
$spacer_open
</if>
<if condition="!$show['search_engine']">
<br />
<div class="smallfont" align="center">
<strong>«</strong>
<a href="showthread.php?$session[sessionurl]t=$threadid&goto=nextoldest">$vbphrase[prev_thread]</a>
|
<a href="showthread.php?$session[sessionurl]t=$threadid&goto=nextnewest">$vbphrase[next_thread]</a>
<strong>»</strong>
</div>
</if>
<br />
<if condition="$show['quickreply'] OR $show['ajax_js']">
<!-- ajax errors table -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" style="display:none; position:absolute" id="ajax_post_errors">
<tr>
<td class="thead">
<span style="float:$stylevar[right]"><input type="button" class="button" value=" X " onclick="vB_QuickEditor.hide_errors()" unselectable="true" /></span>
$vbphrase[vbulletin_message]
</td>
</tr>
<tr>
<td class="alt2" colspan="2" id="ajax_post_errors_message"> </td>
</tr>
<tr>
<td class="tfoot" colspan="2" align="center"><a href="#" onclick="vB_QuickEditor.abort(); return false;">$vbphrase[cancel_changes]</a></td>
</tr>
</table>
<!-- / ajax errors table -->
<!-- scripts for quick reply and quick edit -->
$vBeditTemplate[clientscript]
<if condition="$show['quickedit']">
<script type="text/javascript" src="clientscript/vbulletin_quick_edit.js"></script>
<script type="text/javascript">
<!--
vB_AJAX_QuickEdit_Init('posts');
//-->
</script>
</if>
<!-- / scripts for quick reply and quick edit -->
</if>
<if condition="$show['quickreply']">
<!-- quick reply -->
<form action="newreply.php" method="post" name="vbform" onsubmit="return qr_prepare_submit(this, $vboptions[postminchars]);" id="qrform">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="2">
<if condition="$show['quickreply_collapse']"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('quickreply');"><img id="collapseimg_quickreply" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_quickreply].gif" alt="" border="0" /></a></if>
$vbphrase[quick_reply]
</td>
</tr>
</thead>
<tbody id="qr_error_tbody" style="display:none">
<tr>
<td class="thead">$vbphrase[errors_occured_when_submitted]</td>
</tr>
<tr>
<td class="alt1" id="qr_error_td"></td>
</tr>
<tr>
<td class="tfoot" align="center"><span class="smallfont"><a href="#" onclick="return qr_hide_errors()">$vbphrase[okay]</a></span></td>
</tr>
</tbody>
<tbody id="collapseobj_quickreply" style="$vbcollapse[collapseobj_quickreply]">
<tr>
<td class="panelsurround" align="center">
<div class="panel">
<table cellpadding="0" cellspacing="0" border="0" align="center">
<tr>
<td class="smallfont" align="$stylevar[left]">$vbphrase[message]:</td>
</tr>
<tr>
<td id="$editorid" class="vBulletin_editor" align="$stylevar[left]">$messagearea</td>
</tr>
<tr>
<td align="$stylevar[left]">
<fieldset class="fieldset" style="margin:$stylevar[formspacer]px 0px 0px 0px">
<legend>$vbphrase[options]</legend>
<div>
<if condition="$bbuserinfo['signature']">
<div style="float:$stylevar[right]"><label for="cb_signature"><input type="checkbox" name="signature" value="1" id="cb_signature" tabindex="5" checked="checked" />$vbphrase[show_your_signature]</label></div>
</if>
<label for="qr_quickreply"><input type="checkbox" name="quickreply" value="1" id="qr_quickreply" accesskey="w" tabindex="4" />$vbphrase[quote_message_in_reply]</label>
</div>
</fieldset>
</td>
</tr>
</table>
</div>
<div style="margin-top:$stylevar[cellpadding]px">
<input type="hidden" name="fromquickreply" value="1" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="postreply" />
<input type="hidden" name="t" value="$threadid" id="qr_threadid" />
<input type="hidden" name="p" value="$qrpostid" id="qr_postid" />
<input type="hidden" name="parseurl" value="1" />
<input type="hidden" name="loggedinuser" value="$bbuserinfo[userid]" />
<input type="submit" class="button" value="$vbphrase[post_quick_reply]" accesskey="s" title="(Alt + S)" name="sbutton" tabindex="2" id="qr_submit" onclick="clickedelm = this.value" />
<input type="submit" class="button" value="$vbphrase[go_advanced]" accesskey="x" title="(Alt + X)" name="preview" tabindex="3" id="qr_preview" onclick="clickedelm = this.value" />
</div>
<div align="center" id="qr_posting_msg" style="display:none; margin-top:6px">
<strong>$vbphrase[posting_quick_reply_please_wait]</strong>
</div>
</td>
</tr>
</tbody>
</table>
</form>
<if condition="!is_browser('ie') AND $show['wysiwyg']">
<!-- Mozilla work around for focusing on QR in WYSIWYG mode -->
<div id="qr_scroll"></div>
</if>
<br />
<script type="text/javascript" src="clientscript/vbulletin_quick_reply.js"></script>
<!-- end quick reply -->
</if>
<!-- currently active users -->
<if condition="$show['activeusers']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat" colspan="2">
<phrase 1="$totalonline" 2="$numberregistered" 3="$numberguest">$vbphrase[users_viewing_this_thread_x_y_z]</phrase>
</td>
</tr>
<tr>
<td class="alt1" colspan="2">
<span class="smallfont">$activeusers</span>
</td>
</tr>
</table>
</if>
<!-- end currently active users -->
<if condition="$show['popups']">
<!-- popup menu contents -->
<br />
<!-- thread tools menu -->
<div class="vbmenu_popup" id="threadtools_menu" style="display:none">
<form action="postings.php" method="post" name="threadadminform">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[thread_tools]<a name="goto_threadtools"></a></td>
</tr>
<if condition="$thread['postuserid'] == $bbuserinfo['userid']">
<tr>
<td class="vbmenu_option"> <if condition="in_array($thread['threadid'], $mybestthread)"><a href="showthread.php?$session[sessionurl]do=removemybest&t=$threadid">$vbphrase[mybest_remove]</a><else /><a href="showthread.php?$session[sessionurl]do=addmybest&t=$threadid">$vbphrase[mybest_add]</a></if></td>
</tr>
</if>
<tr>
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/printer.gif" alt="$vbphrase[show_printable_version]" /> <a href="printthread.php?$session[sessionurl]t=$threadid" accesskey="3" rel="nofollow">$vbphrase[show_printable_version]</a></td>
</tr>
<tr>
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/sendtofriend.gif" alt="$vbphrase[email_this_page]" /> <a href="sendmessage.php?$session[sessionurl]do=sendtofriend&t=$threadid" rel="nofollow">$vbphrase[email_this_page]</a></td>
</tr>
<if condition="$show['member']">
<tr>
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[subscription]" />
<if condition="$show['subscribed']">
<a href="subscription.php?$session[sessionurl]do=removesubscription&t=$threadid" rel="nofollow">$vbphrase[unsubscribe_from_this_thread]</a>
<else />
<a href="subscription.php?$session[sessionurl]do=addsubscription&t=$threadid" rel="nofollow">$vbphrase[subscribe_to_this_thread]</a>
</if>
</td>
</tr>
</if>
<if condition="$show['addpoll']">
<tr>
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[add_a_poll]" /> <a href="poll.php?$session[sessionurl]do=newpoll&t=$threadinfo[threadid]">$vbphrase[add_a_poll_to_this_thread]</a></td>
</tr>
</if>
<if condition="$show['adminoptions']">
<tr>
<td class="thead">$vbphrase[admin_tools]<a name="goto_threadadmin"></a></td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<if condition="$show['openclose']"><div><label for="ao_oct"><input type="radio" name="do" id="ao_oct" value="openclosethread" checked="checked" /><if condition="$show['closethread']">$vbphrase[close_thread]<else />$vbphrase[open_thread]</if></label></div></if>
<if condition="$show['movethread']"><div><label for="ao_mvt"><input type="radio" name="do" id="ao_mvt" value="movethread" />$vbphrase[move_copy_thread]</label></div></if>
<if condition="$show['editthread']"><div><label for="ao_edt"><input type="radio" name="do" id="ao_edt" value="editthread" />$vbphrase[edit_thread]</label></div></if>
<if condition="$show['deletethread']"><div><label for="ao_dlt"><input type="radio" name="do" id="ao_dlt" value="deletethread" />$vbphrase[delete_thread]</label></div></if>
<if condition="$show['managethread']">
<div><label for="ao_sut"><input type="radio" name="do" id="ao_sut" value="stick" /><if condition="$show['unstick']">$vbphrase[unstick_thread]<else />$vbphrase[stick_thread]</if></label></div>
<div><label for="ao_mgt"><input type="radio" name="do" id="ao_mgt" value="mergethread" />$vbphrase[merge_threads]</label></div>
<!--<div><label for="ao_spt"><input type="radio" name="do" id="ao_spt" value="splitthread" />$vbphrase[split_thread]</label></div>-->
<div><label for="ao_rrd"><input type="radio" name="do" id="ao_rrd" value="removeredirect" />$vbphrase[remove_redirects]</label></div>
</if>
<if condition="$show['editpoll']"><div><label for="ao_edp"><input type="radio" name="do" id="ao_edp" value="editpoll" />$vbphrase[edit_poll]</label></div></if>
<if condition="$how_mmez">
<div><label for="ao_mmez"><input type="radio" name="do" id="ao_mm" value="mmez" checked="checked" /><if condition="$how_mmez['characteristic']!=1">$vbphrase[mmez_add]<else />$vbphrase[mmez_remove]</if></label></div>
</if>
</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite" align="center">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="t" value="$threadid" />
<input type="hidden" name="pollid" value="$pollid" />
<input type="submit" class="button" value="$vbphrase[perform_action]" />
</td>
</tr>
</if>
</table>
</form>
</div>
<!-- / thread tools menu -->
<if condition="$vboptions['allowthreadedmode']">
<!-- ************************************************** ** -->
<!-- thread display mode menu -->
<div class="vbmenu_popup" id="displaymodes_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[display_modes]<a name="goto_displaymodes"></a></td>
</tr>
<tr>
<if condition="$show['linearmode']">
<td class="vbmenu_option" title="nohilite"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_linear.gif" alt="$vbphrase[linear_mode]" /> <strong>$vbphrase[linear_mode]</strong></td>
<else />
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_linear.gif" alt="$vbphrase[linear_mode]" /> <a href="showthread.php?$session[sessionurl]p=$FIRSTPOSTID&mode=linear$highlightwords#post$FIR STPOSTID">$vbphrase[switch_to_linear_mode]</a></td>
</if>
</tr>
<tr>
<if condition="$show['hybridmode']">
<td class="vbmenu_option" title="nohilite"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_hybrid.gif" alt="$vbphrase[hybrid_mode]" /> <strong>$vbphrase[hybrid_mode]</strong></td>
<else />
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_hybrid.gif" alt="$vbphrase[hybrid_mode]" /> <a href="showthread.php?$session[sessionurl]mode=hybrid&t=$thread[threadid]$highlightwords">$vbphrase[switch_to_hybrid_mode]</a></td>
</if>
</tr>
<tr>
<if condition="$show['threadedmode']">
<td class="vbmenu_option" title="nohilite"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_threaded.gif" alt="$vbphrase[threaded_mode]" /> <strong>$vbphrase[threaded_mode]</strong></td>
<else />
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_threaded.gif" alt="$vbphrase[threaded_mode]" /> <a href="showthread.php?$session[sessionurl]p=$FIRSTPOSTID&mode=threaded$highlightwords#post$F IRSTPOSTID">$vbphrase[switch_to_threaded_mode]</a></td>
</if>
</tr>
</table>
</div>
<!-- / thread display mode menu -->
</if>
<!-- ************************************************** ** -->
<if condition="$show['search']">
<!-- thread search menu -->
<div class="vbmenu_popup" id="threadsearch_menu" style="display:none">
<form action="search.php" method="post">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[search_this_thread]<a name="goto_threadsearch"></a></td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="process" />
<input type="hidden" name="searchthread" value="1" />
<input type="hidden" name="showposts" value="1" />
<input type="hidden" name="searchthreadid" value="$threadid" />
<input type="text" class="bginput" name="query" size="20" />$gobutton<br />
</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php$session[sessionurl_q]">$vbphrase[advanced_search]</a></td>
</tr>
</table>
</form>
</div>
<!-- / thread search menu -->
</if>
<!-- ************************************************** ** -->
<!-- thread rating menu -->
<div class="vbmenu_popup" id="threadrating_menu" style="display:none">
<form action="threadrate.php" method="post">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[rate_this_thread]<a name="goto_threadrating"></a></td>
</tr>
<if condition="$show['ratethread']">
<tr>
<td class="vbmenu_option" title="nohilite">
<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_5.gif" alt="$vbphrase[excellent]" /><label for="vote5"><input type="radio" name="vote" id="vote5" value="5" $votechecked[5] />$vbphrase[excellent]</label></div>
<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_4.gif" alt="$vbphrase[good]" /><label for="vote4"><input type="radio" name="vote" id="vote4" value="4" $votechecked[4] />$vbphrase[good]</label></div>
<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_3.gif" alt="$vbphrase[average]" /><label for="vote3"><input type="radio" name="vote" id="vote3" value="3" $votechecked[3] />$vbphrase[average]</label></div>
<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_2.gif" alt="$vbphrase[bad]" /><label for="vote2"><input type="radio" name="vote" id="vote2" value="2" $votechecked[2] />$vbphrase[bad]</label></div>
<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_1.gif" alt="$vbphrase[terrible]" /><label for="vote1"><input type="radio" name="vote" id="vote1" value="1" $votechecked[1] />$vbphrase[terrible]</label></div>
</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite" align="center">
<input type="hidden" name="s" value="$session[dbsessionhash]" />
<input type="hidden" name="t" value="$threadid" />
<input type="hidden" name="pp" value="$perpage" />
<input type="hidden" name="page" value="$pagenumber" />
<input type="submit" class="button" value="$vbphrase[vote_now]" />
</td>
</tr>
<else />
<tr>
<td>$vbphrase[already_rated_this_thread]</td>
</tr>
</if>
</table>
</form>
</div>
<!-- / thread rating 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" <if condition="!$show['search']">colspan="2"</if>>$vbphrase[thread_tools]<a name="goto_threadtools"></a></td>
<if condition="$show['search']"><td class="thead">$vbphrase[search_this_thread]<a name="goto_threadsearch"></a></td></if>
</tr>
<tr valign="top">
<td class="alt1" <if condition="!$show['search']">colspan="2"</if>>
<!-- thread tools -->
<div class="smallfont">
<if condition="!$show['search_engine']">
<div><img class="inlineimg" src="$stylevar[imgdir_button]/printer.gif" alt="$vbphrase[show_printable_version]" vspace="1" /> <a href="printthread.php?$session[sessionurl]t=$threadid" accesskey="p" rel="nofollow">$vbphrase[show_printable_version]</a></div>
<div><img class="inlineimg" src="$stylevar[imgdir_button]/sendtofriend.gif" alt="$vbphrase[email_this_page]" vspace="1" /> <a href="sendmessage.php?$session[sessionurl]do=sendtofriend&t=$threadid" rel="nofollow">$vbphrase[email_this_page]</a></div>
</if>
<if condition="$show['member']">
<div><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[subscription]" vspace="1" />
<if condition="$show['subscribed']">
<a href="subscription.php?$session[sessionurl]do=removesubscription&t=$threadid">$vbphrase[unsubscribe_from_this_thread]</a>
<else />
<a href="subscription.php?$session[sessionurl]do=addsubscription&t=$threadid">$vbphrase[subscribe_to_this_thread]</a>
</if>
</div>
</if>
<if condition="$show['addpoll']">
<div><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[add_a_poll]" vspace="1" /> <a href="poll.php?$session[sessionurl]do=newpoll&t=$threadinfo[threadid]">$vbphrase[add_a_poll_to_this_thread]</a></div>
</if>
</div>
<!-- / thread tools -->
</td>
<if condition="$show['search']">
<td class="alt1">
<!-- search this thread -->
<form action="search.php" method="post">
<div class="smallfont">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="process" />
<input type="hidden" name="searchthread" value="1" />
<input type="hidden" name="showposts" value="1" />
<input type="hidden" name="searchthreadid" value="$threadid" />
<strong>$vbphrase[search_this_thread]</strong>:<br />
<input type="text" class="bginput" name="query" size="20" style="width:175px" />$gobutton<br />
<a href="search.php$session[sessionurl_q]">$vbphrase[advanced_search]</a>
</div>
</form>
<!-- / search this thread -->
</td>
</if>
</tr>
<if condition="$vboptions['allowthreadedmode'] OR $show['threadrating']">
<tr>
<if condition="$vboptions['allowthreadedmode']"><td class="thead" $nodhtmlcolspan>$vbphrase[display_modes]<a name="goto_displaymodes"></a></td></if>
<if condition="$show['threadrating']"><td class="thead" $nodhtmlcolspan>$vbphrase[rate_this_thread]<a name="goto_threadrating"></a></td></if>
</tr>
<tr valign="top">
<if condition="$vboptions['allowthreadedmode']">
<td class="alt2" $nodhtmlcolspan>
<!-- thread display modes -->
<div class="smallfont">
<div><img class="inlineimg" src="$stylevar[imgdir_button]/mode_linear.gif" alt="$vbphrase[linear_mode]" vspace="1" /> <if condition="$show['linearmode']"><strong>$vbphrase[linear_mode]</strong><else /><a href="showthread.php?$session[sessionurl]p=$FIRSTPOSTID&mode=linear$highlightwords#post$FIR STPOSTID">$vbphrase[switch_to_linear_mode]</a></if></div>
<div><img class="inlineimg" src="$stylevar[imgdir_button]/mode_hybrid.gif" alt="$vbphrase[hybrid_mode]" vspace="1" /> <if condition="$show['hybridmode']"><strong>$vbphrase[hybrid_mode]</strong><else /><a href="showthread.php?$session[sessionurl]mode=hybrid&t=$thread[threadid]$highlightwords">$vbphrase[switch_to_hybrid_mode]</a></if></div>
<div><img class="inlineimg" src="$stylevar[imgdir_button]/mode_threaded.gif" alt="$vbphrase[threaded_mode]" vspace="1" /> <if condition="$show['threadedmode']"><strong>$vbphrase[threaded_mode]</strong><else /><a href="showthread.php?$session[sessionurl]p=$FIRSTPOSTID&mode=threaded$highlightwords#post$F IRSTPOSTID">$vbphrase[switch_to_threaded_mode]</a></if></div>
</div>
<!-- / thread display modes -->
</td>
</if>
<if condition="$show['threadrating']">
<td class="alt2" $nodhtmlcolspan>
<!-- rate this thread -->
<form action="threadrate.php" method="post">
<div class="smallfont">
<input type="hidden" name="s" value="$session[dbsessionhash]" />
<input type="hidden" name="t" value="$threadid" />
<input type="hidden" name="pp" value="$perpage" />
<input type="hidden" name="page" value="$pagenumber" />
<strong>$vbphrase[rate_this_thread]</strong>:<br />
<select name="vote" onchange="this.form.submit()" style="width:175px">
<optgroup label="$vbphrase[choose_a_rating]">
<option value="5" $voteselected[5]>5 : $vbphrase[excellent]</option>
<option value="4" $voteselected[4]>4 : $vbphrase[good]</option>
<option value="3" $voteselected[3]>3 : $vbphrase[average]</option>
<option value="2" $voteselected[2]>2 : $vbphrase[bad]</option>
<option value="1" $voteselected[1]>1 : $vbphrase[terrible]</option>
</optgroup>
</select>$gobutton
</div>
</form>
<!-- / rate this thread -->
</td>
</if>
</tr>
</if>
</table>
<br />
<!-- / controls for non-popup browsers -->
</if>
<!-- forum rules and admin links -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr valign="bottom">
<td class="smallfont" align="$stylevar[left]">
$forumrules
</td>
<td class="smallfont" align="$stylevar[right]">
<table cellpadding="0" cellspacing="0" border="0">
<if condition="!$show['popups'] AND $show['adminoptions']">
<tr>
<td>
<div class="smallfont" style="text-align:$stylevar[left]; white-space:nowrap">
<form action="postings.php" method="post" name="adminoptionsform">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="t" value="$threadid" />
<strong>$vbphrase[admin_tools]</strong>:<br />
<select name="do" onchange="this.form.submit()">
<optgroup label="$vbphrase[thread_admin_tools]">
<if condition="$show['openclose']"><option value="openclosethread" selected="selected"><if condition="$show['closethread']">$vbphrase[close_thread]<else />$vbphrase[open_thread]</if></option></if>
<if condition="$show['editthread']"><option value="editthread">$vbphrase[edit_thread]</option></if>
<if condition="$show['deletethread']"><option value="deletethread">$vbphrase[delete_thread]</option></if>
<if condition="$show['movethread']"><option value="movethread">$vbphrase[move_copy_thread]</option></if>
<if condition="$show['managethread']">
<option value="stick"><if condition="$show['unstick']">$vbphrase[unstick_thread]<else />$vbphrase[stick_thread]</if></option>
<option value="mergethread">$vbphrase[merge_threads]</option>
<!--<option value="splitthread">$vbphrase[split_thread]</option>-->
<option value="removeredirect">$vbphrase[remove_redirects]</option>
</if>
<if condition="$show['editpoll']"><option value="editpoll">$vbphrase[edit_poll]</option></if>
</optgroup>
</select>$gobutton
</form>
</div>
</td>
</tr>
<br />
</if>
<tr>
<td>
$forumjump
</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- /forum rules and admin links -->
<br />
$similarthreads
$footer
<!-- temp -->
<div style="display:none">
<!-- thread rate -->
<if condition="$show['ratethread']">
<!-- thread ratings form here -->
<else />
<if condition="$show['threadrating']">
$vbphrase[you_rated_this_thread]: <strong>$threadinfo[vote]</strong>
</if>
</if>
<!-- / thread rate -->
</div>
</body>
</html>
Pcparts
05-02-2006, 01:20 PM
Still doesnt work for me :(
Developer
05-02-2006, 01:33 PM
try this
https://vborg.vbsupport.ru/showpost.php?p=958126&postcount=104
Invalid ID
05-03-2006, 11:52 AM
It's working now :)
Thanks a lot Developer
Developer
05-03-2006, 12:27 PM
For all groups?
Invalid ID
05-03-2006, 12:33 PM
Yes sir :)
caliman
05-04-2006, 05:10 AM
It is working for me too. :)
Ya know... this reminds me of a mod for my old YaBB board... called 'My Favorite Threads' - it did the exact same thing BUT it allowed you to tag anybody's threads as your favorite not just your own thread. It would be cool if you did a spin off or incorporated that idea somehow.
Developer
05-04-2006, 10:29 AM
mmmmm, it would be a nice feature
but let me think ;)
caliman
05-04-2006, 01:27 PM
Hey no prob, if you can do it that would be great.
I was thinking of simply modifying the user check so that is just looks to see that you are a member but I am not sure if it is just that simple. :)
Rahuldhanpat
05-08-2006, 06:34 AM
nothing happen....???
installed product and changed the template? but no menu option or nothng..?
help
alessandro1974
05-08-2006, 01:23 PM
very nice plugin, but why users can only add their own threads?
there's no reason for this limitation
Alright I've got the plugin up and running, only question is, where should I upload the "best.gif" smilie file so that it'll appear like it does in your sample pictures?
os6orah
06-20-2006, 10:31 PM
great,
thanks ahmad
futuredood
06-22-2006, 11:49 AM
very nice plugin, but why users can only add their own threads?
there's no reason for this limitation
can you change this? also, can you limit the amount of number of best threads someone has? this way, they don't list every thread they started.
last thing, how do you change the template for the table produced? theirs a lot of fields that not everybody will want to use.
thanks.
Essam
06-22-2006, 01:05 PM
how i can make this hack for admin only ?
i tried adding codes but no luck ..
if($vbulletin->userinfo['usergroupid']=1)
{
the codes
}
so any help please ?
thanks
Any updates?
I want to limit users to a certain amount of threads they can add and allow them to add any thread not just ones they started.
Chicago_VLNU_4s
09-03-2006, 07:23 AM
why isn't this working!?
DannyITR
09-03-2006, 02:16 PM
I installed the hack but in the thread tools dropdown menu the option is the first option (different from screenshots) and I have no idea where to put the images?
Maybe because of vb3.6?
Any chance to make overall statistic "OUR BEST THREADS" that will pile up all threads from "My best thread" accounts and sume it up in the ranked chart?
nimonogi
11-06-2006, 05:20 AM
Any chance to make overall statistic "OUR BEST THREADS" that will pile up all threads from "My best thread" accounts and sume it up in the ranked chart?
I'm also interested in this!
Does this hack works on 3.6.2?
Could anyone help me with uninstalling this mod? Every time I try to, part of the forum breaks. I assume it has something to do with the database field this mod creates, but I dunno what to do about it.
BirdOPrey5
07-08-2010, 08:07 PM
Any chance this could be updated to 3.8?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.