xF-Wordpress Bridge [Paid] [Deleted]

It isn't showing up in my plugin list to activate. What am I doing wrong here?

Are you putting the folder xF-Wordpress Bridge into the plugin folder or the xF-Wordpress Bridge.php file into the plugin folder? (You should be putting the folder)
 
Are you putting the folder xF-Wordpress Bridge into the plugin folder or the xF-Wordpress Bridge.php file into the plugin folder? (You should be putting the folder)

Damnit, I totally put it in a non WP plugin folder. It was a ridiculously easy install that I will make up to you with a 5 star review.
 
Doesn't work if your forum is on a subdomain.

I do have it working with forum and WP on different subdomains, but I did need to edit the cookie settings in WP and XF config to ensure that the domain for both was .mydomain.com, rather than subdomain1.mydomain.com.

Also the XF cookie name is hard coded in the WP plugin, and I had changed the XF cookie name on my devel system, so made some edits to the plugin file to suit.

I have promised faeronsayn that I will work out exactly which one of my changes got it working for me, but I won't be able to do that for another week or so.
 
Take a look at the answer in the support thread.

Just fyi, the bridge doesn't seem to work with the latest XF beta. How can I disable the bridge until an update is made (i can't log into my WP panel). Can I just delete the plugin through my FTP or is there another way?
 
just move the plugin files out of the wp-content/plugins directory temporarily and WP will automatically disable the plugin (easier than editing the DB). When you want to enable again, you will move them back in to place, then reenable the plugin in WP admin. All the settings will be as before.
 
just move the plugin files out of the wp-content/plugins directory temporarily and WP will automatically disable the plugin (easier than editing the DB). When you want to enable again, you will move them back in to place, then reenable the plugin in WP admin. All the settings will be as before.

I find it faster and easier to rename the specific directory for the plugin in question by adding a 1.

wp-content/plugins/bridge becomes wp-content/plugins/bridge1
 
Wouldn't you use 'mv' for both, so it's exactly the same? The only difference is logical - whether you prefer having temp files renamed or stored in a temp location.

Actually on thinking about it, are you sure your solution even works? I'm not sure that WP cares what the plugin directory is called as long as it's unique. You can leave it in place but I think you would have to chmod to 000.
 
Last edited:
Wouldn't you use 'mv' for both, so it's exactly the same? The only difference is logical - whether you prefer having temp files renamed or stored in a temp location.

Actually on thinking about it, are you sure your solution even works? I'm not sure that WP cares what the plugin directory is called as long as it's unique. You can leave it in place but I think you would have to chmod to 000.

Yes. Renaming works because that's been the way I've done it for years. I was not tying the answer to a command line but was thinking a double click on the directory in FileZilla, Coda, C9, etc ... Of course mv at the command line can rename too ;)
 
I've gone live now, but am no longer using different subdomains, so I can't give my promised precise explanation of how I had XF and WP on different subdomains working (best guess below), and to add to that I can't get the live system working with WP and XF on the same domain!

I have the system working to some extent, but can't log in to the WP admin panel - I am always redirected away. The symptoms are:

- log in to XF then go to WP frontend, and I am recognised correctly as a logged in user
- using a bit of debug code in the WP template I can see that my WP role is correctly set to 'administrator'
- if I then go to /wp-admin/ I am redirected as follows (taken from Firefox live headers plugin):

go to /wp-admin/

HTTP/1.1 302 Found
Location: https://www.arrse.co.uk/wp-login.php?redirect_to=https://www.arrse.co.uk/wp-admin/&reauth=1

this is redirected to XF login

HTTP/1.1 302 Found
Location: http://www.arrse.co.uk/community/login/

this is just redirected to the main forum page

HTTP/1.1 303 See Other
https://www.arrse.co.uk/community/

So, in summary:
1/ user seems to be logged in on Wordpress correctly, after logging in on XF - username and role both accessible in WP template, and display fine
2/ no access to wp-admin
3/ redirected to XF login
4/ redirected back out to XF home

Any ideas appreciated!

_______

about the sub-domains, I'm pretty sure that the key was to force XF and WP to use the root domain, by putting this in XF's library/config.php

$config['cookie']=array(
'prefix' => 'xf_',
'path' => '/',
'domain' => '.mydomain.com'
);

and configure WP in the same way in wp-config.php

define('COOKIE_DOMAIN', '.mydomain.com');

they can then be on wp.mydomain.com and xf.domain.com and access the same cookies
 
I've gone live now, but am no longer using different subdomains, so I can't give my promised precise explanation of how I had XF and WP on different subdomains working (best guess below), and to add to that I can't get the live system working with WP and XF on the same domain!

I have the system working to some extent, but can't log in to the WP admin panel - I am always redirected away. The symptoms are:

- log in to XF then go to WP frontend, and I am recognised correctly as a logged in user
- using a bit of debug code in the WP template I can see that my WP role is correctly set to 'administrator'
- if I then go to /wp-admin/ I am redirected as follows (taken from Firefox live headers plugin):

go to /wp-admin/

HTTP/1.1 302 Found
Location: https://www.arrse.co.uk/wp-login.php?redirect_to=https://www.arrse.co.uk/wp-admin/&reauth=1

this is redirected to XF login

HTTP/1.1 302 Found
Location: http://www.arrse.co.uk/community/login/

this is just redirected to the main forum page

HTTP/1.1 303 See Other
https://www.arrse.co.uk/community/

So, in summary:
1/ user seems to be logged in on Wordpress correctly, after logging in on XF - username and role both accessible in WP template, and display fine
2/ no access to wp-admin
3/ redirected to XF login
4/ redirected back out to XF home

Any ideas appreciated!

_______

about the sub-domains, I'm pretty sure that the key was to force XF and WP to use the root domain, by putting this in XF's library/config.php

$config['cookie']=array(
'prefix' => 'xf_',
'path' => '/',
'domain' => '.mydomain.com'
);

and configure WP in the same way in wp-config.php

define('COOKIE_DOMAIN', '.mydomain.com');

they can then be on wp.mydomain.com and xf.domain.com and access the same cookies

What version of xf are you on? It isn't compatible with the betas, fyi
 
1.2.5 . The frustrating thing is that I had it working fine while I was preparing for the move from VB, one different subdomains. Now I'm on the same subdomain (and a fresh install of the plugin) and I get the redirect.
 
Top Bottom