Results 1 to 15 of 15

Thread: add link added to portal date to admin cp

  1. #1
    Join Date
    Aug 2003
    Posts
    233

    Default add link added to portal date to admin cp

    Esm,
    You were able to tell me how to add hit count to users edit record in control panel.

    Can the same thing be done for the link add date variable ?
    Lewis
    Best
    Lewis
    www.AtoZfitness.com/indexu

  2. #2
    Join Date
    Apr 2003
    Location
    Atlanta GA
    Posts
    3,395

    Default

    yep, just change the name and value in the input statment
    esm
    "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."

    .

  3. #3
    Join Date
    Aug 2003
    Posts
    233

    Default

    cool easy enough .
    Is date field the actual name as that is what I see in table alter ?
    best
    Lewis
    Best
    Lewis
    www.AtoZfitness.com/indexu

  4. #4
    Join Date
    Apr 2003
    Location
    Atlanta GA
    Posts
    3,395

    Default

    use:
    date or last_updated
    esm
    "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."

    .

  5. #5
    Join Date
    Aug 2003
    Posts
    233

    Default

    So is this correct then ?

    1. in link_search_form.html

    <tr class=tbl_light>
    <td>ID: </td>
    <td width=280><input type=text size=10 name=date></td>
    </tr>


    2.in link_search.php
    After....

    // mod to add the link field
    elseif($field=='link_id' && !empty($link_id))
    $query .= "and $field = $link_id ";

    I need to add the following
    // mod to add the date submitted field
    elseif($field=='date' && !empty($date))
    $query .= "and $field = $date ";

    add <%date%> to the link_view_rows.html if you wanted to actually see the date added displayed.

    thanks ever so much Lewis
    Best
    Lewis
    www.AtoZfitness.com/indexu

  6. #6
    Join Date
    Apr 2003
    Location
    Atlanta GA
    Posts
    3,395

    Default

    looks good to me
    esm
    "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."

    .

  7. #7
    Join Date
    Aug 2003
    Posts
    233

    Default

    thanks will try it and let you know my results
    Best
    Lewis
    www.AtoZfitness.com/indexu

  8. #8
    Join Date
    Aug 2003
    Posts
    233

    Default

    Esm,
    no luck for me did not display anything in admin control panel results.
    Lewis
    Best
    Lewis
    www.AtoZfitness.com/indexu

  9. #9
    Join Date
    Apr 2003
    Location
    Atlanta GA
    Posts
    3,395

    Default

    date has to be in the format of YYYY-MM-DD
    esm
    "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."

    .

  10. #10
    Join Date
    Aug 2003
    Posts
    233

    Default

    Sorry to clasrify I meant when I pull up a webmasters link after searching in the cp I do not see the date field at all
    Best
    Lewis
    www.AtoZfitness.com/indexu

  11. #11
    Join Date
    Apr 2003
    Location
    Atlanta GA
    Posts
    3,395

    Default

    I mentioned earlier to include the value
    Code:
    <tr class=tbl_light>
    <td>Date: </td>
    <td width=280><input type=text size=10 name=date value="<%date%>"></td>
    </tr>


    esm
    "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."

    .

  12. #12
    Join Date
    Aug 2003
    Posts
    233

    Default

    Oops I figured it was just a matter of NOT following your directions to a "T"
    Thanks Esm
    Best
    Lewis
    www.AtoZfitness.com/indexu

  13. #13
    Join Date
    Apr 2003
    Location
    Atlanta GA
    Posts
    3,395

    Default

    heck, if I had a dollar for every time I forgot to follow instructions, both of us could retire to a carribean island ( or south pacific island ), sip margaritas and leer at the pretty ladies ( and at my age that's about all I could do )
    esm
    "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."

    .

  14. #14
    Join Date
    Aug 2003
    Posts
    233

    Default

    Esm,
    Remember Age is only a number

    best
    Lewis
    Best
    Lewis
    www.AtoZfitness.com/indexu

  15. #15
    Join Date
    Apr 2003
    Location
    Atlanta GA
    Posts
    3,395

    Default

    tell that to my body!
    esm
    "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."

    .

Similar Threads

  1. Change date when adding a link
    By koros in forum Pre-Sales Questions
    Replies: 0
    Last Post: 06-20-2004, 02:40 PM
  2. Admin edits of link hits ?
    By Frank71 in forum v5.x
    Replies: 11
    Last Post: 06-18-2004, 03:50 AM
  3. Replies: 3
    Last Post: 04-01-2004, 12:51 PM
  4. Updated link date
    By cdhanjal in forum v3.2
    Replies: 0
    Last Post: 03-11-2002, 09:21 AM
  5. Link Expiry Date
    By cdhanjal in forum v3.2
    Replies: 0
    Last Post: 03-11-2002, 09:18 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •