Hi ok am reactivating source code – i managed to hide the url, but i dont actually want to do that i want to make it so it doesnt link otherwise you have “started by “. Another idea can i link it to their profile page which is not part of bbpress “http://photohunters.org/photohunters/my-profile/”
site page
http://photohunters.org/photohunters/forum/2nd-hand-market/
i really do appreciate your help – am just trying to strip the forum down to the bare minimum
thank you
Melanie
Can you give us a screen shot of IE and one of safari – just saves me loading this code (so I can help others as well as you) , so I can quickly see the difference
sorry this support forum is manned by volunteers so we do this in our spare time and for free.
I presume you got this code from
http://www.digitspeak.com/blogging/wordpress/remove-bbpress-forum-profile-url-link/
when you say
the avatar reappears which i managed to get rid of – is there another workaround?
can you explain a bit more about
i managed to get rid of
what did you do?
Hi am posting this again as have had no response
Hi Have tried to remove the link from username with below code but when i use it, the avatar reappears which i managed to get rid of – is there another workaround?
add_filter(‘bbp_before_get_breadcrumb_parse_args’, ‘mycustom_breadcrumb_options’);
add_filter( ‘bbp_get_author_link’, ‘remove_author_links’, 10, 2);
add_filter( ‘bbp_get_reply_author_link’, ‘remove_author_links’, 10, 2);
add_filter( ‘bbp_get_topic_author_link’, ‘remove_author_links’, 10, 2);
function remove_author_links($author_link, $args) {
$author_link = preg_replace(array(‘{<a[^>]*>}’,'{}’), array(” “), $author_link);
return $author_link;
}
thanks in advance
Melanie
It looks like my issue with the BCCs is being caused by the wpMandrill plugin I use to send emails through the Mandrill service
The Mandrill API previously couldn’t deal with BCC emails, it has been updated but it’s WP plugin hasn’t.
I tried this code offered by a user but it ended up sending two emails. One with no BCCs showing and one with the same BCCs showing problem. https://wordpress.org/support/topic/how-to-contribute-fixed-bcc
Any reply yet!!!
I have request to help me to correct this code. I am not expert in php.
Thank you to all …
@Robin, 😯 Woooooooow, Amazing, Man its working, 
Thanks a Billion Trillion Robin, My dear…
Oh I am so happy to see its gone… 😀 😀
Hey, Robin, check it out man, we just got it. You are super. If we could meet, I must arrange a Beer Party.
Oh this is the lovely piece of art: 💡
remove_filter( 'bbp_get_reply_content', 'bbp_make_clickable', 4);
remove_filter( 'bbp_get_topic_content', 'bbp_make_clickable', 4);
So everybody just use this above code to stay better in Google, and Don’t Forget to Thanks dear Robin W. All Credit Goes to Him. Hats Off!
Please make this topic Resolved.
The main forum page (created during the install process using Method 1 or Method 2 shows no forum info.
If I create a new topic (admin) and go directly there I can see the post, reply and see other forums
I created a forum called “t-forums” and added “For Sale” and “General” under that. Everything works just great except the parent (Forums).
Home › Forums › t-forums › For Sale
So the parent (Forums) seems broke and doesn’t show the forum items on it’s page.
I’ve removed the plugin and added it back with the same results.
Hello guys,
I tried to search for this topic for some time, and I found a lot of answers but non of them was on the point for my simple yet maybe difficult task.
My client needs the forum to be visible only for users/some users.
Basically only the users should be able to see the forums while others won’t even know it exist.
Can someone please help me with on the point solution, and if non exist I would have to use some bypass, maybe even make my own php code – which I rather avoid.
Thanks for reading and helping!
Techical: using 4.1 WP and latest bbpress.
if you get the remove filter working in the other post you could have it ‘removed’ as default and then add a conditional filter
e.g. if users has posted xx topics then {
add_filter( ‘bbp_get_reply_content’, ‘bbp_make_clickable’, 10 );
add_filter( ‘bbp_get_topic_content’, ‘bbp_make_clickable’, 10 );
}
but you’d need to code that yourself as I’m time strapped at the moment
ok, you got me interested enough to look it up.
bbPress now uses its own version of make_clickable, so the two filters are :
add_filter( 'bbp_get_reply_content', 'bbp_make_clickable', 4 );
add_filter( 'bbp_get_topic_content', 'bbp_make_clickable', 4 );
so you need
remove_filter( 'bbp_get_reply_content', 'bbp_make_clickable', 4);
remove_filter( 'bbp_get_topic_content', 'bbp_make_clickable', 4);
Not Working with 10 🙁
remove_filter( 'the_content', 'make_clickable', 10 );
remove_filter( 'post_content', 'make_clickable', 10 );
remove_filter( 'bbp_get_reply_content', 'make_clickable', 10 );
remove_filter( 'bbp_get_topic_content', 'make_clickable', 10 );
The remove filter above I mentioned is not working for me, I even tried changing the priority 1 to 255.
The remove must have the same priority – see
https://codex.wordpress.org/Function_Reference/remove_filter
since you are trying to change a function in buddypress viz ‘bp_setup_nav’ then logically it is buddypress.
Anyway try
//This function changes the text wherever it is quoted
function change_translate_text( $translated_text ) {
if ( $translated_text == 'Forums' ) {
$translated_text = 'Chapters';
}
return $translated_text;
}
add_filter( 'gettext', 'change_translate_text', 20 );
Hi Have tried to remove the link from username with below code but when i use it, the avatar reappears which i managed to get rid of – is there another workaround?
add_filter(‘bbp_before_get_breadcrumb_parse_args’, ‘mycustom_breadcrumb_options’);
add_filter( ‘bbp_get_author_link’, ‘remove_author_links’, 10, 2);
add_filter( ‘bbp_get_reply_author_link’, ‘remove_author_links’, 10, 2);
add_filter( ‘bbp_get_topic_author_link’, ‘remove_author_links’, 10, 2);
function remove_author_links($author_link, $args) {
$author_link = preg_replace(array(‘{<a[^>]*>}’,'{}’), array(” “), $author_link);
return $author_link;
}
thanks in advance
Melanie
create a directory on your theme called ‘bbpress’
ie wp-content/%your-theme-name%/bbpress
find
wp-content/plugins/bbpress/templates/default/bbpress/loop-single-forum.php
Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
wp-content/%your-theme-name%/bbpress/loop-single-forum.php
bbPress will now use this template instead of the original
Then change line 50 of this file from
<?php bbp_list_forums(); ?>
to
<?php //bbp_list_forums(); ?>
This will, stop it listing sub forums.
Come back if that’s not what you wanted
Hello,
I am tired but couldn’t find a way to stop converting a simple url text into a hyperlink url.
This is where I working >> http://www.punjabi.cc/topics/zikar-lyrics-jagjeet-kooner/
Is there any way I can remove this filter, even the code below returns no desired result.
remove_filter( 'bbp_get_reply_content', 'make_clickable');
remove_filter( 'bbp_get_topic_content', 'make_clickable');
How to remove this?, Please help me guyz…
Really thankful for valuable reply and code.
Can anyone help me to correct this code?
Thanks a lot
Nevermind. I am stupid.
I took away all my shortcode stuff and used this. Please go easy on me lol. Everything is perfect now.
<?php while( have_posts() ): the_post(); ?>
<?php the_content(); ?>
<?php endwhile; ?>
After installing BBPress nothing was working, I could see a list of forums if I went to /forums/ but nothing appeared to create a new forum or post, and no form appeared to enter a reply. I rebuilt the pages using the shortcodes and this worked great, but if I click “Edit” on a reply I get a page with no content.
Here is the code I am using in my main template to make the BBPress items show up:
<?php if (is_bbpress()) : ?>
<section id="content" class="grid-block"><h3 class="page-subtitle"><?php echo $this['config']->get('Subtitle'); ?></h3>
<?php
if(!is_user_logged_in())
{
echo do_shortcode("[bbp-login]");
} else {
echo 'bbpress page';
$forum_id = get_the_ID();
if( get_post_type( $forum_id ) == 'page')
{
echo do_shortcode("[bbp-forum-index]");
}
echo do_shortcode("[bbp-single-forum id=" . $forum_id . "]");
echo do_shortcode("[bbp-single-topic id=" . $forum_id . "]");
}
?>
I can’t find a shortcode for the reply edit form. How can I made the reply edit form appear on a page?
Also none of the forms worked until I added this to the functions.php:
add_filter( 'bbp_verify_nonce_request_url', 'my_bbp_verify_nonce_request_url', 999, 1 );
function my_bbp_verify_nonce_request_url( $requested_url )
{
return 'http://localhost:8088/mySite/' . $_SERVER['REQUEST_URI'];
}
I am using a woo-theme with their warp system, I think it does not work well with bbpress.
Please, how can I made the edit form appear? There appears to be no shortcode for that.
Hi. i want to add custom html under the keymaster’s name in his reply.
My html is: <p class="supportteam">I im in supporting group</p>
I have all bbpress’s files in my theme and think that the loop-single-reply.php should be modify but can’t find the correct solution to do it.
Here is my purpose: http://i.cubeupload.com/ZSr3pR.png
my loop-single-reply.php :
<div id="post-<?php bbp_reply_id(); ?>" <?php bbp_reply_class(); ?>>
<div class="bbp-reply-author">
<?php do_action( 'bbp_theme_before_reply_author_details' ); ?>
<?php bbp_reply_author_link( array( 'type' => 'avatar', 'show_role' => false ) ); ?>
<?php do_action( 'bbp_theme_after_reply_author_details' ); ?>
</div><!-- .bbp-reply-author -->
<div class="bbp-meta">
<?php bbp_reply_author_link( array( 'type' => 'name', 'show_role' => false ) ); ?>
" title="<?php bbp_reply_title(); ?>" class="bbp-reply-permalink"><span class="bbp-reply-post-date"><?php bbp_reply_post_date(); ?></span>
<!--HERE IS a place for my new code -->
</div>
<div class="bbp-reply-content">
<?php do_action( 'bbp_theme_before_reply_content' ); ?>
<?php bbp_reply_content(); ?>
<?php do_action( 'bbp_theme_after_reply_content' ); ?>
</div><!-- .bbp-reply-content -->
<?php do_action( 'bbp_theme_before_reply_admin_links' ); ?>
<?php
$args = array (
'id' => 0,
'before' => '<span class="bbp-admin-links">',
'after' => '</span>',
'sep' => ' / ',
'links' => array()
);
bbp_reply_admin_links( $args ); ?>
<?php do_action( 'bbp_theme_after_reply_admin_links' ); ?>
</div><!-- #post-<?php bbp_reply_id(); ?> -->
I tried this code but it does not work:
<?php
$role=bbp_get_reply_author_role();
if($role == 'keymaster'){echo '<p class=="supportteam">I im in supporting group</p>';}
?>
It not show anythings!
Can you help me to correct this code?
When i use this:
$role=bbp_get_reply_author_role();
echo $role;
it print reply author’s role.
@andreippo, @joop.stringer
You may have better luck starting your own thread on this one. I had a similar problem, in that users see notifications (the little icon on the wordpress nav bar) but never get an email. I will mention that if you look closely at the ticket referenced and if you do have access to the code yourself you can find the line to examine in bbpress\includes\common\functions.php -> Line 1066 and roughly 1106. My smtp provider was not liking the noreply email address that was being constructed as the sender. I changed the lines I mention to a valid email address and everything started to work. Also worth mentioning, I am using WP Mail SMTP.
Yes, so it is vith github and updates. I had some old code, testing something on my old website. Noticed on github changes for GD Attachments.
Now it works very nice.
Put this plugin in WP repository. It is very unique.