Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'codes'

Viewing 25 results - 251 through 275 (of 1,693 total)
  • Author
    Search Results
  • #202171
    maksanse
    Participant

    Hello John,
    Thank you for your answer !
    Here is a small video to show you my issue : https://www.dropbox.com/s/wcfqnysi7esby74/bbpress-shortcode-pages.mp4?dl=0

    I think the issue comes from my LearnDash plugin because the pages where I include the shortcodes are handled by LearnDash.

    Here is for example an anonymized url where the shortcode doesn’t work as expected:
    https://QQQ.com/formations/QQQ/modules/module-4-sketchnoting/chapitres/chapitre-1-QQQ/

    The “page/2/” added to the url when cliking to the link (https://QQQ.com/formations/QQQ/modules/module-4-sketchnoting/chapitres/chapitre-1-QQQ/page/2/) doesn’t go to the wanted page, it create an error 404.

    The best that could happen here would be to be able to link the pagination buttons to the dedicated forum page, but I don’t know if it is possible…

    Best regards and thank you for your help!

    #202132

    bbPress.org uses shortcodes on a few archive pages, but in a way where the pagination links already naturally match the permalink & slug structure.

    Can you reply and include an anonymized version of the pagination structure that you’re seeing?

    #202107
    Robin W
    Moderator

    bbpress just uses WordPress registration, so anything that does WordPress registration will work fine, including many free custom add-on plugins

    you can also use the bbpress registration shortcode on a page

    Shortcodes

    #201530
    Danishsard
    Participant
    deafmetal
    Participant

    Forum Index (does same thing when using shortcodes), Child Forum, and Topics:
    Lost Header

    After upgrading to 2.6 RC 7, and doing forum repairs, I lost the header, categories and formatting for my forum index and child forums. The topics work just fine still.

    To troubleshoot, I deactivated all plugins, removed bbPress, activated the default 17 theme, and removed my primary theme. If I re-install/activate bbpress, the index and children headers then show up, albeit without the default styling.

    So I reinstalled my theme (which has native bbpress/buddypress support built in), re-activated bbpress, and the headers/categories/formatting disappeared again.

    I wanted to think it was a css issue, but I had re-installed everything fresh. So it appears something corrupted my database, tied specifically to my theme. Any recommendations for how to “fix” the repairs and undo the damage?

    For the life of me I cannot figure out how to fix this without a wholesale home home directory and sql db restoral. But I’d lose WEEKS of edits and css customization. Ughh

    Thank you in advance!!

    BizDev Results
    Participant

    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!

    #200569
    bdd
    Participant

    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

    #200520
    spellman
    Participant

    That’s for popular bbcodes, but it doesn’t let you make your own. =(

    #200488
    spellman
    Participant

    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.

    #199828
    atcreat
    Participant

    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.

    #199219
    Robin W
    Moderator

    sure it’s in

    \bbpress 2.5.13\includes\common\shortcodes.php

    #199041
    rngeer
    Participant

    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/&#8221;

    Thank you.

    #198793
    w3215
    Participant

    Sorry–I think there was a typo earlier. The shortcodes are here:https://codex.bbpress.org/features/shortcodes/

    Shortcode for create new topic page: [bbp-topic-form]
    for new topic specific to an id: [bbp-topic-form forum_id=$forum_id]

    #198792
    w3215
    Participant

    Hi There. I am new to bbpress, but I had a similar requirement, and I believe the following works:

    1) Create a page where users can create a new topic. To do this, you can use one of these shortcodes: for new topic page: [bbp-topic-form]
    for topic specific to forum id: [bbp-topic-form]

    2) Put a link to this page in the menu. (so in your menu, have a “Create a New Topic” link that takes you to the new topic page).

    #197668
    chaaampy
    Participant

    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.

    #197571
    Robin W
    Moderator

    not totally sure what you are trying to do, but you could create a page and out the following shortcodes in it

    [bbp-single-topic id=$topic_id] 
    [bbp-forum-index]
    

    where $topic_id is the topic you want at the top.

    If you just want some basic rules, then you can create this as text and put it on a page above the [bbp-forum-index]

    #197533
    gamersk
    Participant

    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'; ?>
    
    #197494
    odevbul
    Participant

    @Robin I did that. Can I add codes to those who want to?

    #197144
    phil1ooo
    Participant

    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 – 1dummytest1

    I 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.
    Cheers

    #196089
    19dapperdrake53
    Participant

    HELP: 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.

    #195844
    marketing050
    Participant

    Okay, i used shortcodes for pages and redirected the index to these specific pages. But now the different users can’t see the specific topics. They are listed in the index with all the topics, but when you click further on a specific topic, I still get an 404 error. How do i change this?

    #195196
    jd-fb
    Participant

    I was wondering if there were a way to not have a topic’s content appear in its own box at the top of the reply list. Ditto for the forum content (in other words, the HTML that output using bbp_topic_content() and bbp_forum_content() respectively).

    The built-in bbPress styling shows the topic and forum content in a box that has the same (or very simiar) styling as replies. In my case, I’d like to remove the box so that the content appears as though it’s the lead-in text of a page (with H2s, H3s and so forth) with the replies + reply form below.

    Can someone point me in the right direction?

    Idea / potential solution 1)
    I found that I can do this:

    add_action ('bbp_template_before_single_topic', 'show_text');
    function show_text() {
    	ob_start();	
    	echo '<div class="my_class">';
    	add_action ('bbp_get_topic_content', 'do_shortcode'); // added b/c the content may have shortcodes
    	bbp_topic_content();
    	echo '</div>';   
    	$output = ob_get_clean();   
    	echo $output;
    }

    But this results in the topic content appearing in both the “top” of the page (as I’d prefer) and in its box listed with the replies (which I’d like to remove).

    Idea / potential solution 2)
    I’m guessing there’s something I can do with a template. If so, can someone direct me to how my plug-in can override bbPress’s template? I haven’t done a lot of template work.

    Troubleshooting
    – All themes have this “extra box” issue.
    – Using WP 4.9.8
    – Using bbPress 2.5.14-6684
    – I’m working on a local site, so I can’t provide a link

    #195076
    gokberktalu
    Participant

    Is there a simple way to make the forum index page full width? I’ve searched the support forum and copied various CSS codes but nothing worked so far..

    #194514
    Helmuts
    Participant

    another sample of the latest forums page where the above mentioned bbcodes have been used: https://www.ibf.lv/svaigakas-foruma-zinas/ (Latvian business forum)

Viewing 25 results - 251 through 275 (of 1,693 total)
Skip to toolbar