View Full Version : I removed javascript from main.tpl but googlebot still nuts
Sxperm
02-14-2006, 03:14 AM
Hi, I removed javascript to prevent googlebot problem following phpld wikipedia but googlebot or any sitemap generator still nuts on my site. I'm wonder why all sort function still works on my site even I removed those javascript already. Any suggestion??
Regards,
Sxperm
melaniejk
02-14-2006, 04:39 AM
Hi Sxperm.
I removed the javascript and then the Hit Sort and the Alphabetical Sort both stopped working. So, then I added the javascript back. But, the sorts still don't work. And, the Hit Sort isn't even a link anymore.
Psyclones
02-14-2006, 09:25 AM
have you tried deleting the cached file from
temp>templates
then trying
melaniejk
02-14-2006, 04:51 PM
Hi.
Thank you for the suggestions. I didn't know that there was a cache.
I deleted the file from temp and then reuploaded the main.tpl to the regular template folder.
But, it still doesn't work.
----------------------------------------------
I have been looking over the files and found this area that mentions the sort. Does it look right?
main.tpl :
<h2>{l}Featured Links{/l} </h2>
{foreach from=$feat_links item=link name=links} {include file="link.tpl" link=$link} {/foreach} {/if}
{* Links heading and sorting*} {if ($qu or $category.ID gt 0 or $p) and count($links) gt 0}
<h2>{l}Standard Listings{/l}{if not $p}<span class="small" style="margin-left: 50px">{l}Sort by{/l}:
{if $smarty.const.ENABLE_PAGERANK and $smarty.const.SHOW_PAGERANK}{if $sort eq 'P'}<span class="sort"> {l}PageRank{/l}</span>{else} {l}PageRank{/l} (?s=P{if not $smarty.const.ENABLE_REWRITE}&c={$category.ID}{/if}{if $qu}&q={$qu}{/if}){/if} |{/if}
{if $sort eq 'H'} <span class="sort">{l}Hits{/l}</span>{else} {l}Hits{/l} (?s=H{if not $smarty.const.ENABLE_REWRITE}&c={$category.ID}{/if}{if $qu}&q={$qu}{/if}){/if}
{if $sort eq 'A'} | <span class="sort">{l}Alphabetical{/l}</span>{else} | {l}Alphabetical{/l} (?s=A{if not $smarty.const.ENABLE_REWRITE}&c={$category.ID}{/if}{if $qu}&q={$qu}{/if}){/if}
</span>{/if}</h2>
<div id="links">
{foreach from=$links item=link name=links}
{include file="link.tpl" link=$link}
{/foreach}
</div>
vBulletin® v3.8.0, Copyright ©2000-2012, Jelsoft Enterprises Ltd.