Jump to content

WordPress IPSConnect


Marcher Technologies

Recommended Posts

Posted

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?

  • Replies 925
  • Created
  • Last Reply
Posted

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

Posted

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?

Posted

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.

Posted

#2 though is confusing.

the display name should be synched to the ipb display name. 0.o

Nach.

Login/sso does not synch the comments 'name' displayed like it does the actual display name.

will look at dynamic update for this when it differs/updates.

Posted

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. :)

Posted

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:

Posted

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.

Posted

sat0ri is testing the changes now.

i refactored again , said option is added, with confirmation of the MB issue resolved i will update the file, else i'll be looking closer on the site.

also fixed the comment display name issue on login synch while I was at it.

Posted

File updated. Changes

  • Post class abstracted away for sanity.
  • Additional features/settings for topic posting(see feature list).
  • Finally fixed MB-Posting issues, ended up needing to base64 it.
  • Login IPB Display name synch now extends to comments.

Posted

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.

Posted

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).

Posted

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.

Posted

I followed the stops that came with the plugin I also was able to get the all green on the Enable and XML but when I try loging in I just receive an error "Cannot login at this time"

Posted

I followed the stops that came with the plugin I also was able to get the all green on the Enable and XML but when I try loging in I just receive an error "Cannot login at this time"

Can I have access?

I just triple-checked the code and my suspect makes no sense, need to see what it is doing.

Posted

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 =)
Posted

Can I have access?
I just triple-checked the code and my suspect makes no sense, need to see what it is doing.


Sure just let me know what I need to set up and where you need access to.
Posted

  • 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.

Posted

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).
Posted

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.

Posted

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.

Archived

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...