XenWord Pro [Deleted]

i have one xenforo site and one wordpress site in two different locations on the same server.......does this work?

This may not work. A few tried with the below configurations and failed.

/var/www/html/site1/wordpress (blog.domain.com)
/var/www/html/site2/xenforo (forums.domain.com)

They were using an earlier version but I don't think the latest would make a difference. There is a part in the activation that requires a relative path. We could strip it out and put absolute paths to see if that makes a difference. Still - there could be other issues that run into problems (redirects, etc).
 
This may not work. A few tried with the below configurations and failed.

/var/www/html/site1/wordpress (blog.domain.com)
/var/www/html/site2/xenforo (forums.domain.com)

They were using an earlier version but I don't think the latest would make a difference. There is a part in the activation that requires a relative path. We could strip it out and put absolute paths to see if that makes a difference. Still - there could be other issues that run into problems (redirects, etc).

In other words......for this to work i have to move my wordpress site including database to the root of my forum

www.xyz.com/forum/wp-site
 
In other words......for this to work i have to move my wordpress site including database to the root of my forum

www.xyz.com/forum/wp-site

Well - I can say this - simple is always best. The simplest configuration is

domain.com <-- WordPress installation
domain.com/community <- XenForo installation

The database can be anywhere. My databases sit on a different server from the files (Thanks to MattW).
 
Well - I can say this - simple is always best. The simplest configuration is

domain.com <-- WordPress installation
domain.com/community <- XenForo installation

The database can be anywhere. My databases sit on a different server from the files (Thanks to MattW).

i don't get it. do the domain names also have to be the same or can i use different domainnames?

my situation is that i run a wp site under a different domainname and xenforo as subdomain under a different name.

like this

www.domain.com/xenforo
www.verydifferentdomain.com/wp
 
Yes, domain names must be the same because this bridge uses cookies for authentication. xfrocks has a bridge using an API he built. His bridge is for different domains.
 
LPH updated XenWord with a new update entry:

Bug Fixes and Cleaner Code

The transition to using more XenForo functions is working well. There was a major hiccup for some sites in the previous version. This was due to the Redux Framework included with the XenWord plugin. This version steps back to a stable version of the Framework.

Release: 2.1.1.02
—————————————–
Cleaner code: xenword-xf-login-widget.php
Cleaner code: xenword-xf-boardtotals-widget.php
Cleaner code: class-xenword.php Use of $fileDir instead of $this->fileDir

Alpha: 2.1.1.01
—————————————–...

Read the rest of this update entry...
 
Release 2.2.0: Forget the Mess and Let's Progress

Currently WordPress categories are matched to XenForo forums within the XenWord settings area. This is a mess if a particular WordPress post would be better placed in a different forum. This would mean temporarily changing the forum_id matched to the category, creating the post, then changing the forum_id back to the desired one. It is also a mess if there are more than 50 categories.

Let's forget that mess and progress to a much simpler method. Starting in 2.2, there will be a meta box next to the add new post area. This box allows the author, editor, contributor, to set the forum_id at the time of WordPress article creation.

Coding started tonight with the rearrangement of some files, classes, and methods. The thread ID meta box is working fine.

Screen Shot 2015-01-17 at 6.42.25 PM.webp
 
Here is a short video showing off the new code for choosing the XenForo thread at the time of creating the WordPress post.

To view this content we will need your consent to set third party cookies.
For more detailed information, see our cookies page.
 
Yes, domain names must be the same because this bridge uses cookies for authentication. xfrocks has a bridge using an API he built. His bridge is for different domains.
It works under a sub-domain though, right?

WP: domain.com
XF: community.domain.com

for example.

Still haven't decided which bridge to go with...
 
@markku - there are many people using that configuration - as long as the files are on the same server. Now - this has come up a few times the past two weeks. Some people are using dreamhost and building a second site for their subdomain. This means they end up with two different virtual servers.

The following will not work.

/var/www/home/domain.com/wordpress
/var/www/home/sub.domain.com/xenforo

It must be

/var/www/home/domain.com/wordpress
/var/www/home/domain.com/xenforo <- this is then xenforo.domain.com

Or something like

/var/www/home/domain.com/
/var/www/home/domain.com/xenforo <- this is xenforo.domain.com

Hopefully you can see the difference.
 
Hello, I've bought this license from another profile on this site, so I'm not sure if you'll be able to identify me as subscriber to give me support, but I've the license and can prove it if necessary.

Here's my question: when I go to mysite.com/wp-admin, it redirects me to the xenforo login page, which is fine. The problem is that it doesn't redirect me to mysite.com/wp-admin then, but to the xenforo homepage. How can I fix this?

In the xenforo login page navbar I see this: http://mysite.com/xenforo/login?redirect_to=http://mysite.com/wp-admin/ so it should work, but it doesn't.

It's not that a big problem, but I'm worried that it could mean that there're some hidden bugs. Thanks!
 
@daimpa - Thank you for the post but I'm concerned about license transfers. Since you didn't purchase directly then you don't have access to the new releases nor the ticket support. Also, there are three different licenses, therefore, your account on XenWord would need to be setup and the other person's account would need to be deactivated. As it stands, that person is still able to download and install XenWord.

Sadly, there are also people selling pirated XenWord copies on other sites. I'm hopeful that is not the case here.

We can fix this by having a three way conversation in PM here. They'll need to sign off on the transfer, I'll need to verify the particular license, and I'll need to set up your account on XenWord.

Now, regarding redirection - this all depends on the version you have installed. The latest versions have a class dedicated to all the redirections. Earlier versions had redirect functions located in with user functions.

Did you test the login widget included with XenWord ?
 
Hello @LPH, thanks for your reply. Don't worry, I understand your concerns, but I can assure you that everything is regular and respecting the license. I'm sending you a PM with all details so we can clarify everything :)
 
Hello @LPH, thanks for your reply. Don't worry, I understand your concerns, but I can assure you that everything is regular and respecting the license. I'm sending you a PM with all details so we can clarify everything :)

Thank you for the PM. For others - this is not a license transfer. A private entity purchased a license and @daimpa is building the site. This is the preferred method for many developers.

Regarding redirects:
1. Is the relative path correct?
2. Is something in the .htaccess causing trouble?
3. Are cookies set in /library/config.php?
4. Is the database table correct? (deactivate/reactivate the plugin)
5. Does the login widget work?
6. Are caching plugins enabled? (disable them)

The newest versions have all the redirects in one class. WP is not always forgiving with OOP.
 
1. If you mean the variable written in wordpress xenword panel, then yes, it's correct: /xenforo
2. No, there's no reference to "/xenforo" url in .htaccess in the root, and nothing in "/xenforo/.htaccess" causing problem with this redirect
3. No, but xenforo installation is in a subdirectory
4. Done, didn't worked
5. To login, it work and it doesn't redirect me to xenforo. To logout, it redirects me to xenforo, and then doesn't redirect me back to wordpress
6. Disabled, didn't worked.

Version installed: 2.1.1.02
 
After re-reading your post, the issue is the redirects, right? Some of this has nothing to do with WordPress but with XenForo. For example, a logout of XenForo does not redirect. This has been mentioned on this forum several times. Check out this thread for a possible fix:

https://xenforo.com/community/threads/redirect-to-specified-url-on-logout.28439/

In terms of the login widget - you described exactly how it works. The login form in the widget externally logs the XF user.

In terms of /wp-admin then trying to redirect.... if it takes the person to the XenForo login then they'd have to have the right WP role to get returned. In my box /wp-login.php actually redirects to XenForo login and once logged in then it goes to /wp-admin. Trying to go to /wp-admin redirects to XenForo then holds and does not redirect.

Try the template change described in the thread and let me know.
 
The importance of www or non-www.

The settings for www or non-www must match between XenForo and WordPress in order for this bridge to work properly. I've worked on several cases this week and last week in which the two did not match. Strange things happen - and it is really frustrating to track down the problem.

The solution is easy. Please make sure that the settings in WordPress and XenForo match. If you are using www in WordPress then the same must be done in XenForo.

I'll try to get this added into the documentation and I hope this helps others.
 
Show the latest WordPress Blog Posts on the XenForo Sidebar.

Sorry - but it turns out I knew how to do this in June 2013 but didn't piece it together until the lightbulb went off tonight. I'm slow at times :)

I'll try to write up instructions if someone wants this before it is integrated into version 3.

Screen Shot 2015-01-20 at 10.35.00 PM.webp
 
Back
Top Bottom