Search Results for 'codes'
-
Search Results
-
Hello and thanks in advance for the help. I am new to bbpress.
I have been looking for a way to arrange my bbpress page to look like the https://bbpress.org/forums/
With a short description of each forum on the left hand column and the list of recent topics on the right.
Is this done with shortcodes or css or will it require development? if it is shortcodes, can someone share them with me?
Thanks!
When members on my site are pasting text into a post, it’s showing up as a bunch of code with HTML tags. If I paste the same text as an admin, it shows up fine. I’d like it to either work for them like it works for me, or to at least strip out the tags and show plain text. Help? Thanks.
For example, they paste text that shows up like this:
<div class=”section-block” style=”margin: 0px 0px 30px; padding: 0px; border: 0px; outline: 0px; font-size: 13px; vertical-align: baseline; background: #fbfbfb; color: #222222; font-family: ‘Open Sans’, sans-serif;”> <h2 style=”margin: 0px 0px 10px; padding: 0px; border: 0px; outline: 0px; font-size: 20px; vertical-align: middle; background: transparent; color: #000000;”>Getting Started</h2> <p style=”margin: 0px 0px 10px; padding: 0px; border: 0px; outline: 0px; vertical-align: baseline; background: transparent;”>New to BuddyPress? Not sure where to begin? <i style=”margin: 0px; padding: 0px; border: 0px; outline: 0px; vertical-align: baseline; background: transparent;”>Getting Started</i> is here to help! Everything you need to know about setting up your new BuddyPress powered site is here from installing and activating to setting up Extended Profile fields.</p> </div> <div class=”section-block” style=”margin: 0px 0px 30px; padding: 0px; border: 0px; outline: 0px; font-size: 13px; vertical-align: baseline; background: #fbfbfb; color: #222222; font-family: ‘Open Sans’, sans-serif;”> <h2 style=”margin: 0px 0px 10px; padding: 0px; border: 0px; outline: 0px; font-size: 20px; vertical-align: middle; background: transparent; color: #000000;”>BuddyPress Features</h2> </div>
And I paste it and it shows up as normal text (with proper styling/formatting):
Getting Started
New to BuddyPress? Not sure where to begin? Getting Started is here to help! Everything you need to know about setting up your new BuddyPress powered site is here from installing and activating to setting up Extended Profile fields.BuddyPress Features
I’m trying to figure out how to add shortcodes/bbcode to my bbpress website. I used to do this a lot with phpbb, but I can’t figure out how to do it with bbpress.
I want my users to be able to type in [card]Serra Angel[/card] and have the posted code be <div class=”card”>Serra Angel</div>.
How can I add this? Ideally, it would reside in forum posts as button, much like the LINK IMG CODE etc buttons.
Topic: Shortcodes not working
I created a site using buddypress. The shortcodes like [bbp-login], [bbp-register], [bbp-lost-pass] not working. It just shows the shortcode. I tested it with the theme Twenty Seventeen and NO other plugin installed. WordPress 5.1.1, PHP 7.3 (tested also with 5.6 and 7.2), and Buddypress 4.2.0.
You can see it here: https://bbpress.at-creation.ch/login/
Thanks for your help.Hello,
BBPress is running great on this site but if a visitor is a guest and clicks a topic to view the content, they are redirected to the home page. We are using WordPress pages with shortcodes to manage the forum.
If you view the sample forum and click the I’m In topic it goes to the home page as guests. We need guests to be able to see the topic info to decide if they want to join.
Any info would be great, here is the page:
<a href=”http://www.raptureintheairnow.com/forums/main-forum/”
Thank you.
WP : 5.0.2
bbPress : 2.5.14
Theme : Custom (built with _S)Hi everyone,
Im having some issues in my custom theme.
I have a custom register page where I put this code :<?php echo do_shortcode( ‘[bbp-register]‘ ); ?>
The thing is, I don’t want the user to be redirected to my wp-login page after registration, for obvious security reasons.
I had a look to some codes but non of them fit to my issue.
Do someone have any idea ?
Cheers,Chaaampy.
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'; ?>
Hello
New to bbpress “to be honest I have always used wpForo” and I am finding it to be far far easier than this bbpress option and a much cleaner appearance, where I would of had wpForo up and running in less than 30 minutes, I have been working on this bbPress for 2 days now and still now where near making it usable to frontend members”But here I am giving you guys the benefit of the dout as my current needs require something a little different.
My issue not displaying the profile page as that is childs play to do but to get the /user page edited so that it all properly aligns https://support.ozy.net.au/support-forums/users/dummy/Now click on this link https://support.ozy.net.au/support-forum/ to login.
I have created a dummy account that I will leave active for a few days giving you change to have a look
UN – dummy@yours.com
PW – 1dummytest1I understand/know these are widgets but my issue is not being able to access this USERS page to make any changes and i can’t seem to find it anywhere in the system or cPanel file system.
I also have the same issue with another plugin but just can’t find it right now.
This “bbp Topic Count” plugin also doesn’t work as no shortcodes displayed here actually work
Thi scan be seen here https://support.ozy.net.au/top-users/ at it should appear above the profile you see there “considering you do see that profile from your end that is”Having said this I have spent the last 2 days looking online at options and ways around all these things but most of what you find is so outdated and the rest in most part doesn’t work.
I am creating this for a network which means just setting it up is a big job without the hassles this plugin is giving me and the last thing I need is constant maybe’s and what if’s so either this plugin works or it doesn’t. Not trying to be rube just very direct in my needs.
Hope you can help.
CheersHELP: WP 4.9.8; bbPress 2.5.15; site: azor.vip
Hello, I am a senior citizen noob building a one-off site. I wish to post admin questions from my backend what will appear live on my site.
I have written my post and clicked on Published. Nothing happens. Some time ago when I asked this same question, I was told to do something with shortcodes. I became frustrated because I don’t know what a shortcode is, where I find it, and what I do with it. So I am re-visiting my original question.
I would be very grateful if you could give me some steps.
i want to show forums on my own theme but i don’t know how. does bbpress provide shortcodes?