Advertisement:

Author Topic: [Tutorial] make the call and sms directly to the seller phone number  (Read 2206 times)

creat15

  • Full Member
  • ***
  • Posts: 218
hi :)

I try to make a little tutorial to add a feature phone or sms directly to the seller numbers (for plugin osc_mobile)

this the script (add to item.php on osc_mobile plugin):

to call :

Code: [Select]
<a href="tel:<?php echo osc_user_phone(); ?>"><?php echo osc_user_phone(); ?></a>

or, you can add image with css like this

<a class="telp" href="tel:<?php echo osc_user_phone(); ?>"></a>

to sms no-text :

Code: [Select]
<a href="sms:<?php echo osc_user_phone(); ?>"><?php echo osc_user_phone(); ?></a>

or, you can add image with css like this

<a class="sms" href="sms:<?php echo osc_user_phone(); ?>"></a>

to sms with text :

Code: [Select]
<a href="sms:<?php echo osc_user_phone(); ?>?body=bla...bla...to seller"><?php echo osc_user_phone(); ?></a>

or, you can add image with css like this

<a class="sms" href="sms:<?php echo osc_user_phone(); ?>?body=bla...bla...to seller"></a>

this the css (Please edit as you wish) :

Code: [Select]
.telp{width:48px; height:48px; background:url(images/telp.png) no-repeat; z-index:1; float:left; padding-left:5px; margin-left:50px; margin-top:-2px; }
.sms{width:48px; height:48px; background:url(images/sms.png) no-repeat; z-index:1; float:right; padding-right:5px; margin-right:50px; margin-top:-2px; }

note :
1. Put the phone or sms picture in images folder in the plugin folder osc_mobile
2. this the source http://beradrian.wordpress.com/category/web/page/2/
3. i try this tutorial on android its work


I hope this tutorial is useful for all
sorry my english not good  :)

creat15

  • Full Member
  • ***
  • Posts: 218
Re: [Tutorial] make the call and sms directly to the seller phone number
« Reply #1 on: March 23, 2014, 10:28:26 am »
I want to ask, tutorials above for sms and phone

how to be able to contact the seller using the blackberry (PIN BB)??

I've tried looking digoogle nothing that discuss this

if anyone can help with this problem?

Thanks  :)