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
xfrocks @Adhen It's confirmed that sync for scheduled post is currently broken. Fix should be available soon. Sorry for the inconvenience.
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"
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.
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. with best regards Adhen
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.
Hi, I have excluded the two files but the json error still appers (yes in the browser console). This is the Wordpress site: https://finalfantasydojo.de/ Final Fantasy, Kingdom Hearts und Square Enix | Final Fantasy Dojo Final Fantasy, Kingdom Hearts und ein paar andere Square Enix Perlen: Hier gibt es Guides, Informationen und Neuigkeiten dazu! finalfantasydojo.de
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...
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.
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?
xfrocks @Adhen 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?
Adhen @xfrocks I have deactivated the Option for the sync cookie. now it is activated and the error still appears.
Your website tries to load "https://finalfantasydojo.de/forum/api/index.php", which it shouldn't do at all. Do you still have the minify plugin turned on?
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?
Adhen @xfrocks No I don't know. When I disable the Sync logged-in cookie option, the line disappears. Hm I've tested the login sync a while and found out, that I f I login in the forum, I am not logged in in the Blog. When I login to blog over the frontend, I am logged in in the Blog but not in the forum. When I loggedin to the dashboard, I am logged in in the forum too. But the normal Users wont have access to the dashboard. And the error still appears -.-
xfrocks @Adhen If it is the case then something must have changed the url, it should be https://finalfantasydojo.de/forum/api/index.php?assets/sdk&prefix=xfac (notice the query string, it has been stripped off from your site). Do you have any other plugin that may change / optimize js etc.?
Hm, I think I found the problem in the functions.php: function remove_cssjs_ver( $src ) { if (!strpos($src,'google')) $parts = explode( '?', $src ); else $parts[0] = $src; return $parts[0]; } add_filter( 'style_loader_src', 'remove_cssjs_ver', 10, 2 ); add_filter( 'script_loader_src', 'remove_cssjs_ver', 10, 2 ); This removes Versions from css and php files. So it removes all after the ? from the php file. Hm, but when I try this: function remove_cssjs_ver( $src ) { if (!strpos($src,'google') || !strpos($src,'forum')) $parts = explode( '?', $src ); else $parts[0] = $src; return $parts[0]; } add_filter( 'style_loader_src', 'remove_cssjs_ver', 10, 2 ); add_filter( 'script_loader_src', 'remove_cssjs_ver', 10, 2 ); It doesn't change anything...
Is this some plugin of yours? It would not recommend missing our with version query in script urls. Sometime they are needed for proper cache busting.
This is some security stuff, to prevent that other people can se the used wordpress version. Wenn I tried to ignore the api php file but it doesn't work. Do you know how I can skip the file from your plugin?