php coding needed

Discussion in 'Services' started by vic_msn, Apr 16, 2006.

  1. #1
    please visit http://www.centraldirectory.net/
    the category link is displayed as http://www.centraldirectory.net/sho...php?sbcat_id=49
    and outgoing links are displayed as
    http://www.centraldirectory.net/goto.php?sblink_id=118
    i have uploaded the necessary files here and you can download it and make necessary changes so that the outgoing link is displayed as
    http://www.link.com/. ie links should be direct links to the respective site
    any doubts or any other file needed please PM me thank you.urgently needed.
    the script developer is not responding
     
    vic_msn, Apr 16, 2006 IP
  2. eklim8

    eklim8 Peon

    Messages:
    59
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    eklim8, Apr 16, 2006 IP
  3. onlyican.com

    onlyican.com Peon

    Messages:
    206
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #3
    onlyican.com, Apr 16, 2006 IP
  4. MisterX

    MisterX Peon

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #4
    If I understood it correctly, he meant to say that the links should be direct links and not go through goto.php.

    In order to do that, searchresult.php is the file that should be modified.
     
    MisterX, Apr 16, 2006 IP
  5. onlyican.com

    onlyican.com Peon

    Messages:
    206
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #5
    But if you do that, then the links will either need to open in a new window, which means they will not count as coming from you website.

    Or they click on the link in the same window, which means they will loose your website.

    The is should be done at the moment is the link will open another page of yours in a new window, then redirect them to the website, so the customer does not loose your website, and the link still counts as coming from your website.
     
    onlyican.com, Apr 16, 2006 IP
  6. vic_msn

    vic_msn Well-Known Member

    Messages:
    2,233
    Likes Received:
    125
    Best Answers:
    0
    Trophy Points:
    155
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #6
    yes the links should no go through goto.php
    i have uploaded the file
     
    vic_msn, Apr 16, 2006 IP
  7. MisterX

    MisterX Peon

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #7
    I made some changes to the file, try uploading it and let me see the results.

    If it works, it should only be a temporary solution, since the forums were not designed to work that way and some related things will go wrong (visits will not be logged into your database as planned, for example, and who knows what else).
     

    Attached Files:

    MisterX, Apr 16, 2006 IP
  8. vic_msn

    vic_msn Well-Known Member

    Messages:
    2,233
    Likes Received:
    125
    Best Answers:
    0
    Trophy Points:
    155
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #8
    vic_msn, Apr 16, 2006 IP
  9. MisterX

    MisterX Peon

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #9
    Well, for one, the links on the main page under "latest additions" need to be modified as well if you want them to be direct links.

    After a closer look, you probably won't have any problems with the modified code, but you won't be able to track clicks to the listed sites (as that was performed through goto.php), and anything relying on that data won't work anymore.

    Apart from that, you also might want to change some things in your left navigation bar. "Home And Gardnering" to "Home And Gardening", "Free Stuffs" to "Free Stuff" and "Foods & Bevrages" to "Foods & Beverages" ;)
     
    MisterX, Apr 16, 2006 IP
  10. vic_msn

    vic_msn Well-Known Member

    Messages:
    2,233
    Likes Received:
    125
    Best Answers:
    0
    Trophy Points:
    155
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #10
    thank you for your suggestions will you do this for me.
     
    vic_msn, Apr 17, 2006 IP
  11. MisterX

    MisterX Peon

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #11
    Yeah...send me the index.php and I'll change it.
     
    MisterX, Apr 17, 2006 IP
  12. vic_msn

    vic_msn Well-Known Member

    Messages:
    2,233
    Likes Received:
    125
    Best Answers:
    0
    Trophy Points:
    155
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #12
    i have uploaded.thank you once again.
     
    vic_msn, Apr 18, 2006 IP
  13. drugoon

    drugoon Guest

    Messages:
    702
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #13
    drugoon, Apr 18, 2006 IP
  14. MisterX

    MisterX Peon

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #14
    This should do it for the main page and I've removed the extra http.

    All the links should now work.

    Have in mind, though, that the "most popular" category is not going to work anymore, because goto.php doesn't record clicks as it was meant to.
     

    Attached Files:

    MisterX, Apr 18, 2006 IP
  15. vic_msn

    vic_msn Well-Known Member

    Messages:
    2,233
    Likes Received:
    125
    Best Answers:
    0
    Trophy Points:
    155
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #15
    vic_msn, Apr 19, 2006 IP