Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

JoomlaTune Support Forum    JComments component    Integration with third-party extensions    Topic: Fix: Kuena avatar plugin
Pages: [1] 2   Go Down
  Print  
Author Topic: Fix: Kuena avatar plugin  (Read 6062 times)
0 Members and 1 Guest are viewing this topic.
naike
Newbie
*

Karma: 0
Offline Offline

Posts: 1


« on: February 19, 2011, 01:19:20 »

If you're having problems with displaying avatars in the comments, try this.

Open ..\plugins\jcomments\jcomments.avatar.php with any text editor.
Search for this section:
Code:
case 'kunena':
if (count($users)) {
       $db->setQuery('SELECT userid, avatar FROM #__kunena_users WHERE userid in (' . implode(',', $users)  . ')');
       $avatars = $db->loadObjectList('userid');
unset($users);
} else {

$avatars = array();
}
Under this section you will find 2 lines, simply replace them with this:
Code:
$avatarA = $mainframe->getCfg('absolute_path') . DS . 'media' . DS . 'kunena' . DS . 'avatars' . DS;
$avatarL = $mainframe->getCfg('live_site') . '/media/kunena/avatars/';

The result should look like this:
Code:
case 'kunena':
if (count($users)) {
       $db->setQuery('SELECT userid, avatar FROM #__kunena_users WHERE userid in (' . implode(',', $users)  . ')');
       $avatars = $db->loadObjectList('userid');
unset($users);
} else {

$avatars = array();
}

$avatarA = $mainframe->getCfg('absolute_path') . DS . 'media' . DS . 'kunena' . DS . 'avatars' . DS;
$avatarL = $mainframe->getCfg('live_site') . '/media/kunena/avatars/';

Note: The initial code starts on line 196.
Logged
techanto
Newbie
*

Karma: 0
Offline Offline

Posts: 1


« Reply #1 on: April 07, 2011, 15:04:41 »

Hi,

Thanks for this solution.
I confirm, it works!
Logged
ayu
Hero Member
*****

Karma: 0
Offline Offline

Posts: 1590


Email
« Reply #2 on: August 29, 2017, 19:23:30 »

Agen Poker Online
Agen Domino99 Online
Agen BandarQ
Bandar Ceme
AduQ Online
Logged
ayu
Hero Member
*****

Karma: 0
Offline Offline

Posts: 1590


Email
« Reply #3 on: August 30, 2017, 16:54:05 »

DominoQQ
Agen Ceme
Live Poker
Situs Poker Online
Logged
ayu
Hero Member
*****

Karma: 0
Offline Offline

Posts: 1590


Email
« Reply #4 on: August 31, 2017, 17:09:28 »

Agen Domino
Bandar Sakong
Agen Capsa Online
Agen BandarQ
Agen Domino Online
« Last Edit: August 31, 2017, 18:06:14 by ayu » Logged
ayu
Hero Member
*****

Karma: 0
Offline Offline

Posts: 1590


Email
« Reply #5 on: September 02, 2017, 14:40:28 »

CERITA BAHAN COLI
AGEN IDR
SITUS POKER
BERITA LAPAK
LINK ALTERNATIF AGEN POKER
Logged
ayu
Hero Member
*****

Karma: 0
Offline Offline

Posts: 1590


Email
« Reply #6 on: September 04, 2017, 01:14:19 »

Sakong Android
Link Sakong
top situs judi
top situs poker
top judi Indonesia
Logged
ayu
Hero Member
*****

Karma: 0
Offline Offline

Posts: 1590


Email
« Reply #7 on: September 07, 2017, 06:57:44 »

kartu capsa terbaik
bermain capsa online
IDR Sakong Online
QiuQiu Uang Asli
Poker Nusantara
Logged
ayu
Hero Member
*****

Karma: 0
Offline Offline

Posts: 1590


Email
« Reply #8 on: September 08, 2017, 00:03:27 »

Bandar Domino Online
DominoQQ
Poker Online
Judi Domino
QQ Online
Logged
ayu
Hero Member
*****

Karma: 0
Offline Offline

Posts: 1590


Email
« Reply #9 on: September 12, 2017, 03:31:50 »

Domino Online
Poker Online
Link Capsa Online
Judi Paling Top
Poker club Indonesia
Logged
Wenny
Hero Member
*****

Karma: 0
Offline Offline

Posts: 2334


Email
« Reply #10 on: September 12, 2017, 10:42:21 »

AduQ Online Indonesia
Kartu Domino Online
Agen dunia Poker Online
Xperia Domino
Sakong Bersama Indonesia
Logged
Cathy
Sr. Member
****

Karma: 0
Offline Offline

Posts: 437


Email
« Reply #11 on: September 13, 2017, 12:22:14 »

Capsa Susun Online
Bandar Online Capsa
Poker Dengan Uang Asli
Link HitsQQ
Judi Online Uang Asli[/ur
Logged
Fifie
Hero Member
*****

Karma: 0
Offline Offline

Posts: 604


Email
« Reply #12 on: September 13, 2017, 13:27:09 »

Capsa Poker Online
Bandar Judi Internet
Asli Poker Online
HitsQQ
Iklan Judi
Logged
Fifie
Hero Member
*****

Karma: 0
Offline Offline

Posts: 604


Email
« Reply #13 on: September 14, 2017, 10:21:31 »

Info Poker Terpercaya
Info Poker Uang Asli
Poker Indonesia
Judi Poker Terpercaya
Judi Poker Indonesia
Logged
Lydia
Sr. Member
****

Karma: 0
Offline Offline

Posts: 398


« Reply #14 on: September 15, 2017, 11:19:32 »

Capsa Susun Online
Bandar Online Capsa
Poker Uang Asli
Link HitsQQ
Agen Judi Online
Logged
Pages: [1] 2   Go Up
  Print  
JoomlaTune Support Forum    JComments component    Integration with third-party extensions    Topic: Fix: Kuena avatar plugin
 
Jump to: