How to install TLA-text link ads-code in PHPLD site

Discussion in 'Directories' started by makeit easy, May 18, 2008.

  1. #1
    I need help for installing text link ads in my phpld site.
    I will sell the ads only at my homepage not sitewide.

    I can pay you $5 for your time. Please just let me know what will I do.

    Thanks.
     
    makeit easy, May 18, 2008 IP
  2. JamieG

    JamieG Banned

    Messages:
    1,825
    Likes Received:
    124
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Your posting in the wrong area for two reasons, one you should post in solicitations, secondly you might try asking over at their forum after all that's what its there for. It was brought to my attention by someone that they sent a mail shot for people to visit them so you'd be doing them a favour as well. :)
     
    JamieG, May 18, 2008 IP
  3. MeetHere

    MeetHere Prominent Member

    Messages:
    15,399
    Likes Received:
    994
    Best Answers:
    0
    Trophy Points:
    330
    #3
    you have to make a tpl and php file.
     
    MeetHere, May 18, 2008 IP
  4. pipes

    pipes Prominent Member

    Messages:
    12,766
    Likes Received:
    958
    Best Answers:
    0
    Trophy Points:
    360
    #4
    Im guessing its just a bit of code to copy n paste in? i dont know text link ads, is it a little bit of html or javascript or something or is there more to it than that?
     
    pipes, May 18, 2008 IP
  5. mikey1090

    mikey1090 Moderator Staff

    Messages:
    15,869
    Likes Received:
    1,055
    Best Answers:
    0
    Trophy Points:
    445
    Digital Goods:
    2
    #5
    Its php code pipes.
     
    mikey1090, May 18, 2008 IP
  6. pipes

    pipes Prominent Member

    Messages:
    12,766
    Likes Received:
    958
    Best Answers:
    0
    Trophy Points:
    360
    #6
    Sorry, i know almost zilch about php. :)
     
    pipes, May 18, 2008 IP
  7. articledirectory

    articledirectory Peon

    Messages:
    1,704
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Hi

    i can do it for you

    PM me some details and i will help you out :)
     
    articledirectory, May 18, 2008 IP
  8. MeetHere

    MeetHere Prominent Member

    Messages:
    15,399
    Likes Received:
    994
    Best Answers:
    0
    Trophy Points:
    330
  9. makeit easy

    makeit easy Active Member

    Messages:
    2,067
    Likes Received:
    62
    Best Answers:
    0
    Trophy Points:
    90
    #9
    Sorry I forgot to mention that I pasted TLA code before.
    Here is how I insert TLA code:

    I created a new file named "tla.php" as {php} TLA CODE {/php}

    and the xml file with 666 permission. Then included "tla.php" in "left.tpl"

    But I am getting this error: libs/smarty/Smarty.class.php on line 1095

    I think that text link ads code has a problem with smarty.class.php file and I don't know how to solve this.
    I will also need to know how to show the ads only at the homepage.
     
    makeit easy, May 18, 2008 IP
  10. articledirectory

    articledirectory Peon

    Messages:
    1,704
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    0
    #10
    i did it a different way to the above tutorial, i put the code directly into the template and to display it only on the homepage you need to use an IF statement like this:
    {if $category.ID eq 0 and not $list and not $search}
    you also have to mess around a little as there will still be some pages it shows up on, but that bit of advise above should point you in the right direction.
     
    articledirectory, May 18, 2008 IP
    makeit easy likes this.
  11. makeit easy

    makeit easy Active Member

    Messages:
    2,067
    Likes Received:
    62
    Best Answers:
    0
    Trophy Points:
    90
    #11
    @articledirectory: thanks for your reply. I tried to put the code directly into the template.
    But I got the same error. I will try {if $category.ID eq 0 and not $list and not $search} if I can get rid of the smarty.class.php error.
     
    makeit easy, May 18, 2008 IP
  12. Punct

    Punct Active Member

    Messages:
    76
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    50
    #12
    can you post the TLA code? maybe we can help you add it to your template.
     
    Punct, May 18, 2008 IP
  13. articledirectory

    articledirectory Peon

    Messages:
    1,704
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    0
    #13
    If you need any more help just PM me i Can show you the whole page code if you need it.
     
    articledirectory, May 18, 2008 IP
  14. Freewebspace

    Freewebspace Notable Member

    Messages:
    6,213
    Likes Received:
    370
    Best Answers:
    0
    Trophy Points:
    275
    #14
    Just add the code to bottom of index.php in PHPLD

    that's enough
     
    Freewebspace, May 19, 2008 IP
  15. BigFatMan

    BigFatMan Banned

    Messages:
    57
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #15
    I would need help with this as one of my directories was approved by TLA recently. Would like someone to help, thanks.
     
    BigFatMan, Jun 1, 2008 IP
  16. balkanboy

    balkanboy Banned

    Messages:
    1,950
    Likes Received:
    245
    Best Answers:
    0
    Trophy Points:
    0
    #16
    Put your code where you want it to appear, but try like this:

    
    {literal}
    Your TLA code
    {/literal}
    
    PHP:
     
    balkanboy, Jun 1, 2008 IP
  17. floppydrivez

    floppydrivez Peon

    Messages:
    453
    Likes Received:
    51
    Best Answers:
    0
    Trophy Points:
    0
    #17
    I just wouldn't do it. Up to you though.
     
    floppydrivez, Jun 1, 2008 IP
    syted likes this.
  18. makeit easy

    makeit easy Active Member

    Messages:
    2,067
    Likes Received:
    62
    Best Answers:
    0
    Trophy Points:
    90
    #18
    I have just found where I am doing wrong. I am happy to share the solution:

    {php}
    Paste the TLA Code here. Remove "<?php" and "?>" from the TLA Code. They are the first and last things in the code.
    {/php}

    I didn't know about the removing which I mentioned above. I found this solution by myself by thinking of the meaning of {php} and {/php}. They have the same meaning with <?php ?>. So, there should not be any same functions in the code just because of different dictation.

    Many thanks to everyone here.
     
    makeit easy, Jun 2, 2008 IP
    JamieG likes this.