Search Results for 'code'
-
Search Results
-
Hi All
I’m still new to BBPress and to WordPress if I’m to be honest…
I am using the Woo Storefront Theme.
I have created a new page on my website and called it “forum” and then used the
[bbp-forum-index] shortcode on that page.1. I have installed a plugin that allows me to turn off my page title but for some reason BBPress seems to be overriding this feature which is working fine on all my other pages? How do I turn my page title off within BBPress?
2. I have also set up a few forums, one of them called “School Community Discussion”
Inside this “parent” forum I have created two child forums called “Michael Mount Waldorf School” and “Moore House Academy”When I click on one of the child forums to post a new topic, there is no “new post” window for me to add a new post. This window is only available at the parent forum level!? How do I resolve this?
3. I must say that I’m dumbfounded that BBPress doesn’t have a “Post new Topic” button that will allow you to click and then select whichever forum you want to post into from a dropdown menu. I there any way to create a button like this?
Thx
KbI’m a bit new and trying to get back into wordpress again. I have a wordpress website that needs to use the wordpress database that we first set up, and 2 external databases to obtain information and even at times to edit, and update information. Tried using external database but that is for one external database coming in. Want to use an external database to first set up login meaning when they enter username and password, it will find it through g h the external database. So my question is… What is the best way this situation? If it is coding, is there some tutorials that I can do this?
Did some research, and someone said that I can use this code in the functions.php to help access another database… Is it functions pho in main or themes?
$newdb = new wpdb($DB_USER, $DB_PASSWORD, $DB_NAME, $DB_HOST);
$newdb->show_errors();So I add this in the functions, but where do I put the second database’s info like host, username, password and etc? Where do I put the query code at?
Will this work to connect to an external databases?
Please Help!!!!
Topic: bbpress ignores custom CSS
I’m using a child theme and I’m trying to make CSS adjustments to the forum list. I need to get rid of float + width because the numbers are not aligned with the titles (topic, voices, replies, last post). Whatever I try, bbpress ignores my changes. I tried adding the new CSS to style.css in my child theme as well as adding it to Jetpack’s custom CSS. I did even add the extra code to functions.php in my child theme so that bbpress style could be overwritten without using !important. Using !important doesn’t work either. I really don’t know what else to try. My theme is not perfect for bbpress, so I need to tweak a few things.
Hey y’all. I’m trying to import a bbpress forum from one site to another and am experiencing troubles getting my replies to show up. I’ve imported .xml files for my forum, topics, and replies (I had to separate out my replies into batches bc it was so large). In my admin section it shows that there are 442 published replies however none show up on the table. I’ve tried “Recalculate the position of each reply” in Repair Forums but get a blank screen every time.
I tried increasing my execution time in .htacess by adding
php_value max_execution_time 900and still nothing.Any suggestions on how I can get this replies to show up? Thanks!
Hello,
I have found a code snippet somewhere, that does a fine job by including forum topics in the ordinary WP search. The only problem is that I have now added some private forums on the site where teachers can share assignments and problem statements for use in class.
So I would like to exclude private forum topics and replies from search results unless you are logged in as ‘contributor’ and up.
Does anybody know how to code that?
My code snippet is here:
/** * Include bbPress 'topic' custom post type in WordPress' search results */ function ntwb_bbp_topic_cpt_search( $topic_search ) { $topic_search['exclude_from_search'] = false; return $topic_search; } add_filter( 'bbp_register_topic_post_type', 'ntwb_bbp_topic_cpt_search' ); /** * Include bbPress 'forum' custom post type in WordPress' search results */ function ntwb_bbp_forum_cpt_search( $forum_search ) { $forum_search['exclude_from_search'] = false; return $forum_search; } add_filter( 'bbp_register_forum_post_type', 'ntwb_bbp_forum_cpt_search' ); /** * Include bbPress 'reply' custom post type in WordPress' search results */ function ntwb_bbp_reply_cpt_search( $reply_search ) { $reply_search['exclude_from_search'] = false; return $reply_search; } add_filter( 'bbp_register_reply_post_type', 'ntwb_bbp_reply_cpt_search' );Thanks.
Current WordPress and bbPress
Topic: Editing “Reply To”
I installed WordPress as an add-on to my webpage with Aabaco Small Business (formerly Yahoo), so I don’t have folders downloaded on my computer to access code. I want to make a couple of changes to the “Reply To” form in my forums. One box asks for “Mail” and I’d like to change that to “Email” to make it more understandable. I’d also like to eliminate the box for “Website” if possible since it wont be applicable to the people who will be responding on my forum.
I’m not all that experienced with coding, but I have done a little of it on my website and I’m good at following directions! Is it possible to make these changes since I don’t have WordPress as a stand alone?
I’m running a WordPress Multisite install and have bbPress setup on the main site. However, logged-in users can’t access the main forum. Admins and guests can see them, which doesn’t seem to make sense. Users can see group forums, but not the main page, they just get a page not found error. I’ve even tried creating the forums page and adding the shortcodes, but still get the same error.
New users are supposed to have the participant roll, which I’ve checked. I’ve also tried repairing the forums, but nothing works.
Hi anyone and everyone,
Im just wondering why bbpress displays participants real name instead of their username by default? I want to change this as I can’t remember ever seeing a site before where you create a username for it not to be used, even this bbpress support forum shows usernames!
I see topics on this matter going back 4+ years, and still its the same solution, why?
So why is it that we have to edit code to achieve this? It should at least be a simple edit in the admin area.