ok, how have you set your forum up ?
Have you been through
Step by step guide to setting up a bbPress forum – Part 1
in particular step 3?
yes you can create new roles with custom capabilities
https://codex.bbpress.org/custom-capabilities/
Try this
function casiepa_mention_gravatar() {
?>
<div>
<label for="bbp-gravatar-notice">Avatar</label>
<fieldset style="width: 60%;">
<span style="margin-left: 0; width: 100%;" name="bbp-gravatar-notice" class="description">Manage your profile picture at <a href="https://gravatar.com" title="Gravatar">Gravatar</a>.</span>
</fieldset>
</div>
<?php
}
add_action( 'bbp_user_edit_after_about', 'casiepa_mention_gravatar' );
I’m assuming you mean that it broke your layout, and not your site, because the code @casiepa posted works. Also, there’s no question mark in the code that he posted.
If you want the link to Gravatar to show only on a user’s edit profile page, try this:
function casiepa_mention_gravatar() {
?>
<div>
<label for="bbp-gravatar-notice">Avatar</label>
<span name="bbp-gravatar-notice" class="description">Manage your profile picture at <a href="https://gravatar.com" title="Gravatar">Gravatar</a>.</span>
</div>
<?php
}
add_action( 'bbp_user_edit_after_about', 'casiepa_mention_gravatar' );
Just went to log into my site which uses the bbp-login shortcode and it just shows me a blank page. logged in using the wp-login, checked the login page with the shortcode, the shortcode is still there.
Also, the forums page is all blank as well. no forums are showing. Go to forums > all forums, they are listed there.
Tried Chrome and IE. Same issue on both.
Several of the wordpress access manager products will allow you to control who can do stuff to what
I think (from memory) that ‘user role editor’
and if you are happy with a bit of code, then this will help you define new roles/admin existing and control access
https://codex.bbpress.org/custom-capabilities/
that’s of my plugins then from a while back!
ok try my
https://wordpress.org/plugins/bbp-style-pack/
and use the
[bsp-display-topic-index show='5' template ='short']
which displays without the header.
If you want it customised just for you, contact me via my website http://www.rewweb.co.uk
Hi there
Its bbP shortcodes by Robin Wilson.
Many thanks for any help.
Hey, Pascal –
I followed up with the theme developer and they pointed me back to the plugin developer.
Any idea on what is causing the layout issue or where I can look to find the code that is causing the problem?
Thanks!
Brandi
What file do you insert that code into?
I’ve been searching for a solution on this for hours, to no avail, and it seems like such a simple thing:
All I want to do is have my website show other users’ basic info when I click their name in a forum post.
For example, if I write a forum post, another user should be able to click on my name and see the profile info that I’ve added to my profile in the backend–e.g. “Contact Info” and “About Yourself” (email address, website, biographical info)–on a page on my site.
Right now, when they click on my name, or when I click on another forum user’s name, it sends to our 404 page.
What gives? Pretty much any site I’ve ever used that has multiple users allows you to click their name to see their bio. It seems insane that WordPress/bbPress doesn’t have this basic feature. And I haven’t even been able to find a plugin or any kinds of codes to make this happen. I’ve found all kinds of plugins that allow you to add additional user fields (like social media info) or prettier front-end login pages, but nothing that just displays another user’s contact/bio info.
Thanks in advance for your help.
Thanks, I have already installed and activated the plugin but is there an easy user friendly tutorial for a site owner [not a coder] to setup and have the interface show on a page please?
Hey TK – love this layout – and hate that your commentary got lost – any chance you could give us some code and hints that would let others share this great work.
I’m happy to help if stuff needs putting together eg i’m happy to write connecting sentences for non-experts if you do one liners for someone who knows what they are doing, and post stuff on the documentation part of bbpress etc.
Would be a real shame for a great looking site not to become better used !!
Feel free to contact me via my website if easier http://www.rewweb.co.uk
The user can do this by editing their profile.
The do that by clicking their name or avatar anywhere on the site.
Now that is not obvious, so
https://codex.bbpress.org/layout-and-functionality-examples-you-can-use/#3-adding-an-amend-profilepassword-to-the-login-widget
which ‘shortcode plugin’ ?
Bumping actually has the opposite effect – as most mods look for posts with 0 replies, so by replying to your own post, we only get round to them later !
start with
Step by step guide to setting up a bbPress forum – Part 1
ok, now that you have explained what it is, I understand and can help !
In the code is
// NOTICE! Understand what this does before running.
$post_id = bbp_insert_topic($topic_data, $topic_meta);
bbp_stick_topic($post_id , true); // Making it super sticky !
If you had done this – ie Understand what this does before running.
you would have known the answer –
sticky sticks a topic to the top of the forum it belongs in.
super-sticky sticks a topic to the top of all forums
To insert a topic in a parent forum with given id. But after successful insertion the topic shows up in other forums and doesnt remain inside the parent forum. The code is a standard way to insert a topic in bbpress programmatically.
I am just trying to learn this so I can build my website. Thanks for your attention.
1. http://hookr.io/functions/bbp_insert_topic/
2. https://github.com/rmccue/bbPress/blob/master/bbp-includes/bbp-topic-functions.php etc.
I answer q’s across many forums, and don’t have the time to work out what it is trying to do so what’s the purpose of the code then?
WITHOUT THE CODE – what is the problem ? None !
WITH THE CODE – what is the problem ? Topic shows up in outside parent forum !
no sorry I still don’t know what exactly your issue is.
WITHOUT THE CODE – what is the problem?
Thanks @netweb for the comments. I worked a LONG time on that home page layout. I posted a rather lengthy commentary here describing how I got it to work, but sadly that post never appeared.
So it does work if I clean off bbp_reply_id(); but I guess I could save a couple of lines of code by using bbp_get_reply_id();.
How about using bbp_get_reply_id ? I think that one is not echoing…
Correct 🙂
Throughout much of bbPress this is true, more often than not if there is a function bbp_some_thing there will be a sister function bbp_get_some_thing, the functions with bbp_get_ will always just get the value for you to use, and the functions without it will echo the returned value.
Ok the issue is simple. Inserting a topic using the code I have shown I can get the correct child-parent relationship into a forum. However the same topic shows up in a different forum other than the parent and that feels like a bug. Without the code, there is no problem at all if the topic is created from the front end.