Page 1 of 2 12 LastLast
Results 1 to 15 of 16

Thread: posting as an admin, can mail be sent?

  1. #1
    Join Date
    Jul 2002
    Location
    Riyadh, Saudi Arabia
    Posts
    236

    Default posting as an admin, can mail be sent?

    Hi
    I have started a directory of firms in my town, as I build up the directory I will be adding info myself as an empty directry wont atract anyone.

    What I want to do, is whan I am done entering a firm (or on demand) send an email to firm owners telling them that apost was done on their behalf and invite them to verify info entered.

    Can this be done, and how please?

    Thanx in advance and all the best

    Hani

  2. #2
    Join Date
    Nov 2004
    Posts
    1,822

    Default

    add from the admin panel, load up link_add.php and change the "add_ok.mail" template to "add_ok2.mail"

    Load up add_ok.mail and save it as add_ok2.mail and then make all the chanegs and write it however you like.

    thats all, everythign from the admin panel will use this tempalate and send them the customized wording. Its different in v.6 so im assuming your using 5.4
    Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent )

  3. #3
    Join Date
    Jul 2002
    Location
    Riyadh, Saudi Arabia
    Posts
    236

    Default

    Thanx, yes I am using 5.4
    BTW, where can I see V6 features? I am changing lots of templates, so I need to know if it would work with v6 or I'd better wait for the new release.
    I saw the demo and I cant see any difference, am sure I am wrong otherwise they wouldnt call it V6

    thanx again and all the best

  4. #4
    Join Date
    Jul 2002
    Location
    Riyadh, Saudi Arabia
    Posts
    236

    Default

    Did not work, it adds as normal, but no mail was sent, any ideas??

    Thanx

  5. #5
    Join Date
    Nov 2004
    Posts
    1,822

    Default

    line 138 change to :


    $body = EvalTemplate($theme_path . "/mail/add_ok2.mail", $links_obj->email_template_fields);


    on link_add.php (and your adding from admin panel right?)
    Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent )

  6. #6
    Join Date
    Jul 2002
    Location
    Riyadh, Saudi Arabia
    Posts
    236

    Default

    yes am adding from admin panel
    and the line you mention is identical to the one already in link_add.php (in admin folder, right?)

    is there a switch I have to check in order to notify owner?

  7. #7
    Join Date
    Nov 2004
    Posts
    1,822

    Default

    huh? im really confused, if you are adding from the admin panel it sends the defauls "add_ok.html" email to them, i have asked you to make a change where a different customised template is sent. If nothing is beign sent then its a problem with your php sendmail.
    Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent )

  8. #8
    Join Date
    Jul 2002
    Location
    Riyadh, Saudi Arabia
    Posts
    236

    Default

    I dont know
    if I fill the form as a user (add_form) I get the mail (2 mails)
    if I fill from admin panel, no mail at all, not before the changes nor after

  9. #9
    Join Date
    May 2007
    Location
    NJ, United States
    Posts
    1,651

    Default

    Make sure that when your adding it from the Admin Panel that you put a check mark in the field that says "Notify Link Owner" next to the "Submit" button
    FSGDAG | IndexU Hosting | Owner
    Website | NiceCoder Script Hosting and More! | Web4URL is For Sale!
    Follow Us On Twitter | FaceBook Profile | YouTube Videos

  10. #10
    Join Date
    Jul 2002
    Location
    Riyadh, Saudi Arabia
    Posts
    236

    Default

    bingo
    Stupid me, it was always there, and I was asking about it, and looking in all the wrong places :|

    Thanx, now how can I have always on??

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

    Default

    Quote Originally Posted by hdraye View Post
    bingo...it was always there, and I was asking about it, and looking in all the wrong places :|

    now how can I have always on??
    yep, it is easy to miss the checkbox and the wording to notify the link owner immediately to the left of of the submit button...

    as for the check box itself, you'll need to edit the link_add_form.html and add the checked value

    <input type="checkbox" name="notify_link_owner"
    value="1" checked style="{vertical-align: middle;}">Notify Link Owner


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

    .

  12. #12
    Join Date
    Jul 2002
    Location
    Riyadh, Saudi Arabia
    Posts
    236

    Default

    Thanx, I know
    I've been adding lots of links the last 5 hours, and I am acting like a robot without even checking where I click

    Thanx again

    Hani

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

    Default

    Quote Originally Posted by hdraye View Post
    Thanx, I know
    I've been adding lots of links the last 5 hours, and I am acting like a robot without even checking where I click
    As an old boss once told me, "When you are cutting down tress, you need to stop every once in a while and sharpen your axe." Always thought that was good advice.


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

    .

  14. #14
    Join Date
    May 2007
    Location
    NJ, United States
    Posts
    1,651

    Default

    Quote Originally Posted by esm View Post
    As an old boss once told me, "When you are cutting down tress, you need to stop every once in a while and sharpen your axe." Always thought that was good advice.


    .

    Didn't John Gotti say something similar??? Hmm... Maybe his didn't have to do with 'trees' though

    FSGDAG | IndexU Hosting | Owner
    Website | NiceCoder Script Hosting and More! | Web4URL is For Sale!
    Follow Us On Twitter | FaceBook Profile | YouTube Videos

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

    Default

    Quote Originally Posted by FSGDAG View Post
    Didn't John Gotti say something similar??? Hmm... Maybe his didn't have to do with 'trees' thoughp
    Nah, he said "Don't pee into the wind, you'll get your shoes wet." He REALLY liked his shoes.


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

    .

Similar Threads

  1. Replies: 7
    Last Post: 12-16-2007, 08:35 PM
  2. notification e-mail different than contact e-mail
    By vsevedko in forum Blocks and Modification
    Replies: 2
    Last Post: 09-23-2006, 09:53 AM
  3. Replies: 0
    Last Post: 12-25-2005, 08:44 AM
  4. Replies: 9
    Last Post: 02-09-2003, 10:09 AM
  5. news posting
    By mixx in forum v5.x
    Replies: 3
    Last Post: 06-06-2002, 12:43 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
  •