For the life of me I cannot see a place where a new registered user can create a topic? I can’t find anything about this is the code.
Hello,
I uses CodeStyling Localization to translate 13 language. and CodeStyling Localization report the issue as below:
PHP runtime error reporting detected !
Reason: some executed PHP code is not written proper | Originator: unknown (probably by Theme or Plugin)
Below listed error reports has been traced and removed during page creation:
STRICT Error: [2048] Declaration of BBP_Forums_Group_Extension::display() should be compatible with BP_Group_Extension::display($group_id = NULL) /home/xxx/cookkoo.com/wp-content/plugins/bbpress/includes/extend/buddypress/groups.php on line 28
Please help
Thank you
ok, i made a mistake with the namee bbpress .php , changed to bbpress.php and now it is using the bbpress.php template, again ive removed the <?php get_sidebar(‘page’); ?> but it is still not full width
the code is like this
<?php
/*
Template Name: bbpress
*/
get_header(); ?>
<div class=”stump”>
<div class=”container topborder”></div>
<div class=”container contentarea”>
<div class=”row animated fadeInUp”>
<div id=”content” class=”col-md-8 col-sm-8″>
<?php get_template_part(‘loop’, ‘page’); ?>
<?php wp_reset_query(); ?>
</div>
</div>
</div>
<div class=”container bottomborder”></div>
</div>
<?php get_footer(); ?>
I did that, using the plugin my theme was using the page.php , so I copied it to my themes directory, and renamed it to bbpress.php
i have removed the <?php get_sidebar(‘page’); ?> from the code in the template but it is still not full width, and when I use the plugin again , it says that it still uses the page.php
even when Ive selected the bbpress template in the page that contains the forums shortcode
This might be what you are looking for.
Support Forum
in the page, ive chosen this template.
Sorry you need to put this template into a bbpress directory – see
Step by step guide to setting up a bbPress forum – Part 1
The @ is simply text, it does nothing of itself.
It could be coded to do all you ask, but nothing exists that I know of
here is the code to display the topic excerpt, which i recommend so you would not have to display the whole description in a topic.
<?php bbp_topic_excerpt(); ?>
You can use this for custom subscribe text
//custom text for subscribe links
function rkk_subscribe_link() {
$args['subscribe'] = esc_html__( 'Subscribe to this', 'rkk' );
$args['unsubscribe'] = esc_html__( 'Unsubscribe to this', 'rkk' );
return $args;
}
add_filter('bbp_before_get_forum_subscribe_link_parse_args', 'rkk_subscribe_link' );
add_filter('bbp_before_get_topic_subscribe_link_parse_args', 'rkk_subscribe_link' );
try adding
//This function changes the text wherever it is quoted
function change_translate_text( $translated_text ) {
if ( $translated_text == 'old text' ) {
$translated_text = 'new text';
}
if ( $translated_text == 'old text2' ) {
$translated_text = 'new text2';
}
return $translated_text;
}
add_filter( 'gettext', 'change_translate_text', 20 );
to your functions file. The wording needs to be exact including caps and punctuation
Functions files and child themes – explained !
hi!
can I set the default behavior of the Notify me of follow-up replies via email button when posting to the forum or whatsoever?
I would like it to be checked by default.
Im pretty sure i could write some JS to do this on page load but was wondering if you guys have some built in solution for this?
Hi guys!
looking at these forums, I can see the @name name is printed beneath the profile picture.
How can I turn this on in my website?
I’ve uploaded a beta of my website here
Is there an auto suggestion option for the mentions?
example, if somebody starts typing @bor he/she will be suggested @boris-kamp?
Thanks!
which theme are you using?
Have you tried the two methods in 3
Step by step guide to setting up a bbPress forum – Part 1
and looked at no. 8 in the same bit
Raw SQL, yep.
Here it goes:
EDIT: SQL code is now here https://gist.github.com/anonymous/8d1cb71e69d52ac69f5d
That’s not all, – i still have to implement a karma system to bbpress and also import it, and still have to import private messages. If you will be so kind to point me, what i’ve missed (and that cause error i’ve been experiencing), i appreciate it so much )
I just figured out what I needed. It turns out bbp_get_forum_title() returns a string that I can actually compare and it seems to work perfect. So my issues in my last message can be ignored.
Just for clarity, this is what the final piece looks like:
<?php if (bbp_get_forum_title() !== "News") : ?>
Then I just add the endif you suggested at the end and it works great.
Thanks again!
You nailed, thank you!!! I was missing a } closing the previous CSS code.
@jbeagley
Make sure to wrap code with the code button on bbpress.org
I checked your custom CSS on your site.
Sometimes CSS after a CSS statement is not complete will not work.
For example make sure all of your statements have the
#selector .selector { <-- make sure you have this on all of your CSS statements
property: value;
} <-- make sure you have this on all of your CSS statements.
I have had no problem editing the appearance of the forum until I tried to change the background color of the current navigation link on the user details page… its the list of link including profile, topics started, replies created, etc…
I have been editing it with the ‘custom css’ feature of my theme… this is what I added
#bbpress-forums #bbp-single-user-details #bbp-user-navigation li.current a {
background-color: #12681A;
}
I grabbed that code from the ‘inspector’ tool using F12 in my browser… just changed the color code… but is not affecting the page…
any suggestions why this particular element isn’t being affected?
wordpress 4.22
bbPress 2.5.7
http://hillberryfestival.com/forums/user/dhp/
Hello guys.
I had the same issue. I read all the topics and i managed to fix almost everything thanks to your posts
btw thans Edgar you saved my with your plugin.
My only issue is this: i have activated the video button on tinymce so peoepl can add video using the youtube or vimeo url.
I know that just pasting the link it will embed it but the issue is that you cant arranged width and height.
Although i tried and added more things to Edgar’s plugin when i try to add iframe code it nothing appears on the post
The code i added is:
// iframe
‘iframe’ => array(
‘src’ => true,
‘style’ => true,
‘width’ => true,
‘height’ => true,
‘scrolling’ => true,
‘marginwidth’ => true,
‘marginheight’ => true,
‘frameborder’ => true,
),
any help is welcome.
Thanks in advance,
atsouf
This is an old topic but in case you’re still looking for help (or if helpful to someone else), this plugin allows you to use a shortcode to display a list of notifications (and other buddypress things) in a page or post:
https://wordpress.org/plugins/bowe-codes/
This topic is a bit old now but if you’re still looking for an answer (or if helpful to other people)
Here’s some info that should help:
Layout and functionality – Examples you can use
Sticky thread Issues
Cool, I didn’t know that.
@shanesams There probably is a way to code this. I’m succesfully using the Ajax replies plugin mentioned here:
Has anyone used the bbpress ajax replies plugin??
So perhaps that could be customised to work with an activity style layout? Just needs someone with some bbpress smarts to take a look at it 🙂
It does seem tricky to set this sort of thing up (hopefully to be improved in future versions of bbpress?).
One way to do this, although not the most robust option, would be to simply hide the new topic form for everyone but keymasters/admins when viewing that particular forum.
I will assume you are accessing your new topic form when viewing the individual forum (it’s trickier if you are using the new topic form where you choose which forum to post to instead of/as well as individual forms in each section. This is what’s used here on the bbpress.org forums for example. If you need a solution for this as well let us know, I’m sure someone can explain how to do that)
This is just off the top of my head and not tested (hopefully someone more experienced will be able to advise better) – in wp-content/your-theme/bbpress/form-topic.php (create this file if it’s not already in your theme, copy the original from wp-content/plugins/bbpress/templates/default/bbpress/
At the top of the file, after this code:
<?php
/**
* New/Edit Topic
*
* @package bbPress
* @subpackage Theme
*/
?>
Add this code to check if you are in your news forum (here I’ve used forum id ‘5’ as an example, you’ll have to find the specific id for your forum) and if the user is an admin (there may be a better to do this using the keymaster role instead of the usual WP role but I don’t know about that):
<?php if ( bbp_is_single_forum( '5' ) && current_user_can( 'manage_options' )) : ?>
Then at the very end of the file close the if statement by adding this:
<?php endif; ?>
That should work as far as I know but I am still finding my way with bbpress so can’t say for definite. Good luck!
Hello, this is my second ost in this forum. I install bbpress plugin in my wordpress website and when i want to post topics or replies in my Front-End i get ERROR : Are you sure to do that ?.
Please i need your help
Wordpress version: 4.2.2
bbPress version: 2.5.7
Template version : Dream theme The7.2