@shmoo, @netweb,
Thanks for the replies. I’ll take a look at that ticket to get an idea of where the code is, that’s going to be really helpful.
Tomek
You can add it to the page via bbPress shortcodes.
https://codex.bbpress.org/shortcodes/
This markdown/code plugin here on bbpress.org has got to go or get fixed 🙁
In theory by adding lines 14 to 26 to ‘somewhere’ eg. the footer as you suggest should work.
With all that said though it should be working as is so if that doesn’t there might be another underlying issue that is stopping the pagination working on your site
-
This reply was modified 13 years, 12 months ago by
Stephen Edgar.
-
This reply was modified 13 years, 12 months ago by
Stephen Edgar.
Yea that’s the code in my loop-replies.php
Have a look in /wp-content/yourtheme/bbpress/loop-replies.php and make sure you have the following lines included which will then include the pagination links.
You should see respectively at the top (Trac Source)
and at the bottom of that code (Trac Source)
(The missing text when editing a reply is already patched for the next release)
I setup a server on a non standard port that is receiving requests from a reverse proxy. This setting is causing the bhp nonce check fail.
This is function bbp_verify_nonce_request in bbp-common-functions.php
I’m not a PHP Programmer but it looks like this is caused by
if ( empty( $result ) || empty( $action ) || ( strpos( $requested_url, $home_url ) !== 0 )
Here the system tries to compare request_url and home url, however this is not identical in a reverse proxy setting, because the request is going to the internal server, while the home_url contains the url of the external web server.
Does this make sense?
To verify the theory I just removed the comparison of the URL’s like this:
if ( empty( $result ) || empty( $action ) )
Now it works, but I hope that I did not open a security issue.
Can I kindly ask for advice on how to better set the system to avoid the issue?
Thanks!
Evening All
The bbpress plugin for wordpress is amazing! Big thanks to the guys who put it together.
I have a small issue that I am sure is more a newbie thing rather than anything big.
My forums are showing as post on my blog site rather than using the ‘page template’. I can use the shortcode to make certain section initialy show on a page however when ever you click on a topic it takes you back to a post template (with all the post written by, tags etc etc).
Is there anyway to make the plugin use a page template rather than a post?
I am using the Arras Theme at the moment (which could be part of the problem)
Any help would be fab
Thanks
JohnJack
Anything is possible.
You’ll want to research WordPress login plugins, if you want more control over the login page than what bbPress provides. You can use the login form shortcode, but that won’t prevent people from navigating to wp-login.php directly.
Thank you for the responding to me query Anoited!
I feared that I would get this response, I hoped that perhaps there was a plugin or someone previously may have wanted the same functionality.
Basically what we want is a forum where people can posts training requests, and the logged in training providers could respond, but we need the responses to be hidden to each other so that rival training providers do not get into a bidding war (so to speak).
Perhaps there is a way of editing the plugin so that the code used to display the responses has a conditional statement that will only allow the topic originator and admins to view the responses – not sure how difficult this will be to implement if at all possible.
There is not currently a shortcode capable of doing this.
HOWEVER!!
There is a way of accomplishing this and so much more with a plugin.
https://wordpress.org/extend/plugins/network-latest-posts/
If you have ever had to deal with multisite and switch_to_blog() before, then this plugin is going to blow your mind away. Hands down my #1 rated plugin of the year 🙂
argh! the code posting on this forum is so jinky…
I’ve removed all the breadcrumb calls in every template file but they still show up. I can’t use the filter because I have the call in header.php. Any idea why this isn’t working? For now I just solved it with CSS, but would like to know where the hook is.
#bbpress-forums .bbp-breadcrumb-home,
# bbpress-forums .bbp-breadcrumb-root,
# bbpress-forums .bbp-breadcrumb-separator,
# bbpress-forums .bbp-breadcrumb-current { display: none; }
I have tried a new approach – using conditional statements in header.php (where my breadcrumbs live) to serve different content for different pages. This won’t let me post PHP code (really??) so here’s a pastebin link http://pastebin.com/PYmw4eL6
It works! a little clunky but it gets the job done
I was thinking the shortcode could include the site id. Something like this:
[bbp-single-forum siteid=2 id=32]
I am not sure if that is possible.
I have the same issue. The sidebar is cutting off all the RH text of people’s forum posts plus hiding the all-important Submit button. What were once very robust forums in Drupal are now dead in the water in WordPress due to this issue.
I want all the forum pages and posts to be full-width, like the main forums page where I placed the short code. I’m willing to pay someone to help resolve this, since I don’t know how to do coding or create child themes, and can’t use the Genesis plugin since I’m not using a Genesis framework. Any links anyone can point to for help? Thanks. (By the way I now see that this very forum suffers a bit from the same issue—the message box is cut off on the right and the green Submit button is partially cut off—but at least people can see it.)
We are adding forums to an existing site rather than having a site that is 100% forums. I already have a breadcrumb set up for the main site but the forums don’t show up in them. Since the bbPress breadcrumb functions are significantly more complex than the simple breadcrumbs I currently use I decided to use bbPress’ crumbs in place of the main one. I have successfully modified the function to include category and single page data in the crumbs (without having “forums” as the base) but the blog root disappears. Help? Here’s what I added to ** Current Text **
// Category Page
if (is_category() || is_single()) {
the_category(' » ');
if (is_single()) {
echo " » ";
the_title();
}
That omitted the blog root from the crumbs, so I tried this, which didn’t work either.
if (is_category() || is_single()) {
$pre_current_text[] = '<a href="' . trailingslashit( home_url() ) . '">Front Row</a>' . the_category(' » ');
if (is_single()) {
echo " » ";
the_title();
}
I’m not really sure what I’m doing here. I’m no function whiz.
Is there any shortcode that would allow me to display a forum from one of my other sites on a multisite installation?
I was hoping to display the latest topics of a forum from site “X” on site “Y” because they share interests. I am hoping to do that with shortcode and not a theme change because I am using the same theme across all of my sites.
Add this to functions.php: it will filter the bbpress function that shows the avatar to switch it to using full.
function fix_forum_avatar($author_avatar = false, $reply_id = false, $size = false) {
echo str_replace('-bpthumb', '-bpfull', $author_avatar );
}
add_filter('bbp_get_reply_author_avatar', 'fix_forum_avatar');
Im using fresh bbpress installed and i didnt modified the files. I use shortcode for registration.
http://dev.codenamegta.hu/regisztracio please help to solve this problem
I had been down this path before and now have a patch and the key to it indeed was as you mentioned the before_link and after_link.
The patch is here with example code that should help you out rather that that ^^^ up there 😉
I’m not sure why it is doing that, have you modified or using custom bbPress templates with your theme?
> How can I disable the redirection after the registration? It’s very
> annoying if the user the a login registration form with different
> design.
What about using the bbPress shortcodes for Login/Register? https://codex.bbpress.org/shortcodes
Hello,
I have a dev version of my website so sorry but you have to enter the password and the username: dev/dev1234
My problem is with the profile page, if you check it you can see the header with the AMS name not fits perfectly. So I want to change. If I change it the header is change every post page.
If you check the css classes you can see the following: post-1693 post type-post status-publish format-standard hentry category-vice-city tag-evfordulo tag-focimdal
I don’t know why but the profile page get the latest posts css classes. Why?
The posts url: http://dev.codenamegta.hu/2012/majamihiroz-vice-city-focimdala/
The profile url: http://dev.codenamegta.hu/forumok/tagok/ams/
How can I disable the redirection after the registration? It’s very annoying if the user the a login registration form with different design.
Thank you very much!
It actually was already in the Codex here: https://codex.bbpress.org/bbp_show_lead_topic/
It had the incorrect details though, I have just put a quick update up now.
Just reporting a problem..
After i activated the Topic Lead option i can’t use the Edit button anymore.
add_filter( 'bbp_show_lead_topic', '__return_true' );
Replies i can still edit front-end, but not the Lead Topic anymore.