×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: A little trouble importing wordpress comments.

A little trouble importing wordpress comments. 14 years 7 months ago #9598

  • Angelic Revolt
  • Angelic Revolt's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 0
Hello,

Just installed new compojoom upgrade, and am working on importing comments from wordpress.

Some info:
PHP: 5.2.11
MySQL: 5.0.90-community
Joomla: 1.5.15
I am using the corephp wordpress component, with comments located in jos_wp_comments.

First off, let's make sure I understand the functionality of this import by explaining what I am trying to do. If I am off track, then maybe just explain to me what the import is designed to do.

The wordpress component integrates users and catagories with joomla. A wordpress post shows up in joomla as an article. This basically creates a joomla "mirror" blog of the wordpress blog. I am trying to get the comments on the worpress posts to stay with the joomla article version, which has the compojoom component assigned.

However, it appears that the content ID's do not match up between the worpress created post, and joomla articles. For instance, the wordpress content_id may be 129, but the joomla will be 78. Not sure if this has any bearing on the issue or not.

Long story short, compojoom is importing the comments, but they are not showing up on the corresponding joomla articles.

Am I just missing the boat on how this import is supposed to function?

Lastly, is there any chance or way I can replace the wordpress comment form with my customized compojoom template?

Thank you,

AR

A little trouble importing wordpress comments. 14 years 7 months ago #9599

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Angelic,
First of all, thank you for purchasing compojoomComment and supporting the component!

Let us say that you want to import comments from jomcomment.

Jomcomment is also placing comments under joomlaarticles and here is the key. If we import the jomcomment comments into compojoomcomment - then the contentids will be right ones. In both cases - you only use com_content.

Now in the case with wordpress - if the ids are different, then you won't get the desired result. The idea behind this wordpress import was the following. If I have a wordpress blog and I want to move everything to joomla, then I will move my articles to joomla and those articles will have the same ids as in wordpress.

You need to have the same ids. This is how this works and you won't be able to get the desired result if the wordpress articles and joomla articles have wrong ids.

I don't know how many comments and articles you are importing.
But if they are not a lot you could do a manual mapping.

So let us say that you know the following thing: the id of the article in wordpress and the id of the article in joomla.
You could go to phpmyadmin and write the following query
UPDATE jos_comment SET contentid = "you write here the joomla id"
WHERE contentid = "you write here the wordpress id";

I only hope that you don't have 100 articles and 10000 comments :)
Cheers

A little trouble importing wordpress comments. 14 years 7 months ago #9600

  • Angelic Revolt
  • Angelic Revolt's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 0
OK, I appreciate your detailed response. I have a better understanding now. The import is for a one time, permanent move from wordpress to joomla, not a means to sync the comments between the cloned wordpress post and joomla articles.

I am not looking to move the blog from wordpress to joomla, so will just leave as is and not worry about comments.

All that said, I had asked about possible using compojoom to handle commenting in the integrated wordpress component. Is this something that can be done easily, or even developed for a fee?

Or maybe, on a smaller level, just integrate the template I am using so the commenting looks the same in wordpress?

Thank you!

AR

A little trouble importing wordpress comments. 14 years 7 months ago #9601

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
The import function is definitely not for synchronization purposes.

I've made synchronization between joomlacomment and vbulletin in the past and that is not that easy.

Actually I have no experience with the corephp wordpress plugin would you send me a link to your website. I would like to see how it all looks. :)

A little trouble importing wordpress comments. 14 years 7 months ago #9602

  • Angelic Revolt
  • Angelic Revolt's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 0
Of course!

Site is offline/in production so I created a user for you. I'll pm you the info.

AR
  • Page:
  • 1
Time to create page: 0.094 seconds