View Full Version : Reciprocal URL on Suggest Links page
bestrankedsites
01-11-2007, 10:48 AM
Hi there,
How do I get rid of the Reciprocal URL box on the suggest link page.
The reason why I want to get rid of it is that people don't know my details before they add their link and since I have disabled checking for Reciprocal link on signup but use it in cronjob there's no reason for it to be there :)
Tilek E.
01-12-2007, 01:03 PM
Hi bestrankedsites and welcome to our Support Forums.
Try this in order to remove the reciprocal link field from the suggest-link page.
1) Open the suggest-link.tpl file in your current template folder.
2) Find the following code:
{if ($key eq 'email') AND $editor}
<input type="hidden" name="email" value="{$editor.email}" id="{$key}" />
{else}
<p class="field">
{assign var="field_title" value="field_"|cat:$field.name}
<strong>{$lang.$field_title}:</strong><br />
{/if}
{if $field.type eq 'text'}
{if $key eq 'email' AND $editor}
3) Change it to: (or simply add the selected text)
{if ($key eq 'email') AND $editor}
<input type="hidden" name="email" value="{$editor.email}" id="{$key}" />
{elseif $key eq 'reciprocal'}
{else}
<p class="field">
{assign var="field_title" value="field_"|cat:$field.name}
<strong>{$lang.$field_title}:</strong><br />
{/if}
{if ($field.type eq 'text') AND ($key <> 'reciprocal')}
{if $key eq 'email' AND $editor}
4) Save changes.
Please let me know the result and feel free to ask.
bestrankedsites
01-12-2007, 01:20 PM
Hi David,
Perfect thank you :D :cool-yo:
Tilek E.
01-12-2007, 02:49 PM
You're welcome!
vBulletin® v3.7.0, Copyright ©2000-2009, Jelsoft Enterprises Ltd.