Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 5,376 through 5,400 (of 32,577 total)
  • Author
    Search Results
  • #183064
    cocreationcoaching
    Participant

    In BBPress if no role is found, it defaults to Member. I found that much in the code.

    I solved it though. It wasn’t working as long as my code was in my theme’s functions.php. I had to actually add it to a custom plugin for it to work. Not sure why this was.

    cocreationcoaching
    Participant

    Hello,

    I added a function in functions.php to add some user roles.

    They are now available, but when I set them on a user, their user title on posts only says β€œMember”, instead of the name I set.

    Here’s my code:

    function add_custom_role( $bbp_roles ) {
      $bbp_roles['neophyte'] = array( 
        'name' => 'Neophyte I°',
        'capabilities' => bbp_get_caps_for_role( bbp_get_participant_role() )
      );
      $bbp_roles['adept'] = array( 
        'name' => 'Adept II°',
        'capabilities' => bbp_get_caps_for_role( bbp_get_participant_role() )
      );
    
      return $bbp_roles;
    }   
    add_filter( 'bbp_get_dynamic_roles', 'add_custom_role', 1 );

    How can I get the desired names to actually show up underneath those users?

    #183055
    Pascal Casier
    Moderator
    #183053
    Pascal Casier
    Moderator

    Hi,
    You might be better off asking in the support forum of that plugin (https://wordpress.org/support/plugin/addquicktag), but you will have to specify what does not work…
    – Do you see the custom type ‘topic’ and ‘reply’ in the settings of the plugin ?
    – Do you see the quicktags when you are adding a topic/reply ?
    – When you click on the button or in the dropdown, does some code show ?

    Because just a ‘it does not seem to work’ is very hard to give the correct support.
    Pascal.

    Pascal Casier
    Moderator

    Goede middag Jos,

    The translation is done centrally and changing it would change it for everybody in the (Dutch speaking) world. If you think it should be changed, feel free to join the #polyglots channel on the Dutch local slack that you can find on https://make.wordpress.org/polyglots/handbook/about/teams/local-slacks/

    If you want to change it only for your own website, I would just change the width adding some extra CSS like:

    .bbp-login-form label {
        width: 150px;
    }

    (you might need the !important to make it work)

    Pascal.

    #183011
    Alex Stine
    Participant

    Hello,

    I would like to include the following under a custom coded section of a forum topic. I would like to include all Moderators or Keymasters that have participated via a reply in a topic. I’m terrible with SQL and couldn’t find another way to do this. Any suggestions?

    Thanks.

    #182997
    Saravanan
    Participant

    One Month. Still i did not get solution. Any MyBB Intelligent is there ? Help me Please

    Repair any missing information: ContinueConversion CompleteNo threaded replies to convertNo anonymous reply authors to convertNo replies to convertNo favorites to convertNo topic subscriptions to convertNo topic tags to convertNo closed topics to closeNo super stickies to stickNo stickies to stickNo anonymous topic authors to convertNo topics to convertNo forum subscriptions to convertNo forum parents to convertNo forums to convertNo passwords to clearNo users to convertStarting ConversionRepair any missing information: Continue
    WordPress database error: [Specified key was too long; max key length is 1000 bytes]
    CREATE TABLE wp_bbp_converter_translator ( meta_id mediumint(8) unsigned not null auto_increment, value_type varchar(25) null, value_id bigint(20) unsigned not null default ‘0’, meta_key varchar(255) null, meta_value varchar(255) null, PRIMARY KEY (meta_id), KEY value_id (value_id), KEY meta_join (meta_key(191), meta_value(191)) ) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci
    No data to cleanStarting ConversionRepair any missing information: Continue
    WordPress database error: [Specified key was too long; max key length is 1000 bytes]
    CREATE TABLE wp_bbp_converter_translator ( meta_id mediumint(8) unsigned not null auto_increment, value_type varchar(25) null, value_id bigint(20) unsigned not null default ‘0’, meta_key varchar(255) null, meta_value varchar(255) null, PRIMARY KEY (meta_id), KEY value_id (value_id), KEY meta_join (meta_key(191), meta_value(191)) ) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci
    No data to cleanStarting ConversionRepair any missing information: ContinueConversion CompleteNo threaded replies to convertNo anonymous reply authors to convertNo replies to convertNo favorites to convertNo topic subscriptions to convertNo topic tags to convertNo closed topics to closeNo super stickies to stickNo stickies to stickNo anonymous topic authors to convertNo topics to convertNo forum subscriptions to convertNo forum parents to convertNo forums to convertStarting Conversio

    #182991
    u_Oi
    Participant

    It happens because you are creating two pages with the same url… I mean, bbpress has a root and also shortcodes, so you can create an index forum or main page forum using shortcodes but they always going to the root (/forums) and you also have a page called (/forums). You can see what I said if you try breadcrumbs from the topic to the root…

    #182982
    LP9086
    Participant

    Hello,

    I created a custom page for my bbpress forum index.

    I called it “/forums” (“forums” also my forums root slug).

    However, I can’t seem to customize the page in anyway with my sites page template.

    If I change the page’s permalink to something else (ex: “/forums2”), I’m able to customize it.

    What am I doing wrong here?

    #182980

    Topic: Copyright

    davidnator
    Participant

    Hi, I have a question about copyright. Is the code in the support forums free to use on my commercial site? Is there a license for this code?

    Also, is the code on this page free to use as well for my commercial site as I am not completely sure? Page: https://codex.bbpress.org/layout-and-functionality-examples-you-can-use/

    Thanks,
    David

    #182965
    Kristian Yngve
    Participant

    Okay, so i noticed it’s to do with the shortcode missing.

    The issue now is editing that page, which is being treated as an internal plugin page that cannot be edited.

    #182932
    ddevries
    Participant

    My search results don’t show the topic name…

    When the keyword is found in a topic, the search result shows the forum name and the topic description (no topic name).

    When the keyword is found in a reply, the search result shows just the reply and who wrote it. No forum, no topic. So, there’s no context. You can link via topic # in the upper right corner, but that’s not very user-friendly.

    Is this wacky display because of my theme? I’m using Razor. I have the latest bbPress. Can I change the code to display the search results similar to how you do it here on this support site, where it says “in reply to <topic name>”? If so, where can I do that?

    Thank you in advance for your help. πŸ™‚

    Darlene

    #182919

    In reply to: Responsive Issue

    arusli
    Participant

    i believe your theme css bypass responsive setting. find your theme css that especially control responsive css. could be in responsive.css. then find setting for:

    @media screen and (max-width: 480px) {
      .my {
         display:inline-block
      }
    }

    and replace to:

    @media screen and (max-width: 480px) {
      .my {
         display: block;
      }
    }
    #182914

    In reply to: Responsive Issue

    PrancingHorse
    Participant

    Does anyone know if this code still works? Also where do I post this to test it?

    Thank you! πŸ™‚

    #182912
    Mary
    Participant

    Sorry. I’ve been looking for this for hours now.
    And right after posting this I found solution.

     <?php the_widget( 'BBP_Forums_Widget'); ?> 
    

    And names for ready useable widgets can be found in bbpress/includes/common/widgets.php

    πŸ™‚

    #182911
    Mary
    Participant

    Hi
    I’d like to list all forums like widget does (nice looking list), but I’d rather do that in template. So how I should do it? Seems like there’s not suitable shortcode for that.
    Widget also recodnize user priviledges, so all users is not seeing all forums in list. That code or shortcode should also do that. Any advice?
    Regards, Mary

    oise73
    Participant

    Hi there,

    1. We have a parent forum with a bunch of child forums. I did check the “Allow forum wide search” box. On the main forum page, which is a regular WP page using the forum shortcode, the search bar is there. Screenshot: https://www.screencast.com/t/Rv4EB6POOG But on all of the actual forums, including the parent forum, the search bar is not there. Screenshot: https://www.screencast.com/t/byZD2Ua8h How do I make them show up?

    I did deactivate all plugins but bbpress, but the issue was the same.

    2. In each topic, there is the word “by”. Screenshot: https://www.screencast.com/t/XVRBrBIiz
    How do I make that go away? I am hesitant to do a display:none; in the CSS, because other parts of the site need that .entry-meta tag.

    Your help would be greatly appreciated!

    thanks!

    WordPress 4.7 changed the way that the logged-in user is loaded. More specifically, it changed the execution point in the code, in such a way, that bbPress needed a change to meet the new requirement.

    haddlyapis
    Participant

    Just to let you know, I pasted the shortcode for Prisna in the BBPress file ‘content-archive-forum.php’ in order to display the language options on the main forum page http://www.apis.de/forum

    haddlyapis
    Participant

    Hi, I have added the shortcode on my main forum page http://www.apis.de/forum to implement the Prisna Google Translator. This displays a drop-down list of languages to choose from. The problem is that it only translates that page and if i click on a forum topic, it reverts back to the website language.
    The advice from Prisna is to create a WordPress category for the forum. But I can’t do this, as BBpress doesn’t seem to provide this option on the topic pages.
    Any ideas?

    #182864
    steini92
    Participant

    Hello,

    I have insert the forum with a shortcode into a subpage:
    https://picload.org/image/rlicaiar/bild1.png

    But I don`t know who I can get the automatic generated subpages from bbpress into the same Design. I created the subpages with the Visual Composer, since they all look different. The forum should be displayed within the frame (see picture above).
    Currently, however, it looks like this:
    https://picload.org/image/rlicaiaa/bild2.png

    I hope you can help me.
    Thanks

    #182851
    DragoWeb
    Participant

    Hi Robin, and thanks a lot for your answer. I spent thours trying to achieve this but without success. The search just always returns results from all forums. I must confess I’m a beginner with PHP… But, is there any chance that this feature could be added in your “bbp additional shortcodes” plugin. Something like [bbp-search forums='10,12,15']. I just discovered your plugins on your website and you did an amazing work. Of course I’m ready to give some donation for that but I like to know if this is possible or not first πŸ™‚ But maybe it’s not as simple… Thanks

    #182834
    Stefan Sebechlebsky
    Participant

    I am experiencing exactly the same problem. BP Group Moderators do have capabilities like edit, close, merge, split topics or replies in the Group Forum but they do not see the textbox to assign or edit tags. I tried to show the box by hacking the files
    /wp-content/plugins/bbpress/templates/default/bbpress/form-topic.php
    and
    /wp-content/plugins/bbpress/templates/default/bbpress/form-reply.php
    by removing the condition “&& ( current_user_can( ‘assign_topic_tags’ )”
    but then the tags assigned in the box have not been saved, anyway.
    There must be a bug in the capabilities mapping from BP group moderator to bbP forum moderator. The capabilities like ‘assign_topic_tags’, ‘edit_topic_tags’, etc. are missing there.
    For BP group admins and ordinary members it works well, they can assign and edit topic tags in their group forum.
    But where is the code of this mapping? I cannot find it.

    Stephen Edgar
    Keymaster

    Since switching to HTTPS you need to update your siteurl and homeurl to use HTTPS at /wp-admin/options-general.php

    For multisite @ragir it depends how you have your site setup, this article covers your options on what you can, and can not do to switch to https for multisite πŸ™‚

    How to Set Up HTTPS on WordPress Multisite Without Headaches

    #182828

    In reply to: bbp_reply_admin_links

    theredeclipse
    Participant

    Nvm, got solution:

    <?php bbp_reply_author_link( array( 'sep' => '', 'show_role' => false, 'type' => 'name' ) ); ?>

    and

    <?php bbp_reply_author_link( array( 'sep' => '', 'show_role' => true, 'type' => 'avatar' ) ); ?>

Viewing 25 results - 5,376 through 5,400 (of 32,577 total)
Skip to toolbar