Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

[contribution] "Live Customer Support"


stankovski

Recommended Posts

Hi there!

 

Great mod I must say! Works like a charm - only one problem:

 

Any idea why I am not getting e-mails through email_page.php?

 

DPHP_REP_EMAIL is defined in configure.php

 

Anything else should be done tere? Must be I am tired or :?

 

Debian/Zend/Apache 1.3.26/PHP 4.1.2/fewCansOfBeer~

 

Thanks for any tip!

Link to comment
Share on other sites

  • Replies 160
  • Created
  • Last Reply

Top Posters In This Topic

  • 2 months later...

I'm also having the same problem, I've been trying some debuggin, and this is what I've come up with so far:

From email_page.php

<?php

include("../main/configure.php");

echo "$main_email, $form_body, $form_email"; // I added this!!!

mail("[email protected]" , "Offline Message from dPHP Chat", $form_body, "From: "$form_name" <$form_email>");

?>

I noticed $main_email is'nt picking up the "email to" address from configure.php. As you can see above I tried Manually entering a email address but that's not sending either, just looking into the PHP functions howto as PHP is still a new one on me, but slowly getting to grips with it!!!

 

What do you think David??? [/b]

Contribs Written: Nochex APC Payment Module, Cheque Payment Module

Contribs Updated: Information Pages Unlimited, Latest News V1

You've gotta be Quick on the Draw in this game!

Link to comment
Share on other sites

Fixed it:

Change email_page.php from

mail($main_email, "Offline Message from dPHP Chat", $form_body, "From: "$form_name" <$form_email>");

 

to

 

mail( DPHP_REP_EMAIL , "Offline Message from dPHP Chat", $form_body, "From: "$form_name" <$form_email>");

 

That fixed it for me!!!

Contribs Written: Nochex APC Payment Module, Cheque Payment Module

Contribs Updated: Information Pages Unlimited, Latest News V1

You've gotta be Quick on the Draw in this game!

Link to comment
Share on other sites

I don't know whether anyone knew this already, but I recall people saying earlier that the picture would show up as a broken link and have DPHP_ICQ in the uin section of the link. This bug can be fixed by replacing a line in includes/boxes/chat.php from:

 

 $filler = '<a href="" onclick="window.open(''.$chat_location.'/login/index.php','chat1002350','width=450,height=320');return false;" target="chat8572536"><img width="125" height="104" src="'.$chat_location.'/main/status.php?uin='.DPHP_ICQ.'" border="0"></a>';

 

to

 

 $filler = '<a href="" onclick="window.open(''.$chat_location.'/login/index.php','chat1002350','width=450,height=320');return false;" target="chat8572536"><img width="125" height="104" src="'.$chat_location.'/main/status.php?uin=" .DPHP_ICQ. " border="0"></a>';

 

I have highlighted the change

 

Hope this helps

Contribs Written: Nochex APC Payment Module, Cheque Payment Module

Contribs Updated: Information Pages Unlimited, Latest News V1

You've gotta be Quick on the Draw in this game!

Link to comment
Share on other sites

  • 3 months later...

Hi

 

First I would like to say many thanks for shareing the chat2.0 with us, u will not be forgotten for that :)

 

But, when i use it, it takes a very long time to update.

S? when a costumer sends a massage, it can take up to several minuts before I reseve the massage in the admin chat, and the same when i send an answer. Is that normal?

 

and the admin thing where i can se who is waiting for a sales rep, dos not update automatic. Is that normal to?

 

again thx alot :D

Link to comment
Share on other sites

  • 4 weeks later...
  • 8 months later...

can some one help me with a problem i am having with this contribution please. I have it installed and the db set up. When i loginto the admin area for it it says i am online and all is well. However on the site the box for the live help icon is there but the picture is not it has the "X" for an image that is not loading and when I click the image place holder i get a 404 error. Any ideas? Help would be greatly appriciated. Perhaps I have the files in the wron place? every thing in the chat 2.0 folder stays there correct? The only files you modify is the column_right to add the box and the other _catalog file you just copy and paste into catalog/includes? This appears to be a great contribution if I can just get it to work! Thanks

Link to comment
Share on other sites

  • 3 years later...
  • 1 year later...

Looks like this contribution has been idle for a long time.

 

Is anyone still unsing it?

 

I cannot seem to get the configuration set up properly to get it working

 

I keep getting

Warning: main(../chat2.0/main/configure.php): failed to open stream: No such file or directory in /home/content/s/t/r/stroker398/html/catalog/includes/boxes/chat.php on line 20

 

Warning: main(../chat2.0/main/configure.php): failed to open stream: No such file or directory in /home/content/s/t/r/stroker398/html/catalog/includes/boxes/chat.php on line 20

 

Fatal error: main(): Failed opening required '../chat2.0/main/configure.php' (include_path='.:/usr/local/lib/php') in /home/content/s/t/r/stroker398/html/catalog/includes/boxes/chat.php on line 20

The Site can be viewed at www.performanceautopartsonline.com

 

The site is live (despite these minor glitches) please respect that and do not sign up etc...

 

maybe a contribution one day when I get this site the way I want it.

 

I don't make spelling mistakes! I have dyslecsic fingers.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...