I decided for now to just disable the Waindigo add-on, then install the TH one. It felt a bit lest risky, and it worked.Yes, mine did.
It's not really a big deal for me. We have regional groups for our club, and the main function on the old system as that you could send a bulk mail to people in that group, or make an announcement that would only go to people in that group. So there were no permissions tied to it, more of a vanity thing.
So at this point, all I think I need to do is synch the usergroups that were imported with the joinable groups, because right now if someone is part of Groups A, B, and D on the core side, they still don't show as part of that group on the "join" side, even though they are. Once they are synched, anyone can join and leave and they will stay synched automatically. We never touch these on the ACP side.
I could probably dig through the database and figure out the query to run, lord knows I trained myself in that doing this conversion. Just was hoping someone could point me to the table and maybe spell out the query and save me the time
@Jon W this is starting to now become an issue.
If I have someone assigned as a moderator of a group, the only members of the group that show up are the ones that have gone to their profile and clicked "join group". Prior to the installation of this addon, there were 127 users in one particular group, but after I add the mod, he can only see 24 of them. Because those are the only 24 that went to their profile and added themselves to the group. The addon defaults that no one has anything checked in the "join" group, even though they are actually part of the base group.
This is really confusing me. Where is the database field that controls whether or not someone has joined a joinable group? There seems to be no connection between these 2 fields and when you make an existing group joinable, nothing it snychronized. It's fine if I have to do it manually initially, but I just need to know how to do it!!
No for me. All Joinable User Groups ( /admin.php?joinable-user-groups/ ) and related permissions remained as is.So - if you set up your forum on version 1.2 when the directory was called "Waindigo" and now the directory is named "ThemeHouse" you're screwed? You have to re-do all of the usergroups you set up before?
I'm still waiting for an answer to my question. I still have 2 groups, one existed and I made it joinable but only those who joined the group after the addon are part of the "joinable" group. NO database table I can find for this addon.
select * from xf_user_group where joinable = 1;
select username from xf_user where find_in_set('xx',secondary_group_ids) > 0;
select * from xf_moderation_queue_joinable_user_group;
Server Error
Mysqli prepare error: Unknown column 'joinable' in 'where clause'
- Zend_Db_Statement_Mysqli->_prepare() in Zend/Db/Statement.php at line 115
- Zend_Db_Statement->__construct() in Zend/Db/Adapter/Mysqli.php at line 381
- Zend_Db_Adapter_Mysqli->prepare() in Zend/Db/Adapter/Abstract.php at line 478
- Zend_Db_Adapter_Abstract->query() in XenForo/Model.php at line 219
- XenForo_Model->fetchAllKeyed() in ThemeHouse/JoinUserGroup/Model/JoinableUserGroup.php at line 57
- ThemeHouse_JoinUserGroup_Model_JoinableUserGroup->getJoinableUserGroups() in ThemeHouse/JoinUserGroup/Model/JoinableUserGroup.php at line 23
- ThemeHouse_JoinUserGroup_Model_JoinableUserGroup->getJoinableUserGroupOptions() in ThemeHouse/JoinUserGroup/Extend/XenForo/ControllerAdmin/User.php at line 22
- ThemeHouse_JoinUserGroup_Extend_XenForo_ControllerAdmin_User->_getUserAddEditResponse() in XenForo/ControllerAdmin/User.php at line 360
- XenForo_ControllerAdmin_User->actionEdit() in XenForo/FrontController.php at line 351
- XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
- XenForo_FrontController->run() in
> desc xf_user_group;
+------------------------+------------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+------------------------+------------------+------+-----+---------+----------------+
| user_group_id | int(10) unsigned | NO | PRI | NULL | auto_increment |
| title | varchar(50) | NO | MUL | NULL | |
| display_style_priority | int(10) unsigned | NO | | 0 | |
| username_css | text | NO | | NULL | |
| user_title | varchar(100) | NO | | | |
| banner_css_class | varchar(75) | NO | | | |
| banner_text | varchar(100) | NO | | | |
+------------------------+------------------+------+-----+---------+----------------+
I get the below error after upgrading to xf1.5.6. I was on a user profile page and clicked Moderator Tools -> Edit :
Edit: I also get the error when I go to the "account/join-user-groups" page. Looks like a column has gone missing?!!
Edit 2: This is the table def I have now:
Reading your ThemeHouse/JoinUserGroup/Install/Controller.php file, it seems several columns are missing: joinable, joinable_moderated, joinable_moderator_user_ids, description and required_fields.
What to do? Re-install the add-on?
Well, I already had this add-on installed and working fine. It was after upgrading to XF1.5.6 that the problem appeared.Looks like the install may not have run correctly. You can try reinstalling it, or if you have [TH] Install and Upgrade installed you can use the "Rebuild Add-on" option in the "Options" dropdown on your "List Add-ons" page.
Jake
Well, I already had this add-on installed and working fine. It was after upgrading to XF1.5.6 that the problem appeared.
Anyway, I tried your solution - rebuilding. That took care of the error, but now I don't have any joinable user groups.
I do have a database backup .... It will be interesting to try and restore only the missing usergroup parts!
FYI, just upgraded my XF from 1.5.5 to 1.5.6 and didn't get the same issue as you.I get the below error after upgrading to xf1.5.6. I was on a user profile page and clicked Moderator Tools -> Edit :
Same here ...!I'm not sure why an upgrade to XF 1.5.6 would cause those columns to drop.
Ah, that seems to have done the trick! I thought maybe more usergroup-related data had been wiped. All back to normal now, it seems.You will need to set your groups to joinable again since those columns were removed somehow.
From what I could ascertain ....
A list of your joinable user groups ...
Code:select * from xf_user_group where joinable = 1;
A list of users that are members of a secondary usergroup, where xx = your user group id ...
Code:select username from xf_user where find_in_set('xx',secondary_group_ids) > 0;
A list of user join requests currently awaiting action (should generally be empty) ...
Code:select * from xf_moderation_queue_joinable_user_group;
Workflow ...
i) joinable user groups are shown to users (providing the have the permission to join user groups)
ii) a request for membership to a joinable user group creates a record in xf_moderation_queue_joinable_user_group
iii) (super)moderator actions the join request, with the record in xf_moderation_queue_joinable_user_group then being removed.
iv) if approved, the joinable user group id is added to the xf_user record in the comma separated secondary_group_ids field (as does standard ACP editing of user accounts)
We use essential cookies to make this site work, and optional cookies to enhance your experience.