# Zoints SEO 2.2.2
# Copyright (C) 2006  Zoints Inc
# 
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
# 
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# Lesser General Public License for more details.
# 
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
# 

          TEMPLATE: threadbit
________________________________________

Only perform these template edits if the automated template edits do not work. If you
do these edits, disable the plugin "Zoints SEO (template: threadbit)" in the Plugin Manager.

	AdminCP > Plugin System > Plugin Manager

To disable the plugin, uncheck "Active" next to the "Zoints SEO (template: threadbit)" plugin
and then press the "Disable Active Status" button.


Find:
==================================================
			<if condition="$show['gotonewpost']"><a href="showthread.php?$session[sessionurl]goto=newpost&amp;t=$thread[threadid]"><img class="inlineimg" src="$stylevar[imgdir_button]/firstnew.gif" alt="$vbphrase[go_to_first_new_post]" border="0" /></a></if>
==================================================
Replace With:
==================================================
			<if condition="$show['gotonewpost']"><a href="<if condition="$show['zointsurl']">$thread[zointsurl]?goto=newpost<else />showthread.php?$session[sessionurl]goto=newpost&amp;t=$thread[threadid]</if>"><img class="inlineimg" src="$stylevar[imgdir_button]/firstnew.gif" alt="$vbphrase[go_to_first_new_post]" border="0" /></a></if>
==================================================



Find:
==================================================
				<strong><a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]">$thread[threadtitle]</a></strong>
==================================================
Replace With:
==================================================
				<strong><a href="<if condition="$show['zointsurl']">$thread[zointsurl]<else />showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]</if>" id="thread_title_$thread[realthreadid]">$thread[threadtitle]</a></strong>
==================================================



Find:
==================================================
				<a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]">$thread[threadtitle]</a>
==================================================
Replace With:
==================================================
				<a href="<if condition="$show['zointsurl']">$thread[zointsurl]<else />showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]</if>" id="thread_title_$thread[realthreadid]">$thread[threadtitle]</a>
==================================================



Find:
==================================================
			<if condition="$thread['pagenav']">$stylevar[dirmark]<span class="smallfont" style="white-space:nowrap">(<img class="inlineimg" src="$stylevar[imgdir_misc]/multipage.gif" alt="$vbphrase[multipage_thread]" border="0" /> $thread[pagenav]<if condition="$show[pagenavmore]"> ... <a href="showthread.php?$session[sessionurl]t=$thread[threadid]&amp;page=$thread[totalpages]$thread[highlight]">$vbphrase[last_page]</a></if>)</span></if>
==================================================
Replace With:
==================================================
			<if condition="$thread['pagenav']">$stylevar[dirmark]<span class="smallfont" style="white-space:nowrap">(<img class="inlineimg" src="$stylevar[imgdir_misc]/multipage.gif" alt="$vbphrase[multipage_thread]" border="0" /> $thread[pagenav]<if condition="$show[pagenavmore]"> ... <a href="<if condition="$show['zointsurl']">$thread[lastpageurl]<else />showthread.php?$session[sessionurl]t=$thread[threadid]&amp;page=$thread[totalpages]$thread[highlight]</if>">$vbphrase[last_page]</a></if>)</span></if>
==================================================



Find:
==================================================
			<phrase 1="member.php?find=lastposter&amp;t=$thread[threadid]" 2="$thread[lastposter]">$vbphrase[by_x]</phrase>  <a href="showthread.php?$session[sessionurl]goto=lastpost&amp;t=$thread[threadid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a>
==================================================
Replace With:
==================================================
			<phrase 1="member.php?find=lastposter&amp;t=$thread[threadid]" 2="$thread[lastposter]">$vbphrase[by_x]</phrase>  <a href="<if condition="$show['zointsurl']">$thread[zointsurl]?goto=lastpost<else />showthread.php?$session[sessionurl]goto=lastpost&amp;t=$thread[threadid]</if>"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a>
==================================================



Find:
==================================================
			<td class="alt1"><a href="forumdisplay.php?$session[sessionurl]f=$thread[forumid]">$thread[forumtitle]</a></td>
==================================================
Replace With:
==================================================
			<td class="alt1"><a href="<if condition="$show['zointsurl']">$thread[zointsforumurl]<else />forumdisplay.php?$session[sessionurl]f=$thread[forumid]</if>">$thread[forumtitle]</a></td>
==================================================