# |
Post Title |
Result Info |
Date |
User |
Forum |
|
RE: Change, edit, delete things in "profile --> account" form..., its possible?
|
37 Relevance |
4 years ago |
Robert |
How-to and Troubleshooting |
|
@jesus,
Ok, thank you. Please remove this part:
// Quitar redes sociales del foro
function my_custom_account_fields( $fields ){
$remove_fields = array('facebook', 'gtalk', 'aim', 'msn', 'twitter', 'yahoo', 'icq', 'skype');
if( !empty($fields) ){
foreach( $fields as $r => $rows ){
foreach( $rows as $c => $cols ){
foreach( $cols as $f => $field ){
if( wpfval($field, 'name') && in_array($field['name'], $remove_fields) ){
unset($fields[$r][$c][$f]);
}
}
}
}
}
return $fields;
}
add_filter( 'wpforo_get_account_fields', 'my_custom_account_fields');
And insert this code:
function my_custom_account_fields( $fields ){ $remove_fields = array('facebook', 'gtalk', 'aim', 'msn', 'twitter', 'yahoo', 'icq', 'skype'); 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', 'my_custom_account_fields'); |
|
RE: User Custom Fields data
|
37 Relevance |
6 years ago |
Robert |
How-to and Troubleshooting |
|
Thank you @offercreek,
All custom field data are stored as a serialized array in WordPress database wp_wpforo_profiles table's fields column. When you create a custom fields you should add those custom fields on according profile pages too. For example on user profile page or on user account page. If those are already added you can simply navigate to that user account page and see all information. Adding custom fields to Profile page: Adding custom fields to Account page:
For further support please open a support topic at gVectors Support forum. Here we only support the free core wpForo plugin. |
|
RE: How to register for only one user group?
|
37 Relevance |
8 years ago |
Robert |
How-to and Troubleshooting |
|
Hi Clare,
Please find my answers below:
2. They log in the Wordpress site and can see a page to register, with the WP Foro registration form on it
3. They complete the form that will give them access to ONLY the user group that goes with the level of access they have purchased.
This is a wrong logic. wpForo and WordPress users are the same. There is no way to register or login twice. If a user is registered on WordPress it's already registered in wpForo automatically. When user login it's already logged in for wpForo too. There is no way to login in WP then register in wpForo. If you want them to fill cutom fields they need to go their My Profile > Account page and fill user custom fields. I hope you've already added these custom fields for Account / Profile and registration forms, not only in registration form. So you have nothing to do, just let them login and they'll be able to access according forums. You just need to change users usergroup after registration in WP. Usergroup can be changed in Dashboard > Users > Edit Users screen (scroll down and find wpForo Usergroup) or if you'r admin you can navigate to user Profile > Account page on forum front end and change there.
In other words, they can't complete any form, because this form is registration form and the user is already registered in WP. This user is already logged in and he/she already has Usergroup with according accesses to forums. You just need to change Usergroup of new registered user to control accesses to certain forum. |
|
RE: auto populate display name from entry of firstname and lastname on same form
|
36 Relevance |
4 years ago |
Ken Fern |
General Discussions |
|
UCF addon has the functionality to be able to add the firstname, lastname, displayname, and nickname field to the registration form and for that information to then show up thereafter under account (although this is indeed not working for me but we are working through that) but what I'm looking for here is when someone is on the the registration form, for ease of use, when someone inputs the first name and last name fields, again on the same registration form, for it to auto populate the displayname field on that same form with firstname lastname. The user then can skip populating the displayname field on the form and take what was auto populated from firstname and lastname fields or overwrite it with whatever they want for display name.
On registration form:
1. User populates firstname and lastname field.
2. The Display Name field is auto populated with whatever they put in step 1.
I do not believe UCF addon has that particular functionality natively? I believe I would need to add some type of script/code snipped on top to be able to do this? |
|
RE: Problem with ACF fields, Custom Fields add-on, Registration and Account forms
|
36 Relevance |
4 years ago |
amityweb |
How-to and Troubleshooting |
|
I think the main user account may be linked or synced, like login. I assume it is.
But if you add custom fields to the WP under account, for example some other plugin (in my case Advanced Custom fields), then WPForo is not linking those 100%. WPForo shows them on its registration from which is great, BUT does not then add them in the WPForo user profile, so the user has no way to change them in WPForo.
So what I did was use gravity forms to have an update profile form, then embed that in a tab in WPForo.
It wasn't that complicated once I had the idea.
Its only because we want our registration form to go on a non-WPForo page, so we cant use WPForo as it does not have a shortcode to embed its form, we have to use a custom registration form, but WPForo wont integrate it. |
|
wpForo 1.4.0 is released!
|
35 Relevance |
8 years ago |
Robert |
wpForo Announcements |
|
We just released wpForo 1.4.0 version!
First I'd like to explain why this version took such a long time. As you may already know, we were getting many requests to create a powerful solution for wpForo user profile system. Our users want to have a single use profile page with ability to customize user profile fields and registration form. And we started working on wpForo User Custom Field addon a few month ago.
This addon is released with current wpForo 1.4.0. It allows to built an advanced user profile system with custom registration form, member search form, account settings form and profile page. We've rebuilt whole profile system, then made it dynamic in wpForo core to allow this addon manage forum profile system. With these changes we also redesigned user profile home and account page.
Besides this we've added lots of new features and fixed many bugs, please see the change-log below:
Added: Advanced user profile systemAdded: Redesigned profile home and account settings page
Added: topic and Post front-end moderation (approve/unapprove),
Added: Forum Description in topic list (forum page)
Added: Hide Add topic button on click,
Added: General RSS Feed for Forums and topics
Added: Option to change default Usergroup for new registered users,
New Addon: wpForo - User Custom fields
Other Changes
Added: User search and filter options for Member search form,
Added: Paste as text button on editor toolbar,
Added: SEO friendly H1 tags for forum and topic titles,
Added: wpForo SEO Open Graph - Image Information for FB share,
Added: Option to change default User Title for new registered users,
Added: Option to select Forum Access when creating a new Usergroup,
Added: Website language depended cache, language path issue with cached URLs,
Added: More speed with new intuitive caching and cache deleting functions,
Added: Boost database speed, new indexes for fresh installation,
Added: Make profile links nofollow when profile page indexing is disabled,
Added: Spanish Translation (es_ES), many thanks to Ignacio Sancho (ISANlab)
Added: French Translation (fr_CA), many thanks to Alain Bergevin
Added: Portuguese (Brazil) Translation (pt_BR), many thanks to Lucas Felix,
Updated: German Translation (de_DE), many thanks to uve GmbH | Pascal Feiler.
Fixed Bugs
Fixed Bug: Filter and display subSite specific users on WP MultiSite,
Fixed Bug: Incorrect counting of synchronized users,
Fixed Bug: Usergroup permission issue(unused CANs on profile page),
Fixed Bug: Unapproved topics redirect to login page,
Fixed Bug: Redirects to account edit page after registration is successfully,
Fixed Bug: Pagination issue, gets request uri function, checks protocols,
Fixed Bug: Warning: Invalid argument supplied in /wpforo.php on line 141,
Fixed Bug: Backslash slashes in email title and content,
Fixed Bug: Search result affects page layout and sidebar,
Fixed Bug: Typos and wrong phrases,
Fixed Bug: Not colored wide left border of menu items,
Fixed Bug: Chrome support for wpForo Feed XML,
Fixed Bug: Private forums on search form's forum list
Fixed Bug: Dynamic colors issue when file writing permission is denied for colors.css
IMPORTANT (updating notes)
If you have a customized copy of wpForo template files in your WP theme /wpforo/ folder please update them. wpForo 1.4.0 requires new template files.
If you see style issues after update, please refresh forum page twice or do Ctrl+F5 on forum front-end to load new styles.
If you have wpForo addons, please update them right after wpForo update. Don't update them before wpForo update.
In case you update forum and you have a large database, please make your forum faster using this instruction... to load your customized colors please refresh forum front-end page twice.
If you have a Cache Plugin, please delete all caches after wpForo update.
If you use CDN and found some issue please purge it. |
|
How to configure topic custom fields ordering in Search/Filter form
|
35 Relevance |
2 years ago |
user1 |
How-to and Troubleshooting |
|
With the topic Custom fields addon, the topic custom fields are displayed under the 'Filter by custom fields' in the Search/Filter form. I'm wondering how to configure the ordering that the fields appear? I tried changing the ordering in the fields tab in the topic fields page in wp-admin, however when it is saved, the ordering reverts back to the order in which the fields were created.
I also tried using the filter hook, wpforo_custom_fields_filter, but can't get it to work yet. How to best resolve this?
Thanks! |
|
RE: WPForo + User Custom Fields - Registration form entries are not posting
|
34 Relevance |
8 years ago |
Robert |
How-to and Troubleshooting |
|
Hi arvopart,
I'm sorry but I didn't follow you. Do you use wpForo User Custom fields addon? If so why you're writing custom code on registration form? This addon allows to do that in Dashboard > Forums > User fields admin page, just navigate to registration form tab and customize the form.
For farther support please open a support topic in gVectors Store support forum. This is the free core support community, we don't support addons here. |
|
RE: Is there a way to customize the Account page?
|
34 Relevance |
6 years ago |
Sofy |
How-to and Troubleshooting |
|
Hi @daveordid,
you can hide these fields using CSS code like this. E.g. to hide the MSN you should use the following code:
.wpf-field.wpf-field-type-text.wpf-field-name-msn { display: none !important;}
Please add the CSS code in "Custom CSS code" textarea located in Dashboard > Forums > Settings > Styles admin page.
You can find all classes by pressing F12 on the browser and opening Chrome or Firefox Console:
I'd also suggest you check out the following support topic. Here Robert explained how to change the fields icons and phrases:
You can also purchase the wpForo Users Custom fields addon and customize User registration fields, Account fields, Profile fields and Member Search fields based on your created custom user fields:
This addon is designed to extend forum profile system. |
|
RE: Problem with ACF fields, Custom Fields add-on, Registration and Account forms
|
34 Relevance |
4 years ago |
amityweb |
How-to and Troubleshooting |
|
Thanks. All they need is a registration form shortcode, then problem solved, no need to use ACF.
I found a work around, may work for us.
In Custom fields add on, add on a HTML tab, and in the html add the Gravity forms shortcode to embed the user profile update form, that is linked to ACF.
In the ACF register form, add in extra fields that WPForo may add, like privacy checkbox and things. So basically mimic same form as WPForo in Gravity forms.
So this looks like it may be fine now, but embedding WPForo register form would be the ideal situation. |
|
RE: Adding an additional field to the default registration page
|
33 Relevance |
6 years ago |
Sofy |
How-to and Troubleshooting |
|
Hi @neilrichards,
Please check out the following article:
I'd also suggest you check out wpForo - User Custom fields add-on: |
|
Answer to: Post Topic Button Issue With Many Browsers
|
32 Relevance |
4 years ago |
dimalifragis |
How-to and Troubleshooting |
|
Fix those issues and try again (after clearing your browser cache).
Uncaught ReferenceError: acf is not defined
<anonymous> :947
mctoolkit.net:947:1
Uncaught ReferenceError: acf is not defined
<anonymous> :950
mctoolkit.net:950:1
Uncaught ReferenceError: tinymce is not defined
<anonymous> :966
mctoolkit.net:966:1
Uncaught TypeError: wp.oldEditor is undefined
onReady :3
u :1
n :1
doAction :1
<anonymous> :1
jQuery 2 |
|
RE: Add social network
|
32 Relevance |
6 years ago |
uckun |
General Discussions |
|
Hi Robert, I tried to do what you described and it worked for one icon (I changed Skype to Instagram succesfully).
HOWEVER: I'm trying to do the same thing for the Google+ icon to convert it to Youtube icon, but it when I write the code twice in the functions.php , it doesn't work for the second icon change. I still see the Google+ icon there. What I did is: I wrote the code you provided two times in the functions.php, by changing the approriate places as you described, but it doesn't change the second icon. Can't I use this code twice in the functions.php for changing more than one icons?
Here is what I wrote: (What am I doing wrong?)
-------------------------------------------------------------
function wpforo_change_social_field_icon( $fields ){
//Field name
$field = 'skype';
//Font-Awesome icon class
$icon = 'fab fa-instagram';
if( !empty($fields) && isset($fields[$field])) $fields[$field]['faIcon'] = $icon;
return $fields;
}
add_filter( 'wpforo_member_after_init_fields', 'wpforo_change_social_field_icon' );
function wpforo_change_social_field_icon( $fields ){
//Field name
$field = 'gtalk';
//Font-Awesome icon class
$icon = 'fab fa-youtube-square';
if( !empty($fields) && isset($fields[$field])) $fields[$field]['faIcon'] = $icon;
return $fields;
}
add_filter( 'wpforo_member_after_init_fields', 'wpforo_change_social_field_icon' );
--------------------------------------------------------
When I write like this, functions.php gives error when saving, saying:
"Cannot redeclare wpforo_change_social_field_icon() (previously declared in wp-content/themes/Avada/functions.php:12)"
How can I change both of the icons? |
|
RE: New Install....a few Questions
|
32 Relevance |
7 years ago |
Robert |
How-to and Troubleshooting |
|
Hi @cotty,
I've noticed that should you delete a forum / category, the Forum ID increases each time, is there a way of resetting this?
This should be done in your WordPress database, using Hosting Service cPanel > phpMyAdmin tool. Just find the wp_wpforo_forums table and reset the AUTO_INCREMENT of 'forumid' Primary Key.
More information:
Is there a way of reducing the features here? For e.g. we don't need the option of "Occupation" as its not relevant to our site.
There is no option to disable profile fields, but you can disable using custom code. This code may work. Please try it:
function my_custom_account_fields( $fields ){ $remove_fields = array('occupation', 'aim', 'msn', 'yahoo', 'icq'); if( !empty($fields) ){ foreach( $fields as $r => $rows ){ foreach( $rows as $c => $cols ){ foreach( $cols as $f => $field ){ if( wpfval($field, 'name') && in_array($field['name'], $remove_fields) ){ unset($fields[$r][$c][$f]); } } } } } return $fields;}add_filter( 'wpforo_get_account_fields', 'my_custom_account_fields');
Put this code in current active WordPress theme functions.php file. As you see on the second line of code I added some field names to remove. Currently it removes 'occupation', 'aim', 'msn', 'yahoo', 'icq' fields.
How to Easily Add Custom Code in WordPress (without Breaking Your Site)
The best way to manage fields is using wpForo User Custom fields addon. You can find more information about this addon here: |