Notifications
Clear all

[Closed] How to use MyProfile > Account as first page showed on profile?

2 Posts
2 Users
0 Reactions
1,610 Views
enricocantori
Posts: 16
Topic starter
(@enricocantori)
Eminent Member
Joined: 6 years ago

I'm a programmer and I like a lot your plugin and I planned to use on my websites. I think when a new user enter need as first thing to change the avatar very easy. So this should have priority. I would like to set first page of Profile with Account Information Page and put the change of avatar as first field on top. Is this possible on function.php or I have to change the code?

1 Reply
Sofy
Posts: 4866
 Sofy
Admin
(@sofy)
Support Team
Joined: 7 years ago

Hi  enricocantori,

 I think when a new user enter need as first thing to change the avatar very easy. So this should have priority

You need to use wpforo_get_account_fields hook (the hook is in the class-members.php file in /wp-content/plugins/wpforo/wpf-includes/ folder). You need to write a function in your current active theme function.php file, that will display the avatars field ($this->fields['avatar'])  before the other fields. 

Also, check out wpForo – User Custom Fields paid addon, that allows to manage default profile fields and add new custom profile fields.

I would like to set first page of Profile with Account Information Page

wpForo menu is a regular WordPress menu. You can simply change the position of the menu items. 

More info here:

https://wpforo.com/docs/root/getting-started/forum-menu/