Problem solved… a solution was given in a Dutch WordPress help group.
How can participants in the forum get to the page of their standard WP profile?
I mean the page, which looks like the admin backend, but only shows the info of the logged in user. (I have a plugin for extended registering and logging in, but I cannot open that WordPress page with that).
What can I use as a menu item to access to that page? Maybe a shortcode?
Please see this discussion:
https://wordpress.org/support/topic/searching-for-terms-like-10-19/
Turns out this is a bug in bbPress. My main website search engine is fine. Just the bbPress tool failing.
Can a ticket be raise?
Thank you! But I’m looking for a way to apply link: data-rel=”prettyPhoto” target = “_ self” to all available bbpress images. It can be loaded in any way, it doesn’t matter.
Found the code
function add_image_responsive_class ($ content) {
global $ post;
$ pattern = "/ <img (. *?) class = \" (. *?) \ "(. *?)> / i";
$ replacement = '<img $ 1class = "$ 2 img-responsive" $ 3>';
$ content = preg_replace ($ pattern, $ replacement, $ content);
return $ content;
}
add_filter ('the_content', 'add_image_responsive_class');
but for wordpress. Will it work for bbpress?
if only registered users can post, then I’d start by looking at how they are registering – bbpress just uses wordpress registration, so how are your users joining ?
I want to make all uploaded pictures open as …a class=”my-class” rel=”prettyPhoto” href=”pic_address”…
I found how to filter all the necessary pictures through css. It’s like this:
# bbpress-forums div.bbp-reply-content img, # bbpress-forums div.bbp-topic-content img
{
display: block;
max-width: 100%;
height: auto;}
Question. What to add to the css or functions so that the picture gets a link like rel = “prettyPhoto”. Once I met a solution specifically for WordPress, but now I can’t remember…
That can I do for this (through a css, filter or declarations provided by the loader for the class?)
Thanks for a possible answer.
if you want the bbpress breadcrumb in the forums, then you would need to find out which theme template astra is using to display the forum page.
You would then use this template and rename to bbpress.php and add the breadcrumb back which is what I think the first link you quoted was trying to do.
This plugin will tell you which tempate is being used
What The File
and then (presuming you are using a child theme) you would copy that template (quite often page.php) and rename it bbpress.php.
you would then add
<div class="truebreadcrumbs"><?php bbp_breadcrumb(); ?></div>
in the appropriate place in that file
the easiest way is
bbp style pack
once activated go to
dashboard>settings>bbp style pack>Topics Index Styling and tick item 16 don’t show this message
if you want to do it using FTP then
find
wp-content/plugins/bbpress/templates/default/bbpress/feedback-no-topics.php
transfer this to your pc and remove
<div class="bbp-template-notice">
<ul>
<li><?php esc_html_e( 'Oh, bother! No topics were found here.', 'bbpress' ); ?></li>
</ul>
</div>
and save (this file must exist, but we just make it empty!)
create a directory on your theme called ‘bbpress’
ie wp-content/themes/%your-theme-name%/bbpress
where %your-theme-name% is the name of your theme
Then transfer the file you saved above and put in in the directory called bbpress that you created above, so you end up with
wp-content/themes/%your-theme-name%/bbpress/feedback-no-topics.php
bbPress will now use this template instead of the original
Very very thanks.
I believe that if this function were default for wordpress, it would relaunch the use of the form and help make the section alive too
comments.
it would be nice to be able to suggest it to wordpress
Anyone coming new to this thread, I have added a revised version of this plugin to my site which can be downloaded from
bbpress-improved-statistics-users-online
This plugin is one which WordPress withdrew as it violated their guidelines (suspected to be listing users without login, but not certain).
You can download and use, but I offer no support or warranty that this code works !
I am just a guy who sites in his kitchen and writes code for enjoyment, and I like to try and help others on the forums.
I do not get paid to do this, I have no connection with bbpress and all code (inc wordpress and bbpress) is offered under OSF, which is that it is free, open source to allow others to amend it, and offered with no support and no warranty that it does anything.
bbpress authors are free to decide what they put in their code, as am I. I do not suggest what should be in bbpress, nor do I consider that they should take any notice of me.
The topics for posts plugin has not been updated for a while because the authors do not choose to do so, that is their right, it is free code offered at the point of publishing. You are free to learn php and update and amend it as you wish.
I am not author of topics for posts, I have just been granted access as I wish to update it, which I will do when I am ready to do so.
I think this was why:
https://wordpress.org/support/topic/bbpress-advanced-statistics-logged-out/
I have only just noticed this. I use the “bbPress Advanced Statistics” plugin as I like the way it presents the data at the bottom on the forum page.
However, if I “log out”, it still lists all the names of the users from the last 24 hours. That is not right. It should only list last 24 forum activity if a user is logged in. Technically it is exposing users names for a non logged in user when I don’t want it to.
Hi, due to the limit on how we can customize the forums archives page (no elementor integration, etc.), I cannot change many settings that I want to change.
Is there a way I can redirect the http://www.website.com/forums/ to a different page or change the identity of such pages, where I can make a different page with the permalink that contains “forums”?
I’m using WordPress 5.6, and I’m using the Masterstudy theme so I cannot recreate it on any of the basic themes unfortunately.
I do one of two things ….
1. I upload images to IMGUR and simply paste the URL into the topic. It magically turns into a preview when you hit Submit.
2. I use the TinyMCE toolbar. I use a couple of well known and established plugins to include the Insert Image button. What you do is upload the image to your webspace (it must be on your forum domain). Then when you insert image you paste the URL. You know if it will be OK because it tells you the dimensions. When you click OK you will see in in the TinyMCE visual editor.
I am more than happy with both experiences. My only concern is that the TinyMCE authors are only supporting version 5 of their toolbar from January 2021 and WordPress uses version 4.x. There is no agreed migration plan to get WordPress working with version 5 of the toolbar. I don’t know long term ramifications of that.
bbpress doesn’t have visual editor as default
but this link to a visual link plugin might catcah attention if more request it to the plugin authirs by adding to the post
https://wordpress.org/support/topic/need-to-help-use-it-available-in-bbpress/
ok, no idea what is causing that
it could be a theme or plugin issue
Themes
As a test switch to a default theme such as twentytwenty, and see if this fixes.
Plugins
If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users
Health Check & Troubleshooting
Then come back
I have released a new free plugin for bbPress (it started as a Pro plugin, now it is free and will remain a free plugin, there will not be a Pro version in the future) for adding new page type in bbPress, for listing all forum members/users with options to filter and sort members. Check it out here:
GD Members Directory for bbPress
On the plugin page, you can see the video showing how the plugin works.
Regards,
Milan
ok, doing that using url’s is well beyond free help or indeed my knowledge of wordpress/bbpress.
The code can be amended to pass a $_REQUEST of say ‘loginname’
you can then create a page in wordpress, and use a shortcode to hook to php code that would look up the login name and display data related to that user, but then you have to have an area to create that data and store it in the database, or let the user create – so you would need creation/edit/delete pages and code.
It is all quite doable but well beyond free help
Wordpress code, no jetpack
Put this in your child theme’s function file –
ie wp-content/themes/%your-theme-name%/functions.php
where %your-theme-name% is the name of your theme
or use
Code Snippets
add_action ( 'bbp_template_before_single_forum', 'rew_create_new_topic' ) ;
function rew_create_new_topic () {
$text='Create New Topic' ;
if ( bbp_current_user_can_access_create_topic_form() && !bbp_is_forum_category() ) {
$href = '#new-post' ;
echo '<div class="rew-new-topic"> <a href ="'.$href.'">'.$text.'</a></div>' ;
}
}
but you’ll have to work out how to style it yourself I’m afraid !!
Hi,
I have registered an account on bbpress. I received email with password set option. I have set the password correctly.
However, when I try to log from this section, it doesnt show anything when I click login after entering my username/password created.
When I try to login, I am specifically login from the form created by BBPRESS (not default wordpress login)
https://ibb.co/SNntGYL
This is the link where login form for bbpress can be accessed: https://www.helios7.com/vlog/forums/
After I click login it does not take me anywhere or show I am logged in. Despite entering login details it keeps showing me login window.
HOpe I am able to explain my problem
bbpress just uses wordpress login, so
1. how are you creating the bbpress account ?
2. what does ‘I am not able to login’ mean? are you not able to access any of the site, or just the forums?
not precisely what you want, but my style pack plugin has a ‘create new topic’ button which takes then to the form on that page, so achieves most of what you are after
bbp style pack
once activated go to
dashboard>settings>bbp style pack>buttons
Article comments should be integrated into defoult’s bbpress in my opinion.
I do not understand why this function does not actually exist and wordpress mentine these two desired services. In this way today few people leave comments and few people write in the forum …
I saw that the creatre of this plugin is @Robin W so I would like to ask him why wodpress doesn’t take this option into consideration.
Also I’d like to ask why this plugin hasn’t been updated in a while.
Thanks