2013-06-28, 05:38 AM
Hi All,
Whilst I am writing a CMS style plugin for my site, I need something to allow me to migrate away from Joomla ASAP as it is slowing my site and starting to become a bit bulky. I want to get onto wordpress as a good intermediate way of still hosting content whilst I further develop my custom CMS.
A large part of my site is not only user interaction in the forums but also user submitted and generated content. Up until my site was hacked I had my logins integrated between my main site joomla and the forums, when my, mybb was hacked I broke off this connection and decided not to repackage it.
Instead my front site runs on its own for now.
However when I get to WP I wanted a way for my users to still submit content and articles to the main site without having to login and the resolution for this was simple.
1 - Use external authentication in WP which brings users into WP and authenticates them against my Mybb database
2 - Build a plugin that allows usrs to submit articles directly from a page in myBB using wp XML-RPC
The plugin has options allowing for the post to be linked to the user or a default user, it also has the ability to create users in WP if they do not exist and so on.
Right now I have the basics working I can submit a post etc. I am not just building out a more robust submit page which includes categories as well. Once this is done, I will be tying in a PM to specific user group when a news article is posted and the ability for mybb users to change the post from draft to published all from mybb.
Some may not see the point in all of this, but I am working with less than savvy computer users and multiple logins etc confuse them, this just builds in a better way for them to do this in an easily managed way.
FEATURES
Please note:
This uses wordpress xml-rpc, usernames and passwords are transmitted unencrypted the cURL.
- cURL must be enabled on your server
- uses xmlrpc_encode_request and xmlrpc_decode. Which are marked as "experimental" under PHP.
Once complete I may look at non-curl and rpc methods and manually build the xml request to get around the two above notes.
Anyway. This is a while off completion yet but wanted to see if there was any external interest because if there is I will make it a bit more friendly than it is
For anyone interested in this.
I have 2 choices for the editor
- Use the mybb Editor for the content box
- Implement TinyMCE into the content pages
Either is fine and easy enough to add. Just wondering if there is a preference. I would need to add an additional code button for adding the <!--more-> tags however.
Cheers
Dan
Whilst I am writing a CMS style plugin for my site, I need something to allow me to migrate away from Joomla ASAP as it is slowing my site and starting to become a bit bulky. I want to get onto wordpress as a good intermediate way of still hosting content whilst I further develop my custom CMS.
A large part of my site is not only user interaction in the forums but also user submitted and generated content. Up until my site was hacked I had my logins integrated between my main site joomla and the forums, when my, mybb was hacked I broke off this connection and decided not to repackage it.
Instead my front site runs on its own for now.
However when I get to WP I wanted a way for my users to still submit content and articles to the main site without having to login and the resolution for this was simple.
1 - Use external authentication in WP which brings users into WP and authenticates them against my Mybb database
2 - Build a plugin that allows usrs to submit articles directly from a page in myBB using wp XML-RPC
The plugin has options allowing for the post to be linked to the user or a default user, it also has the ability to create users in WP if they do not exist and so on.
Right now I have the basics working I can submit a post etc. I am not just building out a more robust submit page which includes categories as well. Once this is done, I will be tying in a PM to specific user group when a news article is posted and the ability for mybb users to change the post from draft to published all from mybb.
Some may not see the point in all of this, but I am working with less than savvy computer users and multiple logins etc confuse them, this just builds in a better way for them to do this in an easily managed way.
FEATURES
- Create post from mybb
- attribute post to user who posted or default user
- Add user to WP if they do not exist
- Discuss Bot, Either full post, excerpt or above the "more" tag is inserted into a new thread in specific forum for discussion (wordpress comments plugin will be created to get thread posts as comment)
- guest posting can be enabled/disabled
Please note:
This uses wordpress xml-rpc, usernames and passwords are transmitted unencrypted the cURL.
- cURL must be enabled on your server
- uses xmlrpc_encode_request and xmlrpc_decode. Which are marked as "experimental" under PHP.
Once complete I may look at non-curl and rpc methods and manually build the xml request to get around the two above notes.
Anyway. This is a while off completion yet but wanted to see if there was any external interest because if there is I will make it a bit more friendly than it is
For anyone interested in this.
I have 2 choices for the editor
- Use the mybb Editor for the content box
- Implement TinyMCE into the content pages
Either is fine and easy enough to add. Just wondering if there is a preference. I would need to add an additional code button for adding the <!--more-> tags however.
Cheers
Dan