Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

[Contribution]Skype Contact


wheeloftime

Recommended Posts

Skype Contact 1.0

 

What it does:

This contribution will add an infobox to your osCommerce shop which provides a link to your Skype through a Skype Call, a Skype Chat or both. It is possible to directly show your Skype status since Skype 2.x and this contribution is based on this possibility. Your Skype Name and the Skype Buttons have been made admin configurable as well as showing an infobox header yes or no and showing buttons for chat or call or both or none (which effectively disables the Skype Contact box). The Skype Contact box is also only shown for non-secured pages to prevent conflicts with the Skype buttons and javascripts called upon from the Skype servers.

 

A simple solution/alternative for providing live support through your shop. On a side note: at the moment I have found only one transparent Skype Live status button. Hopefully more will follow or you should stick to a white background.

 

Package can be found here: Skype Contact

Edited by wheeloftime
Link to comment
Share on other sites

  • Replies 70
  • Created
  • Last Reply

Top Posters In This Topic

Skype Contact 1.0

 

What it does:

A simple solution/alternative for providing live support through your shop. On a side note: at the moment I have found only one transparent Skype Live status button. Hopefully more will follow or you should stick to a white background.

 

Package can be found here: Skype Contact

I's working great only my skype say 'i'm not telling" on my webshop. but I can be contacted...how can I change this?

Link to comment
Share on other sites

I's working great only my skype say 'i'm not telling" on my webshop. but I can be contacted...how can I change this?

It might be you use a non-web aware Skype button or you haven't adjusted the Skype admin settings correctly. With the skype button reference as ie. http://mystatus.skype.com/smallclassic/skypename you have to change the last part, skypename, to your real skypename also.

Link to comment
Share on other sites

It might be you use a non-web aware Skype button or you haven't adjusted the Skype admin settings correctly. With the skype button reference as ie. http://mystatus.skype.com/smallclassic/skypename you have to change the last part, skypename, to your real skypename also.

 

I have double checked my settings and there was a typo...thanks, It's working great..

 

Mario

Link to comment
Share on other sites

Hiya,

 

Great mod. However im a user of STS so how can I add this info box to my template? Normally STS has a list of codes ect, but of course with nice new mods like this I tend to find that im stuck.

 

Thanks,

 

Mark

Mark,

 

Good question and I wish I had an answer for you but I have never used STS and never even looked at it so I have no clue how to put a new infobox inside.

You should search a little on STS and infoboxes to see if that reveals enough to answer your question.

 

regards,

Howard

Link to comment
Share on other sites

  • 3 weeks later...

Does anyone know if there is a problem with this skype button? I can't get this skype contribution to work. I changed the url http://mystatus.skype.com/smallclassic/skypename and replaced skypename with the actual skypename but it does not work. My version of skype is also the latest one with the correct settings for "Allow my status to be shown on web".

 

If anyone could show me a working site with this on, it would help me alot. I could then just compare the source code.

Link to comment
Share on other sites

Does anyone know if there is a problem with this skype button? I can't get this skype contribution to work. I changed the url http://mystatus.skype.com/smallclassic/skypename and replaced skypename with the actual skypename but it does not work. My version of skype is also the latest one with the correct settings for "Allow my status to be shown on web".

 

If anyone could show me a working site with this on, it would help me alot. I could then just compare the source code.

It is not working on my own site either right now. I guess it is a temporary problem with the skype servers as the advanced information page still gives the same URL for these buttons.

Check it again later today to see if it has resolved itself.

Link to comment
Share on other sites

Hi,

 

I installed the contrib, and first of all thank you for the contrib.

 

Instead of placing the box in the left or right colum I would like to insert it into my contact_us.php, could you help me out in the way I have to this.

 

For the sts user, to make this work

add this to your column_left.php:

 

//STS: ADD

$sts_block_name = 'skypecontact';

require(STS_RESTART_CAPTURE);

// STS: EOADD

require(DIR_WS_BOXES . 'skype_contact.php');

 

add this to your sts_user_code.php

 

$sts_block_name = 'skypecontact';

require(STS_START_CAPTURE);

require(DIR_WS_BOXES . 'skype_contact.php');

require(STS_STOP_CAPTURE);

$template['skypecontact'] = strip_unwanted_tags($sts_block['skypecontact'], 'skypecontact');

 

Denice

Link to comment
Share on other sites

Hi,

 

I installed the contrib, and first of all thank you for the contrib.

 

Instead of placing the box in the left or right colum I would like to insert it into my contact_us.php, could you help me out in the way I have to this.

 

For the sts user, to make this work

add this to your column_left.php:

add this to your sts_user_code.php

Denice

 

Ging ineens een lichtje af!!! Weet al hoe het moet, maar nogmaals, thanks

Link to comment
Share on other sites

quote name='jewelrytrends' date='Mar 15 2006, 10:04 PM' post='817197']

Hi,

 

I installed the contrib, and first of all thank you for the contrib.

 

Instead of placing the box in the left or right colum I would like to insert it into my contact_us.php, could you help me out in the way I have to this.

Denice

Denice,

 

To place it in your contact_us.php you can simply use the code from the (catalog)/includes/boxes/skype_contact.php inside your (catalog)/contact_us.php

Ie. if you look for this

	  <tr>
	<td><table border="0" width="100%" cellspacing="0" cellpadding="0">
	  <tr>
		<td class="pageHeading"><?php echo HEADING_TITLE; ?></td>
		<td class="pageHeading" align="right"><?php // echo tep_image(DIR_WS_IMAGES . 'table_background_contact_us.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>
	  </tr>
	</table></td>
  </tr>

and place

<tr>
<td>

<!--
Skype 'Call me!' button
http://www.skype.com/go/skypebuttons
-->
<script type="text/javascript" src="http://download.skype.com/share/skypebuttons/js/skypeCheck.js">
</script>


<?php

if ((INFOBOX_SKYPE_SHOW_HEADER == 'true') && (SKYPE_SHOW_CALL == 'true' || SKYPE_SHOW_CHAT == 'true')) {
  $info_box_contents = array();
  $info_box_contents[] = array('text' => BOX_HEADING_SKYPE);

  new SkypeBoxHeading($info_box_contents, false, false);
}

if (SKYPE_SHOW_CALL == 'true') {
	$skype_call_string = '<div align="center"><a href="skype:' . SKYPE_ID_NAME . '?call" onclick="return skypeCheck();"><img src="' . SKYPE_BUTTON_LINK . '" style="border: none;" alt="Call me!" /><br>' . TEXT_SKYPE_CALL . '</a></div>';
}

if (SKYPE_SHOW_CHAT == 'true') {
	$skype_chat_string = '<div align="center"><a href="skype:' . SKYPE_ID_NAME . '?chat" onclick="return skypeCheck();"><img src="' . SKYPE_BUTTON_LINK . '" style="border: none;" alt="Chat with me!" /><br>' . TEXT_SKYPE_CHAT . '</a></div>';
}

if (SKYPE_SHOW_CALL == 'true' || SKYPE_SHOW_CHAT == 'true') {
	$info_box_contents = array();
	$info_box_contents[] = array('text' => $skype_call_string . '<br>' . $skype_chat_string);

	new SkypeBox($info_box_contents);
}
?>
</td>
</tr>

directly after that and you will have a full width skype contact box. You can manipulate the position/size etc. through HTML and CSS as you like.

 

And thanks for the tip to get this working with STS !

 

regards,

Howard

Link to comment
Share on other sites

  • 2 weeks later...
Hi Howard

 

To import the .sql file do i just go into my sql admin panel and import file as is

Yes, you can import the file as is or, what I mostly do, copy and paste the commands into the SQL textbox and run/start that

Link to comment
Share on other sites

Installed skype, working perfectly except missing the "call me" & "chat" images in skype box. Online/offline image fine.

how do i get the images and what do i edit (+ script if any)

Lenny,

 

Take a look at post #4 and others from this thread ! The images are directly from Skype and if you make an error/ommision in your Skype admin settings they will not show.

Also make sure you have your Skype setting 'Allow my status to be shown on the web' ticked (under Privacy).

Link to comment
Share on other sites

  • 3 weeks later...

This looks like a nice feature but I'm still not clear if the customer using this service on my webpage needs skype or at least a skype account himself.

 

abra

The First Law of E-Commerce: If the user can't find the product, the user can't buy the product.

 

Feedback and suggestions on my shop welcome.

 

Note: My advice is based on my own experience or on something I read in these forums. No guarantee it'll work for you! Make sure that you always BACKUP the database and the files you are going to change so that you can rollback to a working version if things go wrong.

Link to comment
Share on other sites

This looks like a nice feature but I'm still not clear if the customer using this service on my webpage needs skype or at least a skype account himself.

 

abra

They can use whatever program they have as long as it is compatible with Skype. Most of the time, maybe always, that will be Skype also.

Link to comment
Share on other sites

  • 1 month later...

Hello i integrate the skype service to my website

but after that i get the following message

" in this web page are secure and non secure items"

it seems that something is going wrong with ssl and skype.

 

Do you have an idea

 

you can visit my site to see about what i am talking

 

www.luxe.gr

Link to comment
Share on other sites

Hello i integrate the skype service to my website

but after that i get the following message

" in this web page are secure and non secure items"

it seems that something is going wrong with ssl and skype.

 

Do you have an idea

 

you can visit my site to see about what i am talking

 

www.luxe.gr

The pictures are pulled directly from Skype servers which are non-SSL. What you can do is prevent the Skype box showing when on secured webpages in your shop by calling the Skype infobox in your column_right.php, or column_left.php, like

	if ($request_type != 'SSL') {
	// Skype Contact box only visible when on non-secured pages
	include(DIR_WS_BOXES .'skype_contact.php');
}

 

HTH

Link to comment
Share on other sites

Thank you for your apply.

1. i didn t create an infobox. I just applied the following code directly to avoid create an infobox

 

<!--Skype 'My status' button

http://www.skype.com/go/skypebuttons

-->

<script type="text/javascript" src="http://download.skype.com/share/skypebuttons/js/skypeCheck.js"></script>

<a href="skype:skypeuser?call" onclick="return skypeCheck();"><img src="http://mystatus.skype.com/bigclassic/skypeuser" style="border: none;" width="182" height="44" alt="My status" /></a>

 

2. This is the most important.

 

The whole site is secure mode ssl

 

the url http://www.luxe.gr

redirect to https://www.luxe.gr

 

Any other idea

Link to comment
Share on other sites

Thank you for your apply.

1. i didn t create an infobox. I just applied the following code directly to avoid create an infobox

 

<!--Skype 'My status' button

http://www.skype.com/go/skypebuttons

-->

<script type="text/javascript" src="http://download.skype.com/share/skypebuttons/js/skypeCheck.js"></script>

<a href="skype:skypeuser?call" onclick="return skypeCheck();"><img src="http://mystatus.skype.com/bigclassic/skypeuser" style="border: none;" width="182" height="44" alt="My status" /></a>

 

2. This is the most important.

 

The whole site is secure mode ssl

 

the url http://www.luxe.gr

redirect to https://www.luxe.gr

 

Any other idea

Then you can't use it like this. The graphics need to come from the Skype server and as long as they do not provide a https version next to the one we can use right now it won't work as you want. Is there a particular reason to have your whole shop in SSL mode ?

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...