Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 301 through 325 (of 32,294 total)
  • Author
    Search Results
  • #238165
    Robin W
    Moderator

    without a pluguin

    Custom Capabilities

    with a plugin

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>roles

    #238087
    Robin W
    Moderator

    Put this in your child theme’s function file –

    ie wp-content/themes/%your-theme-name%/functions.php

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

    or use

    Code Snippets

    #238086
    rpuskarcik
    Participant

    So where does the “add_shortcode )’… go?

    #238052
    Robin W
    Moderator

    try adding this to custom css

    # Mobile
    only screen and (min-width: 480px) {
    fieldset.bbp-form p {
    width : 20px ;
    }
    }
    #238049
    hemantmalav
    Participant

    Is there a way to link post and topic tags and show post and topics associated with the tag on a single page in front end?

    I tried doing it using [bbp-single-tag id=$tag_id] short code on post tag page but I couldnt fetch the topic tag id in runtime. Is there a shortcode like [bbp-single-tag slud=$slug], I can fetch the slug from the post tag URL in runtime.

    #238042
    Robin W
    Moderator

    ok, so that is a page with a shortcode that tends to suggest you do not have the bbpress plugin active

    #238008
    Robin W
    Moderator

    ‘how to quote a post or comment without using any plugin.’

    you could try using a Ouija board, but otherwise you will need code in either theme or plugin.

    You could pay someone to cut some theme code, but of course that won’t be maintained unless you take out some sort of maintenance agreement with the author.

    Adding a plugin will not make any difference in load time that anyone would notice (or indeed most software could time), and if you use caching software nothing measurable at all over theme code.

    bbp style pack

    has a quotes section

    #238002
    dianaringer2018
    Participant

    Hello,

    I am trying to follow the step-by-step instructions, and I am still having trouble displaying the main forum page. I am trying to use method 1. I checked and verified the settings.

    I added some test forums and topics, and I can see them in the backend.
    Forum Root = Forums
    Permalink structure is set to POSTNAME
    Category | Tag base left blank (default)

    I created a page called Forums and nothing displayed.
    I tried adding the shortcode and still nothing appears.

    I am referring to: https://codex.bbpress.org/step-by-step-guide-to-setting-up-a-bbpress-forum/#3-%c2%a0creating-a-forum-page

    Page Links: https://bkswathq.com/forums
    Wordpress : 6.3.2
    bbp Version 2.6.9

    Thanks in advance.
    Fills silly to be stuck so early on in the process.

    #237995
    chrisej93
    Participant

    Looks like I’ve fixed it. I had some code to change bbpress usernames in my functions.php file, which I have deleted.

    norcom41
    Participant

    In a bbPress forum I want to prevent participants from creating topics but allow replies. In searching the Internet I found code examples from which I selected some to build a plugin. I know a little PHP but WordPress is like a “black box.”

    add_action(‘wp_loaded’,’modify_participant’);

    function ‘modify_participant'()
    {
    add_filter(‘mod_participant’, ‘upd_participant’);
    }

    function upd_participant($role,$caps)
    {
    $role = bbp_get_participant_role();
    $caps = modify_capabilities($role);
    }

    function modify_capabilities($role)
    {
    return array(

    // Topic caps
    ‘publish_topics’ => false,
    ‘edit_topics’ => false,
    ‘edit_others_topics’ => false,
    ‘delete_topics’ => false,
    ‘delete_others_topics’ => false,
    ‘read_private_topics’ => false,

    // Topic tag caps
    ‘manage_topic_tags’ => false,
    ‘edit_topic_tags’ => false,
    ‘delete_topic_tags’ => false,
    ‘assign_topic_tags’ => false
    )
    }

    For instance the WP loaded hook causes it to run once at the start which should call those functions to initialize things. Is an add_filter also executed at that time to complete initialization? Then the black box proceeds with the bbp_get_parcipant_role routine so that the capabilities array elements can be updated. I read that WP filters always expect an object to be returned. It seems that these wouldn’t be permanent but just temporary in memory for executing that page. However my suspicion is that more coding would be necessary because that would be too much to depend on the black box for.

    #237913

    In reply to: wpForo to bbPress?

    Driven 2 Services
    Participant

    I’ve handled a few with code I wrote myself. It’s very possible to do. 🙂

    #237902
    Jessparvin
    Participant

    I used shortcode to only display one forum in a Learndash course I created. I have older forums that are only assigned to other courses. But now the forum displayed in my new course is showing topics/ threads from older forums. I cannot for the life of me figure out why they would be appearing here! I don’t want customers in this course to see older threads from other courses.

    #237796
    Robin W
    Moderator

    I appreciate that you are feeling a sense of frustration.
    But both WordPress and bbpress are free software, and come with free support offered by volunteers.
    In effect you are asking someone to take their free time to help you, and then complaining that it is not at the level you want.
    When I asked for a link to your forum page, you were unable to provide this, giving a link to a page that does not exist. As such it is hard to help – a bit like asking for help with your car, but then not allowing me to examine your car.
    If you provide a link to the forum, the I may be able to help further, otherwise ethe best I can offer is to read the documentation

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

    and/or the advice in

    Before Posting

    #237793
    yagirlrenae
    Participant

    I added blog to site but it keeps taking me to homepage with clicking on topics and categories. Also why is it so difficult to use the forum it suppose to be made for wordpress. Also, why is it that noone can walk me through each step instead of sending information that is not useful for someone who is not good at code?

    #237760
    Robin W
    Moderator

    sorry, weekend and other things got in the way, but I have been playing with this.

    Try :

    add_shortcode ('bbp-forum-subscription-link' , 'rew_forum_subscription_link' ) ;
    
    function rew_forum_subscription_link ($atts) {
    	$args = array() ;
    	if (empty ($atts['forum'])) return ;
    	$args['object_id'] = $atts['forum'] ;
    	if (!empty ($atts['subscribe'])) $args['subscribe'] = $atts['subscribe'];
    	if (!empty ($atts['unsubscribe'])) $args['unsubscribe'] = $atts['unsubscribe'];
    	return bbp_get_forum_subscription_link ($args) ;
    }

    and then put this wherever it want it to appear

    [bbp-forum-subscription-link forum="2927" subscribe="Subscribe to Fishing Report" unsubscribe="Unsubscribe to Fishing Report" ]

    with the forum number and whatever wording you want

    #237750
    enkoes
    Participant

    Try to enable tinymce full editor and you will see the button. Check out this documentation.

    #237746
    1wb5rdd
    Participant

    Folks, this is reference bbPress 2.6.9, WP 6.2.2 and the link to our site forums page is https://www.wb5rdd.org/forums/. My issue is this – Forum users cannot change the font color on their posts. Even with the highest level of access I cannot change the font on the sentence “Please call, text or email me if you can help.” on this page https://www.wb5rdd.org/forums/topic/autumn-in-bonham-bike-rally-radio-operator-assistance-requested/ red. Where are the color choice buttons? Why won’t using HTML code (<FONT COLOR=”#ff0000″> </FONT>) doesn’t even do it. THANKS! – Phillip Beall

    #237732

    Topic: bbpress css

    in forum Plugins
    maciejatmyshca
    Participant

    Hello,

    I also would like to hide Forums from Member Profile Page.

    I have set up Groups Forums only as per instructions here so the Forums on Profle Page is obsolette as I want the forums to be accessible only from Group Page.

    Could anyone kindly advice how to do it please?

    sethbburgess
    Participant

    New to BBPress. WordPress version 6.3.1. Avada theme 7.11.2, BBPress 2.6.9. The default installation of BBpress is picking up colors from my theme which I don’t want. I have followed the instructions in the article https://codex.bbpress.org/themes/theme-compatibility/ like this “The “css” directory contains style sheets that work with the default markup. Copy any you want to modify into a directory named “css” in your theme’s root. eg. /wp-content/themes/%your-theme%/css/” I have created the css directory in the theme root directory and copied the bbpress-rtl.css file to that css directory. I have not yet modified the file. There is no change to the look of BBPress. I even rebooted the server. What am I missing?

    #237707
    Robin W
    Moderator

    if they want to look at code that already does this, then they can download and crack open the code in

    bbp profile information

    #237702
    newtech1
    Participant

    I run a Fishing Club Paid Membership web site. One of the features is we offer a Fishing Report Forum. All our club members are Fishing Report Forum users. I would like to be able to add a subscribe link to my Fishing Report Forum on various pages of my website. Is that feasible by some kind of code?

    Take note: We do not allow comments on topics so no need for a subscribe link for topics. But I would like to have a Forum Subscribe Link on the topic page. What code would I use?

    #237686
    Robin W
    Moderator

    you can hook to various actions in bbpress eg

    add_action( 'show_user_profile', 'xxx', 50,2 )  ;
    //does the display/edit if viewing another's profile
    add_action( 'edit_user_profile', 'xxx', 50,2 )  ;
    //does the save if viewing own profile
    add_action( 'personal_options_update',         'xxx' );
    //does the save if viewing another's profile
    add_action( 'edit_user_profile_update',        'xxx' );

    but would need user registration to tell you what functions to put in the xxx

    #237667
    Thomas
    Participant

    Hi all

    twenty twenty two and bbpres ….
    I have try the guide from here … nothing works.
    I can only make visible with shortcode, but than only this site, not the topics or other.

    its possible bbpress use with twenty twenty two?

    Thomas

    #237598

    In reply to: Forum full width

    Robin W
    Moderator

    ok, it is theme related – this may help

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

    item 8

    #237580
    TreeTrail
    Participant

    Significant Problem:

    Every few days, some Sub-Forums stop displaying!  This seems to happen after a new topic is added.  I’m not sure when this problem started.  Currently, the “HIKING” sub-forums do not display.  Sometimes I can get this issue to reset by changing the Sub-Forums Visibility setting to “Public” and then back to “Private”.  I clear browser histories and resave Permalinks.  But this is a temporary solution.  With my limited knowledge, I’ve spent many many hours trying to pinpoint the cause and resolve this.  I now set up a test copy site, that is using the WP 2022 theme with only 2 plugins: a page builder and bbPress.  And there are no bbPress scripts in the Function.php file.  The problem still persists.  Any assistance would be very greatly appreciated!  Testing site: https://staging39.wilmingtontrailclub.org/bbpress-forum-test/

    *******************************************
    Testing Site Configuration:

    
    ### wp-core ###
    
    version: 6.3.1
    site_language: en_US
    user_language: en_US
    timezone: America/New_York
    permalink: /%postname%/
    https_status: true
    multisite: false
    user_registration: 1
    blog_public: 1
    default_comment_status: closed
    environment_type: staging
    user_count: 1974
    dotorg_communication: true
    
    ### wp-paths-sizes ###
    
    wordpress_path: /home/customer/www/staging39.wilmingtontrailclub.org/public_html
    wordpress_size: 67.23 MB (70494422 bytes)
    uploads_path: /home/customer/www/staging39.wilmingtontrailclub.org/public_html/wp-content/uploads
    uploads_size: 390.90 MB (409892014 bytes)
    themes_path: /home/customer/www/staging39.wilmingtontrailclub.org/public_html/wp-content/themes
    themes_size: 23.65 MB (24802712 bytes)
    plugins_path: /home/customer/www/staging39.wilmingtontrailclub.org/public_html/wp-content/plugins
    plugins_size: 187.12 MB (196210432 bytes)
    database_size: 287.33 MB (301287561 bytes)
    total_size: 956.24 MB (1002687141 bytes)
    
    ### wp-active-theme ###
    
    name: Twenty Twenty-Two (twentytwentytwo)
    version: 1.4
    author: the WordPress team
    author_website: https://wordpress.org/
    parent_theme: none
    theme_features: core-block-patterns, post-thumbnails, responsive-embeds, editor-styles, html5, automatic-feed-links, block-templates, widgets-block-editor, wp-block-styles, editor-style
    theme_path: /home/customer/www/staging39.wilmingtontrailclub.org/public_html/wp-content/themes/twentytwentytwo
    auto_update: Disabled
    
    ### wp-themes-inactive (2) ###
    
    Kleo Child: author: SeventhQueen, version: (undefined), Auto-updates disabled
    Kleo: version: 5.2.0, author: SeventhQueen, Auto-updates disabled
    
    ### wp-mu-plugins (1) ###
    
    restrict username email character: version: 1.1, author: BENACEUR
    
    ### wp-plugins-active (2) ###
    
    bbPress: version: 2.6.9, author: The bbPress Contributors, Auto-updates disabled
    WPBakery Page Builder: version: 7.0, author: Michael M - WPBakery.com, Auto-updates disabled
    
    ### wp-plugins-inactive (32) ###
    
    amr users: version: 4.59.4, author: anmari, Auto-updates disabled
    amr users plus: version: 3.27, author: anmari, Auto-updates disabled
    amr users plus buddypress: version: 2.6, author: anmari, Auto-updates disabled
    amr users plus pmp: version: 1.1, author: anmari, Auto-updates disabled
    bbp style pack: version: 5.6.7, author: Robin Wilson, Auto-updates disabled
    BP Profile Shortcodes Extra: version: 2.5.2, author: Venutius, Auto-updates disabled
    BuddyPress: version: 11.3.1, author: The BuddyPress Community, Auto-updates disabled
    Classic Editor: version: 1.6.3, author: WordPress Contributors, Auto-updates disabled
    Classic Widgets: version: 0.3, author: WordPress Contributors, Auto-updates disabled
    CMS Tree Page View: version: 1.6.8, author: Jon Christopher, Auto-updates disabled
    Email Encoder - Protect Email Addresses: version: 2.1.8, author: Jannis Thuemmig, Auto-updates disabled
    Envato Market: version: 2.0.10, author: Envato, Auto-updates disabled
    Events Manager: version: 6.4.5.1, author: Pixelite, Auto-updates disabled
    Events Manager Pro: version: 3.2.7, author: Pixelite, Auto-updates disabled
    Events Manager Pro - PayPal: version: 1.2, author: Pixelite, Auto-updates disabled
    Force First and Last Name as Display Name: version: 1.2.1, author: Stranger Studios, Auto-updates disabled
    K Elements: version: 5.1.2, author: SeventhQueen, Auto-updates disabled
    Paid Memberships Pro: version: 2.12.2, author: Paid Memberships Pro, Auto-updates disabled
    Paid Memberships Pro - bbPress Add On: version: 1.7.3, author: Paid Memberships Pro, Auto-updates disabled
    Paid Memberships Pro - Extra Expiration Warning Emails Add On: version: .4, author: Stranger Studios, Auto-updates disabled
    Paid Memberships Pro - Member Directory Add On: version: 1.2.4, author: Paid Memberships Pro, Auto-updates disabled
    Paid Memberships Pro - Membership Card Add On: version: 1.1.2, author: Stranger Studios, Auto-updates disabled
    Paid Memberships Pro - Membership Manager Role Add On: version: .3.2, author: Stranger Studios, Auto-updates disabled
    Paid Memberships Pro - Pay by Check Add On: version: 0.11.2, author: Stranger Studios, Auto-updates disabled
    Redirection: version: 5.3.10, author: John Godley, Auto-updates disabled
    Restrict Usernames Emails Characters: version: 3.1.3, author: benaceur, Auto-updates disabled
    Slider Revolution: version: 6.6.16, author: ThemePunch, Auto-updates disabled
    User Switching: version: 1.7.0, author: John Blackbourn & contributors, Auto-updates disabled
    Wordfence Security: version: 7.10.3, author: Wordfence, Auto-updates disabled
    WP FullCalendar: version: 1.5, author: Pixelite, Auto-updates disabled
    WP Mail SMTP Pro: version: 3.9.0, author: WP Mail SMTP, Auto-updates disabled
    WP Rollback: version: 1.7.3, author: GiveWP.com, Auto-updates disabled
    
    ### wp-media ###
    
    image_editor: WP_Image_Editor_GD
    imagick_module_version: Not available
    imagemagick_version: Not available
    imagick_version: Not available
    file_uploads: File uploads is turned off
    post_max_size: 256M
    upload_max_filesize: 256M
    max_effective_size: 256 MB
    max_file_uploads: 20
    gd_version: 2.3.3
    gd_formats: GIF, JPEG, PNG, WebP, BMP, AVIF, XPM
    ghostscript_version: 9.56.1
    
    ### wp-server ###
    
    server_architecture: Linux 3.12.18-clouder0 x86_64
    httpd_software: Apache
    php_version: 8.2.10 64bit
    php_sapi: cgi-fcgi
    max_input_variables: 3000
    time_limit: 600
    memory_limit: 768M
    max_input_time: 120
    upload_max_filesize: 256M
    php_post_max_size: 256M
    curl_version: 7.85.0 OpenSSL/3.0.9
    suhosin: false
    imagick_availability: false
    pretty_permalinks: true
    htaccess_extra_rules: true
    current: 2023-09-24T21:12:57+00:00
    utc-time: Sunday, 24-Sep-23 21:12:57 UTC
    server-time: 2023-09-24T17:12:57-04:00
    
    ### wp-database ###
    
    extension: mysqli
    server_version: 5.7.39-42-log
    client_version: mysqlnd 8.2.10
    max_allowed_packet: 33554432
    max_connections: 500
    
    ### wp-constants ###
    
    WP_HOME: undefined
    WP_SITEURL: undefined
    WP_CONTENT_DIR: /home/customer/www/staging39.wilmingtontrailclub.org/public_html/wp-content
    WP_PLUGIN_DIR: /home/customer/www/staging39.wilmingtontrailclub.org/public_html/wp-content/plugins
    WP_MEMORY_LIMIT: 256M
    WP_MAX_MEMORY_LIMIT: 768M
    WP_DEBUG: false
    WP_DEBUG_DISPLAY: false
    WP_DEBUG_LOG: false
    SCRIPT_DEBUG: true
    WP_CACHE: false
    CONCATENATE_SCRIPTS: undefined
    COMPRESS_SCRIPTS: undefined
    COMPRESS_CSS: undefined
    WP_ENVIRONMENT_TYPE: staging
    WP_DEVELOPMENT_MODE: undefined
    DB_CHARSET: utf8mb4
    DB_COLLATE: undefined
    
    ### wp-filesystem ###
    
    wordpress: writable
    wp-content: writable
    uploads: writable
    plugins: writable
    themes: writable
    mu-plugins: writable
    
    

    *******************************************

    ~April Schmitt

    WTC Webmaster <wtcwebmaster1@gmail.com>

Viewing 25 results - 301 through 325 (of 32,294 total)
Skip to toolbar