Forum Replies Created
-
In reply to: Can we store post count in the database ?
After thinking, it should not be that difficult, if we can see the file via which new posts are getting added / deleted, we can simply call bbpress’s native bbp_user_post_count to update the post count in the database, right ?
In reply to: Can we store post count in the database ?Strange … I have just posted this, and see in bbpress’s forum page that I have posted this more than a year ago …
In reply to: Adding custom fields in user profileThanks Robin, that worked like a charm. 🙂
Thanks for sharing.
In reply to: Add custom user profile fields in bbPress 2.4.1Hi, have you managed to get a solution to this ? I’m in a very similar situation as you – would you like to share what you did finally ?
Thanks.
In reply to: Adding custom fields in user profileThe idea that I got from https://bbpress.org/forums/topic/profile-user-specified-fields/#post-2670 is not working. Following is the function that I have added in my theme’s functions.php
function get_profile_info_keys_personal() { return array( 'first_name' => array(1, __('First name')), 'last_name' => array(1, __('Last name')), 'nickname' => array(1, __('Nickname')), 'display_name' => array(1, __('Display name')), 'telephone' => array(0, __('Telephone')), 'city' => array(1, __('City')), 'facebook' => array(0, __('Facebook')), 'linkedin' => array(0, __('Linked In')), 'user_url' => array(0, __('Website')), 'signature' => array(0, __('Signature')), 'dob' => array(1, __('Date of Birth')), 'state' => array(1, __('Home State')), 'occupation' => array(1, __('Occupation')), 'organization' => array(0, __('Organization')), 'income' => array(1, __('Monthly Income')), 'education' => array(1, __('Education')), 'degree' => array(1, __('Degree')), 'profession' => array(1, __('Profession')), 'description' => array(0, __('Biographical Info')), 'user_login' => array(1, __('Username')), 'email' => array(0, __('Email')), 'pass1' => array(0, __('Password')) ); } add_filter('get_profile_info_keys', 'get_profile_info_keys_personal');
And the second question goes, what would be the corresponding page for adding new members ?
Thanks a lot for all your help.
Best.Well, the correct answer is here : http://pastebin.com/QypF9bhA
PS. I have found that I can add the top level as a category, from the first dropdown by choosing between forum and category, however, this doesn’t change anything realistically for the display.
Ideally, the categories could go into the tag <ul class=”forum-titles”> or something similar, and the two next levels appearing below.
Thanks for any input anyone.