Page 1 of 1
YM di OC
Posted: Wed Nov 02, 2011 11:55 am
by unixvanz
Gan, saya mau tanya. kenapa di opencart saya pas di masukkan YM keluar info
"Notice: Undefined offset: 1 in /home/cherlove/public_html/catalog/controller/module/yahoochat.php on line 12 " yach?
ad yang bisa bantu?
oh iya, website nya :
http://www.cherloveshop.com
thanx
Re: YM di OC
Posted: Wed Nov 02, 2011 6:28 pm
by qahar
pakai module apa and OC versi brapa?
Re: YM di OC
Posted: Thu Nov 17, 2011 12:38 pm
by skyknight
buka file /home/cherlove/public_html/catalog/controller/module/yahoochat.php
copy kan kembari code yang ada di 12
nanti akan dibantu cek
Re: YM di OC
Posted: Thu Nov 24, 2011 11:34 am
by g3njreng
sama nih, saya keluar begini
Notice: Undefined offset: 1 in /home/godsp379/public_html/catalog/controller/module/yahoomessenger.php on line 19
artinya apa yah?
saya pake OC 1.5.1.3
<?php
class ControllerModuleyahoomessenger extends Controller {
protected function index() {
$this->language->load('module/yahoomessenger');
$this->data['heading_title'] = $this->language->get('heading_title');
$code = html_entity_decode($this->config->get('yahoomessenger_code'));
$code = trim($code);
$last_pos = strrpos($code ,";");
$code_length = strlen($code);
if ($last_pos == ($code_length - 1)) $code = substr($code,0, $code_length - 1);
$code = explode(';', $code);
$t = strip_tags($this->config->get('yahoomessenger_style'));
$dat='';
foreach ($code as $codes){
$str = explode(':', $codes);
$dat .='<a href="ymsgr:sendim?'.$str[0].'"><img src="
http://opi.yahoo.com/online?u='.$str[0].'&m=g&t=' . $t . ' "></a></br><b>'.$str[1].'</b></br>';
}
$this->data['code'] = $dat;
if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/module/yahoomessenger.tpl')) {
$this->template = $this->config->get('config_template') . '/template/module/yahoomessenger.tpl';
} else {
$this->template = 'default/template/module/yahoomessenger.tpl';
}
$this->render();
}
}
?>
Re: YM di OC
Posted: Tue Nov 29, 2011 12:28 pm
by g3njreng
blm ada yg reply...

Re: YM di OC
Posted: Fri Dec 09, 2011 6:12 pm
by batikjateng
g3njreng wrote:blm ada yg reply...

Agan pake OC sery berpa ? klo OC 1.5 silahkan pake Modul YM yang bisa di download
http://www.ziddu.com/download/17748466/ ... r.zip.html
Re: YM di OC
Posted: Fri Dec 16, 2011 10:44 pm
by nanangno1
setelah upload, install di menu admin. agan mesti isi dengan lengkap id ym + nama yang dikehendaki (bbcctv:sales) bbcctv adalah id ymnya, sales adalah nama yg akan muncul dibawah idymnya. contoh hasilnya bisa dilihat di
www.tplink.co.id semoga membantu

Re: YM di OC
Posted: Tue Oct 16, 2012 1:05 pm
by citius
Kok setelah saya copas file2 sesuai foldernya malah muncul pesan
Notice: Error: Could not load language module/yahoo messenger! in C:\xampp\htdocs\Tasku\system\library\language.php on line 26
Sebelumnya juga pernah seperti itu tapi setelah di copas file carousel dari admin/language/english/module ke admin/language/indonesia/module masalah selesai. Nah sekarang muncul lagi setelah saya copas file2 untuk modul YM.