BeerLuver
06-23-2008, 10:00 PM
This is a simple template edit to Remove Thread Views from the forum display when viewing a forum section with threads in it. Some people like to do this to reduce people from complaining about "I have 200 thread views and only 3 replies... waaaahhh", so this is a simple thing you can do to eleviate those annoyances on your forums.
**TIP: COPY these two templates & paste them into your Notepad program and save them to your hard drive as .txt template backups in case you need to restore the original code then easily.
I always like to warn people to make backups just in case heh. OK then... on to editing...
Templates to edit: 2
===================
FORUMDISPLAY template
===================
Find this code:
<td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap">$vbphrase[views]</span></td>
Delete it.
Find this code:
<td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&order=desc&sort=views" rel="nofollow">$vbphrase[views]</a> $sortarrow[views]</span></td>
Delete it.
Find this code:
<option value="views" $sort[views]>$vbphrase[number_of_views]</option>
Delete it.
===================
threadbit template
===================
Find this code:
<td class="alt2" title="<phrase 1="$thread[replycount]" 2="$thread[views]">$vbphrase[replies_x_views_y]</phrase>">
Replace it with this code:
<td class="alt2" title="<phrase 1="$thread[replycount]">$vbphrase[replies_x]</phrase>">
Find this code:
<td class="alt2" align="center">$thread[views]</td>
Delete it.
Done. The Thread Views column on the forum display page should be gone now. Hope that helps anyone who is looking to do the same :)
**Screenshot added
**TIP: COPY these two templates & paste them into your Notepad program and save them to your hard drive as .txt template backups in case you need to restore the original code then easily.
I always like to warn people to make backups just in case heh. OK then... on to editing...
Templates to edit: 2
===================
FORUMDISPLAY template
===================
Find this code:
<td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap">$vbphrase[views]</span></td>
Delete it.
Find this code:
<td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&order=desc&sort=views" rel="nofollow">$vbphrase[views]</a> $sortarrow[views]</span></td>
Delete it.
Find this code:
<option value="views" $sort[views]>$vbphrase[number_of_views]</option>
Delete it.
===================
threadbit template
===================
Find this code:
<td class="alt2" title="<phrase 1="$thread[replycount]" 2="$thread[views]">$vbphrase[replies_x_views_y]</phrase>">
Replace it with this code:
<td class="alt2" title="<phrase 1="$thread[replycount]">$vbphrase[replies_x]</phrase>">
Find this code:
<td class="alt2" align="center">$thread[views]</td>
Delete it.
Done. The Thread Views column on the forum display page should be gone now. Hope that helps anyone who is looking to do the same :)
**Screenshot added