Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'codes'

Viewing 25 results - 401 through 425 (of 1,700 total)
  • Author
    Search Results
  • #178316
    Robkk
    Moderator

    It works fine for me, remember to use a topic tags id instead of a name.

    [bbp-single-tag id=$tag_id] – Display a list of all topics associated with a specific tag. eg. [bbp-single-tag id=64]

    https://codex.bbpress.org/features/shortcodes/

    To find a topic tags id, you can go to Topics > Topic Tags in the WordPress backend, then edit a topic tag and look at the url. You should see something like this. You can also hover over each edit link and look at the bottom left and see the same url appear. You will see tag_ID=(number).

    yoursite.com/wp-admin/term.php?taxonomy=topic-tag&tag_ID=4&post_type=topic&…

    To make it easier to find an ID of a post, tag, user, you can also install the Reveal IDs plugins to add a column to tables that show the ID.

    #178256
    Scopique
    Participant

    I am trying to get bbPress to work with a theme that doesn’t have support for/within bbPress, and can fake it using custom Admin-created pages and shortcodes, and would also like to know this.

    #178145
    Robkk
    Moderator

    Email address is required to post using anonymous/guest posting.

    In this stackoverflow topic, there is a php codesnippet/plugin you can use that might be helpful.

    http://wordpress.stackexchange.com/questions/131550/how-do-i-set-up-real-anonymous-posting-in-bbpress-forums

    #177781
    evanevans333
    Participant

    Oh my goodness! haha. That’s quite the coincidence, or is it? 🙂

    Regarding your widgets and shortcodes, yes I am aware, but prefer to use my current widgets. The ultimate problem though is how it’s writing information into the Activity Stream in BuddyPress without said information staying under wraps.

    Would you like to provide me a link to your support forum for your plugin (wow man, great job), and we can continue discussing these potential improvements to your plugin over there?

    Best,
    Evan

    #177775
    Robin W
    Moderator

    ok.

    I am the author of the private groups plugin, which I wrote to get over the limitations of bbpress. I have no relationship to bbpress, and can only work with what bbpress gives me, hence we end up with something that is ‘public’ and then using a plugin to make it private.

    …so those Activities are showing up in widgets and shortcode locations and archives as public information

    In the private groups plugin there are shortcodes and widgets that work with my plugin to hide stuff, go into

    Dashboard>settings>bbp private groups

    and look at the ‘widget warning’ and ‘shortcode warning’ tabs you will see the replacements.

    #177708
    Robin W
    Moderator

    @Robkk

    I usually do not say use a “forums page” as it is not recommended during setup

    1. Can’t see where it is not recommended -Indeed in dashboard>settings>forums it says “Customise your Forums root. Partner with a WordPress Page and use Shortcodes for more flexibility.”

    2. There’s a massive difference between recommending something and saying ‘it is not recommended’ As far as I know bbPress is just neutral – either works fine.

    r083r7
    Participant

    I noticed that when you go to the root forum it displays all the forums to the user. Not a desired effect. I am using shortcodes and spreading my forums on different pages and some are only available to certain user roles. BUT if someone goes to the root forum they see it all.

    How would I prevent this from happening? Is there a way to maybe hide the root forum or possibly some other way to go about this.

    #177472
    Robkk
    Moderator

    @aviazz

    You already should have a way to view topics with no replies. By default bbPress has a feature called Views. It allows you to display topics with various different arguments. Topics with no replies should be one of the 2 default views which are Most popular topics and Topics with no replies

    You can link to the existing page using the Topic Views widget in your sidebar, or you can use a shortcode already provided by bbPress to display a view shortcode in a page and add it to a menu. You can also also instead add a custom link to a menu in the menus section in Appearance > Menus if you do not need to use a shortcode in a page.

    The widget is called the Topic Views widget that you will be able to see in Appearance > Widgets or you can manage your sidebars using the Customizer API in Appearance > Customize in the WordPress backend.

    https://codex.bbpress.org/features/widgets/

    The shortcode you would want to use is [bbp-single-view id='no-replies']

    https://codex.bbpress.org/features/shortcodes/#views

    If for some reason you may not already have the default view. See if its related to a theme/plugin function removing the default view by troubleshooting.

    Plugin Troubleshooting

    https://codex.bbpress.org/getting-started/troubleshooting/#plugins

    Theme Troubleshooting

    https://codex.bbpress.org/getting-started/troubleshooting/#themes

    If its not a theme/plugin issue we can check to see if its a possible bug causing an issue.

    #177469
    Robin W
    Moderator

    I’ve just added that capability to one of my existing shortcodes in my style pack plugin, so if you install

    https://wordpress.org/plugins/bbp-style-pack/

    and then see

    Dashhboard>settings>bbp style pack>shortcodes for a description of how to use it in detail, but

    [bsp-display-topic-index noreply='true']

    used in a page will get you what you want

    #177455
    smartIt
    Participant

    Hi,
    I created a forum, his id is 3569159-2 and it contains one topic.

    in this page of my website http://radiotounsi.com/?page_id=4862
    I tried to display this forum by using the shortcode [bbp-single-forum id=$3569159-2] but nothing is displayed, but other bbpress shortcodes work just fine like [bbp-forum-index] and [bbp-login]
    I switched the theme to twenty sixteen for testing purpose, same problem

    #177179

    In reply to: return to index

    Robin W
    Moderator

    ok that code looks like shortcodes used with your theme.

    suggest you switch back to your theme.

    can you post a link to your site?

    #177167
    Jake Hall
    Participant

    Hi,

    This is not an issue, it is a feature of the plugin you downloaded, installed and then enabled. That specific part of the plugin (the whitelist) is disabled by default, so you have enabled it yourself.

    Please read the text that is provided alongside the options in the plugin.

    The solution to this without editing the file is to simply disable the whitelist, or add the shortcodes that aren’t being displayed into the whitelist. You can do that within the ‘Extras’ tab.

    – The Plugin author.

    #177004
    Robin W
    Moderator

    2. Changing the titles

    The part that says ‘forum’ is harder – this is part of the template, so different title would require recoding that template. If you are up with changing php files, I’ll look at how easy that is

    However I suspect you have dome that layout using shortcodes? If so then you could just put a header in your page for each – not as neat but perfectly functional. If not let me know how you have done the layout.

    #176738
    Robin W
    Moderator

    1. create a page
    2. put one of these two shortcodes in it

    [bbp-topic-form] – Display the ‘New Topic’ form where you can choose from a drop down menu the forum that this topic is to be associated with.
     [bbp-topic-form forum_id=$forum_id] – Display the ‘New Topic Form’ for a specific forum ID.

    3. add the page to your menu

    #176605
    Dysschord
    Participant

    I have tried searching, and haven’t found this issue. I may not be using proper terms.

    The email notifications are being sent just fine. However, they all are proceeded by a bunch of characters, i.e. similar to the following (plus there are strange codes within the email itself)

    =?UTF-8?Q?ly=20To:=20Safety=20in=20Chir?==?UTF-8?Q?iqui?=
    MIME-Version: 1.0
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: quoted-printable

    The subject lines are fine. However, there are also lines of the notification showing extraneous codes and line breaks in strange places, including middle of a word, like the following:

    A new reply has been posted by a user. Please login to read full p=
    osting and respond.
    IMPORTANT: You cannot reply to forum postings via email. You must be logged=
    in to reply.=20

    Lastly, the end of the excerpts show codes too, such as =E2=80=A6

    Using latest version of WP and plugin.

    #176483
    pleyades38
    Participant

    Wordpress version: 4.5.3
    bbPress version: 2.5.10
    theme: Zippy Courses
    site: http://escuela.palabrasalavida.com/forums/forum/el-yoga-de-las-palabras/

    Hi,

    Pleased I’m stuck with this. I have my WordPress installed in es_ES, I have translated the Zippy Courses theme without problems and now I am trying to translate the bbpress pluging by copying the es_ES.mo file into the languages folder and it doesn’t work. The plugin is not getting translated.

    I have tried to do it using the plugin “Codestyling localization” and I get this message:

    Loading Issue: Author is using load_textdomain instead of load_plugin_textdomain function. This may break behavior of WordPress, because some filters and actions won’t be executed anymore. Please contact the Author about that.

    Any hints?

    Thanks for your help!

    khunmax
    Participant

    Thanks for your assistance and prompt reply.

    It would seem that a good deal of my agony was caused by an error in the documentation page for this website:

    I went to:

    Shortcodes

    Under the subheading “views” I copied the shortcode and then pasted it into the text of my WP page. It appeared as follows:

    [bbp-single-view id=’popular’]

    I then lost hours trying to get the list of popular posts to appear. Instead I just kept getting the oh bother message.

    Turns out that the shortcode has dodgy apostrophes. Once I edited those the shortcode worked:

    [bbp-single-view id='popular']

    This is a very nasty black hole for those that are unaware.

    #176102

    Topic: I am Newbie

    in forum Installation
    newbiezo
    Participant

    Hey community!
    I just joined BBPress a day ago, and completely alien to it. I basically want to understand how can you increase font size for the forums as its pretty small. Also if you are telling me to do with CSS. Please tell me where can I find CSS and how can I do it? Where to paste codes, I am in urgent help, please support!
    Heres my community https://www.evilgamers.gq

    #176028
    Robin W
    Moderator

    This plugin has a shortcode that lets you display recent topics by forum or forums

    https://wordpress.org/plugins/bbp-style-pack/

    see dashboard>settings>bbp style pack>shortcodes for options

    #175755
    Themezly
    Participant

    I am working on a theme and need to deque all bbpress scripts and enque my own if I am on forum pages. This is what I used to start with

    	if( !is_admin() ){ 
    		/**
    		 *	Replace bbpress style with our own
    		 *  @internal
    		 */
    		function _thz_action_bbpress_style() {
    			
    			wp_dequeue_style( 'bbp-default' );
    			
    			if (is_bbpress()){
    				
    				wp_enqueue_style( THEME_NAME. '-bbpress' );	
    		
    			}
    			
    	
    		}
    		
    		if (function_exists('is_bbpress')){
    			add_action( 'wp_enqueue_scripts', '_thz_action_bbpress_style' );
    		}
    		
    		
    	
    	}

    issue with this is that is_bbpress() is not recognized on pages that use any bbpress shortcodes like

    [bbp-forum-index]

    Can someone please provide a working conditional that runs only on forum pages and not throughout the whole site. Thnx!

    Robkk
    Moderator

    This is the bbpress.php file that you would need and its required code.

    https://gist.github.com/robkk/a89e6cff104f70556f52c6df3f6b69b0

    This is the custom CSS you will need.

    .bbpress .main-inner,
    .bbpress .main {
      background: none !important;
      padding-right: 0 !important;
      padding-left: 0 !important;
    }

    This will not work for pages with bbPress shortcodes though.

    But you can work around that since most shortcodes are supposed to be placed in pages, you can create another template just for full width layouts in your theme. You can use this whenever you create a new page and select the template to use for your page.

    To create a full-width template, you can literally just copy the bbpress.php file I created for you, rename it to full-width.php, put it in your child theme, now you need to edit the file and place

    <?php
    /*
    Template Name: Full-Width
    */
    ?>

    right above

    <?php get_header(); ?>

    You will need more custom css for any page using this template in your theme and it should be

    .page-template-full-width .main-inner,
    .page-template-full-width .main  {
      background: none !important;
      padding-right: 0 !important;
      padding-left: 0 !important;
    }

    If you plan to use both, just combine the two custom CSS statements, and now you should be good to go.

    #175677
    winrarz
    Participant

    SOLUTION!

    REMOVED:
    add_filter( 'bbp_get_reply_content', array( $this, "shortcode_whitelist" ) );
    FROM PLUGIN:
    bbPress Advanced Statistics, file: class-bbpress-advanced-statistics-extras.php
    CAUSE:
    Breaks the loading of shortcodes.

    I’m hopeful this will help someone else. It seemed to be a problem with the bbPress Advanced Statistics plugin.

    #175675
    winrarz
    Participant

    It seems to me that this is the problematic code:

    in content-single-topic.php

    		<?php if ( bbp_has_replies() ) : ?>
    			<?php bbp_get_template_part( 'pagination', 'replies' ); ?>
    			<?php bbp_get_template_part( 'loop',       'replies' ); ?>
    			<?php bbp_get_template_part( 'pagination', 'replies' ); ?>
    		<?php endif; ?>

    If I remove this code block, all of the shortcodes start working.

    UPDATE 1:
    More specifically, this is the exact row that the problem appears at:
    <?php bbp_get_template_part( 'loop', 'replies' ); ?>

    UPDATE 2:
    I followed the problem down to..
    in file loop-single-reply.php
    <?php bbp_reply_content(); ?>

    If I remove this line, the shortcodes starts magically working.

    #175674
    winrarz
    Participant

    Hello,

    We have a problem on our site with loading shortcodes on /topic/ pages, as you can see in the link below:
    http://www.futsverige.se/forums/topic/test/

    However, the shortcodes work everywhere else. So the problem seems to be within bbPress suppressing the do_shortcode() calls from the theme.

    Anyone knows what could cause this or point us in the right direction on how to circumvent it?

    Thanks

    #175622
    Zimm
    Participant

    So, really, I have a two-part question. First, I’d like to add some new roles. I’ve read and looked all over the place without any real answer. I know what codes to use per the documentation. That said, I’m not sure which file to place them in and that’s the part I can’t find definitive answers on. If someone could direct me which directory and file to add it to that’d be great. I already know not to do it to the BBpress core files.

    Also, is there a way to assign specific moderators to specific boards. Say a user is a moderator, but I don’t want them to moderate all boards, just specific boards. Is that possible?

Viewing 25 results - 401 through 425 (of 1,700 total)
Skip to toolbar