Help Center Live Community
April 25, 2014, 10:42:54 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1] 2   Go Down
  Print  
Author Topic: I dont Want phpmailer  (Read 26412 times)
tuibm
Not too much to say...
*
Offline Offline

Posts: 17


« on: June 27, 2007, 12:11:52 AM »

I deactivate osTicket, Now, how can i deactivate phpmailer?? i dont want ppl to send me msgs...
Logged
HCL Admin
Administrator
HCL Superstar
*****
Offline Offline

Posts: 882


WWW
« Reply #1 on: June 27, 2007, 12:14:28 AM »

phpmailer is not for receiving message, but for sending mail out to visitors or notifications for the staff.
Logged

how may I help you today?
tuibm
Not too much to say...
*
Offline Offline

Posts: 17


« Reply #2 on: June 27, 2007, 12:24:45 AM »

oh, ok 

My problem is, (i deactivate te osTicket) When I am offline and someone tries to send an email, i get this error:

Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /hcl/class/phpmailer/class.smtp.php on line 209

Warning: fsockopen(): unable to connect to :25 in /hcl/class/phpmailer/class.smtp.php on line 209

Then, i modify include.php from this:

        var $phpmailer_flag = false;
        var $email_flag = false;
to this:

        var $phpmailer_flag = true;
        var $email_flag = true;

and get this error:

Fatal error: Call to a member function on a non-object in /hcl/modules/HelpCenter/index.php on line 38

so, i want to deactivate the SEND MAIL function, or configure it but i don't know what files i need to modify to configure the send mail function...
Logged
HCL Admin
Administrator
HCL Superstar
*****
Offline Offline

Posts: 882


WWW
« Reply #3 on: June 27, 2007, 12:27:36 AM »

Hmm, your #3 with this issue.  And I just noticed that beta2 is having the same problem.  Most likely a variable mismatch somewhere.  Ok, I'll get on it with a hotfix for 2.1.2

I'll try to have it tonight, but no promises, I've just done about 13 hours of straight HCL, I'm taking a little break.
Logged

how may I help you today?
tuibm
Not too much to say...
*
Offline Offline

Posts: 17


« Reply #4 on: June 27, 2007, 01:38:45 AM »

Thanks!! Cheesy

I make a php file that allow to send email from a flash (.swf) form.. give me a few minutes and i update it, this may be helpful for the send mail option (i hope)
Logged
HCL Admin
Administrator
HCL Superstar
*****
Offline Offline

Posts: 882


WWW
« Reply #5 on: June 27, 2007, 01:40:08 AM »

That would be cool, if nothing else it could be wrapped and used as a plug in replacement.  I love options. Cheesy
Logged

how may I help you today?
tuibm
Not too much to say...
*
Offline Offline

Posts: 17


« Reply #6 on: June 27, 2007, 01:48:48 AM »

There is the file,
Logged
HCL Admin
Administrator
HCL Superstar
*****
Offline Offline

Posts: 882


WWW
« Reply #7 on: June 27, 2007, 03:05:02 AM »

Cool, I'll take a look at it a little later.  Since 2.1.3Beta2 was released, I need to take care of a couple of other things right at the moment.  I should be back on it tomorrow.
Logged

how may I help you today?
tuibm
Not too much to say...
*
Offline Offline

Posts: 17


« Reply #8 on: June 27, 2007, 03:40:20 PM »

any news?
Logged
HCL Admin
Administrator
HCL Superstar
*****
Offline Offline

Posts: 882


WWW
« Reply #9 on: June 27, 2007, 04:02:36 PM »

Afraid not.  I just haven't had a chance to even start eclipse up yet.
Logged

how may I help you today?
HCL Admin
Administrator
HCL Superstar
*****
Offline Offline

Posts: 882


WWW
« Reply #10 on: June 27, 2007, 04:14:28 PM »

Ok your script would work on for the contact, but not the transcripts.  To add it, just edit your the /live/divert.php file to include your script in.  I believe that is potentially where the error might be occuring, and will put some time into it today.
Logged

how may I help you today?
tuibm
Not too much to say...
*
Offline Offline

Posts: 17


« Reply #11 on: June 27, 2007, 04:22:26 PM »

Thanks  Grin i will work on it... thanks again Smiley
Logged
HCL Admin
Administrator
HCL Superstar
*****
Offline Offline

Posts: 882


WWW
« Reply #12 on: June 27, 2007, 04:24:21 PM »

Sorry, I was hoping to get a chance to put it in there for you, but I just haven't had much chance this morning.  Phone is ringing off the hook, and while I don't mind foruming while on the phone, coding is a whole 'nother story...
Logged

how may I help you today?
tuibm
Not too much to say...
*
Offline Offline

Posts: 17


« Reply #13 on: June 27, 2007, 05:15:20 PM »

mlzhosting: i modify the file live_divert.tpl to this:

Code:
{if $conf.forum_show == true}
<b><a href="{$conf.forum_url}" target="_blank">{$lang.forums}</a></b><br/><br/>
{/if}
<form action="mailform.php" method="post">
  <table cellspacing="0" cellpadding="5" class="border">
    <tr class="dark">
      <td colspan="2">{$lang.contact_us}</td>
    </tr>
    {if $departmentid == '0'}
    {/if}
    <tr class="medium">
      <td>{$lang.your_name}</td>
      <td><input type="text" name="name" value="" size="20" /></td>
    </tr>
    <tr class="medium">
      <td>{$lang.your_email}</td>
      <td><input type="text" name="email" value="" size="20" /></td>
    </tr>
    <tr class="medium">
      <td>{$lang.message}</td>
      <td><textarea name="message" rows="5" cols="20"></textarea></td>
    </tr>
    <tr>
      <td colspan="2" align="center"><input type="submit" name="Enviar" value="Enviar" /></td>
    </tr>
  </table>
</form>
{/if}
</div>
</body>
</html>

but when i reload the page (www.mysite.com/hcl) i get the old live_divert.tpl
im using Bliss Template: so the file i modify was templates/bliss/live_divert.tpl

in the divert.php file i have this:
Code:
   // Display the output
    $GLOBALS['template']->display('live_divert.tpl');

what other file i need to modify??
Logged
HCL Admin
Administrator
HCL Superstar
*****
Offline Offline

Posts: 882


WWW
« Reply #14 on: June 27, 2007, 05:18:27 PM »

Try closing the browser and reopening it.  The templates are compiled and it may not have picked up the change.
Logged

how may I help you today?
Pages: [1] 2   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.8 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.169 seconds with 20 queries.

Google visited last this page April 15, 2014, 11:18:44 PM