# |
Post Title |
Result Info |
Date |
User |
Forum |
|
RE: add user notes
|
24 Relevance |
5 years ago |
Alvina |
General Discussions |
|
@pepe,
I'll suggest you to check the wpForo – User Custom fields add-on. The add-on allows you to create create a custom registration form with custom fields, add custom fields in the User Profile system, and in the Members Search form and manipulate with those fields.
More info here: |
|
RE: "Disable Custom Titles" button not working!
|
24 Relevance |
6 years ago |
Sofy |
How-to and Troubleshooting |
|
Hi @bookreader,
You can use the following CSS code:
.wpf-field.wpf-field-type-text.wpf-field-name-title.wpf-field-required { display: none !important;}
I'd also suggest you check out wpForo – User Custom fields add-on. This addon is designed to extend the forum profile system. You can create a custom registration form with custom fields, add custom fields in the User Profile system and in Members Search form. More info here: |
|
RE: How can I set "Join this forum" before registered user can access the forum?
|
23 Relevance |
5 years ago |
Robert |
How-to and Troubleshooting |
|
You'll need wpForo Users Custom fields addon to make it possible.
After reading and understanding Usergroups and Secondary Usergroups you should follow to this instruction:
Then create for example two Secondary Usergroups (SG1 and SG2) for two forums (F1 and F2)
Set "No Access" for SG2 and"Standard Access" for SG1 in F1 forum
Set "No Access" for SG1 and "Standard Access" for SG2 in F2 forum
Install the User Custom fields addon, navigate to Dashboard > Forums > Member fields > Field Manager Tab, edit the Secondary Usergroups field and only enable the SG1 and SG2 usergroups.
Then go to Dashboard > Forums > Member fields > registration form Tab and add the Secondary Usergroup field.
After these steps the registration from will show groups in a dropdown. People select whichever they want to participate and register. So they automatically get correct Secondary Usergroup and correct access to the forums.
Important Notes:
If you want to totally hide F1 for SG2 or vice versa you should use the "No Access", if you just want to prevent SG2 users to open a topic or post reply just use the "Read Only" access.
Also, the same "No Access" or the "Read Only" access should be given to other non-moderator usergroups, such as "Registered", "Customers", "Guests". |
|
wpForo 2.2 is released!
|
23 Relevance |
2 years ago |
Robert |
wpForo Announcements |
|
... update, please flush Redis Object Cache if you have this cache enabled
2.2.10 Changes
Added: Lots of new hooks requested by different developers
Fixed Bug: Improved the init_current_object() function to avoid PHP errors
Fixed Bug: Fix wpforo_urlencode() to lowcase URLs carefully
New Addon: wpForo – User Mentioning
Addon Update: wpForo – User Custom Field – Added [wpforo-members] shortcode with user fields filters and sorting parameters
2.2.9 Changes
Added: topic type classes to wrapper DIVs for better styling
Added: Classes to all dates in topic ... |
|
RE: User Registration issues
|
23 Relevance |
5 years ago |
bmorepun |
How-to and Troubleshooting |
|
Thanks @Alvina,
The plugin you recommend works! 🙂 Which is exciting so many long hours and plugins I've tried... However the problem is the plugin you recommended ( is currently flagged because it "hasn’t been tested with the latest 3 major releases of WordPress" of course not your problem.
Sooooo I went back to the and found a workaround with the help of a dev friend to troubleshoot why this keeps happening. The "New-user-approve" plugin code looks for a "redirect_to" value with the registration data sent. Else it goes to > wp_safe_redirect( $_POST['redirect_to'] which doesn't work because I'm not using the WP login screen to fall back on.
Here's the New-User-approve plugin code in question that I believe is causing the blank screen issue found in their SVN file
if ( ! empty( $_POST['redirect_to'] ) ) {
// if a redirect_to is set, honor it
wp_safe_redirect( $_POST['redirect_to'] );
exit();
}
Since I'm using the WPForo registration form it only passes new user input value information it doesn't include a value for the redirect_to function that the plugin uses hence the user goes to a completely blank screen. (Side note: yes I tested the custom redirect in the settings wpforo however it still has the same blank screen result because the plugin is looking for the values for "redirect_to" from the form POST.
Solution aka "workaround" is to pass the redirect_to value through the form in a hidden html input field of the registration form with the redirect_to values included see example
<input type="hidden" id="custId" name="redirect_to" value="url of redirect page">
This of course requires the custom field addon to accomplish.
I'm not a dev but I was wondering if you all had any other thoughts on this other than this band aid fix?
Also I think this would be a great candidate for a future addon that just works with your plugin more seamlessly. It's important to give admins the ability to approve / deny new users first before allowing them to access the form. |
|
RE: Unlink user Display Name and About Me
|
23 Relevance |
4 years ago |
Robert |
How-to and Troubleshooting |
|
Hi @motorhype,
I'm sorry, but there is no way to unlink them.
As an alternative solution you can remove the Display Name and About fields from Forum Account fields and prevent them to edit that data. You should put this hook code in the functions.php file of your current WordPress active theme or use the Code Snippet plugin:
function wpforo_custom_remove_user_fields( $fields ){ $remove_fields = array('about', 'display_name'); if( !empty($fields) ){ foreach( $fields as $r => $rows ){ foreach( $rows as $c => $cols ){ foreach( $cols as $f => $field ){ if( $field && in_array($field, $remove_fields) ){ unset($fields[$r][$c][$f]); } } } } } return $fields;}add_filter( 'wpforo_get_account_fields', 'wpforo_custom_remove_user_fields'); |
|
RE: BUG with guest posts
|
23 Relevance |
4 years ago |
Robert |
How-to and Troubleshooting |
|
Ok, let me explain what's going on in your forum.
The topics are not deleted by wpForo. They are set unapproved, and you can set them approved and show on forum in Dashboard > Forums > Moderation admin page.
Why do they become unapproved? Because the "Front - Can pass moderation" permission is disabled for Guests usergroup. You can go to Dashboard > Forums > Usergroups admin page, edit the Guest usergroup and enable (check) the "Front - Can pass moderation" permission. Once this is enabled all new topics of guests who don't fill username and email can see their topics right after creating that, because their topics will not be unapproved. Here is the Gif video, the username becomes Anonymous:
However, if you want to set the Name and Email fields required, you should put this code in functions.php file of your current active WordPress theme:
function wpforo_set_topic_name_email_fields_required( $fields ){ if( wpfval( $fields, 'name') ) $fields['name']['isRequired'] = 1; if( wpfval( $fields, 'email') ) $fields['email']['isRequired'] = 1; return $fields;}add_filter( 'wpforo_post_after_init_fields', 'wpforo_set_topic_name_email_fields_required');
How to Easily Add Custom Code in WordPress (without Breaking Your Site) |
|
RE: Homepage and Main Forum page are not reflecting the same things
|
23 Relevance |
5 years ago |
Foodiemike2 |
How-to and Troubleshooting |
|
So I excluded the following JS (include JS for User Custom fields, Advanced Attachments, Private Messaging, and wpForo Emoticons) from Sucuri's cache but no change:
/wp-content/plugins/wpforo/wpf-admin/js/backend.js/wp-content/plugins/wpforo/wpf-admin/js/deactivation-dialog.js/wp-content/plugins/wpforo/wpf-assets/js/ajax.js/wp-content/plugins/wpforo/wpf-assets/js/frontend.js/wp-content/plugins/wpforo/wpf-assets/js/ajax.js/wp-content/plugins/wpforo/wpf-assets/js/snfb.js/wp-content/plugins/wpforo/wpf-assets/js/tinymce-code.js/wp-content/plugins/wpforo/wpf-assets/js/tinymce-emoji.js/wp-content/plugins/wpforo/wpf-assets/js/tinymce-link.js/wp-content/plugins/wpforo/wpf-assets/js/tinymce-pre.js/wp-content/plugins/wpforo/wpf-assets/js/tinymce-spoiler.js/wp-content/plugins/wpforo/wpf-themes/classic/phrases.js/wp-content/plugins/wpforo/wpforo-advanced-attachments/assets/js/admin.js/wp-content/plugins/wpforo/wpforo-advanced-attachments/assets/js/attach.js/wp-content/plugins/wpforo/wpforo-advanced-attachments/assets/js/wpfa-jquery.fileupload-ui.js/wp-content/plugins/wpforo/wpforo-advanced-attachments/wpf-third-party/file-uploader/js/jquery.blueimp-gallery.min.js/wp-content/plugins/wpforo/wpforo-advanced-attachments/wpf-third-party/file-uploader/js/jquery.fileupload-audio.js/wp-content/plugins/wpforo/wpforo-advanced-attachments/wpf-third-party/file-uploader/js/jquery.fileupload-image.js/wp-content/plugins/wpforo/wpforo-advanced-attachments/wpf-third-party/file-uploader/js/jquery.fileupload-process.js/wp-content/plugins/wpforo/wpforo-advanced-attachments/wpf-third-party/file-uploader/js/jquery.fileupload-video.js/wp-content/plugins/wpforo/wpforo-advanced-attachments/wpf-third-party/file-uploader/js/jquery.fileupload.js/wp-content/plugins/wpforo/wpforo-advanced-attachments/wpf-third-party/file-uploader/js/load-image.all.min.js/wp-content/plugins/wpforo-emoticons/assets/emoticons.js/wp-content/plugins/wpforo-emoticons/assets/admin.js/wp-content/plugins/wpforo-emoticons/assets/lity.js/wp-content/plugins/wpforo-polls/assets/js/poll.js/wp-content/plugins/wpforo-private-messages/assets/js/pm.js/wp-content/plugins/wpforo-user-custom-fields/assets/js/backend.js/wp-content/plugins/wpforo-user-custom-fields/assets/js/fields-importer.js/wp-content/plugins/wpforo-user-custom-fields/assets/js/formbuilder.js/wp-content/plugins/wpforo-user-custom-fields/assets/js/frontend.js/wp-content/plugins/wpforo-user-custom-fields/assets/js/shortcode.js
I also excluded a few more things such as:
/wp-content/plugins/wpforo/wpf-themes/classic/colors.css and
/wp-includes/js/jquery/jquery.js
/wp-includes/js/jquery/jquery-migrate.min.js
/wp-includes/js/utils.min.js
/wp-includes/js/plupload/moxie.min.js
/wp-includes/js/plupload/plupload.min.js
/wp-includes/js/json2.min.js |
|
RE: WpForo and Mailchimp
|
23 Relevance |
5 years ago |
TimRodman |
How-to and Troubleshooting |
|
Hi @bchase,
Is this still working for you? I also purchased the wpForo Custom fields add-on and created a custom field (not FNAME, but something else). My custom field doesn't get synced into MailChimp by the Mailchimp User Sync Plugin even though I mapped it in the Send Additional fields section.
I think the problem is because the wpForo Custom Field plugin stores data in the wp_tmee_wpforo_profiles table rather than the standard wp_tmee_usermeta table.
I can map additional fields stored in the wp_tmee_wpforo_profiles table and have them sync to Mailchimp just fine. It's the wpForo Custom fields that I'm having trouble with. |
|
RE: Since using RegistrationMagic the Biographical Info of new WP-Users is not transfered into "About me" of the wpForo-Profile
|
23 Relevance |
5 years ago |
Robert |
wpForo Integration |
|
@bvsc,
Please note, that there are hundreds of plugins which interacts with user fields. All these plugins may save those data in X fields of Y tables. This is something that cannot be predicted and integrated.
wpForo doesn't have to support all those hundreds of plugins. The registrationMagic is one of those hundred plugins.
The solution is asking for integration. We may do that or not, and we'll be right in both cases. In the same way you should ask registrationMagic developers to integrate their fields with wpForo. And they may do this or not, and again, they'll be right in both cases. The developers of plugins don't have to integrate any plugin with any other plugin. So if one plugin is not integrated with second plugin it's not a bug. It's normal.
I can provide you a small code to try to integrate the "Biographical info" field. But I can't support other custom fields. to make the "Biographical info" field working with wpForo you should insert this PHP code in your current active theme functions.php file:
function registrationmagic_wpforo_integration( $user ){ if( !empty($user) ){ $user['about'] = get_user_meta( $user['ID'], 'description', true ); } return $user;}add_filter('wpforo_profile_header_obj', 'registrationmagic_wpforo_integration', 10, 1);
How to Easily Add Custom Code in WordPress (without Breaking Your Site).
This code will integrate registrationMagic "Biographical info" field in forum user My Profile > Account fields. If you want to display the "Biographical info" field information on My Profile > Profile Home page you should add a small code in wpForo core file. Use some FTP client or your Hosting cPanle > File Manage, open this file: wp-content/plugins/wpforo/wpf-includes/functions-template.php
Find this function:
function wpforo_profile_page_field_values( $fields ){ if( isset(WPF()->current_object['user']) && !empty(WPF()->current_object['user']) ){ $user = WPF()->current_object['user']; WPF()->data['value'] = $user; }}
Change it to this:
function wpforo_profile_page_field_values( $fields ){ if( isset(WPF()->current_object['user']) && !empty(WPF()->current_object['user']) ){ $user = WPF()->current_object['user']; $user = apply_filters('wpforo_profile_header_obj', $user); WPF()->data['value'] = $user; }}
This change is already added in wpForo core, so you'll be able to update it in the future without any issue. |
|
Different member fields for usergroups
|
23 Relevance |
2 years ago |
MerkWert |
How-to and Troubleshooting |
|
Hi there,
I am using wpForo Version 2.2.2 and wpForo - User Custom fields Version 3.0.1. I am offering 4 Forums with 4 different Usergroups each assigned to one of them. I would like to create different profile fields for the respective Usergroups. I understand that I can show and hide fields in dependance of the UserGroup, but I am wondering if I can also display the different fields in the registration form. The ideal solution would be a conditional logic. But as far as I understand that is not possible. Is there any other way to manage this?
Best regards,
Meike |
|
RE: Adding certain wpForo fields onto BuddyPress
|
22 Relevance |
2 years ago |
Chris |
General Discussions |
|
Hi @fawp,
Sorry for the late response.
Those fields are not wpForo specific, those are WordPress fields, you need to ask BuddyPress about those fields, as they aren't taken from wpForo but from WP. |