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

 Sort Search Results by:

Filter by custom fields

Topic prefix

AI Assistant
Notifications
Clear all

[Closed] New Install....a few Questions

2 Posts
2 Users
0 Reactions
3,434 Views
Cotty
Posts: 23
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
(@cotty)
Eminent Member
Joined: 9 years ago
[#6722]

Something basic queries guys, 

We've installed the plugin as we're looking to migrate so setting up brand new install.

I've noticed that should you delete a forum / category, the Forum ID increases each time, is there a way of resetting this?

Forum Profile

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.

If the password was updated within the forum profile, would that also update in Wordpress (we're using UltimateMember for e.g.)

Thanks for any assistance!


Topic Tags
1 Reply
Robert
Posts: 10730
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

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: https://www.google.com/search?q=reset+mysql+table+auto_increment

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: https://gvectors.com/product/wpforo-user-custom-fields/

 


Share: