Search Results for 'bbpress'
-
Search Results
-
WP : 5.0.2
bbPress : 2.5.14
Theme : Custom (built with _S)Hi everyone,
Im trying to build a custom tinyMCE menubar in my forums.
I disabled the text editor and get to a pretty nice ending, but I don’t know why, I just can’t display the “media” and the “emoticons” button.Here is my code :
function bbp_enable_visual_editor( $buttons = array() ) {
$buttons[‘quicktags’] = false;
$buttons[‘tinymce’] = array(
‘toolbar1′ =>’bold, italic, underline, strikethrough, blockquote, bullist, numlist, link, unlink, cleanup, media, image, emoticons’);
return $buttons;
}add_filter( ‘bbp_after_get_the_content_parse_args’, ‘bbp_enable_visual_editor’ );
Other ones are working fine … Any idea ? Im also trying to build a custom spoiler button, without plugins, but I don’t know where to start either …
Cheers,
Champy.
I am trying to allow users to embed videos by using links such as Youtube. When I do so the videos appears but is cut off because the box is to small to fit the iframe that is added to the site when wordpress adds the embed code. You can see an example here: http://b67.3d8.myftpupload.com/no-shift/topic/messed-up-divorce/
I did some searching and found some CSS that doesn’t work either. Basically it adjusts the width but breaks on the height.
.bbp-reply-content { overflow:hidden; padding-bottom:56.25% !important; position:relative; height:0; } .bbp-reply-content iframe{ left:0; top:0; height:100%; width:100%; position:absolute; }
Is there a way to make the WordPress auto embed code responsive in BBPress?
Topic: forum moderator role
Hi
i am new to bbpress in forum bbpress roles moderator has capability to edit forums but in my site i have moderator role but does not have access to edit forum i have even used advanced capabilties plugin no use, somebody help me pleaseHi all, very new to this!
I have setup a bbPress forum and my front page has two separate search boxes (one on the top and one to the right)
Both of these searchboxes return search results for non-members (although they cannot click the search results once they appear) is there a way to remove search results for users who have not signed in/managed to find a way to our forum?
Hello, please help
why i can upload 2.9mb photo and cannot upload 1.9 jpeg?
i get The image could not be uploaded. Please check that it is a valid JPEG, PNG, or GIF file and that the file size is not too large.i was able to upload it in media library like admin, but on forum not.
bbpress 2.5.13
Topic: bbpress language resets
Hello.
I am have successfully setup bbpress using the “second” method.
My site is multi-language (en/he/ru) so I have a different page for each “forum” page so it has a different language. For example
site.com/en/forum <- English version.
site.com/he/forum <- Hebrew version.
Each of this pages has the “[bbp-forum-index]” tag, bbpress appears on the correct page language and I can see the translation is working.The problem is that as soon as I click any link inside the bbpress, the language immediately switches to English.
How can I configure bbpress to maintain the language ?
I am using Polylang as the translation plugin. (WPML compatible)
Thank you.
Hello,
I have problem. I have on website bbPress with demo data but when i chose some forum or some subpage it’s blank. https://gamenice.sk/forum/
functions.php
<?php show_admin_bar(false); ini_set('display_errors', 1); ini_set('display_startup_errors', 1); error_reporting(E_ALL); function theme_enqueue_scripts() { $template_directory_uri = get_template_directory_uri(); wp_enqueue_style( 'reset', $template_directory_uri . '/assets/css/reset.min.css', false, '1.0' ); wp_enqueue_style( 'app', $template_directory_uri . '/assets/css/app.min.css?v=' . time(), array( 'reset' ), '1.0' ); wp_enqueue_style( 'forum', $template_directory_uri . '/assets/css/forum.min.css?v=' . time(), array( 'app' ), '1.0' ); wp_enqueue_script( 'html5shiv', $template_directory_uri . '/assets/js/html5shiv.min.js' ); wp_script_add_data( 'html5shiv', 'conditional', 'lt IE 9' ); wp_enqueue_script( 'selectivizr', $template_directory_uri . '/assets/js/selectivizr.min.js' ); wp_script_add_data( 'selectivizr', 'conditional', 'lt IE 9' ); wp_enqueue_script( 'jquery', $template_directory_uri . '/assets/js/jquery.min.js', false, '3.3.1' ); wp_enqueue_script( 'app', $template_directory_uri . '/assets/js/app.js', array( 'jquery' ), '1.0' ); wp_localize_script( 'app', 'carouselSettings', array( 'timeout' => get_option('carousel_timeout').'000' ) ); } add_action( 'wp_enqueue_scripts', 'theme_enqueue_scripts' ); function get_excerpt($where = ''){ $excerpt = get_the_content(); $excerpt = strip_shortcodes($excerpt); $excerpt = strip_tags($excerpt); switch ($where) { case 'carousel': if ( wp_is_mobile() ) $excerpt = substr($excerpt, 0, 120); else $excerpt = substr($excerpt, 0, 250); break; case 'head': $excerpt = substr($excerpt, 0, 200); break; default: if ( wp_is_mobile() ) $excerpt = substr($excerpt, 0, 300); else $excerpt = substr($excerpt, 0, 725); break; } $excerpt = substr($excerpt, 0, strripos($excerpt, " ")); $excerpt = $excerpt.'...'; return $excerpt; } function get_thumbnail_url() { $thumbnail = get_the_post_thumbnail_url() != '' ? get_the_post_thumbnail_url() : get_template_directory_uri() . '/assets/img/og-image.png'; return $thumbnail; } function themename_custom_logo_setup() { $defaults = array( 'height' => 111, 'width' => 220, 'flex-height' => true, 'flex-width' => true, ); add_theme_support( 'custom-logo', $defaults ); } add_action( 'after_setup_theme', 'themename_custom_logo_setup' ); add_theme_support( 'post-thumbnails' ); function register_my_menus() { register_nav_menus( array( 'header-menu' => __( 'Header Menu' ), 'footer-menu' => __( 'Footer Menu' ) ) ); } add_action( 'init', 'register_my_menus' ); function show_menu($menu_name) { $defaults = array( 'theme_location' => '', 'menu' => $menu_name, 'container' => '', 'container_class' => '', 'container_id' => '', 'menu_class' => $menu_name, 'menu_id' => '', 'echo' => true, 'fallback_cb' => 'wp_page_menu', 'before' => '', 'after' => '', 'link_before' => '', 'link_after' => '', 'items_wrap' => '<ul class="inline-list %2$s">%3$s</ul>', 'depth' => 0, 'walker' => '' ); wp_nav_menu($defaults); } include 'inc/theme-settings.php';
forum.php
<?php include 'header.php'; ?> <section class="forum-wrapper"> <div class="container"> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <?php the_content(); ?> <?php endwhile; endif; ?> </div> </section> <?php include 'footer.php'; ?>
Topic: Forum Description Not Saving
Wordpress version -5.0.2
bbpress – 2.5.14I have been trying to add a description to my forum but it doesn’t save.
WP : 5.0.2
bbPress : 2.5.14
Theme : Custom (built with _S)Hi everyone,
Im trying to simply display the number of “points” earned by the current user (points = replies + topics), but outside the profile page (in my header actually, so basically on my whole website).
Here is what I tried :
<?php
$topics = bbp_get_user_topic_count_raw();
$replies = bbp_get_user_reply_count_raw();$totalTopics = $topics * 5;
$totalsReplies = $replies * 2;$points = $totalTopics + $totalsReplies;
echo ” points = $points.”;
?>
When Im on the user’s profile page, this code worked lovely, but when Im outside of this page, anywhere on my website, it displays nothing.
Any idea of what is exactly my issue ?Cheers,
Chaaampy.
Hello there
I love bbpress. But schema doesn’t support it. Is there a study on this topic?Topic: Kunena 5 to bbpress
Hi All just wondering if there are any tools out there to migrate from Kunena 5 to bbpress, want to get away from joomla and move to wp. I see the tool supports Kunena3 but don’t seem to have any success with v5
Many Thanks
ChrisHello,
I am using the Ronneby theme by dfd on my site. It has a footer section that lets me put a page (like my contact form page) in the footer of my site but on my forum pages, it shows up as strings rather than what it should actually look like… is anyone else having this problem? How can I fix it?
Topic: Handling of links
Hi
Handling of links behaves a little bit annoying
- When transforming link as blockquote, bbPress strip off anchor.
- Linking to external bbPress page, bbPress does not add target=”_blank” to the link, which is annoying.
- bbPress doesn’t always convert link to another bbPress-page as iframe (see. https://www.sanaristikkofoorumi.net/wordpress/forums/topic/ongelmia-visuaalisen-editorin-kanssa/#post-9373 – there first the link to this site was first inside a blockquote, but next time inside iframe.
I am using the “bbPress Custom Reply Notifications” plugin to send bbPress emails. I’m able to use “author” placeholder/token successfully, so the author’s name appears in the sent email when a new topic or reply is posted.
Is there a placeholder for “username” to indicate the username of the person the email is being to?
I thought this would be great, as some people forget they signed up the forum and get an email weeks months later. Having “hi username…” would help them remember it’s something they signed for and not a spam, and it more personable.
Thanks for any suggestions.