Forum Replies Created
-
In reply to: bbPress and redirect_to
I did a code search and found this function in includes/common/functions line 1507 which seems a highly likely candidate.
function bbp_logout_url( $url = '', $redirect_to = '' ) { // If there is no redirect in the URL, let's add one... if ( ! strstr( $url, 'redirect_to' ) ) { // Get the forum root, to maybe use as a default $forum_root = bbp_get_root_url(); // No redirect passed, so check referer and fallback to request uri if ( empty( $redirect_to ) ) { // Check for a valid referer $redirect_to = wp_get_referer(); // Fallback to request uri if invalid referer if ( false === $redirect_to ) { $redirect_to = bbp_get_url_scheme() . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; } } // Filter the $redirect_to destination $filtered = apply_filters( 'bbp_logout_url_redirect_to', $redirect_to ); // Validate $redirect_to, default to root $validated = wp_validate_redirect( $filtered, $forum_root ); // Assemble $redirect_to and add it (encoded) to full $url $appended = add_query_arg( array( 'loggedout' => 'true' ), $validated ); $encoded = urlencode( $appended ); $url = add_query_arg( array( 'redirect_to' => $encoded ), $url ); } // Filter & return return apply_filters( 'bbp_logout_url', $url, $redirect_to ); }
so maybe filtering on ‘bbp_logout_url’ would work.
Let me know if you need further help
In reply to: wrong pagination in the user profile pageI strongly suspect it is theme related or maybe other plugin.
In either case, it is not directly bbpress, so yes, I’d hide it with css
can you list your plugins please- the original error
Line 1: <div class="error"> <p>This Plugin needs BBpress to work, pls. install it first and activate.</p></div>
is not from bbpress
presuming in
dashboard>settings>forums you have Roles set to participant, then users will get the participant role upon their next login or if ‘remember me’ set tehir next remembered visit to the website (the website, not just forums) after you installed bbpress.
In reply to: Too many redirects on forum, not on normal pagesyou’re welcome !
In reply to: Too many redirects on forum, not on normal pages@webcreations907 thanks for that – really helpful 🙂
In reply to: 2 questionsI found this in another thread
Found the solution: simply selecting ‘Dutch’ in the Admin > General Settings section instead of ‘Dutch (Formal)’ in the field ‘Website Language’ did the trick. After saving and refreshing the website, the forum shows the Dutch translation.
don’t know if that helps
In reply to: 2 questionsas far as I know this still works
In reply to: Too many redirects on forum, not on normal pageshmm..not come across this before, from googling seems to be a wrodpress.com thing – doesn’t mean that I’m right – there’s tons on the internet that I don’t know, but just tried
<!-- nextpage->
on posts in a couple of test sites, and it does nothing.Can only suggest you find out what is adding it, but you may need to accept that it doesn’t work in bbpress
In reply to: Too many redirects on forum, not on normal pagesso are you running this plugin?
or another that does this, or does your theme add this ?
In reply to: Too many redirects on forum, not on normal pagesGreat – thanks for posting that – I now understand 🙂
is this a WordPress.com hosted site?
In reply to: Too many redirects on forum, not on normal pagesI got a couple of emails, but no post here, did you mean to delete?
In reply to: When I reply to topic I am taken to first topic pagesorry ‘using’ 🙂 do you have thread replies set in
dashboard>settings>forums>threaded replies
was really just asking as I cannot remember if it is a problem of threaded replies or a problem generally
In reply to: Too many redirects on forum, not on normal pagesok, I don’t fully understand your question.
Can you rephrase it as a series of steps I can repeat.
so ‘create a topic, do this, do that and then you see this happens’
In reply to: When I reply to topic I am taken to first topic pageI think this is a long standing bug in bbpress. are you suing threaded replies (just asking, not suggesting!)
for moderation This one still works as far as I know and would let you moderate guest posts
as for registration, bbpress just uses WordPress registration, so a plugin that does that would be fine. You don’t state what plugins you have tried, and why they didn’t work – if you find one that is close, come back.
In reply to: Undefined Index Noticesgreat – glad you ae fixed !
In reply to: Undefined Index Noticesok, this could take some debugging !
firstly in dashboard>replies how many replies do you have?
can you copy the
All (1,090) | Mine (129) | Published (1,089) | Pending (1) | Bin (1) | Spam (2)
answer into this thread
In reply to: lost pluginthe forums appear in the dashboard
also look at
dashboard>tools>forums to see if that element is there
In reply to: Undefined Index Noticeshmm..something is amiss, let me think about what you might try next !
In reply to: Error: A variable mismatch has been detected.great – glad it is all working !!
In reply to: placeholder text in new topic formgreat – glad you ae fixed and thanks for your kind comments!!
In reply to: placeholder text in new topic formtry changing the argument line
if (($args['context'] == 'reply' || $args['context'] == 'topic') && $post_content == '') $output....etc.
In reply to: Conflict between forum archive slug and page nameI’ve not used that plugin (as I’ve not used genesis themes) – does it have any settings ?
In reply to: Undefined Index Noticesok, can you try
dashboard>tools>forums>repair forums and try recalculating replies