ATutor

Learning Management Tools







Pages:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


Messaging or Sending Email


  • 2009-03-31 11:35:02

    Messaging or Sending Email

    We are currently implementing aTutor in one of our programs. Can we disable or limit sending messages to one another? Can we stop this feature altogether?

  • 2009-04-02 08:47:26

    Re: Messaging or Sending Email

    There isn't a switch to turn off email. It probably would not be difficult to create one though if you have a php programmer handy.

    Add a field to a system preferences screen, which saves a value to the config table, which gets copied into the $_config array when aATutor is running. The check for the value of the variable you set somewhere near the top of the top of the mail program

    /include/classes/phpmailer/atutormailer.class.php

    (or just hack the mail program to disable it)

  • 2009-04-02 16:48:19

    Re: Messaging or Sending Email

    Did you mean sending the messages using the Inbox? If so, you could try to comment out or delete lines containing word "inbox" in include/lib/menu_pages.php . It's a rough approach but will do what's needed: disable the feature altogether, system-wide.

    Or, you could fine-tune the inbox system with a bit of additional programming, as Greg suggests.

    [reply][b]In reply to:[/b]
    We are currently implementing aTutor in one of our programs. Can we disable or limit sending messages to one another? Can we stop this feature altogether?
    [op]forums/view.php?fid=7;pid=17040;page=1#17040[/op][/reply]

  • 2010-11-17 01:52:48

    Re: Messaging or Sending Email

    What would we need to do to stop ATutor from sending out the automated outbound SMTP email messages (on registration/enrollment, etc)?

    Things to describe:
    Operating system ATutor is installed on - SuSe Enterprise
    ATutor version - 2.0
    Patch #s applied - all but one
    ATutor theme name - standard
    PHP version - 5
    MySQL version - 5
    Webserver & version - apache
    Copies of error messages - n/a
    Changes to default settings -
    Web browser being used -
    ...and anything else relevant -

  • 2010-12-02 19:07:51

    Re: Messaging or Sending Email

    Hello . . . please see previous

  • 2010-12-02 19:51:42

    Re: Messaging or Sending Email

    You can do a little hack in the atutor mailer, and disable the sendmail function by commenting it out.

  • 2010-12-02 20:01:50

    Re: Messaging or Sending Email

    OK - thank you - where do I find that? To clarify, I'm talking about the outbound SMTP email on registration and enrollment and not the user-user messaging/Inbox.

    Bryan

  • 2010-12-02 20:13:07

    Re: Messaging or Sending Email

    The file you are looking for is include/classes/phpmailer/atutormailer.class.php

    This atutormailer class is being used in our modules, admins notifications, contact instructors, password reminders, registrations, contact support, send inbox messages, new enrollment, forum threads, etc etc.

    There are several ways to disable it, the easiest would be to comment out the "parent::Send();" within this file, so then it will never send out the email request.

    Hope this helps.


    - Harris