Search Results for 'bbpress'
-
AuthorSearch Results
-
November 15, 2014 at 8:14 pm #154582
In reply to: Can't get the bbPress Sidebar to show
wolfdogg
ParticipantI have this problem after just installing bbpress for the 1st time. I’ve noticed that whatever page I have listed for ‘Forum Root’ in Settings will not respond to many of the page changes. I’ve tried adding breadcrumbs and they won’t show. I’ve tried removing the sidebar altogether and the sidebar still shows. I try changing the sidebar to a different set of widgets and it doesn’t respond.
If I change this ‘Forum Root’, the page will then accurately respond to all changes. I’m using Enfold theme.
November 15, 2014 at 5:54 pm #154579In reply to: register not sent e-mail
Robkk
Moderatorare you sure bbPress is causing the problem??
deactivate and reactivate your plugins one at a time and check and see if the problem persists when bbPress is activated to make sure.
November 15, 2014 at 5:15 pm #154577In reply to: Show topic title top of Each topic
Robkk
Moderatorcontact whatever theme your using support forum.
bbPress adds a title out of the box, with no additional editing of files.
it all depends on your theme.
November 15, 2014 at 4:52 pm #154573In reply to: ban some users
Robkk
Moderatorin a unmodified bbpress fresh install you should see the ip right around the users avatar in a topic.
block bots if its regular people that are just acting wild go edit their profile and change it to blocked.
November 15, 2014 at 4:41 pm #154571In reply to: Can't get the bbPress Sidebar to show
Robkk
Moderator@evilhare if its a bbPress WP Tweaks plugin problem go to their support.
if you think it could maybe your themes compatibility with the plugin go to your theme support.
November 15, 2014 at 4:34 pm #154569In reply to: We want edit our replys
Robkk
Moderatori dont recommend users creating new topics from the admin bar or the backend unless there just keymasters and maybe moderators too.
i would even allow only keymasters and moderators in the backend of my site.
users should only edit the topics/replies using the admin links on each post.
if you only do this they should only edit their own posts
as for being the proper tools ,
there is a tag input box by the topic if you have tags enabled
tinymce toolbar can be activated using
https://wordpress.org/plugins/bbpress-enable-tinymce-visual-tab/and the revisions should show up if you activate revision logs
attachments can be available with some plugins
other than that the other stuff the users shouldn’t touch.
November 15, 2014 at 3:50 pm #154567In reply to: How to chance profile link?
Robkk
Moderatorso if we forget
no one forget.
@durqrimast contact userpros supporti cant test it out without buying the plugin.
i did find this in like 20 seconds though
November 15, 2014 at 3:44 pm #154566In reply to: Can't Format the Lead Topic in CSS
Robkk
Moderatortry combining the two into this and try it.
i tested in twenty-fourteen and it worked.
#bbpress-forums ul.bbp-lead-topic li.bbp-body div.topic { background-color: #0099FF; border: 1px solid #dd6; }November 15, 2014 at 3:26 pm #154562In reply to: bbpress iphone compatibility problems
Robkk
Moderatorif you are a web designer from the website thats mentioned at the bottom of the website
you can do alot of things to make it where a forum doesnt look awkward
changing posts, voices, freshess, topics lalbes at the top to just icons
and more depending on where your imagination takes you.
i suggest maybe only showing the topic count in the forum archive
and move the freshness stats below the title of each forum
and showing only the posts stats for any forum you have just entered
and move the freshness stats below the title of each topic.
more info on designing can be found at the docs
November 15, 2014 at 3:10 pm #154559Preston
ParticipantI’m finally getting back around to working on this and realized I’ll need to hide the topics from a specific user role as well. I can’t just remove spectate/participate capabilities because I need them to be able to post topics, just like users who aren’t logged in.
I’m having trouble finding a way to get the current user’s role for bbPress so I can use it in the same manner I used the user’s ID above.
I found this function, but it returns the WordPress role (administrator, editor, etc):
function get_user_role() { global $current_user; $user_roles = $current_user->roles; $user_role = array_shift($user_roles); return $user_role; }Can I somehow adapt it to return the bbPress role instead? (keymaster, moderator, etc.)
November 15, 2014 at 2:46 pm #154558In reply to: Truncated usernames
Robkk
Moderatorlong characters are going to show up like this anyway
splitboard.co
myou could lower the font-size a little bit more with css to allow maybe 2-3 more characters
but its still going to break the word apart if there is a certain amount of characters anywayyou could add more width to div.reply-author
maybe to about 150pxadd this anywhere where you can put custom css
#bbpress-forums div.bbp-topic-author, #bbpress-forums div.bbp-reply-author { width: 150px; }you also might have to add some @media query css too if i missed it.
November 15, 2014 at 1:54 pm #154555In reply to: Activate page
Robin W
Moderatorthere is no [bbp-activate] shortcode
https://codex.bbpress.org/shortcodes/
what are you trying to do?
November 15, 2014 at 12:18 am #154545fractalmask
ParticipantRemoved multisite and converted to single
bbpress tools shows
You do not have sufficient permissions to access this page.
may be issues in roles ? because multisite sets admin user as super-admin ?
November 14, 2014 at 9:19 pm #154543In reply to: Can't get the bbPress Sidebar to show
evilhare
ParticipantI have the same problem… I have the forum page set to show the bbpress sidebar but it doesn’t show
November 14, 2014 at 8:48 pm #154542Topic: Masked domain troubles
in forum Troubleshootingevilhare
ParticipantOkay, let’s see if I can explain this issue.
If I have a domain, riftchurch.org. I point it to an existing website, restorationgroup.org
I have bbpress installed on restorationgroup.org, and so anyone going to riftchurch.org can see the forum. However, when they click login or register, it does nothing. It only works if they go directly to restorationgorup.org
Is there some way to address this issue?
November 14, 2014 at 5:47 pm #154470In reply to: Change the color of individual role names
Robkk
Moderatoryou add this to your themes functions.php or a functionality plugin.
you then use css to style the roles from there.
add_filter('bbp_before_get_reply_author_role_parse_args', 'ntwb_bbpress_reply_css_role' ); function ntwb_bbpress_reply_css_role() { $role = strtolower( bbp_get_user_display_role( bbp_get_reply_author_id( $reply_id ) ) ); $args['class'] = 'bbp-author-role bbp-author-role-' . $role; $args['before'] = ''; $args['after'] = ''; return $args; } add_filter('bbp_before_get_topic_author_role_parse_args', 'ntwb_bbpress_topic_css_role' ); function ntwb_bbpress_topic_css_role() { $role = strtolower( bbp_get_user_display_role( bbp_get_topic_author_id( $topic_id ) ) ); $args['class'] = 'bbp-author-role bbp-author-role-' . $role; $args['before'] = ''; $args['after'] = ''; return $args; }It grabs the topic or reply author role and adds another CSS class with prefix bbp-role- so you now have a new set of CSS classes e.g. bbp-role-keymaster, bbp-role-moderator, bbp-role-participant etc that you can then add your custom CSS styles to.
link this was from
more info about a functionality plugin
November 14, 2014 at 5:46 pm #154535Topic: How to chance profile link?
in forum Troubleshootingdurqrimast
ParticipantHi, sorry for my bad english. Let me try to tell my problem.
I’m useing bbpress and userpro. In forum when you click someones or your little profile pic. U go to his/her profile setting.
ın my website: http://www.sosyalperde.com/forum/kullanici/admin/
but i want it to go to userpro plug-ins page: http://www.sosyalperde.com/profile-2/admin/
Any idea how can i do it?
November 14, 2014 at 3:06 pm #154536Topic: Truncated usernames
in forum Troubleshootingbcrider
ParticipantHello,
I’m using WordPress 4.0 running the Valeni Theme.
In my bbpress forum on the topic pages, usernames longer than 12 characters are being truncated.
See example:

Is there any way to prevent this?
Thanks!
November 14, 2014 at 12:16 pm #154531In reply to: User registration on multisite
Nicolas Korobochkin
Participant@robin-w send it. bbpress.org delete spam replies immediately?
November 14, 2014 at 12:14 pm #154529Topic: Show which board has new post
in forum Troubleshootingcolinsp
ParticipantOn my site I have several boards in each Forum. Is there a way of showing which of the boards have the latest post? Or alternatively is there an option to show unread posts?
Wordpress 4.0, bbPress 2.5.4. The forums are not available to view as they are member only.
What I want is some indication of which board the red circled item refers to in the attached image.
November 14, 2014 at 10:54 am #154525Topic: register not sent e-mail
in forum Troubleshootingauthorarticle
ParticipantI used wordpress 4.0 and bbpress 2.54
I try to register to my site but e-mail not sent anything.
I ‘ve tried to over and over again.
but same result.
Please help me .
How can i solution this problem.
ThanksNovember 14, 2014 at 4:35 am #154515In reply to: How to Stop Admin subscription emails…
tharsheblows
ParticipantThe reason for this is that sending out subscription emails one by one was appreciably slowing down some large sites, so in the last update they switched to bcc’ing in subscribers.
It’s fairly straightforward to change how the subscription emails are handled once you know how. If you unhook ‘bbp_notify_topic_subscribers’ you can then hook in your own subscription function.
Below is similar to what I did – I have it in a plugin but you could put it in your bbpress-functions.php file too, I think – this should be in a child theme. If you do this, please test it first as this is simply an example and not necessarily working code. I’ve gone ahead and simply pasted in the function that was used in the previous version of bbPress so you don’t have to find it.
//custom topic subscription emails, unhook old function, hook in new one remove_action( 'bbp_new_reply', 'bbp_notify_topic_subscribers', 11, 5 ); add_action( 'bbp_new_reply', 'mjj_bbp_notify_topic_subscribers', 11, 5 ); /** * from bbpress / includes / common / functions.php * this is taken from 2.5.3 - I've left in all comments to make it easier to understand **/ /** Subscriptions *************************************************************/ /** * Sends notification emails for new replies to subscribed topics * * Gets new post's ID and check if there are subscribed users to that topic, and * if there are, send notifications * * @since bbPress (r2668) * * @param int $reply_id ID of the newly made reply * @uses bbp_is_subscriptions_active() To check if the subscriptions are active * @uses bbp_get_reply_id() To validate the reply ID * @uses bbp_get_topic_id() To validate the topic ID * @uses bbp_get_forum_id() To validate the forum ID * @uses bbp_get_reply() To get the reply * @uses bbp_is_reply_published() To make sure the reply is published * @uses bbp_get_topic_id() To validate the topic ID * @uses bbp_get_topic() To get the reply's topic * @uses bbp_is_topic_published() To make sure the topic is published * @uses bbp_get_reply_author_display_name() To get the reply author's display name * @uses do_action() Calls 'bbp_pre_notify_subscribers' with the reply id, * topic id and user id * @uses bbp_get_topic_subscribers() To get the topic subscribers * @uses apply_filters() Calls 'bbp_subscription_mail_message' with the * message, reply id, topic id and user id * @uses apply_filters() Calls 'bbp_subscription_mail_title' with the * topic title, reply id, topic id and user id * @uses apply_filters() Calls 'bbp_subscription_mail_headers' * @uses get_userdata() To get the user data * @uses wp_mail() To send the mail * @uses do_action() Calls 'bbp_post_notify_subscribers' with the reply id, * topic id and user id * @return bool True on success, false on failure */ function mjj_bbp_notify_subscribers( $reply_id = 0, $topic_id = 0, $forum_id = 0, $anonymous_data = false, $reply_author = 0 ) { // Bail if subscriptions are turned off if ( !bbp_is_subscriptions_active() ) return false; /** Validation ************************************************************/ $reply_id = bbp_get_reply_id( $reply_id ); $topic_id = bbp_get_topic_id( $topic_id ); $forum_id = bbp_get_forum_id( $forum_id ); /** Reply *****************************************************************/ // Bail if reply is not published if ( !bbp_is_reply_published( $reply_id ) ) return false; /** Topic *****************************************************************/ // Bail if topic is not published if ( !bbp_is_topic_published( $topic_id ) ) return false; /** User ******************************************************************/ // Get topic subscribers and bail if empty $user_ids = bbp_get_topic_subscribers( $topic_id, true ); if ( empty( $user_ids ) ) return false; // Poster name $reply_author_name = bbp_get_reply_author_display_name( $reply_id ); /** Mail ******************************************************************/ do_action( 'bbp_pre_notify_subscribers', $reply_id, $topic_id, $user_ids ); // Remove filters from reply content and topic title to prevent content // from being encoded with HTML entities, wrapped in paragraph tags, etc... remove_all_filters( 'bbp_get_reply_content' ); remove_all_filters( 'bbp_get_topic_title' ); // Strip tags from text $topic_title = strip_tags( bbp_get_topic_title( $topic_id ) ); $reply_content = strip_tags( bbp_get_reply_content( $reply_id ) ); $reply_url = bbp_get_reply_url( $reply_id ); $blog_name = wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES ); // Loop through users foreach ( (array) $user_ids as $user_id ) { // Don't send notifications to the person who made the post if ( !empty( $reply_author ) && (int) $user_id === (int) $reply_author ) continue; // For plugins to filter messages per reply/topic/user $message = sprintf( __( '%1$s wrote: %2$s Post Link: %3$s ----------- You are receiving this email because you subscribed to a forum topic. Login and visit the topic to unsubscribe from these emails.', 'bbpress' ), $reply_author_name, $reply_content, $reply_url ); $message = apply_filters( 'bbp_subscription_mail_message', $message, $reply_id, $topic_id, $user_id ); if ( empty( $message ) ) continue; // For plugins to filter titles per reply/topic/user $subject = apply_filters( 'bbp_subscription_mail_title', '[' . $blog_name . '] ' . $topic_title, $reply_id, $topic_id, $user_id ); if ( empty( $subject ) ) continue; // Custom headers $headers = apply_filters( 'bbp_subscription_mail_headers', array() ); // Get user data of this user $user = get_userdata( $user_id ); // Send notification email wp_mail( $user->user_email, $subject, $message, $headers ); } do_action( 'bbp_post_notify_subscribers', $reply_id, $topic_id, $user_ids ); return true; }November 14, 2014 at 3:27 am #154491Topic: No sidebar in the root of the forum!
in forum Troubleshootingchrischros34
ParticipantHi everyone, I need help, so I am appealing to the community.
I spent many hours trying to fix this display, but I can not.
Version of WordPress: 4.0
Version of bbpress: 2.5.4
Template: WP-CritiqueI can not be specific to the forum sidebar to the racine, but I have elsewhere (subjects, answers …).
Here is my forum http://www.googland.fr/forums/
I carefully followed the help provided on https://codex.bbpress.org/step-by-step-guide-to-setting-up-a-bbpress-forum/ (part 8), I have certainly misunderstood.I created my bbpress.php based on page.php, here is the code.
<?php get_header(); ?> <?php global $wp_query; $postid = $wp_query->post->ID; ?> <div id="page" class="clearfix"> <div id="contentleft"> <?php if ( get_post_meta( $postid, 'post_featcontent', true ) == "Narrow Width Featured Content Slider" ) { ?> <?php include (TEMPLATEPATH . '/featured-narrow.php'); ?> <?php } ?> <?php if ( get_post_meta( $postid, 'post_featgalleries', true ) == "Yes" ) { ?> <?php include (TEMPLATEPATH . '/featured-galleries.php'); ?> <?php } ?> <div id="content" class="maincontent"> <?php if ( function_exists('yoast_breadcrumb') ) { yoast_breadcrumb('<p id="breadcrumbs">','</p>'); } ?> <?php include (TEMPLATEPATH . '/banner468.php'); ?> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div class="post clearfix" id="post-main-<?php the_ID(); ?>"> <div class="entry"> <h1 class="page-title"><?php the_title(); ?></h1> <?php if ( get_post_meta( $post->ID, 'video_embed', true ) ) { ?> <div class="single-video"> <?php echo get_post_meta( $post->ID, 'video_embed', true ); ?> </div> <?php } ?> <?php the_content(); ?> <div style="clear:both;"></div> <?php wp_link_pages(); ?> </div> </div> <?php endwhile; endif; ?> </div> <?php include (TEMPLATEPATH . '/sidebar-narrow.php'); ?> </div> <?php get_sidebar(); ?> <?php get_footer(); ?>Can anyone tell me how to edit the file and what I have to put into it.
I would be very grateful for help.
Thank youNovember 13, 2014 at 7:51 pm #154509In reply to: BBPress/CoursePress conflict
Robkk
Moderatorif there really is an issue
ask that plugins author for compatibility with bbPress in a future update
November 13, 2014 at 7:41 pm #154508In reply to: bbpress iphone compatibility problems
Robkk
Moderatortry this
this removes some black padding when you reach a device width of 480px
15px or a little bit less should be good.
if you want more just change 15px to whatever you want.@media only screen and (max-width: 480px) { .site { box-shadow: 0px 2px 6px rgba(100, 100, 100, 0.3); margin: 48px auto; max-width: 960px; overflow: hidden; padding: 0px 15px; } }this makes your bbpress forums full width
@media only screen and (max-width: 480px) { .site-content { background: none repeat scroll 0% 0% transparent; float: left; min-height: 150px; width: 100%; } }if you made a bbpress.php file put
.bbpressin the begginning so it would be.bbpress .site-contentmore on creating a bbpress.php file.
-
AuthorSearch Results