Help Center Live Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: 1 [2]   Go Down

Author Topic: I dont Want phpmailer  (Read 27922 times)

tuibm

  • Not too much to say...
  • *
  • Offline Offline
  • Posts: 17
Re: I dont Want phpmailer
« Reply #15 on: June 27, 2007, 09:24:11 AM »

noup, same old tpl... i close and reopen it, i clear my private data, and same old tpl, i open it in another computer and still opening the old .tpl, i download the live_divert.tpl to another computer and is the modified file...  ???
Logged

HCL Admin

  • Administrator
  • HCL Superstar
  • *****
  • Offline Offline
  • Posts: 882
    • Help Center Live
Re: I dont Want phpmailer
« Reply #16 on: June 27, 2007, 09:28:09 AM »

hold on, it should be /live/divert.php  There is no core file called live_divert.php.  It's very dependent on the file names being the same.
Logged
how may I help you today?

tuibm

  • Not too much to say...
  • *
  • Offline Offline
  • Posts: 17
Re: I dont Want phpmailer
« Reply #17 on: June 27, 2007, 09:38:26 AM »

is not live_divert.php, is live_divert.tpl (is the file that has the form) it found in hcl/templates/bliss/ i modify that file to this:

Code: [Select]
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>{$conf.company} - En Linea</title>
<meta http-equiv="Content-Type" content="text/html; charset={$lang.charset}" />
<link href="{$conf.url}/templates/{$conf.template}/css/live.css" rel="stylesheet" type="text/css" />
{if $javascript != ""}
<script type="text/javascript" language="javascript" src="{$conf.url}/class/js/include.php?{$javascript}">
</script>
{/if}
</head>
<body{$onload}>
<div align="center">
<br />
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><img src="{$conf.url}/templates/{$conf.template}/images/live_top.gif" alt="" /></td>
  </tr>
</table>
<br /><br />

{if $divert == 'offline'}
  {$lang.operators_offline}
{elseif $divert == 'busy'}
  {$lang.connection_failure}
  <br /><br />
  {$lang.operators_busy}
  <br /><br />
{elseif $divert == 'email_sent'}
  {$lang.email_sent}
{else}
  {$lang.error}
{/if}

{if $conf.modules.osTicket.active == true}
<b><a href="{$conf.url}/module.php?module=osTicket&file=/modules/osTicket/open.php" target="_blank">{$lang.use_tickets}</a></b>
{if $conf.forum_show == true}
<br/><br/><b><a href="{$conf.forum_url}" target="_blank">{$lang.forums}</a></b>
{/if}
{else}
{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>

where mailform.php is the mailform script i attach to forum...

i modify divert.php to this, (only for probe the results)

Code: [Select]
<?php

    
// Copyright ? 2005 UberTec Ltd. All Rights Reserved

    // This file is part of Help Center Live.

    // Help Center Live is free software; you can redistribute it and/or modify
    // it under the terms of the GNU General Public License as published by
    // the Free Software Foundation; either version 2 of the License, or
    // (at your option) any later version.

    // Help Center Live is distributed in the hope that it will be useful,
    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    // GNU General Public License for more details.

    // You should have received a copy of the GNU General Public License
    // along with Help Center Live; if not, write to the Free Software
    // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

    // Contributors: Michael Bird

    // File Comments:
    // This file deals with visitors that have been diverted when requesting a chat
    // because there are no operators or all the operators are busy

    // $Id: divert.php,v 1.8 2005/07/05 18:24:56 mikebird Exp $ 

    //include_once('../class/include.php');
    //$inc = new Includer();
    //$inc->template();
    //$inc->department();
    //$inc->email();
    //$inc->chat();

    
//if ($GLOBALS['chat']->blocked()) {
        //$GLOBALS['template']->assign('text', $GLOBALS['lang']['blocked']);
        //$GLOBALS['template']->display('plain.tpl');
       // $inc->finished();
       // exit;
    //}

    //if (isset($_GET['departmentid'])) {
        //if ($_GET['departmentid'] !== '') {
            //$GLOBALS['template']->assign('departmentid', addslashes($_GET['departmentid']));
        //} else {
            //$GLOBALS['template']->assign('departmentid', '0');
       // }
    //} elseif (isset($_POST['departmentid'])) {
       // if ($_POST['departmentid'] !== '') {
          //  $GLOBALS['template']->assign('departmentid', addslashes($_POST['departmentid']));
      //  } else {
     //       $GLOBALS['template']->assign('departmentid', '0');
   //     }
  //  } else {
  //      $GLOBALS['template']->assign('departmentid', '0');
   // }

  //  if (isset($_GET['divert'])) {
  //      if ($_GET['divert'] == 'busy') {
  //          $GLOBALS['template']->assign('divert', 'busy');
   //     } elseif ($_GET['divert'] == 'offline') {
   //         $GLOBALS['template']->assign('divert', 'offline');
   //         $GLOBALS['template']->assign('departments', $GLOBALS['department']->listall('0'));
   //     }
 //   } elseif (isset($_POST['email_send'])) {
  //      $details['name'] = addslashes($_POST['name']);
  //      $details['from'] = addslashes($_POST['email']);
  //      $details['department'] = $GLOBALS['department']->name(addslashes($_POST['departmentid']));
  //      $details['email'] = $GLOBALS['department']->email(addslashes($_POST['departmentid']));
  //      $details['subject'] = addslashes($_POST['subject']);
   //     $details['message'] = addslashes($_POST['message']);
   //     $GLOBALS['email']->auth($GLOBALS['department']->email_host(addslashes($_POST['departmentid'])), $GLOBALS['department']->email_port(addslashes($_POST['departmentid'])), $GLOBALS['department']->email_username(addslashes($_POST['departmentid'])), $GLOBALS['department']->email_password(addslashes($_POST['departmentid'])));
   //     $GLOBALS['email']->contact($details);
   //     $GLOBALS['template']->assign('divert', 'email_sent');
   // } else {
   //     $GLOBALS['template']->assign('divert', '');
  //  }


  //  $GLOBALS['template']->assign('onload', '');

  //  $GLOBALS['template']->assign('javascript', 'misc');

    // Display the output
    
$GLOBALS['template']->display('live_divert.tpl');
    
    
// do events that need to be done at the end of the file
   // $inc->finished();
    

?>


But when i go to my address, i get this (image attach) if u see in live_divert.tpl i delete subject line and department...
Logged

HCL Admin

  • Administrator
  • HCL Superstar
  • *****
  • Offline Offline
  • Posts: 882
    • Help Center Live
Re: I dont Want phpmailer
« Reply #18 on: June 27, 2007, 09:46:09 AM »

Ah, ok, I got confused.  (now you see why I don't code while doing phone work. hehehe)  Anyway, ftp into site, go into the compile directory and delete all the %% directories you see, make sure no one is in live help while you do this (can cause their page load to fail).  This should reset the compile directory and get you going again.
Logged
how may I help you today?

tuibm

  • Not too much to say...
  • *
  • Offline Offline
  • Posts: 17
Re: I dont Want phpmailer
« Reply #19 on: June 27, 2007, 09:55:18 AM »

jeje :P :P i see xD i delete only %% directories?? or % directories too
Logged

tuibm

  • Not too much to say...
  • *
  • Offline Offline
  • Posts: 17
Re: I dont Want phpmailer
« Reply #20 on: June 27, 2007, 10:11:05 AM »

I already delete % and %% directories, and i still have old live_divert.tpl form :S
Logged

HCL Admin

  • Administrator
  • HCL Superstar
  • *****
  • Offline Offline
  • Posts: 882
    • Help Center Live
Re: I dont Want phpmailer
« Reply #21 on: June 27, 2007, 10:21:48 AM »

Hmm, weird, do you have a URL I could take a look at?  This is very odd, almost like it's caching somewhere.
Logged
how may I help you today?

tuibm

  • Not too much to say...
  • *
  • Offline Offline
  • Posts: 17
Re: I dont Want phpmailer
« Reply #22 on: June 27, 2007, 10:42:28 AM »

Logged

HCL Admin

  • Administrator
  • HCL Superstar
  • *****
  • Offline Offline
  • Posts: 882
    • Help Center Live
Re: I dont Want phpmailer
« Reply #23 on: June 27, 2007, 10:43:49 AM »

Hmm, I get a 404 error from the link...
Logged
how may I help you today?

tuibm

  • Not too much to say...
  • *
  • Offline Offline
  • Posts: 17
Re: I dont Want phpmailer
« Reply #24 on: June 27, 2007, 10:50:50 AM »

sorry, is www.continentaluruapan.com/hcl
 i was in a call :P
Logged

HCL Admin

  • Administrator
  • HCL Superstar
  • *****
  • Offline Offline
  • Posts: 882
    • Help Center Live
Re: I dont Want phpmailer
« Reply #25 on: June 27, 2007, 11:46:08 AM »

Hmm, there isn't any PHP caching module installed is there?  If you have time to do a test, why don't we try removing the tpl file and see if we get an error.  We're working in the Bliss template, correct?
Logged
how may I help you today?

tuibm

  • Not too much to say...
  • *
  • Offline Offline
  • Posts: 17
Re: I dont Want phpmailer
« Reply #26 on: June 27, 2007, 11:49:10 AM »

noup, any php caching module, let me delete the tpl file...

yes is bliss template
Logged

xstremedesign

  • Not too much to say...
  • *
  • Offline Offline
  • Posts: 1
Re: I dont Want phpmailer
« Reply #27 on: July 23, 2007, 06:34:29 PM »

I had the same problem and it was my fault. I misspelled the name sever in department email setup. May want to check that everything in correct there. ::)
Logged
Pages: 1 [2]   Go Up
 

Page created in 0.174 seconds with 17 queries.