View Full Version : Will pay for mod.
mcouvillon
01-02-2006, 04:38 PM
I will pay to have a mod done to change the reciprocal link address to be different from the directory address. I have my directory in a subdomain and it is making the image verification system not work properly. I want to be able to have the directory in 1 domain and a place in the admin area to add the reciprocal link code.
Thanks
Jim_Westergren
01-02-2006, 04:46 PM
I just made a similar thread minutes ago.
Well, I can also pay if that is needed.
Double pay for the helper!
David
01-02-2006, 05:34 PM
If you want to name a price up front, I'll run it past a couple of people I know, and we'll get it done.
Jim_Westergren
01-02-2006, 06:21 PM
Ok,
I bid $15
David
01-02-2006, 06:41 PM
Ok, I will see if a programmer can do this.
Also, you might want to check the forums.
I could have sworn a mod like this was posted previously.
VSDan
01-02-2006, 07:13 PM
As I see it, add input field to [System] > [Edit Settings] > [Link Submit]: Reciprocal Link Text
1. Add RECIPROCAL_TEXT row to PLD_CONFIG table
2. Edit templates/submit.tpl
3. Edit admin/init.php to add element [RECIPROCAL_TEXT] to "Link Submit" array
4. Also, have to edit other PHP files (admin and end-user) that validate and check reciprocal links - to use RECIPROCAL_TEXT instead of current default.
Jim_Westergren
01-02-2006, 07:36 PM
Thanks.
I would like to disable the validation, so that when I want to change the link I just have to edit the submit.tpl. I anyway check all recips manually.
How do I do it? Thanks.
Jim_Westergren
01-02-2006, 07:39 PM
Is it just to take out this line: ?
Content visible to registered users only.
VSDan
01-02-2006, 07:51 PM
That line just checks if the supplied URL is in valid format. This is the block:
Content visible to registered users only.
mcouvillon
01-02-2006, 09:27 PM
How does the link checker work? Does it find the exact text of the specified link code or just check for a link? I'll pay the 15 if you can make it check reciprocal links for each link. Just add a place for the code in admin. That would be great yea. :)
Jim_Westergren
01-06-2006, 07:59 PM
I realized that I didn't get any more reciprocals since some days and when I tested it myself (after haven removed the above 3 lines) the submission didn't work when doing if I filled out the recip field.
So, I found a solution.
In function validate_recpr_link that is on line 202 in the file /include/functions.php I see these 2 lines:
Content visible to registered users only.
I know that #SITE_URL# is defined in the admin panel so I changed the site URL to the recip link instead and the site works just like normal.
Did I just hit on the solution? Or any side-effects of this?
Thanks.
StB73
01-08-2006, 07:41 PM
So why don't you simply set your URL under System->Settings->Site ?
You can enter your reciprocal link address here and the name is the reciprocal text.
The only problem is, that the name is shown as first entry at the navigation links in the directory.
This can be modified in the top_bar.tpl
search for:
{if not $smarty.foreach.path.last}{if $smarty.const.ENABLE_REWRITE}{$current_path}{else} index.php?c={$cat.ID}{/if}"]{$cat.TITLE{else}$cat.TITLE} {/if}
replace with
{if not $smarty.foreach.path.last}{if $smarty.const.ENABLE_REWRITE}{$current_path}{else} index.php?c={$cat.ID}{/if}"]{if $smarty.foreach.path.first}Index{else}{$cat.TITLE} {/if}{else}{if $smarty.foreach.path.first}Index{else}{$cat.TITLE} {/if}{/if}
That's the way i did it on my site.
Perhaps this helps ?
Jim_Westergren
01-09-2006, 12:42 AM
StB73,
it was the same that I wrote, but we wrote it in different ways. :)
I am glad that this works now and my other sites already got about 15 more backlinks.
vBulletin® v3.8.0, Copyright ©2000-2012, Jelsoft Enterprises Ltd.