Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 5,851 through 5,875 (of 32,577 total)
  • Author
    Search Results
  • #178829
    treeflips
    Participant

    I’ve opened it up and can’t figure out how to hack it into my template. I was already able to rename the string to “Last Post”.

    Now figuring out, which template files to edit and what lines to put/replace. Not a coder :/

    #178796
    alexander12111
    Participant

    Maybe we can use code in php my admin to setup key-muster role for the admin user?

    #178790
    contemplate
    Participant

    @jon-fergus I got this fixed with the reply.js file you include in your child theme.

    simply change this line:
    reply.parentNode.appendChild(respond);

    to this:
    reply.parentNode.children[1].appendChild(respond);

    And the reply box should appear directly under the post you are replying to.

    Stephen Edgar
    Keymaster

    bbPress includes the “no replies” view, so you would only need to replace the “top five” shortcode you are currently using with bbPress’ [bbp-single-view id=no-replies] 🙂

    #178782
    Stephen Edgar
    Keymaster

    This sounds like an issue with your theme displaying next and prev links for bbPress’ forum custom post type.

    If you temporarily switch to one of the default Twenty themes, say Twenty Fifteen can you still see the next and prev links?

    If so you might want to contact the theme author or take a look at creating a custom bbPress template for theme, see: https://codex.bbpress.org/themes/theme-compatibility/getting-started-in-modifying-the-main-bbpress-template/

    #178772

    In reply to: Quote

    ico33
    Participant

    I repost some questions

    1) is there a way to add a sort of “code” somewhere, to have the QUOTE in bbpress posts?

    2) If not, is there a plugin that somebody knows? Obviously, if possible, I would prefer some code to avoid another plugin

    3) Anybody knows if the function “quote” will be updated in a future version of bbpress? I think I read it some years ago, but it didn’t still arrive.

    Thank you for helping

    #178770
    #178767

    In reply to: Change avatar size

    treeflips
    Participant

    It’s not. You have to look at the DIV CLASS that surrounds the html code. And then track that down and adjust it.

    #178751
    hanifascraps
    Participant

    Wordpress 4.6.1
    Bbpress 2.5.10 |

    Hi there,
    Today I found here the forum some very useful code to help me change something as colores and sizes.
    But there is a component I could’t change, that is the Forum-Title.
    Is there anyone that can help with some simple css as how to change the forum title
    I thank you in advance.

    #178750
    hanifascraps
    Participant

    Thank you @robkk for your code on how to change the bakground-color.
    It help me a lot.
    Kind Regards

    hanifascraps
    Participant

    I just want to thank @fpradmin because parte of his code, just help me a lot.
    I has able to change the size font on my bbpress forum.

    Kind Regards,

    Julia_B
    Participant

    I want to switch the Top Five Topics widget on my site to a Topics With No Replies widget.

    I think I’ve found the code referring to the Top Five Topics widget in functions.php – this looks like it:

    function rk_top_five_view() {
    bbp_register_view( ‘top-five’, __( ‘5 Most Popular Topics’ ), array(
    ‘meta_key’ => ‘_bbp_reply_count’,
    ‘posts_per_page’ => ‘5’ ,
    ‘ max_num_pages’ => ‘1’,
    ‘orderby’ => ‘meta_value_num’ ),
    false );
    }

    add_action( ‘bbp_register_views’, ‘rk_top_five_view’ );

    And I think this is the relevant code on the page where the widget is displayed:
    [bbp-single-view id="top-five"]

    According to https://codex.bbpress.org/features/shortcodes/ the code for No Replies is:
    [bbp-single-view id=’no-replies’]

    So I’m guessing that on the page I just need to replace top-five code with no-replies…?

    But what about the code in functions.php?

    I found this on github:

    bbp_register_view(
    ‘no-replies’,
    __( ‘Topics with no replies’, ‘bbpress’ ),
    apply_filters( ‘bbp_register_view_no_replies’, array(
    ‘meta_key’ => ‘_bbp_reply_count’,
    ‘meta_value’ => 1,
    ‘meta_compare’ => ‘<‘,
    ‘orderby’ => ”
    )
    ) );
    }

    Is this what I need? Or should it start with function like the current code I posted at the top?

    Please excuse me if I’m missing something obvious here – I’m just the website owner, not a developer.

    Thanks in advance 🙂

    #178693

    In reply to: Quote

    ico33
    Participant

    Well, that when possible is better to use code and not a plugin. But if you know a good plugin for quote… tell me tha name. Thank you

    #178671
    Robkk
    Moderator

    You are going to have to edit your theme templates yourself since this is custom development for your theme.

    What you need is possibly bbp_topic_reply_count() or bbp_topic_post_count(), depending on if you are showing the lead topic on your site. I am not sure if doing this will work or not.

    #178670

    In reply to: Manual topic labels

    Robkk
    Moderator

    I added how to create status labels here. There is a way to create a hot label, but what I posted is just for a certain number of replies posted in a topic. Other forum systems use rating or number of replies in a certain time frame. So adjust as you please. Using the classes I have in the code you can style the label with CSS.

    https://codex.bbpress.org/layout-and-functionality-examples-you-can-use/#24-show-status-labels-for-bbpress-topics

    #178669
    Robkk
    Moderator

    This is a possibly known issue that is theme/bbPress theme compatibility related.

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

    To fix this place the content-search.php and form-search.php files from the bbPress plugin to your child theme in a folder called bbpress.

    If you haven’t created a child theme create one.

    https://codex.bbpress.org/themes/theme-compatibility/

    https://codex.wordpress.org/Child_Themes

    #178668

    In reply to: Quote

    Robkk
    Moderator

    Whats the problem in using a plugin? You would have the same code thats in a plugin just instead in a themes functions.php file.

    #178667
    Robkk
    Moderator

    Is it really just replace the underscores with spaces in this __@mention and it won’t work for you.

    This is blowing my mind right now.

    Did you do plugin and theme troubleshooting??

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

    #178666
    Robkk
    Moderator

    Are your forum posts still there?

    This could a possible theme issue. I think bbPress could use a template (either content-search.php or search.php ) by accident from your theme.

    Are you using a custom theme, you might want to create a child theme if so?

    To fix this place the content-search.php and form-search.php files from the bbPress plugin to your child theme in a folder called bbpress.

    If you haven’t created a child theme create one.

    https://codex.bbpress.org/themes/theme-compatibility/

    https://codex.wordpress.org/Child_Themes

    #178664
    Robkk
    Moderator

    This is a theme/bbPress theme compat issue. The template file that bbPress is inheriting for its display is making the pages display like that.

    You will need to create a bbpress.php file from code that I will post later after I take a look at a free version of your theme.

    Edit: Here is the file you can use.

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

    #178663
    Robkk
    Moderator

    Did you change themes?? I see in your html source code that you have a theme named Arise.

    iempoweru
    Participant

    First details:
    Basic System info on wp core and all activated plugins. I am currently using Spacious theme adult, have not configured child as of yet. Will work on theme last thing.

    WP version 4.6.1
    Theme Spacious 1.4.1
    PHP version 5.6.25
    bbPress version 2.5.10-6063
    site url https://www.divorcehub.com
    Active Plugins Name and Version
    – p1 Akismet 3.2
    – p2 All In One SEO Pack 2.3.10.2
    – p3 bbPress Move Topics 1.1.3
    – p4 bbP Toolkit 1.0.6
    – p5 bbPress – Live Topic Suggestions 1.0.9
    – p6 bbPress Notify 0.2.2
    – p7 bbPress – Private Replies 1.3.3
    – p8 bbPress – Report Content 1.0.5
    – p9 bbPress 2.5.10
    – p10 Buddy-bbPress Support Topic 2.1.0
    – p11 BuddyPress Friends Only Activity Stream 1.0
    – p12 BuddyPress Friends On-line (FOL) 0.4.3.1
    – p13 BuddyPress Global Search 1.1.5
    – p14 rtMedia for WordPress, BuddyPress and bbPress 4.1.8
    – p15 BuddyPress 2.7.0
    – p16 Child Theme Configurator 2.1.2
    – p17 Header and Footer 2.0.3
    – p18 Like Button Voting & Rating 2.3.0
    – p19 Membership 2 Pro 1.0.3.3
    – p20 RSS Icon Widget 4.0
    – p21 Simple Contact Forms 1.6.4
    – p22 Theme Check 20160523.1
    – p23 Transcoder 1.0.7
    – p24 Turbo Widgets 1.0.4
    – p25 WP All Import 3.3.8
    – p26 WP Smush Pro 2.4.5
    – p27 WPMU DEV Dashboard 4.2

    As you can see I have integrated bbpress with buddypress and membership 2. These are almost completely configured to the way I want them.

    The goal with the content on this free membership site is to make almost all the content readable, but to allow only users to post new topics or replies.

    I have added one plugin at a time and test in between so I do not think there are any conflicts.

    Matter of fact, everything is great except for 1 thing.

    I do not want a non-logged in user to be able to post topics or replies. At the bottom of each of the current topics, there is a reply text entry field. If I log out and try to post a reply, I get this message:

    “slow down, you move too fast”

    So I either need to figure out how to change that message to “only logged in users can reply or post new topics” or something similar.

    Or I need to know how to hide the reply text entry field for non-logged in users.

    I have been through settings>forum as well as all the other plugins looking for the appropriate toggle to no avail.

    I have combed the forums and google with no success. Thanks in advance for your assistance. Linda @iempoweru

    #178644
    Graham
    Participant

    WP – ver 4.6.1
    bbPress – ver 2.5.10

    Home Page

    Hello, thank you in advance for any help!
    I have just activated a plugin called “Search bbPress 2.0” which fixes the issue of searching for topics, replies, etc. However, when the results display they include a link to the author and the title. The title works fine but the author points to “the_author_posts_link();” – which sends me to a url containing /author/ (instead of /members/)
    https://woodardnetwork.com/forums/?s=quickbooks

    I am thinking “posts” is not where I want to go, rather “members” – I could not find this in the documentation (or on codex.wordpress as it looks to be bbPress specific). Anyone know the replacement for the above function?

    Thanks again!
    -Graham

    #178639
    LevyImage
    Participant

    Hi,
    I’ve been struggling with a serious import problem since may 2016.
    Issue #1 My BBpress forums will not migrate properly with conventional WordPress import/export built in tool.
    Issue #2 When I use WP ALL Import (pro bundle) to get a CSV I can actually work with, and manually update the USER ID table and Forum ID and Parent ID, the import works (Forums and Topics are matched up properly) but tool>BBpress>recaculate will completely break the forum, I need to be able to recalculate once in a while… not being able to do this is a problem. And even to get the imports working I have to manually change IDs in the CSVs in order for the imports to match content up properly. And even when using vlookup in Excel, it is painstakingly difficult to manually create a dual reference column where column one is the old ID (for old website forum) and column two is the new ID (for new website forum). This is why I don’t have a fixed CSV for replies yet. I’ve thousands of them.

    Authors of WP ALL Import have been of no substantial help. Please any help because I’ve been paying for my old server and new server for months now and it’s gotten very expensive.

    Data columns including in Forum Export is:
    id Title Content Post Type Date Order Parent Slug Author Status _bbp_status _bbp_old_forum_id _bbp_forum_parent_id _bbp_forum_subforum_count _bbp_topic_count_hidden _vc_post_settings _bbp_status _yoast_wpseo_title _bbp_forum_id _bbp_last_topic_id _bbp_last_reply_id _bbp_last_active_id _bbp_last_active_time _bbp_topic_count _bbp_total_topic_count _bbp_reply_count _bbp_total_reply_count

    Data columns included in Topic Export is:
    "id Title Content Date Post Type Permalink _bbp_old_topic_id _bbp_reply_count _bbp_total_reply_count _bbp_author_ip _bbp_old_sticky_status _bbp_topic_id _bbp_forum_id _bbp_last_reply_id _bbp_last_active_id _bbp_last_active_time _bbp_voice_count _vc_post_settings vc_teaser Status Author Slug Order Parent Comment Status"

    Data columns included in Replies Export is:
    id Content Date Post Type Permalink Status Author Slug Parent Order Comment Status Ping Status _bbp_post_id _bbp_author_ip _vc_post_settings _bbp_activity_id _bbp_topic_id _bbp_forum_id

    For Forum’s I updated Author IDs.
    For Topic’s I updated Author IDs, Parent, and _bbp_forum_id

    After a successful import for these two post types,
    bbpress recalculate will completely break the posts’ hierarchy.

    I’ve yet to find a way to get replies to import successfully due to the shear number of replies and _bbp_topic_id’s I’d have to update the new IDs for.

    siparker
    Participant

    @consultjoseph I think this is down to the id not being available.

    We are trying various dfifferent ways of doign this now with different url structures. Once we have a solution we will release it as part of the Coffeeblack BBpress extended plugin.

    the default code still works for search engine friendly urls but there are a load of other bits i am working on too. like auto setup of urls to match default vbulletin, default kunena, default phpbb and so on. so you can just choose the format from the admin side and it will just work.

    Also looking at a sensible way to auto redirect all old urls to the new ones. Which is a harder propsective change but nonetheless it should be done so this solution can work for everyone.

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