xfrocks / bdapi_wordpress Goto Github PK
View Code? Open in Web Editor NEWWordPress plugin against [bd] API add-on for XenForo
WordPress plugin against [bd] API add-on for XenForo
When I login xenforo with my Chinese username, I can't login on WordPress,
xfac_error=register_error&message=Cannot+create+a+user+with+an+empty+login+name.
The token is not prepared (with _xfac_api_prepareAccessTokenBody
) so it does not have an expire_date
.
Create new account on WordPress registration
does not work.
Well, the truth is, I don’t know if it actually creates any of these cookies in 1.3.5 - it does create the user and it does copy over the Role, but it won’t log in the user, and it won’t even log in the user if you log in and out of wordpress. With 1.3.2 it doesn’t create it on creation of the wordpress account, but when you do log out and then back into wordpress, it logs you into Xenforo as well.
The is a bug in Xenforo bdApi Consumer there is no way to sync tags from wordpress to xenforo.
So on wordpress site it needs to add 'thread_tags' = > to function xfac_api_postThread at api.php file
Code to add:
$postFields = array(
'oauth_token' => $accessToken,
'forum_id' => $forumId,
'thread_title' => $threadTitle,
'thread_tags' => $tags
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.