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.

Code for email notification - phpLD

Discussion in 'Directories' started by MeetHere, Jan 7, 2008.

  1. #1
    Can anybody help me with the code for email notification to show

    "your site is in ---- category " :confused:

    Sometimes people submit in unrelated category, then I have to move in appropriate category..

    After approval they dont find..

    So how to tell them the listed category in email notification.

    Thanks.:)
     
    MeetHere, Jan 7, 2008 IP
  2. Richie_Ni

    Richie_Ni Illustrious Member

    Messages:
    10,721
    Likes Received:
    1,175
    Best Answers:
    0
    Trophy Points:
    410
    #2
    {LINK_CATEGORY_TITLE} Category title where link is available
    {LINK_CATEGORY_URL} Full URL to category where link is available
     
    Richie_Ni, Jan 7, 2008 IP
  3. dargre

    dargre Peon

    Messages:
    1,007
    Likes Received:
    161
    Best Answers:
    0
    Trophy Points:
    0
    #3
    And those who use custom rewrited link detail URL: (as I noticed it on so many directories)

    You should not forget to update replace_email_vars function for new link URL.
    This is in 'include/functions.php' and starts code from:
    
    if (ENABLE_REWRITE == 1)
                $detailPageUrl = "detail/link-{$data['ID']}.html";
    
    Code (markup):
    The second line should be updated, it require some php code to have correct URL - depending of what you have for rewrite link detail page.
    I think it's not so nice when user receive email with broken link...
     
    dargre, Jan 7, 2008 IP
  4. MeetHere

    MeetHere Prominent Member

    Messages:
    15,399
    Likes Received:
    994
    Best Answers:
    0
    Trophy Points:
    330
    #4
    Thanks very much..

    Let me try it. :)
     
    MeetHere, Jan 7, 2008 IP