• XEN DEVELOPMENT is a developer's resource for new developers wanting to build XenForo 2 add-ons. Experienced developers are also welcome to share their experienes and knowledge. This site is not affiliated with XenForo or a replacement for the official XenForo developer forums.

Xenword - Assigned Xenword users to wrong Wordpress User Roles

Status
Not open for further replies.

Opholdings

New member
Lifetime License
#1
Added new Xenword user roles. Then in Wordpress assigned Wordpress Admin to Wordpress Admin. No I cannot access the admin user panel in Wordpress. I get a standard user panel. How do I rever without a db backup?
 

Opholdings

New member
Lifetime License
#2
(10) Enable User Mapping
Go to the XenWord Settings Panel -> User Settings -> User Mapping and match the secondary usergroups only to WordPress roles. Leave the top WordPress roles alone. Only map the secondary usergroups to WordPress roles

I believe I assigned secondary usergroups to secondary usergroups. Where in the db or which file can I change the usergroup relation fields?
 

LPH

Flight Director
Staff member
Lifetime License
#3
Added new Xenword user roles. Then in Wordpress assigned Wordpress Admin to Wordpress Admin. No I cannot access the admin user panel in Wordpress. I get a standard user panel. How do I rever without a db backup?
Go to phpmyadmin
Go to the WordPress database
Go to the user meta table
Browse
Find the ID for the user
Locate the field wp_capabilities

It should read
a:1:{s:13:"administrator";s:1:"1";}

If not then copy paste into the field
Click go.

You may want to go to the wp_options table, find xenword _options and delete. This removes all options.

Now, login and start again. Ok?
 
Status
Not open for further replies.
Top