1. Have feature suggestions for the WordPress plugin? Post or vote here.
    Dismiss Notice

Resolved Some questions about the plugin

Discussion in 'WordPress' started by Adhen, Oct 6, 2015.

  1. Adhen

    Adhen Webmaster

    Hi there,

    I bought the plugin because I looked for a way, to sync the xenforo with wordpress and after two hours of reading your documentation and some try and error, it works now - I think so.

    But I have some questions: Is it possible to create Xenforo Threads for Wordpress Pages? It works with posts but not with pages?

    It does not save the forum for a post when I save a draft. But some posts are scheduled. There are no threads for this posts and I have to update every scheduled post after it was published to create a thread.

    Is it possible to to sync a XF Thread that already exists to a WP post?

    Hm, to test the plugin I have pushed a forum to a post. Saved. Okay it worked. But what happend if I do this again with another forum? Okay, now two threads are synced to the post... but how can I remove the second thread from the post?

    Okay, that are all questions for this time :)

    Hope you can understand me, english is not my native language.

    regards
    Adhen
     
    Tags:
  2. Adhen

    Adhen Webmaster

    Hi!

    This point is very important, could anyone develop a solution for this?

     
  3. xfrocks

    xfrocks XenForo rocks! Staff Member

    It's confirmed that sync for scheduled post is currently broken. Fix should be available soon. Sorry for the inconvenience.
     
  4. Adhen

    Adhen Webmaster

    Soon is when? Are you still working on this?
     
  5. Adhen

    Adhen Webmaster

    The sync for scheduled posts is still broken.
    And there are some syntax errors in your Login sync JS.

    If I am using the merge and minify plugin in wordpress I get this error:

    3dc5576a-1479047805.js:470 Uncaught SyntaxError: Unexpected token <

    <?php

    // method overriding support
    if (isset($_SERVER['HTTP_X_HTTP_METHOD_OVERRIDE']) AND isset($_SERVER['REQUEST_METHOD']) AND $_SERVER['REQUEST_METHOD'] === 'POST')
    {

    And without the plugin this:

    index.php:1 Uncaught SyntaxError: Unexpected token :

    {"links":{"search"
     
  6. xfrocks

    xfrocks XenForo rocks! Staff Member

    Looks like your minify plugin picks up some PHP file and some JSON file. Probably you need to track down exactly what files are those and exclude those files from being minified.

    Regarding the sync issue, sorry the fix is not out yet.
     
  7. Adhen

    Adhen Webmaster

    Hi,

    ehm this error apears only if the Sync logged-in cookie option in your plugin is activated. The first error is when I use the minify plugin and the second ist when I do not use minify but the Sync logged-in cookie option. I hope now you can understand me, english is not my native language. :/

    Another question:
    Is it possible to sort the boards in the dropdowns in the wordpress posts by the order in the forum. Now you sort them by the ID but if I have two boards that have the same Name (for example: Board1 - Subforum 1(News), Board 2 - Subforum 2 (News)) sometimes I don't know, wich board to choose. :D

    with best regards
    Adhen
     
  8. xfrocks

    xfrocks XenForo rocks! Staff Member

    Regarding the first issue, yeah, the sync logged-in cookie feature loads another file so you need to exclude it from being minify to work properly.

    For the 2nd issue, that error occurs with that feature turned on and the error is logged in browser console? That doesn't sound good, can you send me your url so I can come and check?

    For the question: nice suggestion. This should be available in the next release.
     
  9. Adhen

    Adhen Webmaster

  10. Adhen

    Adhen Webmaster

    Ah I forgott: The sync cookie does not work. When I logged in with wordpress I am not logged in in the forum and when logg in with forum I am not logged in on the blog. I think the error with the json has to be fixed so the cookie can work...
     
  11. Adhen

    Adhen Webmaster

    And did you checked it already?
     
  12. xfrocks

    xfrocks XenForo rocks! Staff Member

    Latest version has been tested to work with scheduled post fyi.
     
  13. Adhen

    Adhen Webmaster

    Hi, when I save a schedulded posting, the forum dropdown is empty. Is thar correct or must the forum be selected?

    But most important is the thing with the single sign-on. The cookie is not working. The errors from above still appears.
     
  14. xfrocks

    xfrocks XenForo rocks! Staff Member

    Which drop down? Can you provide a screenshot?
    For scheduled post, the plugin won't make any changes until the post is published at the scheduled time. After that happens, the plugin will sync the post etc. as per configured.

    You meant this error?

    Code:
    Uncaught SyntaxError: Unexpected token <
    Please disable the minify plugin and see if it works?
     
  15. Adhen

    Adhen Webmaster

    No I mean this error:

    This Dropdown:

    upload_2017-1-12_22-24-2.png
     
  16. xfrocks

    xfrocks XenForo rocks! Staff Member

    If nothing show up in that select box, you need to check the plugin settings page. You may need to reload it too (there is a link for that).
    Also, I don't seem to get that error going to https://finalfantasydojo.de/, is that still your site address?
     
  17. Adhen

    Adhen Webmaster

    I have deactivated the Option for the sync cookie. now it is activated and the error still appears.
     
  18. xfrocks

    xfrocks XenForo rocks! Staff Member

  19. Adhen

    Adhen Webmaster

    No its disabled.
     
  20. xfrocks

    xfrocks XenForo rocks! Staff Member

    Your site has this line in the source

    Code:
    <script type='text/javascript' src='https://finalfantasydojo.de/forum/api/index.php'></script>
    Do you know where it comes from?
     
Loading...