LPH
Well-known member
I have a few questions:
A few?
Is it possible to use the plugin without bridging user accounts, to just use the thread-creation-on-new-WordPress-post feature?
The user_id and IDs must match so that login is done properly. If you wanted to only align the authors, editors, contributors, and administrators then it should be fine and you can turn off writing to the database. However, once the plugin is installed then no one can register on the WordPress side. XenForo becomes the master database.
How are WordPress and XenForo accounts merged? For example, if a user has the same username and email address in separate WP/XF accounts, and I activate this plugin with default settings, what happens?
This is very weak in the script. There isn't any merging done by the script. If the user_id exists then nothing is written. Alignment is done manually before activating the script.
I noticed this is compatible with WooCommerce. If an XF user has a WP account they used to purchase things from my WooCommerce store, will they be able to review their old account information and purchases? How are new WooCommerce customers handled? Are they required to be signed into an XF account before they can make a purchase?
The key is ... the user_id and ID between WordPress and XenForo must match.
All new customers would register through XenForo, since it is the master database. You'd modify the WordPress theme to use the XenForo login widget included with the bridge.
Does the comment count for the WP post reflect the number of replies its corresponding thread has? What happens if this thread is merged with another?
Good questions. The count is based on the XenForo replies. I've never tried merging with the latest alphas and the new comment code (incomplete, thus alpha versions). In other words, I have no idea what would happen. The thread_link might be a problem and would have to be manually changed in the database.
Are the XenForo replies copied over as comments in the WordPress database? If so, how are edits/deletes/BBcode handled?
Not yet - that is the goal. There is a file for BBCode replacements. It catches many of the basics but a developer asked for some changes a few weeks ago and this hasn't been touched.
What are the long-term plans for this plugin? It's obviously managing a critical part of our site's infrastructure, so I'm curious what your thoughts are on where this might be in 5 or even 10 years from now. I have been burned in the past by abandoned plugins, so it's something I'm quite wary of now.
More great questions. I became sick in May of last year. Gracie tried to help but became exhausted answering the same questions over and over again. Sales were halted until I was well enough to start coding again. This time, RLL has come on board to help with programming but he's still learning.
In other words ... if I died ... the code exists for others to take over. I've learned to heavily code with comments (doc blocks) so that things are obvious. Any good developer should be able to pick up where I left off...
Now, if I remain alive ... (I hope !).... I'm a school teacher. My days are filled with high school students. Things get in the way of coding (grades, lesson planning, back to school night, open house, meetings, conferences, professional development....). That is just reality. However, it's my plugin. I'm self-taught, screw up, mess up, get it right, fix it, make another mess type of code. Most people have been extremely generous. Most are great at making suggestions or being patient as I struggle to figure out why someone works under one condition and fails under another. Sometimes code just has to bake in my mind for a long time before it comes out the fingertips.
Hope this answers your questions. Again - the key is the user_id and ID matching.
PS. There is a YouTube channel for XenWord or just go to xenword.com ...