Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 7,051 through 7,075 (of 32,505 total)
  • Author
    Search Results
  • #170930
    Pascal Casier
    Moderator

    Limiting the keymaster ? Keymaster should be able to manage the whole system, so I would not touch that one. Think more of creating a new role like ‘myKeymaster’ and give the capabilities that you want: https://codex.bbpress.org/custom-capabilities/
    Pascal.

    #170929
    Pascal Casier
    Moderator

    If it’s really not working anymore, you could delete directly forums, topics and replies from the DB and then run the reset again. This will of course delete all your forum data ! Make sure to backup before !

    Change wp_ to your own prefix.

    USE WITH CAUTION

    DELETE a,b,c FROM wp_posts a
    LEFT JOIN wp_term_relationships b ON (a.ID=b.object_id)
    LEFT JOIN wp_postmeta c ON (a.ID=c.post_id)
    WHERE a.post_type IN ('forum', 'topic', 'reply')

    USE WITH CAUTION

    #170926

    Topic: Forums Page Layout

    in forum Themes
    internetgal
    Participant

    Hi –

    I’m using bbpress for a membership website I created. I’m having issues with the way the theme I’m using is laying out the list of forums.

    It looks like this, but I would prefer it to layout the forum in one row instead of columns.

    I’m learning CSS and PHP, but I know enough code to be dangerous right now. I’m looking for an easy fix.

    Any ideas on how I can fix it appearance of the forum?

    #170924
    DBGrover
    Participant

    Wordpress 4.4.1, bbPress 2.5.8, draftanimalpower.org


    @hotconductor
    , I found my way to this forum in search of answers to the same questions you’re posing. I found this recent topic which basically says that you may be able to achieve this result by editing the child theme, changing functions, or using an external search functionality like that of Google Custom Search.


    @Robkk
    , could you be more specific about what code we would need to add to the child theme in order to achieve the functionality we’re looking for? I am capable of very basic code but my ability level is low so I’m hopefully looking for something I can copy in.

    Help please?

    #170918
    Pascal Casier
    Moderator
    #170909
    Robin W
    Moderator

    Typically mods/admins close a topic to prevent more replies, but is users can simply re-open it, then it sort of defeats why it was written, so suspect you’d struggle to find anyone who has or would code this for free.

    There are functionsbbp_close_topicand bbp_open_topic which could be hooked to a cron function to close and a reply function to reopen, but it would take a little effort to code a plugin to do this.

    #170908

    In reply to: Sidebar issue

    Robin W
    Moderator

    Two approaches

    1. you are using Reden=pro which is a paid theme, so you should get paid support to fix this, quite often it is very simple, but it is theme dependant

    2. see this link on getting wordpress to use the template you want

    https://codex.bbpress.org/themes/theme-compatibility/getting-started-in-modifying-the-main-bbpress-template/

    #170896
    Robkk
    Moderator

    Group forum feeds are having issues.

    https://bbpress.trac.wordpress.org/ticket/2888

    For just topics, you an for now use the original forum structure url and add this to the end.

    /feed/?type=topic

    #170872
    Pascal Casier
    Moderator

    Hi,
    According to the codex, only v4.x is supported (https://codex.bbpress.org/getting-started/importing-data/import-forums/)
    Can you maybe first upgrade from your v3 to v4 ?
    Pascal.

    Robin W
    Moderator
    #170839
    Robkk
    Moderator

    @razet93

    Follow the Set up group forums only section in this BuddyPress Guide.

    #170828
    Pascal Casier
    Moderator

    Hi,
    You can start from https://codex.bbpress.org/getting-started/importing-data/import-forums/vbulletin/

    If any issues, just get back here.

    Pascal.

    #170823
    Pascal Casier
    Moderator

    Hi, do you mean the color of the text ?

    #bbpress-forums .bbp-topic-content p,
    #bbpress-forums .bbp-reply-content p {
      font-size: 12px;
      color: #000000;
    }

    Pascal.

    #170805
    Robin W
    Moderator

    if you are into coding, then download my plugin

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

    and look at

    /includes/shortcodes.php

    where I create a shortcode that uses a different template

    You could create a new version by using that code as a base

    #170799

    In reply to: Breadcrumbs

    Robin W
    Moderator
    #170793
    AlexanderCnb
    Participant

    WordPress version: 4.4.1
    bbPress version: 2.5.8
    Site link: local

    Hello,

    With the code snippet I found here I was able to only show one reply revision log, namely the most recent one.

    I would now like to move the revision log out of the reply itself and show it right below. I’m not sure which could I’d have to move to where. If anyone would have some directions that would great, thank you!

    #170782
    tharsheblows
    Participant

    This is a result of a change in WordPress. I had this too – I don’t allow users to change their nickname so the nickname field on the edit form was disabled and didn’t submit (as was the intent). What I did was make the nickname field “readonly” rather than “disabled” and then added this in (you could add it to your functions.php)

    user_nickname_is_login( $meta, $user, $update ){
    	$meta['nickname'] = $user->user_login;
    	return $meta;
    }
    add_filter( 'insert_user_meta', 'user_nickname_is_login', 10, 3 );

    This sets the nickname as the user_login so you would change it to whatever the nickname should be. That function forces the nickname to be what I want — I know the field in the profile was readonly but it was still editable using dev tools and I didn’t want that!

    #170781
    antonv
    Participant

    I use the traditional forum outputting as well as shortcodes in posts.

    Now I want to differentiate the output format, but both the shortcodes and standard output use the template content-single-topic.

    How can I test if the template was included from bbpress/includes/common/shortcodes.php so that I can apply different styling.

    #170770
    vinstyton
    Participant

    My issues with colors are #5 & #8 that have been inherited from my theme.

    So, if I use the code below, where do I include #000000 for all of the text content to be black?

    #bbpress-forums .bbp-topic-content p,
    #bbpress-forums .bbp-reply-content p {
    font-size: 12px;
    }

    #170763
    willywonkabar
    Participant

    Hey superaven,

    That’s a perfect answer, actually. I was hoping that the move was successful, but even with what you shared, there’s still value in your answer. So thanks for that.

    We’re currently testing BBPress and plan to test Xenforo and Discourse as well. Xenforo has its origins in VB, so to us, that seemed like the most like-for-like switch, but as we’re also a WP shop, with 10 years worth of posts, we were hoping to bring everything to WP, or find something with cleaner integration with WP. bbPress is/was our hope for that. As we currently stand, with our hybrid WP/VB site, user authentication, access control, and user profile data defaults to VB, using an open-source VB plugin. We want to bring that into WP, so we can take advantage of some other WP-specific plugins/services, keeping that user profile data (and profile pages) in WP instead, without needing custom code. Having all of that under one roof has its obvious advantages.

    We’ll continue to test bbPress and the other platforms on our end. Thanks for the feedback! Much appreciated.

    #170762
    gene-stevo
    Participant

    Hi Folks,
    I thought I had this nailed but my forums are not sending out any messages re new posts.
    I’m using the following setup:
    WP version 4.4.1
    Theme Jolene 1.1.5
    PHP version 5.4.45
    bbPress version 2.5.8-5815
    site url http://conwycameraclub.co.uk
    Active Plugins Name and Version
    – p1 AsynCRONous bbPress Subscriptions 2.1
    – p2 bbP Manage Subscriptions 1.2.0
    – p3 bbP Toolkit 1.0.6
    – p4 bbPress Enable TinyMCE Visual Tab 1.0.1
    – p5 bbPress 2.5.8
    – p6 bbPress2 shortcode whitelist 2.2.1
    – p7 Content Aware Sidebars 3.0.1
    – p8 Duplicate Post 2.6
    – p9 GD bbPress Attachments 2.3.1
    – p10 My Calendar 2.4.13
    – p11 Nav Menu Roles 1.7.4
    – p12 PDF Embedder 2.4.1
    – p13 Postman SMTP 1.7.2
    – p14 Remove Widget Titles 1.0
    – p15 Fast Secure Contact Form 4.0.39
    – p16 Simple Custom CSS 3.3
    – p17 Slideshow 2.3.1
    – p18 TablePress 1.7
    – p19 W3 Total Cache 0.9.4.1
    – p20 WP User Avatar 2.0.4
    This is a real pain as I’ve only just created the user accounts for the club membership at:
    conwycameraclum.co.uk/forums
    I’ve checked all the setting options on the associated plugins but can’t find anything that could be causing the problem. Sending a test message from postman SMTP works and the site is providing admin messages re users changing passwords etc. Seams only bbP that doesn’t want to comunicate.
    Any help greatly appreciated. Cheers, Eugene

    #170750
    Pascal Casier
    Moderator
    #170749
    Pascal Casier
    Moderator

    Hi,
    bbPress has a converter from vbulletin. You can install the latest stable bbPress 2.5.8 as a plugin to your WordPress and start the conversion. I would however like to indicate that bbPress 2.6-alpha (so not yet stable) is however much improved for conversions, so it could be an option to do it with that version.
    You can find information on installing and importing in the codex: https://codex.bbpress.org/getting-started/

    #170731
    Pascal Casier
    Moderator

    What theme do you use ? Can you confirm that you have the same issues in a standard WP theme ?
    You don’t have any redirection plugins (like 404 Redirected) ?
    How do you show your topics ? Using a shortcode ? Do you have multiple shortcodes on the same page ?

    Pascal.

    #170719
    Pascal Casier
    Moderator

    Hi,
    You will have to follow the normal troubleshooting way to get out of this:
    – Switch to a standard WP theme and see if that helps. If it does, ask the support of the theme author.
    – Switch off all plugins, then see if it works, then switch them on one after the other.

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

    Pascal.

Viewing 25 results - 7,051 through 7,075 (of 32,505 total)
Skip to toolbar