1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Free Deep Links Mod

Discussion in 'Directories' started by enQuira, Apr 23, 2007.

  1. maari

    maari Peon

    Messages:
    26
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #121
    Sooner have the tied and tested any day.

    Mind you some care more for there directories than others.
     
    maari, Apr 30, 2007 IP
  2. paidhosting

    paidhosting Peon

    Messages:
    4,822
    Likes Received:
    483
    Best Answers:
    0
    Trophy Points:
    0
    #122
    paidhosting, Apr 30, 2007 IP
  3. pipes

    pipes Prominent Member

    Messages:
    12,766
    Likes Received:
    958
    Best Answers:
    0
    Trophy Points:
    360
    #123
    Forgive me for replying to this thread seen as its aged a bit and please dont jump down my throat :) i just have a question to ask regarding the Mod.

    I have not tried installing it yet, but intend to.

    Ok my directories are free, with the usual featured for a fee.

    I would like to add this mod so that it creates deeplinks for the featured only, and leave the regular as it is, with regular listings still being free.

    Is this possible with this mod?
     
    pipes, May 31, 2007 IP
  4. enQuira

    enQuira Peon

    Messages:
    1,584
    Likes Received:
    250
    Best Answers:
    0
    Trophy Points:
    0
    #124
    yes you will have just to edit the javascript code for regular() function. You should set it so that it doesn't trigger the display of those fields.
    function regular(){
    setVisibility('field1_title', 'none');
    setVisibility('field1_url', 'none');
    setVisibility('field2_title', 'none');
    setVisibility('field2_url', 'none');
    setVisibility('field3_title', 'none');
    setVisibility('field3_url', 'none');
    setVisibility('field4_title', 'none');
    setVisibility('field4_url', 'none');
    setVisibility('field5_title', 'none');
    setVisibility('field5_url', 'none');
    }

    as simple as that
     
    enQuira, May 31, 2007 IP
    kiviniar, pipes and skibladner like this.
  5. pipes

    pipes Prominent Member

    Messages:
    12,766
    Likes Received:
    958
    Best Answers:
    0
    Trophy Points:
    360
    #125
    Thank you mhamdi for replying to my question, and so quickly too, im pleased that its possible, i will attempt to get it up and running on my directory in the next few days hopefully, and compliments to you on providing this.
     
    pipes, May 31, 2007 IP
  6. pipes

    pipes Prominent Member

    Messages:
    12,766
    Likes Received:
    958
    Best Answers:
    0
    Trophy Points:
    360
    #126
    mhamdi, could you tell me which file i need to edit in order to do that please? apologies for my noobness. :)
     
    pipes, Jun 2, 2007 IP
  7. enQuira

    enQuira Peon

    Messages:
    1,584
    Likes Received:
    250
    Best Answers:
    0
    Trophy Points:
    0
    #127
    from this step, it is placed in the header.tpl
     
    enQuira, Jun 2, 2007 IP
  8. paidhosting

    paidhosting Peon

    Messages:
    4,822
    Likes Received:
    483
    Best Answers:
    0
    Trophy Points:
    0
    #128
    paidhosting, Jun 2, 2007 IP
  9. pipes

    pipes Prominent Member

    Messages:
    12,766
    Likes Received:
    958
    Best Answers:
    0
    Trophy Points:
    360
    #129
    Thank you mhamdi and paidhosting for providing each link, i will try that shortly and report back here if im successful.
     
    pipes, Jun 3, 2007 IP
  10. pipes

    pipes Prominent Member

    Messages:
    12,766
    Likes Received:
    958
    Best Answers:
    0
    Trophy Points:
    360
    #130
    mhamdi and paidhosting thanks, i seem to have got it displaying what i want with help from you both, i still need to test it but so far everything seems in the right place. http://www.directoryvirgin.com/submit.php?c=32

    I may take reciprocal off all my directories too, seen quite a few owners doing away with reciprocal now.
     
    pipes, Jun 3, 2007 IP
  11. enQuira

    enQuira Peon

    Messages:
    1,584
    Likes Received:
    250
    Best Answers:
    0
    Trophy Points:
    0
    #131
    you should hide the fields when you selected regular with reciprocal also.
    you can do this by replacing
    <input type="radio" name="LINK_TYPE" value="reciprocal" >
    BY
    <input type="radio" name="LINK_TYPE" value="reciprocal" onclick="regular();"; >
     
    enQuira, Jun 3, 2007 IP
  12. pipes

    pipes Prominent Member

    Messages:
    12,766
    Likes Received:
    958
    Best Answers:
    0
    Trophy Points:
    360
    #132
    Ah yes, thanks for pointing that out mhamdi, i will do that now.
     
    pipes, Jun 3, 2007 IP
  13. pipes

    pipes Prominent Member

    Messages:
    12,766
    Likes Received:
    958
    Best Answers:
    0
    Trophy Points:
    360
    #133
    Im now trying to add Phpld deeplinks mod - Additional features

    templates/admin/link_details.tpl, <--
    templates/admin/dir_links_edit.tpl <-- im guessing those are both meant to say .php as i dont see those as template files anywhere.

    Im having trouble with adding the code to link_details.php and dir_links_edit.php
    i cant find where the new code should be copied into those two.
     
    pipes, Jun 3, 2007 IP
  14. enQuira

    enQuira Peon

    Messages:
    1,584
    Likes Received:
    250
    Best Answers:
    0
    Trophy Points:
    0
    #134
    those are template files .tpl but the correct path should be templates/Core/admin/
     
    enQuira, Jun 3, 2007 IP
  15. pipes

    pipes Prominent Member

    Messages:
    12,766
    Likes Received:
    958
    Best Answers:
    0
    Trophy Points:
    360
    #135
    About 30 seconds ago i had a look in core and found them there, sorry about that mhamdi, i had been hunting everywhere :) thanks for replying though, editing them now.

    Thanks again
     
    pipes, Jun 3, 2007 IP
  16. enQuira

    enQuira Peon

    Messages:
    1,584
    Likes Received:
    250
    Best Answers:
    0
    Trophy Points:
    0
    #136
    I will edit the blog post to correct the path, thanks.
     
    enQuira, Jun 3, 2007 IP
  17. pipes

    pipes Prominent Member

    Messages:
    12,766
    Likes Received:
    958
    Best Answers:
    0
    Trophy Points:
    360
    #137
    Thanks mhamdi, good work by the way, compliments to you on putting the mod together, its very much appreciated.
     
    pipes, Jun 3, 2007 IP
  18. enQuira

    enQuira Peon

    Messages:
    1,584
    Likes Received:
    250
    Best Answers:
    0
    Trophy Points:
    0
    #138
    you're welcome, I appreciate it if you could also answer others questions now that you are able to install it.
     
    enQuira, Jun 3, 2007 IP
  19. pipes

    pipes Prominent Member

    Messages:
    12,766
    Likes Received:
    958
    Best Answers:
    0
    Trophy Points:
    360
    #139
    Absolutely, i will help out wherever possible, more than happy to.

    I still have a minor hiccup, i have those 3 files edited and uploaded but when i go into "edit link" for example, i see none of the deeplinks, only the empty fields, even though ive filled them during a test submission.

    Edit: I approved a test submission on my directory, just to see if the deeplinks showed up on the details page, but they didn't, the directory seems to accept the submission but nothing shows in admin, or on approval.

    Im not sure what i may have missed.:confused:
     
    pipes, Jun 3, 2007 IP
  20. enQuira

    enQuira Peon

    Messages:
    1,584
    Likes Received:
    250
    Best Answers:
    0
    Trophy Points:
    0
    #140
    could you check if you have those fields in your PLD_LINK table? otherwise you can add them using the mysql file or by modifying tables.php and running the install script.



     
    enQuira, Jun 3, 2007 IP