Search Results for 'test'
-
Search Results
-
Hi there,
I’m trying to write some advanced search functions for BBpress. One of these should let people search only in the forum or subforum they currenty are in. I followed several examples posted on the net and tried to refine them myself.
Unfortunately, I am experiencing a problem with the bbp_forum_get_subforums fuction.
The fuction I am writing should be able to get the list of subforums present in a category type forum when the search is fired from a category type forum.
The code is as follows://If the forum is a category, then search in all the subforums if( bbp_is_forum_category($forum_id)){ $sub_forums = bbp_forum_get_subforums($forum_id); $subforum_id = array_column($sub_forums,'ID'); $min_subforums = min($subforum_id); $max_subforums = max($subforum_id); $r['meta_query'] = array( array( 'key' => '_bbp_forum_id', 'value' => array($min_subforums,$max_subforums), 'compare' => 'BETWEEN', ) ); }
Unfortunately, bbp_forum_get_subforums($forum_id) gives a false result.
Strangely enough, if I try to put the same code in a fuction and add it with “add_action” to a forum page, it gives me the corret list of subforums if the current forum is a category.
Can someone please help me addressing this problem? I am using the latest version of WP and BBpress.I am having issues placing a current user’s ‘Replies Created’ and ‘Subscribed Forums’ within their unique templates. See below.
‘Replies Created’ (login testuser / test1234)
https://obeii.com/discussions-replies-created/
Code seems to just want to display all replies instead of the specific users. How can this be corrected to be filtered to that specific user?<?php global $current_user; get_currentuserinfo(); $uid = bbp_get_current_user_id(); ?> <?php if ( bbp_get_user_replies_created( $uid ) ) : ?> <?php bbp_get_template_part( 'pagination', 'replies' ); ?> <?php bbp_get_template_part( 'loop', 'replies' ); ?> <?php bbp_get_template_part( 'pagination', 'replies' ); ?> <?php else : ?> <p><?php _e( 'You have not replied to any topics.', 'bbpress' ); ?></p> <?php endif; ?>
‘Subscribed Forums’ (login testuser / test1234)
https://obeii.com/discussions-subscriptions/
It works fine for ‘Subscribed Topics’ below the item, however ‘Subscribed Forums’ comes up empty with no results. Any clue on why that is?<h2>Subscribed Forums</h2> <?php global $current_user; get_currentuserinfo(); $uid = bbp_get_current_user_id(); ?> <?php if ( bbp_get_user_forum_subscriptions( $uid ) ) : ?> <?php bbp_get_template_part( 'pagination', 'forums' ); ?> <?php bbp_get_template_part( 'loop', 'forums' ); ?> <?php bbp_get_template_part( 'pagination', 'forums' ); ?> <?php else : ?> <p><?php _e( 'You are not currently subscribed to any forums.', 'bbpress' ); ?></p> <?php endif; ?>
Topic: detail of Style.css ?
Hi ALL
In which line of style.css describ those color????f.ex: sticky color is on the line 161 of style.css
1) the color of your forums name? (the one on the right-top corner)
2) the background color of forums ?
3) the title of table ?(the gray one on the top: Topic — Add New » Posts Last Poster Freshness …)
4) the original topic color ? (there 2 colors i think)
5) those words color? (Hot tags, Latest Discussions, Forums, View..)
6) the white line under under those title: Hot tags, lastest discussions…?
7) all link words ?( add new, no-reply, untag… the original color is green)
8) all link words ?(when mose hover)
8) background color of the bottom section of forums ?(there is : xxxxxxx is proudly powered by bbPress)
9) Now, when u add a new topic, theres a table which ask u the subjet, the content, the tag and the ection. i want to change the background color of this table, which line it is?
10)Now, when u look at a topic, theres the original post and reply. the background of each one is on which line?
11)last thing..: i want to also change those word (the word, not the color) : ‘Enter a few words(call tag)separeted by spaces to help someone find your topic’ and ‘ pick a section’
Thank you a lot!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ello,
Members of private groups are missing in their overviews the started topics and created replies from private forum(s) .
e.g Group member erwintest (member of 1 group) added some topics and replies in the private forum that should (at least i expect that) pop up via this link
/members/erwintest/forums/ and /members/erwintest/forums/replies/ but they don’t.However if i logon as administrator and use the same links, the started topics and created replies placed in the private forum of user erwintest do popup.
Is this expected behaviour or not?
With Non private forums there is no problem.
site: freya.nl
Latest WordPress, bbPresss and BuddypressHi,
I have the following code in my themes functions.php
function bbp_reverse_reply_order( $query = array() ) { // bbp_has_replies_query is depricated ?
$query['order']='DESC';
return $query;
}
add_filter('bbp_has_replies_query','bbp_reverse_reply_order');This works fine except when a new reply is added, you get redirected to the page with the oldest replies instead of the page that contains the just added reply. This seems to be an old problem, have tried various plugins, but they all lead to the same outcome.
So the question is how to force, after adding a new reply, to be directed to the right page.
site freya.nl, latest versions WordPress and bbPress.
Topic: Sabai Discuss to BBPress
How can be export Sabai discuss forum data to bbPress?
I have exported csv files from Sabai discuss plugin.
Please help !
My wordpress Version is 4.9.4 with latest bbPress verison.Running WordPress 4.9.6 and bbPress version 2.5.14
When someone goes to https://www.togetherpuertorico.com/forums/forum/volunteer-events-opportunities/ and enters their correct username and password and clicks on login, it takes them to the default wordpress login page rather than logging them into their bbPress account.
If they login on the default /wp-login.php page and then go back to https://www.togetherpuertorico.com/forums/forum/volunteer-events-opportunities/ it appears as though they are still not logged in, but if you click the refresh button in Chrome, it now appears that they are logged in.
I’ve tested this with both a wordpress admin user level account and a standard bbPress Subscriber, Participant user role status.
I’ve looked in the server php error log and nothing is recorded.
I’ve reverted back to the default TwentySeventeen theme to see if the theme we are using was the cause, but it still didn’t work.
My situation is… if I try to write text, then bbpress show me an “error”.
Would you mind check this image “https://prnt.sc/jotnub“…
I was installed and test about “peepso”. And after deleted peepso, I can not write post on bbpress any more…
Anyone can help me??
Good day!
I was having issue on viewing private forum. It says “Oh bother! No topics were found here!”
See screenshot here: http://prntscr.com/joveyeAlso I wasn’t able to create topic on a forum and was being redirected to a 404 page.
I already do plugin and theme conflict test but still it wont work.
I am using the latest version of wordpress and bbpress. The site is using Jollyany theme by JollyThemes. I even tried switching to twentyseventeen theme but still not working.
This is the site where I am having issues with: http://b-mforum.com/Hoping for any solutions. Thanks in advance!