<? DEW-CODE.COM  





Lost Password?
No account yet? Register

Downloads

Assorted scripts  (1)
DewNewPHPLinks  (9)

Dew-Code Newsfeed

Resources



Dew-Code
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Backlink Check Modifaction Multiple Possibilities (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:Backlink Check Modifaction Multiple Possibilities
#1434
FayKname (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Backlink Check Modifaction Multiple Possibilities 2 Years, 10 Months ago Karma: 0  
Is it possible to modify the script to check for one of a multiple of accepted backlinks?

Say for example I required a different return hardlink to my site depending on the category the submitter wants his site to be in?

So for say my 'Golf Clubs' category I want all sites submitted there to return link to me with the anchor text 'Golf Clubs' and for my 'Umbrellas' category I want all submitted sites to that category to return with anchor text 'Umbrellas'

But also, The hardlink itself may be different. My idea is to have sites submit to my site but require hardlinks to my site or other sites depending on the category.

So for sites submitted to category 'Red Cars' I want the return link to be to another site I own at www.peoplesredcars.com with the anchor 'Red Cars'

My idea to keep it simple is just to be able to edit the file that is used to store the backlink to check from being one link to multiple links. So the backlink scanner, instead of scanning for just one url/anchor combination scans for 1 of 5 or however many accepted hardlinks I add to it. A simple solution, if possible, not perfect but I am not worried too much about a guy linking to Red Cars when hes submitting Golf Clubs as it won't happen too often and I can hand just randomly hand check a few of a users submissions to ensure he seems to be backlinking to me correctly.

My apologies if the above is a little jumbled and I have misunderstood how the backlink checker works.
 
Report to moderator   Logged Logged  
 
Last Edit: 2010/08/18 02:05 By FayKname.
  The administrator has disabled public write access.
#1435
Dewed (Admin)
Admin
Posts: 610
graph
User Offline Click here to see the profile of this user
Dew-Code.com
Re:Backlink Check Modifaction Multiple Possibilities 2 Years, 10 Months ago Karma: 10  
Can it be done ? Certainly, anything is possible.

Can I do it ? Probably, given enough coffee...

For free ? Um... Sorry, I'm always grumpy before my morning coffee (Maybe I shouldn't check the forums until afternoon)

The file that would need to be tweaked is /admin/linkcheck_main.php
What that portion of the script does is check the remote URL's head tag for noindex & nofollow then strips out all HTML except for the A HREF tags, then tries to find what you specified in /include/config.php as $our_site

So .. potentially you could do the checks as you propose, If the category ID for red cars was 17 for example, change the value of $our_site accordingly

Code:

if ($rows[Category]) == 17){ $our_site = 'redcars.com';}
but that doesn't address providing different HTML to the submitter based on the category they submitted to. That would require edits to /include/add.php and likely include/email_addition.php as well as some additions to /include/lang/english.php
 
Report to moderator   Logged Logged  
 
Last Edit: 2010/08/18 07:27 By Dewed.
 
Nothing to it but to Dew it !
Dew-Code.com
  The administrator has disabled public write access.
#1436
FayKname (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re:Backlink Check Modifaction Multiple Possibilities 2 Years, 10 Months ago Karma: 0  
Awesome, the way you say it it sounds pretty easy actually. As soon as I reinstall it as 2.1, non-fantastico I will play around and see if I can get it to work for me. Thanks very much for your reply!
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1438
Dewed (Admin)
Admin
Posts: 610
graph
User Offline Click here to see the profile of this user
Dew-Code.com
Re:Backlink Check Modifaction Multiple Possibilities 2 Years, 10 Months ago Karma: 10  
Fantastico does not have the latest version.. so you'd be missing out on a few features, most notably, the ban list feature.

The latest version can be grabbed from here


So.. if you plan to re-install, save your old config.php file, use something like phpmyadmin to remove the existing tables from the database, upload the new version,
refer to your old config.php file for the mysql connect info, and browse to
yoursite.com/installdirectory/docs/ to complete the installation.

The previous tips I've given regarding your other post would still be relevant, although the exact line numbers may be off a bit.
 
Report to moderator   Logged Logged  
 
Last Edit: 2010/08/18 08:01 By Dewed.
 
Nothing to it but to Dew it !
Dew-Code.com
  The administrator has disabled public write access.
#1439
Dewed (Admin)
Admin
Posts: 610
graph
User Offline Click here to see the profile of this user
Dew-Code.com
Re:Backlink Check Modifaction Multiple Possibilities 2 Years, 10 Months ago Karma: 10  
DOH! you did say non-fantastico didn't you.... more coffee
 
Report to moderator   Logged Logged  
 
Nothing to it but to Dew it !
Dew-Code.com
  The administrator has disabled public write access.
Go to top Post Reply
get the latest posts directly to your desktop
Freelance Jobs
Newsflash
Interested in
advertising?

This space for rent!

Sign up for PayPal and start accepting credit card payments instantly.
Copyright Dew-Code 2013