Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 3,226 through 3,250 (of 32,522 total)
  • Author
    Search Results
  • #207446
    audrey2112
    Participant

    Thanks, it work but I did this:

    #bbpress-forums .bbp-form label {
    display : none !important;
    }
    .youzer #bbpress-forums select {
    display : none !important;
    }

    But I don’t kown if it will affect something else in the forum… I hope it will be fixe in futur update of my plugins.

    Do you have a solution for the participant to be able to delete their own post?

    #207440
    Robin W
    Moderator

    ok, without knowing the cause, hard to say what to fix, but this will hide it

    a.bbp-reply-move-link  {
    display : none !important;
    }

    put this in the custom css part of your theme

    #207438
    audrey2112
    Participant

    Nothing much.

    I don’t really play in the files of my site and if I do, It was for these two problems. I have my child theme who I make some changes in the fonction.php files and I have some css in the astra theme, but I don’t think that’s the problem. I just deactivate Youzer to see if it’s there and yes, it’s still there. I just reset bbpress also and it’s still there. The participant can move the topics the another one.

    The changes I made recently was with elementor, some traduction with loco translate. So the problem can be there for a awhile and I just notice it recently.

    Can we just desable that fonction in the template of bbpress?

    And for the deleting post for the participant, is there a code that I can add to the fonction.php of my child theme?

    Thank you.

    #207435
    Robin W
    Moderator

    bboress has widgets for latest topics and latest replies

    My style pack plugin has latest activity widget and several shortcodes including one to display latest topics

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>shortcodes
    dashboard>settings>bbp style pack>widgets

    for details

    #207432
    Robin W
    Moderator

    your theme is interfering 🙂

    you’ll need to look at section 8 of this, to get your theme to use the right page

    Step by step guide to setting up a bbPress forum – Part 1

    #207391
    Robin W
    Moderator

    ok, try

    #bbpress-forums div.bbp-the-content-wrapper input {
    	color: #000 !important;
    }
    #207390
    Editor Mike
    Participant

    using chrome and the page source I see this:

    <script type=”text/javascript”>
    /* <![CDATA[ */
    var gdbbPressToolsInit = {
    quote_method: “bbcode”,
    quote_wrote: “wrote”,
    bbpress_version: 26,
    wp_version: 53,
    wp_editor: 1 };
    /* ]]> */
    </script>
    <style type=”text/css”>
    #bbpress-forums div.bbp-the-content-wrapper input {
    color: #000;
    }

    </style>

    <style type=”text/css”>
    #wpadminbar #wp-admin-bar-gdbb-toolbar .ab-icon:before {
    content: “\f477”;
    top: 2px;
    }

    @media screen and ( max-width: 782px ) {
    #wpadminbar li#wp-admin-bar-gdbb-toolbar {
    display: block;

    Which would suggest it is there?

    #207386

    In reply to: Translations

    Juha Metsäkallas
    Participant

    The proper location of translation files for bbPress was a mystery for me too. It looks like, that for bbPress 2.6 you only need to put them into (a change from previous version)
    …\wp-content\languages\plugings\

    And yes, if you download from

          https://translate.wordpress.org/projects/wp-plugins/bbpress/

    you get a po file with a wrong name, like
    wp-plugins-bbpress-stable-fi.po
    which you must chagne.

    #207381
    Robin W
    Moderator

    The trouble is I can’t see what you are seeing as that only appears when logged in !

    try

    #bbpress-forums div.bbp-the-content-wrapper input {
    	color: #000;
    }
    #207378
    Robin W
    Moderator

    if you mean the

    edit|trash| etc.

    then put this in your theme’s custom css

    span.bbp-admin-links a {
    	color: #000;
    }
    #207350
    Robin W
    Moderator

    you will need to amend a template, so need to be able to edit and ftp files.

    If so, then

    find
    wp-content/plugins/bbpress/templates/default/bbpress/loop-single-reply.php

    transfer this to your pc and edit

    change line 46 from

    <?php if ( current_user_can( 'moderate', bbp_get_reply_id() ) ) : ?>
    to

    <?php if ( bbp_is_user_keymaster() ) : ?>

    and save

    create a directory on your theme called ‘bbpress’
    ie wp-content/themes/%your-theme-name%/bbpress

    where %your-theme-name% is the name of your theme

    Then transfer the file you saved above and put in in the directory called bbpress that you created above, so you end up with
    wp-content/themes/%your-theme-name%/bbpress/loop-single-reply.php

    bbPress will now use this template instead of the original and only keymasters will see the ip address

    #207346
    Robin W
    Moderator

    if you set forum visibility, you can then set a redirect to a page for non-logged in users and another for logged in users.

    so create a page and use a contact form plugin, such as contact form 7, so they can request access to other forums, which will then send you an email.

    so
    install contact form plugin, there are many but contact form 7 is very popular.
    create a form with maybe a drop down list of forums users can request access to
    create a page and put shortcode to the form in this
    set redirect in private groups to go to that page

    #207288
    Robin W
    Moderator
    #207260
    elohimito
    Participant

    For some reason I can’t get the /forums root to show the forum list. If I create a page w/a different slug and use the shortcode it will work; however if I use /forums it shows this: https://www.connersclinic.com/forums/

    WP version 5.3.2

    #207241
    Chuckie
    Participant

    Sorry for rehashing this but i still don’t have a solution.

    Here is a web post on my site:

    Compact Workbook Schedule – With Student Assistants

    I have a section with a code snippet that includes line numbers, colour syntax, and certain lines highlighted.

    I would really like to continue having this functionality within bbPress topics since I want to be able to put code samples in there. is there really no way we can do this in bbPress?

    Milan Petrovic
    Participant

    Hi,

    My GD bbPress Attachments plugin gets file uploaded through media library, and MIME Types check is done in WP core. So, MIME control code should work. But, many security plugins also limit MIME types, so it might be related to that.

    But, my GD bbPress Toolbox Pro https://plugins.dev4press.com/gd-bbpress-toolbox/ has MIME Types control alowing you to add new types and limit upload to select types.

    Problem is that WordPress checks actual MIME Type for files, so if the extension is not registered with the file’s real MIME Type, it will fail. If you have archive that you connect to text file MIME, it will fail, because WP uses PHP function to read file MIME if possible.

    Milan

    Robin W
    Moderator

    I’ve had a quick look, but could spend the rest of Christmas looking in code

    I’d suggest you raise a ticket in bbpress attachments

    https://wordpress.org/support/plugin/gd-bbpress-attachments/

    johnnyontheweb
    Participant

    you mean:

    	// First we unregister the old key
        unset( $mime_types['txt|asc|c|cc|h'] );
        // Then we add a new one
        ! isset( $mime_types['txt|asc|c|cc|h|nvn'] ) AND $mime_types['txt|asc|c|cc|h|<strong>nvn</strong>'] = 'text/plain';

    No way, same error.

    As a partecipant user, in the Reply to: box, I click on the button “Browse…” and I select a .nvn text file.

    Robin W
    Moderator

    ok, but exactly how are you uploading – what button/link/code are you doing?

    Sounds a dumb question, but is relevant

    Robin W
    Moderator

    have a look at this

    https://wordpress.stackexchange.com/questions/44777/upload-mimes-filter-has-no-effect

    seems maybe you can only have one text/plain entry?

    the types are listed in

    https://codex.wordpress.org/Function_Reference/get_allowed_mime_types

    and maybe try

    add_filter( 'upload_mimes', 'wpse44777_upload_mimes' );
    function wpse44777_upload_mimes( $mime_types )
    {
        // First we unregister the old key
        unset( $mime_types['txt|asc|c|cc|h'] );
    
        // Then we add a new one
        ! isset( $mime_types['txt|asc|c|cc|h|nvn'] ) AND $mime_types['txt|asc|c|cc|h|nvn'] = 'text/plain';
    
        return $mime_types;
    }
    johnnyontheweb
    Participant

    No, participant cannot upload a psd file even with your code, same error:
    filename.psd: Sorry, this file type is not permitted for security reasons.

    johnnyontheweb
    Participant

    I tried by taking out the code as you said, but then the admin/keymaster account was not able to upload files.

    Hence, the code is correct.
    I checked also the file type, nvn does not exist as a registered mime type.

    Robin W
    Moderator

    I suspect your filer is just not working.

    to prove, take the code out and recheck that the admin/keymaster still works – I’m pretty sure that that has a capability that ignores types.

    Next prove that your basic code is good, so

    function my_mime_types($mime_types){
        $mime_types['psd'] = 'image/vnd.adobe.photoshop'; 
        return $mime_types;
    }
    add_filter('upload_mimes', 'my_mime_types', 1, 1);

    and then try uploading a psd file with and without it to prove that the filter works

    Finally, having written the above, it looks like nvn is NOT a mime type, according to this list??
    https://www.freeformatter.com/mime-types-list.html

    #207196
    Chuckie
    Participant

    At the moment I have this for example:

    View post on imgur.com

    But I would prefer something like this:

    View post on imgur.com

    This is quite hard to do with CSS because there are no ID values to isolate the elements. The h4 for example has no class or id. Can we please have some bespoke classes and id’s for the various parts of this logon widget so that we can better fine tune it to work well with our websites?

    Thanks.

    Robin W
    Moderator

    ok so you’ll need to work through what capabilities let this happen

    bbPress User Roles and Capabilities

    Roles and Capabilities

    and then amend these for what you want

Viewing 25 results - 3,226 through 3,250 (of 32,522 total)
Skip to toolbar