Results 1 to 9 of 9

Thread: Add-On - (3rd party reciprocal)

  1. #1
    Join Date
    Nov 2007
    Posts
    227

    Default Add-On - (3rd party reciprocal)

    This mod was created and tested on IndexU v5.4.0. I have not tested it with other versions. Backup all files edited prior to installing.

    This mod is for people who have multiple websites. It allows people to submit their site to your directory and if you have "Reciprocal Check" enabled, they can add a reciprocal to either your directory or another one of your sites (you choose which site of course). For example, I own yourdomain1.com and yourdomain2.com. A user submitting to yourdomain1.com can add a reciprocal link back to yourdomain2.com and the link will validate normally.

    This mod will take about 20-30 minutes to install and requires you to edit 8 files. This is a basic mod that even a beginner could install on his/her own. Just make sure you backup all the edited files before making any modifications.

    This is my first mod (for this script anyway) and any and all feedback is welcome. If you need support, please make a new thread post in the "Technical Issues and Questions" forum and I will respond as soon as I can. If you have a comment or feature request, please reply to this thread. I am on here daily, so I will get back to you.

    What you will need to do after installation is figure out how to tell the person submitting a link which sites he can point his reciprocal link toward. This is up to you.

    Coming Soon:
    Ability to turn this feature on and off via admin.
    Ability to specify an unlimited number of additional domains to allow reciprocal links.
    Tell the customer which sites he can link to.
    Anything else I can think of.

    Good luck. Remember, back up the files affected prior to installing.

    The file third_party_recip.txt is attached.
    Attached Files Attached Files
    Last edited by mpdaddy; 12-09-2007 at 08:54 PM. Reason: Missed the version tested.

  2. #2
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    Mod added to repository

    The included text file looks very well written. I hope users will enjoy this.

  3. #3
    Join Date
    Nov 2007
    Posts
    227

    Default Update to third party reciprocal

    I have updated the script with some much needed features.

    1) You can now turn it on-off via admin.
    2) You can either require the reciprocal to either site or require a reciprocal to both sites.
    3) When using "Spider Link CheckUrl" in admin, it now checks for the presence of the alternate reciprocal and reports it.

    I have also made it a zip file instead of just a text file. It contains all the files that need to be modified and they have the changes already done to them. I would recommend opening the file "install.txt" and reading the information at the top at the very least.

  4. #4
    Join Date
    Oct 2007
    Location
    Sydney
    Posts
    652

    Default

    This is great, thank you very much for your so valuable contribution.

    It is nice to see some of the members are so helpful. These kinds of attitude make the script a lot stronger.

    By the way I installed it and every thing is working perfect, when I go to;

    INDEXU - Spider Link & Reciprocal Checker
    Both Reciprocal Found & Alternate Reciprocal Found or Not Found are there, ... but when I clicked on the “URLCheker Result” the “Alternate Reciprocal” is not there.

    Now this is how my Admin/URLChecker Result look like,
    Angelic Photographics
    http://www.angelicphotographics.com (Live : Y, Reciprocal Found : N)


    … it will be nice if it looks like this;
    Angelic Photographics
    http://www.angelicphotographics.com (Live : Y, Reciprocal Found : N, Alternate Reciprocal Found : Y)

    This will make the Mod even better, is it difficult to add that to the Mod as well?

    Best regards
    Mitchell
    Last edited by Mitchell; 12-09-2007 at 07:24 PM.

  5. #5
    Join Date
    Nov 2007
    Posts
    227

    Default

    Not difficult at all. I will add this, update the zip file, and also post the instructions for how to add just that part so you can get it working correctly. I just forgot to add it to that file. I will get it done ASAP. Thanks for the feedback.

  6. #6
    Join Date
    Nov 2007
    Posts
    227

    Default

    I have updated the package with the changes and a few minor typo changes to the install.txt file. I have added the file link_checkurl.php to fix the issue you were speaking of. I have added the steps listed below to the install.txt file in step 10 and moved the database and final steps to 11 & 12. If you want you can download the updated package and follow step 10, download the package and install the file IndexU\indexu_5_4_0\upload\admin\link_checkurl.php , or follow these steps.

    Open IndexU\indexu_5_4_0\upload\admin\link_checkurl.php and find this line (40):

    Code:
                  where live = 'N' or reciprocal_found = 'N'";
    and replace it with this:

    Code:
                  where live = 'N' or reciprocal_found = 'N' or alt_reciprocal_found = 'N'";
    Then, find this line (45):

    Code:
                         concat(a.url, ' (Live : ', b.live, ', Reciprocal Found : ', b.reciprocal_found, ')') url
    and replace it with this:

    Code:
                         concat(a.url, ' (Live : ', b.live, ', Reciprocal Found : ', b.reciprocal_found, ', Alternate Reciprocal Found : ', b.alt_reciprocal_found, ')') url
    You are done. Test it out and let me know how it works.

  7. #7
    Join Date
    Oct 2007
    Location
    Sydney
    Posts
    652

    Default

    It is perfect, works very well.
    Best regards
    Mitchell
    Last edited by Mitchell; 12-11-2007 at 09:08 PM.

  8. #8
    Join Date
    Dec 2007
    Posts
    4

    Default

    Problem:
    Fatal error: Call to a member function on a non-object in .../admin/link_checkurl.php on line 51

    Have you any idea what wrong?
    I use your package without modifikations.

    Thanks
    Tomtom

  9. #9
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    Remove the mod and run checkurl again to ensure that it's the mod causing the issues.

Similar Threads

  1. integrate links engine into 3rd party site
    By inspireme in forum v5.x
    Replies: 1
    Last Post: 12-23-2004, 02:15 PM
  2. Selling third party hack for Indexu.
    By aladdin in forum v5.x
    Replies: 6
    Last Post: 11-03-2003, 06:43 PM
  3. invitation to thirt party support
    By dody in forum Announcements
    Replies: 0
    Last Post: 04-12-2003, 06:59 PM
  4. Search Box on third party sites !
    By ideavirus in forum v3.2
    Replies: 0
    Last Post: 08-31-2002, 07:59 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •