XPress - A theme and bridge for bringing WordPress into XenForo [Deleted]

How do I turn on post exerpts on the front page of WordPress?
In your XenForo Admin Control Panel > Appearance > Styles & Templates > Style properties > [TH] XPress.

For featured articles, under "Featured Articles", uncheck "Removed featured excerpt preview text", and set the "Featured excerpt length" to your wished length. Default is 50.

For normal articles, under "Articles", check "Enable excerpt for blog post previews", and set the excerpt character limit to your wished amount. Recommended is 50-100.
 
Doest it change wordpress theme too?

I dont want to change my wordpress theme, I want to use it just as a bridge between these two platforms.

would you please make it clear for me?
 
Doest it change wordpress theme too?

I dont want to change my wordpress theme, I want to use it just as a bridge between these two platforms.

would you please make it clear for me?
I'm not the developer, but please read the full thread, the developers website. This question has been answered several times.
 
You can use any theme.
However, by not using the provided theme you will lose some functionality like css-styled xenforo thread when you choose not to use Wordpress comments, Xenforo menu in WordPress etc.
 
I've upgraded my live site and now I get the following error messages every other time:


Server error log
  • TypeError: Argument 1 passed to XPress::getXFUser() must be an instance of WP_User, boolean given, called in /var/www/vhosts/gaming-universe.de/httpdocs/wp-content/themes/wp-xpress-theme/inc/template-tags.php on line 330
  • /var/www/vhosts/gaming-universe.de/httpdocs/wp-content/plugins/wp-xpress-plugin/src/XPress.php:1779
  • Generated by: Unbekannter Account
  • 4 February 2019 um 21:14
Stack trace
#0 /var/www/vhosts/gaming-universe.de/httpdocs/wp-content/themes/wp-xpress-theme/inc/template-tags.php(330): XPress::getXFUser(false)
#1 /var/www/vhosts/gaming-universe.de/httpdocs/wp-includes/class-walker-comment.php(174): thxpress_format_comment(Object(WP_Comment), Array, 1)
#2 /var/www/vhosts/gaming-universe.de/httpdocs/wp-includes/class-wp-walker.php(145): Walker_Comment->start_el(' <div cl...', Object(WP_Comment), 1, Array)
#3 /var/www/vhosts/gaming-universe.de/httpdocs/wp-includes/class-walker-comment.php(135): Walker->display_element(Object(WP_Comment), Array, '3', 0, Array, ' <div cl...')
#4 /var/www/vhosts/gaming-universe.de/httpdocs/wp-includes/class-wp-walker.php(370): Walker_Comment->display_element(Object(WP_Comment), Array, '3', 0, Array, ' <div cl...')
#5 /var/www/vhosts/gaming-universe.de/httpdocs/wp-includes/comment-template.php(2105): Walker->paged_walk(Array, '3', 0, 0, Array)
#6 /var/www/vhosts/gaming-universe.de/httpdocs/wp-content/themes/wp-xpress-theme/comments.php(62): wp_list_comments('type=comment&ca...')
#7 /var/www/vhosts/gaming-universe.de/httpdocs/wp-includes/comment-template.php(1482): require('/var/www/vhosts...')
#8 /var/www/vhosts/gaming-universe.de/httpdocs/wp-content/themes/wp-xpress-theme/single.php(23): comments_template()
#9 /var/www/vhosts/gaming-universe.de/httpdocs/wp-includes/template-loader.php(74): include('/var/www/vhosts...')
#10 /var/www/vhosts/gaming-universe.de/httpdocs/wp-blog-header.php(19): require_once('/var/www/vhosts...')
#11 /var/www/vhosts/gaming-universe.de/httpdocs/index.php(17): require('/var/www/vhosts...')
#12 {main}
Request state
array(4) {
["url"] => string(45) "/warren-spector-im-exklusiven-gu-interview/2/"
["referrer"] => bool(false)
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}


What is the issue for this?
 
One more issue: If I try to permanently delete a post / comment for a topic that is also a WP article, I do get the following error message:

Exception: Es wurde keine Route gefunden, die mit der URL und der Request-Methode identisch ist. in src/addons/ThemeHouse/XPress/RemoteHandler/Traits/APICall.php at line 83
  1. ThemeHouse\XPress\RemoteHandler\Entity->callAPI() insrc/addons/ThemeHouse/XPress/RemoteHandler/Entity.php at line 485
  2. ThemeHouse\XPress\RemoteHandler\Entity->deleteComment() insrc/addons/ThemeHouse/XPress/XF/Entity/Post.php at line 66
  3. ThemeHouse\XPress\XF\Entity\Post->_postDelete() in src/XF/Mvc/Entity/Entity.php at line 1580
  4. XF\Mvc\Entity\Entity->delete() in src/XF/Service/Post/Deleter.php at line 95
  5. XF\Service\Post\Deleter->delete() in src/XF/Pub/Controller/Post.php at line 255
  6. XF\Pub\Controller\Post->actionDelete() in src/XF/Mvc/Dispatcher.php at line 321
  7. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 248
  8. XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 100
  9. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 50
  10. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2177
  11. XF\App->run() in src/XF.php at line 390
  12. XF::runApp() in index.php at line 20
 
One more issue: If I try to permanently delete a post / comment for a topic that is also a WP article, I do get the following error message:

Exception: Es wurde keine Route gefunden, die mit der URL und der Request-Methode identisch ist. in src/addons/ThemeHouse/XPress/RemoteHandler/Traits/APICall.php at line 83
  1. ThemeHouse\XPress\RemoteHandler\Entity->callAPI() insrc/addons/ThemeHouse/XPress/RemoteHandler/Entity.php at line 485
  2. ThemeHouse\XPress\RemoteHandler\Entity->deleteComment() insrc/addons/ThemeHouse/XPress/XF/Entity/Post.php at line 66
  3. ThemeHouse\XPress\XF\Entity\Post->_postDelete() in src/XF/Mvc/Entity/Entity.php at line 1580
  4. XF\Mvc\Entity\Entity->delete() in src/XF/Service/Post/Deleter.php at line 95
  5. XF\Service\Post\Deleter->delete() in src/XF/Pub/Controller/Post.php at line 255
  6. XF\Pub\Controller\Post->actionDelete() in src/XF/Mvc/Dispatcher.php at line 321
  7. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 248
  8. XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 100
  9. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 50
  10. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2177
  11. XF\App->run() in src/XF.php at line 390
  12. XF::runApp() in index.php at line 20
Do you run cloudflare? If you're using a test environment prior to your live site, was it also using cloudflare? I ran into some issues due to that. If you opened a ticket you'll need to wait for them to reply with the information on how to fix it. They have a workaround that should now be baked into the code, you just have to define some values.

I'm working on a method to bypass this issue currently and have supplied TH with some info, so hopefully it is resolved soon. Not sure it is the same issue however but it is related to the callapi.php
 
One more issue: If I try to permanently delete a post / comment for a topic that is also a WP article, I do get the following error message:

Exception: Es wurde keine Route gefunden, die mit der URL und der Request-Methode identisch ist. in src/addons/ThemeHouse/XPress/RemoteHandler/Traits/APICall.php at line 83
  1. ThemeHouse\XPress\RemoteHandler\Entity->callAPI() insrc/addons/ThemeHouse/XPress/RemoteHandler/Entity.php at line 485
  2. ThemeHouse\XPress\RemoteHandler\Entity->deleteComment() insrc/addons/ThemeHouse/XPress/XF/Entity/Post.php at line 66
  3. ThemeHouse\XPress\XF\Entity\Post->_postDelete() in src/XF/Mvc/Entity/Entity.php at line 1580
  4. XF\Mvc\Entity\Entity->delete() in src/XF/Service/Post/Deleter.php at line 95
  5. XF\Service\Post\Deleter->delete() in src/XF/Pub/Controller/Post.php at line 255
  6. XF\Pub\Controller\Post->actionDelete() in src/XF/Mvc/Dispatcher.php at line 321
  7. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 248
  8. XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 100
  9. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 50
  10. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2177
  11. XF\App->run() in src/XF.php at line 390
  12. XF::runApp() in index.php at line 20

I get this error when I click Generate accounts. I'm having the same problem. It also gives an error when I want to delete the comment permanently.
 
  • TypeError: Argument 1 passed to XPress::getXFUser() must be an instance of WP_User, boolean given, called in /home/***/public_html/wp-content/themes/wp-xpress-theme/inc/template-tags.php on line 330
  • /home/***/public_html/wp-content/plugins/wp-xpress-plugin/src/XPress.php:1779
What is the problem?
 
Do you run cloudflare? If you're using a test environment prior to your live site, was it also using cloudflare? I ran into some issues due to that. If you opened a ticket you'll need to wait for them to reply with the information on how to fix it. They have a workaround that should now be baked into the code, you just have to define some values.

I'm working on a method to bypass this issue currently and have supplied TH with some info, so hopefully it is resolved soon. Not sure it is the same issue however but it is related to the callapi.php

No, I don't run Cloud lare or any other CDN.
Apart from that I have the same errors as @Fitness Bilim
 
No, I don't run Cloud lare or any other CDN.
Apart from that I have the same errors as @Fitness Bilim
Hmm. I'm not really sure then. One thing to check, not long ago we were supposed to use "Administrator" as the primary usergroup for the admin. But now they have switched back to a user upgrade ladder deal. Did you put your admin's primary user group back to "Registered" and create a user promotion for the administrative group? Have no idea if that is even required but it is a small gotcha that some people might have gotten mixed up with.
 
I have updated xenforo 2.1 and Xpress to the latest version and I have disappeared header articles with the label "featured" are not shown on the cover
 
Last edited:
Top Bottom