Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 10,401 through 10,425 (of 64,535 total)
  • Author
    Search Results
  • #178206
    Robkk
    Moderator

    There is a few guides that might be helpful for you in the codex.

    Import Forums

    Custom Import

    Import Troubleshooting

    Share your custom import file here if you imported successfully, and maybe a detailed explanation for other users. If you need anymore help please reply back and someone will help you.

    #178204
    abdurhman
    Blocked

    The problem has been resolved
    The problem was because of the addition (bbPress Moderation )

    But I have another problem which I have added a section Moderation of a particular
    It can modification and deletion on all other sections
    How can solve the problem and these are made Moderation of powers does not exceed its own partition
    How can I add Moderation general , You can manage all sections

    #178203
    charlfcoetzee
    Participant

    Hi

    I am planning to help a friend move over his forum from websitetoolbox.com to bbpress.

    They allow CSV and MySQL exports.

    Can you please assist me on how I should go about doing this move.

    I know how to handle CSV files, even open phpAdmin but from there on I know just enough to break the system 🙂

    If there is a tool or guide to assist me I will defiantly try it out.

    Thanks

    #178180
    Don46
    Participant

    WP 4.6 BBpress plugin 2.5.10
    I am using some of the super BBpress code suggestions at https://codex.bbpress.org/layout-and-functionality-examples-you-can-use/ and most work just fine ‘out of the box’ but I am not sure what I should be putting in place of ‘ my_nav_menu_profile_link’ in this one. If I put in the code as is….

    // Filter wp_nav_menu() to add profile link
    add_filter( 'wp_nav_menu_items', 'my_nav_menu_profile_link' );
    function my_nav_menu_profile_link($menu) {
        if (!is_user_logged_in())
            return $menu;
        else
            $current_user = wp_get_current_user();
            $user=$current_user->user_nicename ;
            $profilelink = '<li><a href="/forums/users/' . $user . '/edit">Edit Profile</a></li>';
            $menu = $menu . $profilelink;
            return $menu;
      
    }

    I get this when trying the menu link……
    Object not found!
    The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error.
    If you think this is a server error, please contact the webmaster.
    Error 404
    localhost
    Apache/2.4.23 (Win32) OpenSSL/1.0.2h PHP/5.6.24

    If I replace the ‘ my_nav_menu_profile_link’ with the actual link like this…..

    /* Profile link in menu....................*/
    // Filter wp_nav_menu() to add profile link
    add_filter( 'wp_nav_menu_items', 'http://localhost/wordpress/wp-admin/profile.php' );
    function http://localhost/wordpress/wp-admin/profile.php($menu) {
        if (!is_user_logged_in())
            return $menu;
        else
            $current_user = wp_get_current_user();
            $user=$current_user->user_nicename ;
            $profilelink = '<li><a href="/forums/users/' . $user . '/edit">Edit Profile</a></li>';
            $menu = $menu . $profilelink;
            return $menu;
      
    }

    I get this as soon as I go to the site…

    Parse error: syntax error, unexpected ‘:’, expecting ‘(‘ in C:\xampp\htdocs\wordpress\wp-content\themes\twentytenchild\functions.php on line 49
    What should I be entering and when I move to a live site will it need to be further changed?

    #178188
    haddlyapis
    Participant

    Hi,
    i have found the plugin “bbpress-login-register-links-on-forum-topic-pages”, which has mostly solved my problem.
    The only thing it doesn’t do i redirect back to the forum page after loggin in.
    Even better would be to go back to the forum post i was on before clicking “login”.
    Any help would be appreciated.
    Thx

    #178177
    Robin W
    Moderator

    ok, I’ve spent several annoying hours trying to work out how to do this, and failed miserably!!

    I expect the answer is just a few brief lines of code, and linked to the way bbpress handles both templates and wp-rewrite, but can’t fathom it out in the files

    Sorry, but I am having to give up !

    #178175
    gratefulweb
    Participant

    This is a super old thread, but I thought I’d post a solution that I used to get by the issue of having to choose a parent forum, when creating a new forum, on the front end of the site.

    In my case I just need to default to “NO PARENT” and will never want a user choosing a parent forum when creating a forum. So…

    First, put a copy of “form-forum.php” into your child theme (childtheme/bbpress/form-forum.php).

    Within form-forum.php, scroll down to the Parent Form label, which has an id of “bbp_forum_parent_id”.

    You can comment out then entire bbp_dropdown function and then add an html input field with same name, id and a value of -1.

    <input type=”hidden” name=”bbp_forum_parent_id” id=”bbp_forum_parent_id” value=”-1″>

    The key part being the value of “-1”

    Hope that helps someone!

    #178173

    In reply to: Resizing avatar size?

    Robkk
    Moderator

    Here is for the revision log avatar fix. You can remove the custom CSS you added earlier that I think you tried to fix this issue with. The reply author avatars looked fine yesterday, now today they look small at 24px.

    use this code anywhere you can put custom css. I see that you are modifying the bbPress stylesheet, so hopefully you have placed that bbpress.css file in a child theme in a folder called css instead of editing core files.

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

    #bbpress-forums p.bbp-topic-meta img.avatar, 
    #bbpress-forums ul.bbp-reply-revision-log img.avatar,
    #bbpress-forums ul.bbp-topic-revision-log img.avatar,
    #bbpress-forums div.bbp-template-notice img.avatar, 
    #bbpress-forums .widget_display_topics img.avatar, 
    #bbpress-forums .widget_display_replies img.avatar {
      float: none;
      margin: 0;
      vertical-align: middle;
      border: none;
      width: 14px;
      height: auto;
    }
    #178172
    stevexoh
    Participant

    Hi there,

    New to bbPress but couldn’t find an answer to this on another thread.

    I want to embed my forum into a page on my self hosted site. I’ve tried using the [bbp-forum-index] shortlink but it displays rather weirdly on the page.

    I’ve tried to show what I mean below:

    Is there a different shortlink I can use or another way of getting it to show up as I want it to on the page.

    Hope that makes sense and apologies if it is a dumb question.

    Steve

    #178170
    SGURYGF
    Participant

    Hi,

    is there any package available with only the changed/updated files? I want to upgrade my customized 2.5.9 BBpress to 2.5.10 but instead of having to re-apply all the customisations I did, I want only to upload the changed files.

    Thanks in advance

    #178159

    Topic: Forum Search

    in forum Troubleshooting
    Developer 7002
    Participant

    Hey there

    we’ve WordPress site for which we’ve setup BBpress for forum section. Forum section topic threads are not included in the default search. can you please let me know how we can make the changes so we can also have BBpress forum topics as a search result on our site?
    http://cathlab.com/

    Thanks in advance.

    #178158

    Hi there,

    Our staging site has the BBPress and WooCommerce plugins, but when we update the BBPress from version 2.5.8 to 2.5.10 the Forums, Topics and Replies are not showing in the Admin Dashboard. When we tried to deactivate the WooCommerce plugin, the Forums, Topics and Replies are showing. But before we do the update, even these two plugins are activated, the Forums, Topics and Replies are displaying in the Admin Dashboard.

    We have the latest version of WordPress which is 4.6.1 and we are using Divi theme. Our staging site is: http://staging.edurolearning1.flywheelsites.com/.
    I hope you can help us.

    Thanks,
    Portal

    #178155

    In reply to: Forum not Full Width

    Robkk
    Moderator

    Do you still want to use bbPress.

    I think I could fix this issue pretty easily since you are using a free theme.

    #178152
    Robkk
    Moderator

    I think you are using the bbPress moderation plugin, or a fork of it possibly.

    There might be a case you might not be using that plugin, and it could be the link limit bbPress uses that is located in the Discussion settings of your site.

    https://codex.bbpress.org/moderation-and-blacklisting/

    If the posts are pending it might be what I stated above, if its marked as spam, then of course its a spam plugin.

    #178150
    Robkk
    Moderator

    2. I just created a topic to post under a forum. Under my keyholder account, I am able to see the topic when I click on it but when I try clicking on it as a user, it doesnt show up. It just tells me there is “0 replies, has 1 post, and last updated by me” and the topic is not there.

    Follow the solutions posted in this topic below. It sounds like the issue is similar.

    https://bbpress.org/forums/topic/first-post-not-showing-3/#post-177978

    There are several links in the user profile area but they all seem to direct me to the user activities only…I cannot link to any of the content posted by other users through those links. (Same with the tool bar at the top of the page and all of the drop down menus).

    Are you saying you cannot see for example forum topics created in their BuddyPress profile?? Be a little more specific on this please.

    #178149

    In reply to: topic post type issue

    Robkk
    Moderator

    You are probably going to have to rename the custom post type “topic” in bbPress then. And areas that might be needed to modify the topic post type.

    I think you need to check out the bbpress.php file in the bbPress plugin where the custom post types are registered. There might be a filter you can use that will make you be able to modify the code externally and safely without changing the core files internally, which I don’t suggest you do if you are a beginner in coding.

    #178147
    Robkk
    Moderator

    @darrenbergman93

    We also do not want another log in. We want them to be able to log into their profile in our student portal and that is it. They have access to the forum aswell and no additional login or registering, as right now we pre-create their profiles, no one registers.

    Like @netweb said bbPress and WordPress share user data, so as long as your student portal is compatible with WordPress it should be fine. You do not need a separate login for the forum as long as the student login, logs into your WordPress site.

    We need a forum that has all the features that a forum system includes, such as:
    Adding/Creating Threads by both Student and Admins. Instructors also need to be able to create them.
    We do not want external links like Share to facebook and such. As this is a forum in a portal and do not want anyone but Students having access to it.

    Ok, you can manually create users and assign different forum roles if need be. And you can create custom forum roles with help form a code snippet. You definitely need private forums, but I am not sure how private. Do you want private user groups for specific forums, only logged in users can see the forums, or only logged in users can see the whole site.

    We do not want a profiling. We already have a profile system where the profile in wordpress is their student profile which includes their address, email, username, phone number and also their student id. This information cannot be visible to other students.
    So either if this plugin gives an external profile system where it does not interact with the profile already made in the USERS area of wordpress it would work, but if it works with the USERS part of wordpress then the clickable link to view a profile, edit profile would need to be removed for our sake.

    There is a php code snippet around these forums to remove the author link in replies and topics from going to their profile and instead show up in the forum as text. Removing profile links in descriptions and a widget might need another code snippet, or it could be easily avoidable by not using a widget and removing the descriptions.

    bbPress doesn’t add any additional user meta fields if I remember correctly.

    Removing the profiles, I haven’t looked at what code you could possibly need, but it could be possibly avoidable by redirecting any user forum profiles (if users somehow reach them) to somewhere else.

    #178145
    Robkk
    Moderator

    Email address is required to post using anonymous/guest posting.

    In this stackoverflow topic, there is a php codesnippet/plugin you can use that might be helpful.

    http://wordpress.stackexchange.com/questions/131550/how-do-i-set-up-real-anonymous-posting-in-bbpress-forums

    #178144
    Robkk
    Moderator

    I think what you are looking at is specifically for blog posts.

    I think there is a plugin to display bbPress forum post counts there if you want that feature. I am going to try to find it right now. I think it may not be on the WordPress plugin repository.

    #178141
    denisecontent
    Participant

    I have a client with a request that seems simple but I am having a dilly of a time figuring it out.

    They want to be able to charge users for premium posts. These posts will *not* appear at the top. Instead they will look different from other posts – bolded links, different color font – not at the users choice simply coded in by us. This will be a one time thing for a user – the users should not be able to do any other posts this way. I already set up the forum so that the client will approve all posts – he wants to be able to go in and click a button that will then style that post a different way.

    I can style the sticky to do this easily and have done so on my demo but am unsure how to proceed with his request. I do have a child theme.

    I know enough code to add stuff into functions and php pages. I am much better at HTML5 and CSS (can do animations).

    I have tried a few things I came up with on my own but they do not work and rather than show them I would rather hear your thoughts.

    Here is my demo – it is still pretty primitive… http://www.contentandsolutions.com/njywf/

    I am using
    Wordpress Version 4.6.1

    Customizr theme using child theme. Customizr Version: 3.4.23

    BBPress Plugin Version 2.5.10

    Code or a plugin (even a paid for plugin) if possible. Thank you!

    #178136

    Topic: Resizing avatar size?

    in forum Themes
    dogwomble
    Participant

    Hey all,

    I thought I’d post this here because I’m tearing my hair out and the only stuff I seem to be able to find is quite old so pertains to older versions.

    I have a BBPress based forum set up at https://www.crispygeek.com/forums

    Depending on who posts, the avatars can sometimes be a touch … gigantic shall we say. What I want to do is set the maximum size to, say, 48 pixels.

    I’ve had some success finding a tag in style.css as part of my global theme. The problem is, this also messes up the images on my front page news feed. And while I am starting to get the hang of this, I’m still relatively noob when it comes to some parts, I’ve found some really old posts that suggest some changes, but they tend to confuse me as to exactly where I need to make these changes. I’m hoping someone is able to offer some guidance on what I need to do to get this going,.

    #178131
    giobby
    Participant

    Hi @senatorman , I think you’ve replied in the wrong topic (https://bbpress.org/forums/topic/bbpress-2-6-alpha-problem-importing-phpbb/page/2/#post-178123).

    Just to follow up on your error: I’ve copied and pasted my queries from a Ms Word document and something got broken.
    In fact you look at the single quotes in the queries they are all wrong (’ instead of ‘).

    I have fixed the query for you and you can find the new version below:

    
    /* Get all posts with wrong author and correspondent right author from translator table */
    
    create table TMP_ORPHANS as
    select
    <YOUR_SCHEMA>.wp_posts.ID,
    <YOUR_SCHEMA>.wp_posts.post_author,
    <YOUR_SCHEMA>.wp_bbp_converter_translator.value_id real_author,
    IFNULL(<YOUR_SCHEMA>.wp_posts.post_date, NULL) post_date,
    IFNULL(<YOUR_SCHEMA>.wp_posts.post_date_gmt, NULL) post_date_gmt,
    <YOUR_SCHEMA>.wp_posts.post_content,
    CASE
    WHEN <YOUR_SCHEMA>.wp_posts.post_type = 'reply'
    THEN (SELECT tmposts.post_title from <YOUR_SCHEMA>.wp_posts as tmposts where tmposts.id = <YOUR_SCHEMA>.wp_posts.post_parent)
    ELSE <YOUR_SCHEMA>.wp_posts.post_title
    END post_title,
    <YOUR_SCHEMA>.wp_posts.post_excerpt,
    <YOUR_SCHEMA>.wp_posts.post_status,
    <YOUR_SCHEMA>.wp_posts.comment_status,
    <YOUR_SCHEMA>.wp_posts.ping_status,
    <YOUR_SCHEMA>.wp_posts.post_password,
    <YOUR_SCHEMA>.wp_posts.post_name,
    <YOUR_SCHEMA>.wp_posts.to_ping,
    <YOUR_SCHEMA>.wp_posts.pinged,
    IFNULL(<YOUR_SCHEMA>.wp_posts.post_modified, NULL) post_modified,
    IFNULL(<YOUR_SCHEMA>.wp_posts.post_modified_gmt, NULL) post_modified_gmt,
    <YOUR_SCHEMA>.wp_posts.post_content_filtered,
    <YOUR_SCHEMA>.wp_posts.post_parent,
    <YOUR_SCHEMA>.wp_posts.guid,
    <YOUR_SCHEMA>.wp_posts.menu_order,
    <YOUR_SCHEMA>.wp_posts.post_type,
    <YOUR_SCHEMA>.wp_posts.post_mime_type,
    <YOUR_SCHEMA>.wp_posts.comment_count,
    (	select <YOUR_SCHEMA>.wp_postmeta.meta_value
    from <YOUR_SCHEMA>.wp_postmeta
    where
    <YOUR_SCHEMA>.wp_postmeta.meta_key = '_bbp_author_ip' and
    <YOUR_SCHEMA>.wp_postmeta.post_id = <YOUR_SCHEMA>.wp_posts.id
    ) user_ip
    from <YOUR_SCHEMA>.wp_posts
    left join <YOUR_SCHEMA>.wp_users on <YOUR_SCHEMA>.wp_posts.post_author = <YOUR_SCHEMA>.wp_users.id
    left join <YOUR_SCHEMA>.wp_bbp_converter_translator on <YOUR_SCHEMA>.wp_posts.post_author = <YOUR_SCHEMA>.wp_bbp_converter_translator.meta_value
    where
    <YOUR_SCHEMA>.wp_posts.post_type in ('forum', 'reply', 'topic') and
    (<YOUR_SCHEMA>.wp_users.id is null or
    <YOUR_SCHEMA>.wp_users.id = 1) and
    <YOUR_SCHEMA>.wp_bbp_converter_translator.value_type = 'user' and
    <YOUR_SCHEMA>.wp_bbp_converter_translator.meta_key = '_bbp_old_user_id';
    
    /* Do this to be able to create indexes later – some may not work */
    ALTER TABLE TMP_ORPHANS modify column post_date datetime default NULL;
    ALTER TABLE TMP_ORPHANS modify column post_date_gmt datetime default NULL;
    ALTER TABLE TMP_ORPHANS modify column post_modified datetime default NULL;
    ALTER TABLE TMP_ORPHANS modify column post_modified_gmt datetime default NULL;
    ALTER TABLE TMP_ORPHANS modify column user_ip varchar(40);
    ALTER TABLE TMP_ORPHANS modify column post_title varchar(255);
    
    /* we create indexes to speed up the update process */
    ALTER TABLE TMP_ORPHANS ADD INDEX(post_date);
    ALTER TABLE TMP_ORPHANS ADD INDEX(post_author);
    ALTER TABLE TMP_ORPHANS ADD INDEX(real_author);
    ALTER TABLE TMP_ORPHANS ADD INDEX(user_ip);
    ALTER TABLE TMP_ORPHANS ADD INDEX(post_title);
    
    /* Revert bad authors to good authors */
    UPDATE
    <YOUR_SCHEMA>.wp_postsINNER JOIN <YOUR_SCHEMA>.TMP_ORPHANS
    ON <YOUR_SCHEMA>.wp_posts.id = <YOUR_SCHEMA>.TMP_ORPHANS.id
    set <YOUR_SCHEMA>.wp_posts.post_author = <YOUR_SCHEMA>.TMP_ORPHANS.real_author
    where <YOUR_SCHEMA>.wp_posts.post_type in ('reply', 'topic') ;
    
    /* Drop TMP table */
    DROP TABLE <YOUR_SCHEMA>.TMP_ORPHANS;
    

    Please remember to execute each query individually and not all of them together.
    You can easily distinguish the queries as I have put a comment before each of them.

    #178128
    Pascal Casier
    Moderator

    Hi Simon,
    Please check my response to https://bbpress.org/forums/topic/bbpress-disapeared-from-wp-admin/ and let me know if that helped or not.
    Pascal.

    #178126
    Robin W
    Moderator

    @deeve007 – it’s doable, but you’ll need to do some coding.

    The key file you want is

    wp-content/plugins/bbpress/templates/default/bbpress/user-details.php

    so

    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

    find
    wp-content/plugins/bbpress/templates/default/bbpress/user-details.php
    Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
    wp-content/themes/%your-theme-name%/bbpress/user-details.php

    bbPress will now use this template instead of the original
    and you can amend this

    you’ll see the tabs in this file.

    Do come back with what you are trying to do if you need further help

    #178125
    Pascal Casier
    Moderator

    Hi,
    If you confirm that WordPress is correctly sending out emails for other WordPress tasks, then it’s most probably one of the other plugins blocking something. Did you try to deactivate plugins like bbPress – Private Replies, bbPress – Report Content and bbPress Protected Forums ?
    Pascal.

Viewing 25 results - 10,401 through 10,425 (of 64,535 total)
Skip to toolbar