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: Import comments from Phoca Gallery
Pages: [1]   Go Down
  Print  
Author Topic: Import comments from Phoca Gallery  (Read 4871 times)
0 Members and 1 Guest are viewing this topic.
arch66
Newbie
*

Karma: 0
Offline Offline

Posts: 3


« on: November 26, 2009, 12:23:27 »

Hi all,

I am using Jcomments in Phocagallery which all works great! The only thing I am having problems with is the "import phoca gallery comments" function in the Admin Panel.

It does recognize the exact no. of comments in Phoca, though when I click "Import" I am getting an error message "Import failed, please contact the developer"

Anyone else having this problem and is there a workaround?

Am using latest Joomla 1.5.15 and Phoca Gallery2.6

Thanks
Logged
smart
Administrator
Hero Member
*****

Karma: 163
Offline Offline

Gender: Male
Posts: 2161



WWW
« Reply #1 on: November 26, 2009, 13:37:33 »

I've made this function before PhocaGallery 2.6 was released. So I need some time for tests. I'll try fix this in few days.
Logged

If you use JComments, please post a rating and a review at the Joomla! Extensions Directory
arch66
Newbie
*

Karma: 0
Offline Offline

Posts: 3


« Reply #2 on: November 26, 2009, 19:44:27 »

Just had a look at the migration function: works fine now with #__  added

$query   = "SELECT c.*"
         . "\n, u.id, u.email, u.name, u.username "
         . "\nFROM #__phocagallery_comments AS c"
         . "\nLEFT JOIN #__users AS u ON c.userid = u.id "
         ;
Logged
smart
Administrator
Hero Member
*****

Karma: 163
Offline Offline

Gender: Male
Posts: 2161



WWW
« Reply #3 on: November 26, 2009, 19:54:05 »

O, sorry... This my bug... stupid bug... sorry again Sad
Logged

If you use JComments, please post a rating and a review at the Joomla! Extensions Directory
arch66
Newbie
*

Karma: 0
Offline Offline

Posts: 3


« Reply #4 on: November 26, 2009, 20:05:21 »

No worries, thanks for the great component you made here!


btw: $comment->date = $row->date;     

Can be changed too, works weird with the strftime , takes me back to the 60's

Regards
Adrian


Logged
smart
Administrator
Hero Member
*****

Karma: 163
Offline Offline

Gender: Male
Posts: 2161



WWW
« Reply #5 on: November 26, 2009, 20:48:21 »

Ok, this fix will be included with new JComments version. Thanks!
Logged

If you use JComments, please post a rating and a review at the Joomla! Extensions Directory
Pages: [1]   Go Up
  Print  
JoomlaTune Support Forum    JComments component    Integration with third-party extensions    Topic: Import comments from Phoca Gallery
 
Jump to: