XPress - A theme and bridge for bringing WordPress into XenForo

XPress - A theme and bridge for bringing WordPress into XenForo 1.1.1 Patch Level 1

No permission to buy ($99.95)

Dalton Prock

Well-known member
What is the refund policy or a trial I can request? I essentially just want to trial this in a local dev environment to see if it'll make sense for my use case before deciding to purchase.

  • Is WP 5.x supported?
  • Is there a way to do synchronize Xenforo users to Wordpress only if they are in a special XF usergroup? Trying to avoid needing to maintain two sets of users if only a subset of XF users will be able to submit articles through Wordpress.
I created my own Wordpress bridge for XF 1.x for my site but it took a lonnnng time to do so looking to see if I can just use this as replacement as part of my work trying to upgrade to XF 2.

Thank you!
I
Are there any issues / concerns for Xpress users when upgrading Wordpress to 5.0?
This is something we wouldn't recommend anyone doing as of yet.
 

Jake B.

Well-known member
On my test site I upgraded WP to 5.0 and XF to 2.1 BETA 4. Its been about a week now and I don't see any issues with the XPress add-on.
You'll get a LOT of notices being logged in your XF error log, these are coming from WordPress directly due to them deprecating a function that they're still using in several places. The next update of XPress we've suppressed these from being logged
 

Damnlag

Member
Hi, maybe someone here can help me figure out what I've done wrong with changing my URL's for my site to SSL / HTTPS.

I'm using Xenforo v2.0.12 and have the XPress wordpress add-on installed. Has been working fine before I started messing with the URL's today. I was even using my hosting (Hostgator) support chat to make sure I was doing everything correctly, but apparently they didn't know what was wrong either.

So I have the forum installed on the main directory, and the XPress wordpress comes up under /home. Now all I was doing was changing the URL's from HTTP to HTTPS. I changed the URL's in the wordpress settings control panel, as well as on the Xenforo admin control panel under Basic Board Information.

The hosting support cleared the cache on the server and even reinstalled the SSL. According to WhyNoPadLock, there's no mixed content and everything passes except for Force HTTPS and Protocols.

As for the Force HTTPS, I added the following code to my htaccess txt file, but it didn't help.

Code:
RewriteCond %{HTTP_HOST} damnlag\.com [NC]
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://damnlag.com/$1 [R,L]
Now, the wordpress homepage and forums both were coming up as 404 error page doesn't exist when I had all the URL's showing HTTPS.

Is there something I'm missing here?
 

interforo

Active member
Hi,
I get errors when users do a logout from my forum:
Code:
ErrorException: in /home/interfan/public_html/wp-config.php at line 21

XF::handlePhpError() in /home/interfan/public_html/wp-config.php at line 21
require_once() in /home/interfan/public_html/wp-load.php at line 37
include() in src/addons/ThemeHouse/XPress/XF/ControllerPlugin/Login.php at line 27
ThemeHouse\XPress\XF\ControllerPlugin\Login->logoutVisitor() in src/XF/Pub/Controller/Logout.php at line 16
XF\Pub\Controller\Logout->actionIndex() in src/XF/Mvc/Dispatcher.php at line 249
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 88
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 41
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1931
XF\App->run() in src/XF.php at line 329
XF::runApp() in index.php at line 13
 

Damnlag

Member
Hi, maybe someone here can help me figure out what I've done wrong with changing my URL's for my site to SSL / HTTPS.

I'm using Xenforo v2.0.12 and have the XPress wordpress add-on installed. Has been working fine before I started messing with the URL's today. I was even using my hosting (Hostgator) support chat to make sure I was doing everything correctly, but apparently they didn't know what was wrong either.

So I have the forum installed on the main directory, and the XPress wordpress comes up under /home. Now all I was doing was changing the URL's from HTTP to HTTPS. I changed the URL's in the wordpress settings control panel, as well as on the Xenforo admin control panel under Basic Board Information.

The hosting support cleared the cache on the server and even reinstalled the SSL. According to WhyNoPadLock, there's no mixed content and everything passes except for Force HTTPS and Protocols.

As for the Force HTTPS, I added the following code to my htaccess txt file, but it didn't help.

Code:
RewriteCond %{HTTP_HOST} damnlag\.com [NC]
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://damnlag.com/$1 [R,L]
Now, the wordpress homepage and forums both were coming up as 404 error page doesn't exist when I had all the URL's showing HTTPS.

Is there something I'm missing here?
I've reverted everything back to just HTTP, but the wordpress homepage using Xpress is showing up broken and not pulling the theme or any theme images.

Ideas for that part? Uninstall and reinstall?
 

Jake B.

Well-known member
Hi,
I get errors when users do a logout from my forum:
Code:
ErrorException: in /home/interfan/public_html/wp-config.php at line 21

XF::handlePhpError() in /home/interfan/public_html/wp-config.php at line 21
require_once() in /home/interfan/public_html/wp-load.php at line 37
include() in src/addons/ThemeHouse/XPress/XF/ControllerPlugin/Login.php at line 27
ThemeHouse\XPress\XF\ControllerPlugin\Login->logoutVisitor() in src/XF/Pub/Controller/Logout.php at line 16
XF\Pub\Controller\Logout->actionIndex() in src/XF/Mvc/Dispatcher.php at line 249
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 88
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 41
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1931
XF\App->run() in src/XF.php at line 329
XF::runApp() in index.php at line 13
What is on line 21 in your wp-config.php file?

I've reverted everything back to just HTTP, but the wordpress homepage using Xpress is showing up broken and not pulling the theme or any theme images.

Ideas for that part? Uninstall and reinstall?
Make sure both your XenForo and WordPress URL are set correctly. The XenForo board URL is used to load in all assets, so if it's set to http and you're loading WordPress over https you'll get mixed content errors and the http assets will not be loaded.

Edit: Just took a look at the site in your signature, and there is a "Security error" message being displayed on a lot of assets WordPress is attempting to load:

http://www.damnlag.com/forums/js/xf/preamble-compiled.js?_v=45270076
http://www.damnlag.com/forums/js/vendor/jquery/jquery-3.2.1.min.js?_v=45270076

This will be the reason your WordPress is currently broken. I suspect your XenForo board URL is set to http://www.damnlag.com/forums when it should be http://www.damnlag.com
 
Last edited:

Damnlag

Member
What is on line 21 in your wp-config.php file?



Make sure both your XenForo and WordPress URL are set correctly. The XenForo board URL is used to load in all assets, so if it's set to http and you're loading WordPress over https you'll get mixed content errors and the http assets will not be loaded.

Edit: Just took a look at the site in your signature, and there is a "Security error" message being displayed on a lot of assets WordPress is attempting to load:

http://www.damnlag.com/forums/js/xf/preamble-compiled.js?_v=45270076
http://www.damnlag.com/forums/js/vendor/jquery/jquery-3.2.1.min.js?_v=45270076

This will be the reason your WordPress is currently broken. I suspect your XenForo board URL is set to http://www.damnlag.com/forums when it should be http://www.damnlag.com
Hey! That was exactly what was wrong with it. Had the board URL set as http://www.damnlag.com/forums. Took /forums off and the wordpress looks fine now.

I was trying to move the forums to /forums and pull up wordpress by default under damnlag.com originally, then the whole SSL thing didn't help. Think I'm done messing with stuff lol

Appreciate it though ;)
 

BigPete7978

Member
Not sure if I am doing something wrong, but here are the following issues I am experiencing with the add on.

The two images below are the top: Wordpress Header and bottom: XenForo Header. The icons aren't transferring over for some reason, and I cannot figure out why at all.

191486

191487



Also for some reason my XenForo account isn't linking to my "Wordpress Account". Same email and everything, but nothing is connecting the two. Is there something I am missing here?

191488
 

Lukas W.

Formerly katsulynx
The two images below are the top: Wordpress Header and bottom: XenForo Header. The icons aren't transferring over for some reason, and I cannot figure out why at all.
Check the browser console for errors.

Also for some reason my XenForo account isn't linking to my "Wordpress Account". Same email and everything, but nothing is connecting the two. Is there something I am missing here?
Dumb question first: Do you have Single-Sign On enabled?
 

BigPete7978

Member
Check the browser console for errors.



Dumb question first: Do you have Single-Sign On enabled?
Yes I do have SSO enabled.

These are the errors that are popping up when in browser console.

Code:
 HTML1300: Navigation occurred.
news (1,1)

 SEC7120: [CORS] The origin 'https://thegamingpost.com' did not find 'https://thegamingpost.com' in the Access-Control-Allow-Origin response header for cross-origin font resource at 'https://www.thegamingpost.com/styles/fonts/fa/fontawesome-webfont.woff2?v=4.7.0'.

 JQMIGRATE: Migrate is installed, version 1.4.1
jquery-migrate.min.js (2,495)

 HTTP404: NOT FOUND - The server has not found anything matching the requested URI (Uniform Resource Identifier).
GET - https://www.thegamingpost.com/styles/uix/fonts/icons/material-icons/materialdesignicons-webfont.woff2?v=1.8.36

2 CSS3115: @font-face failed cross-origin request. No Access-Control-Allow-Origin header.
materialdesignicons-webfont.woff2 (1,1)

 HTTP404: NOT FOUND - The server has not found anything matching the requested URI (Uniform Resource Identifier).
GET - https://www.thegamingpost.com/styles/uix/fonts/icons/material-icons/materialdesignicons-webfont.woff?v=1.8.36

2 CSS3115: @font-face failed cross-origin request. No Access-Control-Allow-Origin header.
materialdesignicons-webfont.woff (1,1)

 HTTP404: NOT FOUND - The server has not found anything matching the requested URI (Uniform Resource Identifier).
GET - https://www.thegamingpost.com/styles/uix/fonts/icons/material-icons/materialdesignicons-webfont.ttf?v=1.8.36

 SEC7120: [CORS] The origin 'https://thegamingpost.com' did not find 'https://thegamingpost.com' in the Access-Control-Allow-Origin response header for cross-origin  resource at 'https://www.thegamingpost.com/job.php'.

 CSS3119: No fonts available for @font-face rule
css.php (10,53739)

 CSS3115: @font-face failed cross-origin request. No Access-Control-Allow-Origin header.
fontawesome-webfont.ttf (1,1)

 CSS3119: No fonts available for @font-face rule
css.php (21,5)

 CSS3115: @font-face failed cross-origin request. No Access-Control-Allow-Origin header.
materialdesignicons-webfont.ttf (1,1)

 CSS3119: No fonts available for @font-face rule
materialdesignicons.min.css (1,140)

 SEC7120: [CORS] The origin 'https://thegamingpost.com' did not find 'https://thegamingpost.com' in the Access-Control-Allow-Origin response header for cross-origin  resource at 'https://www.thegamingpost.com/index.php?spotify/update-current-playback&xpressAjax=true&_xfRequestUri=%2Fnews%2F&_xfWithData=1&_xfToken=1546056570%2Cdd128aece1c8491d05e538f7836d8015&_xfResponseType=json'.
 

BigPete7978

Member
Also got this error in the XenForo ACP 1 hour ago, not sure if it is related.

Code:
ErrorException: [E_WARNING] Invalid argument supplied for foreach() news/wp-content/plugins/optinmonster/OMAPI/Widget.php:177
Generated by: BigPete7978 Dec 28, 2018 at 9:28 PM
Stack trace
#0 news/wp-content/plugins/optinmonster/OMAPI/Widget.php(177): XF::handlePhpError(2, 'Invalid argumen...', '/home4/bigpete7...', 177, Array)
#1 news/wp-includes/class-wp-widget.php(507): OMAPI_Widget->form(Array)
#2 [internal function]: WP_Widget->form_callback(Array)
#3 news/wp-admin/includes/widgets.php(243): call_user_func_array(Array, Array)
#4 [internal function]: wp_widget_control(Array, Array)
#5 news/wp-includes/class-wp-customize-widgets.php(1017): call_user_func_array('wp_widget_contr...', Array)
#6 news/wp-includes/class-wp-customize-widgets.php(968): WP_Customize_Widgets->get_widget_control(Array)
#7 news/wp-includes/class-wp-customize-widgets.php(676): WP_Customize_Widgets->get_available_widgets()
#8 [internal function]: WP_Customize_Widgets->enqueue_scripts('')
#9 news/wp-includes/class-wp-hook.php(286): call_user_func_array(Array, Array)
#10 news/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
#11 news/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
#12 news/wp-admin/customize.php(123): do_action('customize_contr...')
#13 {main}
Request state
array(4) {
  ["url"] => string(145) "/news/wp-admin/customize.php?theme=wp-xpress-theme&return=http%3A%2F%2Fthegamingpost.com%2Fnews%2Fwp-admin%2Fthemes.php%3Ftheme%3Dwp-xpress-theme"
  ["referrer"] => string(71) "http://thegamingpost.com/news/wp-admin/themes.php?theme=wp-xpress-theme"
  ["_GET"] => array(2) {
    ["theme"] => string(15) "wp-xpress-theme"
    ["return"] => string(71) "http://thegamingpost.com/news/wp-admin/themes.php?theme=wp-xpress-theme"
  }
  ["_POST"] => array(0) {
  }
}
 

BigPete7978

Member
Now I am confused. They just linked and I literally did nothing. I enabled SSO over an hour ago when I installed the add on, yet it just now linked them. Is there a delay of sorts with the SSO?

So it looks like the only issue now is the header issue.
 

BrianC

Active member
I have this Xpress installed with Xenforo 2.0.12, Xpress Patch level 5 and WP 4.99. When I create a post in WP a thread is created but I get a double listing of the post in the Xenforo sidebar block.

Any suggestions for this?

Thanks!

191546
 

diretur

Member
Forget this, I was running an old WP version. I've upgraded and it's alright now

------------

Hi,

I installed the plugin both on XF and WP, and the bridge works perfectly.
The Xpress theme doesn't work though, I keep getting this warning:
An exception occurred: [Error] Call to undefined function get_parent_theme_file_path() in /wp-content/themes/wp-xpress-theme/functions.php on line 10

I tried deactivating all WP plugins, but the problem is still there.

Thanks for your help
 
Last edited:

Dalton Prock

Well-known member
I have this Xpress installed with Xenforo 2.0.12, Xpress Patch level 5 and WP 4.99. When I create a post in WP a thread is created but I get a double listing of the post in the Xenforo sidebar block.

Any suggestions for this?

Thanks!

View attachment 191546
Wow, that is a weird issue. Go ahead and create a ticket on our support portal so that one of our staff can take a closer look into what could be causing this issue.
Forget this, I was running an old WP version. I've upgraded and it's alright now

------------

Hi,

I installed the plugin both on XF and WP, and the bridge works perfectly.
The Xpress theme doesn't work though, I keep getting this warning:
An exception occurred: [Error] Call to undefined function get_parent_theme_file_path() in /wp-content/themes/wp-xpress-theme/functions.php on line 10

I tried deactivating all WP plugins, but the problem is still there.

Thanks for your help
Good to hear you were able to get the problem figured out but as far as that error goes, go ahead and create a ticket on our support portal as one of our staff can take a closer look into that error.
Now I am confused. They just linked and I literally did nothing. I enabled SSO over an hour ago when I installed the add on, yet it just now linked them. Is there a delay of sorts with the SSO?

So it looks like the only issue now is the header issue.
Go ahead and create a ticket so that one of our staff can help you further on this header issue ;)
 
Top