× Joomla Facebook Connect support forum

Topic-icon Rescue comments after upgrade of content plugin??

Active Subscriptions:

None
I've read somethings about this but I still confused. I had comments I would like to keep. I understood that anything before 27 april will be lost but newer comments will stay. I've done today the upgraded jfbconnect. I am using the content plugin for article view and seem to have lost all comments in our website. I am up for using the new method from now on, but is there any way to rescue the comments made after april 27th without having to be stuck in legacy mode?
Plz detail advice since I am a newbie dev.
Thanks!
Noa
GeoParadise.org
The topic has been locked.
Support Specialist
14 years 9 months ago #12501 by alzander
There really isn't. The cutoff is completely in the version of JFBConnect you're using, not a specific date. While Facebook mandated the new comment system in May, we implemented it in April. Until you upgraded to our release that implemented it though, the old style would likely still work.

What version of JFBConnect did you upgrade from? The 3.2 release (April 7) was the release that changed from the old legacy XID to the new URL reference for each page. If you were upgrading from an earlier version, then the only way to see the old comments is to hard-code the old XID into the comments box on any page that you want to show the old comments from.

If you were upgrading from a newer release (3.2+), the comments shouldn't have been lost. The only reason that they may have is if the URL structure changed on your site. This can happen when you move to Joomla 1.6+, if you have a 3rd-party SEF extension on your site and it's responding slightly differently to how JFBConnect is querying the proper URL, or a few other nuances.

Let us know what version of JFBConnect you were coming from, and we'll do what we can to help.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
It was from an older version (3.1.2).
If we hard code the XID, is that going to affect the way the future comments work or the new ones are going to use the url as they should to not be stuck in the past. There is only 4 pages I need to recover the old comments from if not too problematic.
BTW after the upgrade next morning the database was corrupted and had to be repaired. That fixed the problem but next day (today) it was down again and needed a new repair. Do you think this could have anything to do with JFBconnect? Is there anyone out there with the same problem? I hope is not going to happen everyday!
Waiting for instructions then.
Cheers!
Noa
The topic has been locked.
Support Specialist
14 years 9 months ago #12555 by alzander
We've not heard of anyone with corrupted databases, and it's certainly not something that should be happening from us. Generally, corrupted databases are caused from the following 2 cases:
1) Your site is low on memory. If a page starts to load and is interacting with the database, but PHP runs out of memory, part of a SQL transaction may occur, but may not close properly.
2) Your site is low on disk space. The database file needs to be able to grow. If it runs out of space, the last few transactions won't happen.
There are plenty of other reasons, but those are the most common causes.

As for the comments, yes, you can use the XID method on just a few pages and all 'new' pages can use the href parameter. Basically, depending on how you're inserting the comments, you'll need to make a few minor changes to how your inserting them, depending on whether you're using the {JFBCComments} tag, the JFBCComments module, or the JFBCContent plugin to automatically insert them. Can you let me know the following, and we'll give you pretty straightforward instructions on how to recover the comments:
* The full URLs of the 4 pages that you want to recover from
* How you were inserting the comments on those pages (tag, module, or content plugin)

It shouldn't be too bad with just 4 pages :)

Alex
The topic has been locked.
Active Subscriptions:

None
Hello! Thanks for the tips re: databases. I´ll check with my hosting providers.
I have a question: if we have certain pages using the old XID method, will the comments be threaded? If not, we are thinking probably the best is keep the new system in all pages apart from 3, even if that means loosing some comments, since they have been up for only a few months and they are going to be the main pages in our site for the next year and a half, so we rather start from zero but with a much better functionality.
For the 3 pages reviewing past events we´d like to rescue the comments, since quite unlikely new comments will be done. BTW Are they going to work permanently in the future?
I´m using the content plugin and the url´s are:
www.geoparadise.org/en/events/full-moon-gatherings/reviews
www.geoparadise.org/en/events/past/2010-costa-rica
www.geoparadise.org/en/events/past/2009-madeira-island-portugal
Thanks for your support!
Noa
The topic has been locked.
Support Specialist
14 years 9 months ago #12566 by alzander
To my knowledge, and I could be wrong (you can test with the 3 articles you included), no new features will work if you use the 'old' box. That includes threaded comments, some of the moderation features, and the ability to comment from multiple providers (hotmail, yahoo, aol, if enabled).

If you were using the content plugin, the XID should be pretty easy to regenerate. You simply want to take the article id, and prepend content_ to it. So, for the pages above, if the article IDs were 8, 12, and 27, the XIDs would be:
content_8
content_12
content_27

To add the comment boxes to those articles, you'd want to edit the articles, and at the bottom, add:
{JFBCComments xid=content_8}

Finally, in the Social configuration area of JFBConnect, in the comment tab, you'd want to specifically exclude the article id's by putting in "8,12,27"

That's pretty quick directions, so hopefully, it makes sense, but if not, let us know. You can also use the JFBCComment module if you can place it on just those pages, but the tag above is a little more flexible.

Keep us posted on how it goes or if you run into issues.

Alex
The topic has been locked.
Active Subscriptions:

None
Ok! Done it!
I was quite gratefully surprised when I discovered that they are threaded, with moderation and all new features. Brilliant!!
In one page I posted both old and new box cause I had new comments already done: www.geoparadise.org/en/events/past/2010-costa-rica. It has 2 comment boxes, but it´s not too bad and seems to work. Is this going to cause conflicts you think?
Once again, you have the best support! I´ll leave a review in JED when I have a minute, you really deserve it!
Thank you very much!

Noa
The topic has been locked.
Support Specialist
14 years 9 months ago #12588 by alzander
Noa,
That's great to hear that all the new features are there. As for long-term, Facebook is allowed to do what they want. Personally, since they're adding the new features to the 'old' system, I think it will be around a while. However, they could disable it at any time as it's technically deprectated, which means unsupported. I don't think having both on the same page will be a problem at all though.

I think the 2 comment boxes look fine, actually. It may be a little confusing, but frankly, like you said, this will only be on a few pages to 'bridge' the gap. Comments are good either way :)

Finally, we'd definitely appreciate the review. Each one really helps. We're extremely happy we got you going, and we'll keep it in mind in the future not to remove our xid support :)

Good luck,
Alex
The topic has been locked.