Changing directory scripts

Discussion in 'Directories' started by iowadawg, Mar 13, 2006.

  1. #1
    This site has a very basic directory script:
    http://www.linkheredirectory.com

    I would like to change the script to phpld.
    How would I go about it so as not to lose anything?

    Thank you.
     
    iowadawg, Mar 13, 2006 IP
  2. clancey

    clancey Peon

    Messages:
    1,099
    Likes Received:
    63
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You should check the phpld forums to see if someone has written a script for converting the database entries from your current script to phpld.

    Failing that, after you create the phpld tables, take a look at how they are structured and write a php script to read your's and write to theirs.

    You need to create your categories first so that you can enter the correct category number for each entry.

    This is a little tedious -- but much less tedious than a manual transfer.
     
    clancey, Mar 13, 2006 IP
  3. WhatiFind

    WhatiFind offline

    Messages:
    1,789
    Likes Received:
    257
    Best Answers:
    0
    Trophy Points:
    180
    #3
    WhatiFind, Mar 13, 2006 IP
  4. iowadawg

    iowadawg Prominent Member

    Messages:
    10,918
    Likes Received:
    811
    Best Answers:
    0
    Trophy Points:
    380
    #4
    Were that since the database is there already, could I not just upload the new directory script and then where I need to enter the database information, just add the database?
    Would that work?

    Yeah, if it will take me more than 15 minutes, will leave the site alone.
     
    iowadawg, Mar 13, 2006 IP
  5. WhatiFind

    WhatiFind offline

    Messages:
    1,789
    Likes Received:
    257
    Best Answers:
    0
    Trophy Points:
    180
    #5
    It will take you more than 15 minutes, but either the phpLD or site-sift scripts are so much better than the biz-directory script.

    Here's what I did:

    I've made a dump from the database in phpMyAdmin, then used notepad to change things like: INSERT INTO `dir_categories` VALUES (1, 'blabla','blalba, and so on) in the right sql statements of the other directory script, for instance INSERT INTO `categories` VALUES (1, 'blabla','blalba, and so on), used find and replace. Then uploaded all the queries into new database in phpMyAdmin.

    You've to play around a bit with it to get the desired results. Otherwise pm dvduval.
     
    WhatiFind, Mar 13, 2006 IP
  6. dvduval

    dvduval Notable Member

    Messages:
    3,372
    Likes Received:
    356
    Best Answers:
    1
    Trophy Points:
    260
    #6
    Yes, we have done a number of conversions for people.
    Just let me know if you need help.
     
    dvduval, Mar 14, 2006 IP
  7. megri

    megri Active Member

    Messages:
    367
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    58
    #7
    You are currently using biz-directory script the best is to get new free phplinkdirectory and convert the mysql database
     
    megri, Mar 14, 2006 IP
  8. iowadawg

    iowadawg Prominent Member

    Messages:
    10,918
    Likes Received:
    811
    Best Answers:
    0
    Trophy Points:
    380
    #8
    Have some free time today, so will mess around with putting the phpld script into the site and see what happens.
    Then decide whether to sell off some image domain names or build them up.
    And who said retired people have time on their hands?????
     
    iowadawg, Mar 19, 2006 IP
  9. iowadawg

    iowadawg Prominent Member

    Messages:
    10,918
    Likes Received:
    811
    Best Answers:
    0
    Trophy Points:
    380
    #9
    http://www.linkheredirectory.com
    now has phpld script and looking the way I want (for now).
    But darn it all!
    I can not get phpld to recognize the database of all the categories and other information like the pages.

    Any suggestions?
     
    iowadawg, Mar 19, 2006 IP
  10. John D

    John D Well-Known Member

    Messages:
    1,154
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    150
    #10
    Post on the PHPLD forum, I moved from Biz-directory to PHPLD and it was a great move.

    If you have any problems there's a lot of people on the PHPLD forum that can help.
     
    John D, Mar 19, 2006 IP
  11. iowadawg

    iowadawg Prominent Member

    Messages:
    10,918
    Likes Received:
    811
    Best Answers:
    0
    Trophy Points:
    380
    #11
    I did overlook the obvious!
    Thanks for bringing it to my attention.
    Will be dragging my sorry butt over there shortly.
     
    iowadawg, Mar 19, 2006 IP
  12. dvduval

    dvduval Notable Member

    Messages:
    3,372
    Likes Received:
    356
    Best Answers:
    1
    Trophy Points:
    260
    #12
    Yep, we DO want to help.
    If you don't bet help, let me know.

    I actually have a rudimentary tool for transefing everything from Biz Directory now (and skalinks too)
     
    dvduval, Mar 20, 2006 IP
  13. iowadawg

    iowadawg Prominent Member

    Messages:
    10,918
    Likes Received:
    811
    Best Answers:
    0
    Trophy Points:
    380
    #13
    Moved it to phpld and someone gave me the categories to put into the database.
    Now it looks good, working good, life is good.

    Thanks to all for their help.
     
    iowadawg, Mar 21, 2006 IP