Forum Replies Created
-
In reply to: Displaying a custom field in profile page
quickest way would be for you to check out the code in the plugin bbp-user-information on my website.
This adds 4 fields to the display under the forum role in topics/replies and in the profile (and make those field editable for later on), and you can see how these are set up and used.
In particular under the /includes folder you’ll find the display.php shows how to create function to add this to the correct area via a filter.
add_action ('bbp_theme_after_reply_author_details', 'bbp_user_information') ;
and
add_action ('bbp_template_after_user_profile', 'user_profile_bbp_user_information') ;
and within this you’ll see the code
$usermeta = get_userdata( $user_id, 'ui_label1' ); echo $usermeta->ui_label1;
where ‘ui_label1’ is the metadata field and takes the data from the usermeta table and displays it.
In reply to: No toolbar available‘I have probably checked 100 times if this is ticked’
Thanks, but always worth asking.
‘This is the default bbPress theme. ‘
No I meant the wordpress theme you are using. switch to one such as twenty eleven to see if that makes a difference
In reply to: No toolbar availableoh, and in
Dashboard>settings>forums> forum features have you ticked “Post formatting” to enable this toolbar?In reply to: No toolbar availableThanks for the extra info, that was the part that my brain had not seen !
Sorry to suggest this (given that this is a theme site), but have you switched to a default theme such as twentytwelve to eliminate a theme issue?
In reply to: Printing threads (WP 3.8.1, bbPress 3.5.2)I can’t say that it has ever occurred to me that people might want to print whole threads !
Normally they (or at least I do) just copy/paste bits they need
I just tried a couple including print friendly, and neither worked !
Don’t se any quick or easy way to do this.
In reply to: Forum IssueOk, I can see both the forums and topics.
So is the issue now resolved, or does it apply to logged in subscrtibers (apart from admins)?
In reply to: how can i show latest thredOk I have worked a way to do it.
But you will need to
a) add some code to your child theme’s function file and
b) add a line of code into the page template your home page is usingHow much capability do you have to do that?
In reply to: No toolbar availableApart from just posting a picture, please explain what your problem is.
I do not know if you are still talking about a toolbar or something else.
Please explain in detail what you issue is.
We are here to try to help you, but need proper requests please.
In reply to: Fatal errorTurn off all other plugins, and see if that fixes the problem. If the problem is resolved, add back one at a time to see which is causing the conflict.
Ok, so this theme has an upmarket homepage.
Since this is a paid theme, with paid support, I’d suggest you go to their website for help, they should be familiar with bbPress and know how to get it to work with your theme.
http://themeforest.net/item/sahifa-responsive-wordpress-newsmagazineblog/2819356/support
In reply to: Remove IP Address From PostIf you are talking about the ip address underneath the avatar on topics and replies, this only displays for users with the keymaster role – so give your forum users the participant role and they’ll not see that bit.
In reply to: how can i show latest thredDo you want :
just the latest reply (or topic is no replies)
The title or all the content?In reply to: theme shortcode not working in forumOk, I think you’ve done everything right, so suspect it is the theme and bbpress not working together correctly. The solution will probably be very easy, but as I don’t have access to that theme I cannot really help further.
Given that you have a paid theme and are on wp-engine I’d use both these routes to get detailed support.
Firstly I’d go to the theme support site
http://themeforest.net/item/brooklyn-creative-one-page-multipurpose-theme/6221179/support
and if that fails then if needed to wp-engine, who have both experts and access to your site
In reply to: Creating a new forumthen check for a plugin or theme conflict
Check other plugins
Check that no other plugins are affecting this.
Turn off all other plugins, and see if that fixes the problem. If the problem is resolved, add back one at a time to see which is causing the conflict.
Check themes
If plugins are not the cause, the it may be a theme issue. Switch to a default theme, such as twentytwelve, and test.
In reply to: bbPress 2.5.3@azoka9 Implement what, a forum, the upgrade, the plugin?
In reply to: theme shortcode not working in forumdo you have an actual forum page
viz
https://codex.bbpress.org/step-by-step-guide-to-setting-up-a-bbpress-forum/ section 3, and which way is I set up?
In reply to: Creating a new forumso are you doing this through
Are you doing this through
Dashboard>forums>new forum?
In reply to: How to selectively disable paginationIs this not still the same issue as
In which case come back with the answers to my Q’s and I’ll try and help further
Your theme is possibly key to this.
In reply to: Creating a new forumAre you doing this through
Dashboard>forums>new forum?
and what role have you given yourself
Dashboard>Users> edit user and select your username
You’ll see at the bottom of the edit screen your bbpress role
come back if I can help further
In reply to: Recent reply notifications not going to correct pageYou may well be right, and posting in both is a good policy – as long as you copy any good answers across so that people know a) that it’s been sorted and b) what the answer is !
In reply to: Titles – RolesJJJ, totally agree, but until someone writes one, this is a quick and dirty method to achieve it !
(and for me to get rid of that horrible “keymaster” name !)
ps, if you want a count any combination of topics, replies or total posts under the role, then this plugin does that ! Gives a sort of rank.
https://wordpress.org/plugins/bbp-topic-count/
I might expand it to give ranks one day !
In reply to: Titles – Rolesok, just tested and this code seems to work
function add_custom_role( $bbp_roles ) { $bbp_roles['my_custom_role1'] = array( 'name' => 'name 1', 'capabilities' => bbp_get_caps_for_role( bbp_get_participant_role() ) // the same capabilities as participants ); $bbp_roles['my_custom_role2'] = array( 'name' => 'name 2', 'capabilities' => bbp_get_caps_for_role( bbp_get_participant_role() ) // the same capabilities as participants ); $bbp_roles['my_custom_role3'] = array( 'name' => 'name 3', 'capabilities' => bbp_get_caps_for_role( bbp_get_keymaster_role() ) // the same capabilities as keymaster ); return $bbp_roles; } add_filter( 'bbp_get_dynamic_roles', 'add_custom_role', 1 );
So this adds 3 roles, you/your experts can duplicate the code and add more or remove unnecessary.
Basically you’ll just need to
1. tell the what to put as the names – currently the new roles are name 1, Name2 and name 3 (where it says ‘name’ => ‘name 1’ , so they’ll just overwrite that with what you want.
2. for each what capability. You’ll see the first two have the code bbp_get_participant_role() so that sets them to participant and the last sets to keymaster using bbp_get_keymaster_role() . You can guess that you just change the words for other roles such as spectator, or moderator.
They need to add this to your theme’s functions file.
please come back if any of this is not clear
In reply to: Titles – RolesI don’t like giving no answers so in between I have a little look, and found an answer from someone else on your second question ie adding roles with existing capabilities.
I just need to test it, and I’ll be back.
in the meantime if I said “add this code to your functions file” would you know what I mean?
‘So the pagination works fine on a standalone page, but if you embed it on your wordpress homepage, it’d fail. ‘
Is this a statement or a question?
What theme are you using?
and can you respond to previous questions
Where have you put the shortcode? on the homepage, on a page or on a post?
and where would you like the shortcode to go on the homepage, on a page or on a post?
I’ll then try to help you further.
In reply to: Titles – RolesWith current bbPress neither is possible as far as I know !
I take out roles from the display, I hate being a “keymaster” and think “participant” sounds a bit low.