AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Notifications
Clear all

[Closed] Existing users not added as Forum Members

3 Posts
2 Users
1 Reactions
2,367 Views
Posts: 6
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@cambofrizz)
Active Member
Joined: 9 years ago
[#4672]

I've raised this in another thread  https://wpforo.com/community/how-to-and-troubleshooting-2/dont-have-access-to-the-settings/#post-10180  but since it's a bit different problem than the original topic, I'll post it separately here.

When activating wpForo existing members are not added to the wpforo_profiles table. The site I'm working on has 800+ existing users. In functions-installation.php I found: if( $users <= 100 ) $wpforo->member->synchronize_users();

Am I right that this says: if there are 100 or less users do synchronize else not?

Is there an option or a workaround to do this in segments?


2 Replies
Posts: 6
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@cambofrizz)
Active Member
Joined: 9 years ago

OK (having searched through the code), found out how to do it:

Put in the address bar: admin.php?page=wpforo-community&action=synch

Et voila (as the French say) all existing users were in the wpForo members list (so, in wpforo_profiles database table) including their roles (Admins-->Admins, Editors-->Moderators, Contributors-->Members).

One question remains: why is this not a button in wpForo back-end? Or have I just missed it?


Robert
Posts: 10736
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@robert)
Support Team
Joined: 2 months ago

One question remains: why is this not a button in wpForo back-end? Or have I just missed it?

Because it's being done automatically, or if you have more than 100 users it comes as a message on top with button:


Share: