Jump to content

WordPress IPSConnect


Marcher Technologies

Recommended Posts

Hm, still having odd log-out issues on the WordPress side. When setting up, should we also be doing the steps in "Setting up the slave" listed here: http://www.invisionpower.com/support/guides/_/advanced-and-developers/integration/ips-connect-r27

Just wondering as IPB is the Master in this install, correct? So I was assuming that was not supposed to be done.

you would assume correctly.

http://community.invisionpower.com/index.php?app=ccs&module=pages&section=comments&database=12&record=41285&do=findComment&comment_id=113108

I think that is the issue, would you mind making the file edits/pming me ftp info to do so to confirm?

Link to comment
  • Replies 925
  • Created
  • Last Reply

check the XML-RPC debug panel(click XML-RPC ENABLED)... all OK or UNKNOWN?

previously I was depending on a xmlrpc module core, which i have no control of, and cannot speedily rectify bugs, or get the html posted in WP to WAI, now i am using my own module for this.... so you should ensure the XMLRPC API user is reconfigured as detailed in readme file.

Went into API users, says "enabled" up there but the button isn't clickable.

post-35543-0-16149300-1365131215_thumb.p

Link to comment

Okay, it's posting now but it's appending the whole post to the new IPB topic.

Our issue with this is that the formatting goes all to hell... Not your fault, but a problem for us.

Is there an option to create a new topic ONLY with the "Default Link to post format" text I've entered?

Link to comment

Okay, it's posting now but it's appending the whole post to the new IPB topic.

Our issue with this is that the formatting goes all to hell... Not your fault, but a problem for us.

Is there an option to create a new topic ONLY with the "Default Link to post format" text I've entered?

can I see this? I specifically tell IPB to shove off and the HTML posted is... HTML. Whole point I even have custom xmlrpc methods for this is to fix THAT.

Happy to add the option, and will in a moment(easy enough and no code cluttering with the refactor), but that seems indicative of a larger issue, what kind of formatting?

Anything I put in it comes out sane on the other side since that change, if this is not the case that is a bug, thus I need to see what it is doing that caused that sentence.

Link to comment

Here is the WP post...

post-35543-0-54437200-1365132957_thumb.p

Here is the IPB topic...

post-35543-0-17678900-1365132692_thumb.p

You can see the images aren't aligned the same in IPB and characters aren't moving over smoothly. ;)

Also, it's not grabbing galleries - only single images.

==

End of the day though, we're an online magazine and would really prefer our readers to find articles in one place (WP) only... In our case, the forum is just to provoke more interaction.

Thanks by the way, your level of attention to this sort of stuff always leaves me happy. :)

Link to comment

Mmmm, charsets, sorry - over my head.

I have access to everything, including phpMyAdmin and root WHM...

Where would I look up the charset, and in which database(s)?

Thanks, I think this will be a useful option anyway, especially for shortcode-heavy WP sites. :smile:

Link to comment

i think... it doesn't matter.

respond to your pm to me confirming the info is still valid/providing IPB FTP.

I have an idea of how to resolve the chars regardless from the API module(really have to admire the IPB API... IPSText::convertCharsets is an answer here i think)

.... a quick test of the code in a MB-heavy usage to be certain would help here.

Link to comment

I just wanted to say the log-out issue wasn't this plugin. It seemed my cookies for the domain I'm testing on were corrupt. I had the same issue on a fresh restore I'd done without the plugin installed yet even though the identical version on my main host was working fine. After clearing cookies I can log in and out again.

Link to comment

Working almost perfectly but I think emoticons break the comment syncing:

http://rushanshekar.com/nbtest/news/2013-international-challenge-april/

<img src='http://rushanshekar.com/nbtest/forums/public/style_emoticons/<#EMO_DIR#/>/tongue.png&#8217; class=&#8217;bbc_emoticon&#8217; alt=&#8217;:P&#8217; />

is what is inserted for an image and I think the #EMO_DIR thing is closing a tag early causing the next reply to merge with the one above it.

Thread: http://rushanshekar.com/nbtest/forums/topic/1240-2013-international-challenge-april/

Ignore the first reply in the comment thread on the article. I wanted to see what would happen if I changed the topic id to another existing article (it seems to add the replies from the new thread but not delete the old ones).

Link to comment

Working almost perfectly but I think emoticons break the comment syncing:

http://rushanshekar.com/nbtest/news/2013-international-challenge-april/

<img src='http://rushanshekar.com/nbtest/forums/public/style_emoticons/<#EMO_DIR#/>/tongue.png&#8217; class=&#8217;bbc_emoticon&#8217; alt=&#8217;:P&#8217; />

is what is inserted for an image and I think the #EMO_DIR thing is closing a tag early causing the next reply to merge with the one above it.

Thread: http://rushanshekar.com/nbtest/forums/topic/1240-2013-international-challenge-april/

Ignore the first reply in the comment thread on the article. I wanted to see what would happen if I changed the topic id to another existing article (it seems to add the replies from the new thread but not delete the old ones).

fixed.

not retroactively though, sanest place to fix it from is IPB end, so that emo dirs are honored.... will need to do a bit of cleanup, apologies.

Link to comment

Tested it out and emoticons work perfect! Did a bit more poking around and found:

  • Full URLs become truncated when posted to WordPress and the link breaks as a result
  • Invision's default is to make paragraphs have a 0px margin. Most WordPress themes have a margin. This means that people's posts usually have Enter pressed twice for a paragraph which causes a large break in comments. Trying to fix this by setting margin for p to 0 does not work though, because comments posted through WordPress condense all line breaks into one paragraph tag.
  • Time is still broken (IPB is converted to GMT) but maybe this is something to do with my setup?
  • Deleted / Hidden posts on IPB are not reflected on WordPress and vice versa. Ideally, all moderation could be done from the Invision end of things.
Here's where I'm testing:
http://rushanshekar.com/nbtest/uncategorized/intro-to-rng-manipulation-what-is-it-and-why-do-we-use-it/
http://rushanshekar.com/nbtest/forums/topic/1248-intro-to-rng-manipulation-what-is-it-and-why-do-we-use-it/

Anyone is free to register and post themselves. That's not the actual site =)
Link to comment

  • Time is still broken (IPB is converted to GMT) but maybe this is something to do with my setup?

please reconfigure wordpress settings, it is just honoring your options, I simply ensure it is formatted for insert correctly.

  • Full URLs become truncated when posted to WordPress and the link breaks as a result
  • Invision's default is to make paragraphs have a 0px margin. Most WordPress themes have a margin. This means that people's posts usually have Enter pressed twice for a paragraph which causes a large break in comments. Trying to fix this by setting margin for p to 0 does not work though, because comments posted through WordPress condense all line breaks into one paragraph tag.
  • Deleted / Hidden posts on IPB are not reflected on WordPress and vice versa. Ideally, all moderation could be done from the Invision end of things.

1/2 see what I can do.... should be fixable, think the link is getting double-truncated, once by IPB, once by WP. The margin on paragraphs is... dicey as you have seen..

3..... you are going to make me give you an app or hook to install to manage this properly. >.< k.

Link to comment

please reconfigure wordpress settings, it is just honoring your options, I simply ensure it is formatted for insert correctly.

Do you mean this is intended behaviour and I need to run WordPress set to GMT? It is currently set to GMT-8 in both WordPress General Settings and IPB Server Time Zone. Is there a setting somewhere I need to check?

1/2 see what I can do.... should be fixable, think the link is getting double-truncated, once by IPB, once by WP. The margin on paragraphs is... dicey as you have seen..

I think removing anything with <p>&nbsp;</p> in comments might work but I just don't know how to write something that does that!

3..... you are going to make me give you an app or hook to install to manage this properly. >.< k.

Well, it's not huge pressing need right now :smile: I think it would be really useful as a feature in an upcoming update though so we don't need to make our moderators go to two places to take care of comments (and give them higher WordPress privileges).
Link to comment

Do you mean this is intended behaviour and I need to run WordPress set to GMT? It is currently set to GMT-8 in both WordPress General Settings and IPB Server Time Zone. Is there a setting somewhere I need to check?

odd. no, that's not intended then, will look again, thanks... likely need to apply the wp tz offset to the incoming post dates(wth did i switch to date_i8ln for if it doesn't do that? criminy fail wp-code).

very odd that this is not accounted for on display internally by WP ..

.found it.. gmdate is 'kosher' looking at the link truncation/quotes now.

Link to comment

odd. no, that's not intended then, will look again, thanks... likely need to apply the wp tz offset to the incoming post dates(wth did i switch to date_i8ln for if it doesn't do that? criminy fail wp-code).

very odd that this is not accounted for on display internally by WP ..

.found it.. gmdate is 'kosher' looking at the link truncation/quotes now.

ok.... re-reading/fixing 'p' tag issues, links sorted.

Link to comment

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...