Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 19,001 through 19,025 (of 64,516 total)
  • Author
    Search Results
  • #150911
    obkso
    Participant

    Hey,

    Is there anyway to enable a success message when a user submits a new topic or reply, I’m using bbpress bundles with bbmoderation, bbmoderation just changes published to pending for anonymous users.

    Sadly when a user submits a reply or topic the page will just refresh and there is no message to say they’ve submitted, I’m guessing the form is submitting via AJAX but can’t seem to hook into a success.

    Thanks
    Ben

    #150910
    hitkid
    Participant

    @netweb content-single-forum.php was it!

    Turns out there is an “is not” bbp_is_forum_category() conditional statement that might be the reason it’s using that template.

    Is this meant to be like that? Here’s the Github paste of the conditional in content-single-forum.php

    Please also put a link where I can donate a bit of money to bbpress(if there is one)!

    Thank you so much 😀

    #150909

    Yes, I am. If you don’t use the pagelines-bbpress plugin, then it prints a big banner telling you that it won’t display the forum until you do so!

    #150908
    Robin W
    Moderator

    just updated this to do a particular forum as well !

    bbp additional shortcodes

    #150894
    Stephen Edgar
    Keymaster

    Argh! Both 😉

    Wherever you are testing all of this, the phpBB database must be on the same MySQL database server, not the same actual database, just the same server.

    I’m not entirely sure what the ‘wp-united’ does to the phpBB members table but there are a couple of topics here on bbpress.org about it.

    Lets skip trying to import phpBB members for a minute and just go with forums, topics and replies for starters. So try your import again without selecting to import “Users”, this should be a good test to make sure that you have a connection to the database and you are indeed using the correct prefix, I expect as you note it most likely should be phpbb3_ as per your phpBB config file.

    #150893
    hitkid
    Participant

    @netweb Thank you very much! I will try this.

    The only thing I’m kind of left confused about is how the index for topics works? In the Amending bbpress templates codex entry it states the templates for forums work like this:

    The index for the forums starts by using

    content-archive-forum.php

    If you open this up you will see that it them calls a further template by using the function bbp_get_template_part

    <?php bbp_get_template_part( ‘loop’, ‘forums’ ); ?>

    (this translates to loop-forums.php)

    this in turn calls

    <?php bbp_get_template_part( ‘loop’, ‘single-forum’ ); ?>

    (this translates to loop-single-forum)

    and so on.

    So the template hierarchy for the the forums index would look like this:
    archive-forums.php>content-archive-forums.php>loop-forums.php>loop-single-forums.php

    Would the template hierarchy for the topics index look like this:
    archive-topics.php>content-archive-topics.php>loop-topics.php>loop-single-topics.php

    Thanks again for taking the time to help me!

    #150892
    agMedia34
    Participant

    Yes, it was a remote server and for some reason would not work with the IP … said “no forums found” or something like that.

    Then I moved it (wordpress) to the same server as phpbb because I needed it for the bridge (wp-united) … which I tried, but got mixed up on the MOD installation. Im not a phpbb guy, and know nothing about MODS – also did not want it bridged … but rather pulled over to bbpress.

    So I thought … well try the import now with localhost since it is now on the same server.

    The bridge plugin is deactivated and deleted.

    phpbb settings match exactly with the config file. Though in the database there is both phpbb_ and phpbb3_ for prefixes … phpbb3_ is the one listed in config. But I did try with both just to see and ended up with the same response of starting … but then nothing at all.

    Ive been working on this site now since February, back and forth to fine tune everything and the “very last” piece is to just get his current phpbb into bbpress for “1” platform / admin / user interface vs having 2 separate sites, users, logins, etc.

    Just need to get this wrapped up and find it impossible to get any of the import functions to work via the built in forum import, or the plugins I have tried.

    #150891
    Stephen Edgar
    Keymaster

    I see your using a Pagelines theme, are you using the Pagelines bbPress plugin? (You need this for Pagelines themes last time I looked)

    Stephen Edgar
    Keymaster

    Have you played with bbp_parse_args() yet? This is used ~100 times in bbPress to allow you to change array arguments ‘before’ or ‘after’.

    BuddyPress introduced bp_parse_args in BuddyPress 2.0, and as they have some good docs and we don’t yet here for bbPress check this out:

    https://codex.buddypress.org/plugindev/using-bp_parse_args-to-filter-buddypress-template-loops/

    So for the bbPress function bbp_list_replies() you’d use bbp_before_list_replies_parse_args

    https://bbpress.trac.wordpress.org/browser/tags/2.5.4/includes/replies/functions.php#L2192

    Does this get you on the right track? I hope so as I’ve never played with custom walkers 😉

    #150888
    Stephen Edgar
    Keymaster

    What you should do is tweak the arguments passed to the breadcrumb so you can add/change the CSS classes (and or HTML elements) for the breadcrumbs, the plugin extends what is already listed in the codex docs and shows you all of the options available and you should be able to tweak it for what you are after.

    https://gist.github.com/ntwb/7781901

    Layout and functionality – Examples you can use

    #150887
    Stephen Edgar
    Keymaster

    Whenever a change is made to bbPress — update the plugin, change a setting, etc — the WordPress user roles in wp_options->wp_user_roles are erased

    I have a theory as to why this ‘may’ happen with a plugin update, I’ll have to go find what I’m thinking of that may have been included in a recent bbPress release (2.5.3 or 2.5.4) but the roles being erased by changing a bbPress setting I have not seen, nor can I think of any reason why this would be happening.

    Could you test this part for me please:

    1. Open up WordPress Users admin panel
    2. Verify the listed users on the first page have both a WordPress and bbPress role
    3. Open bbPress Settings page and change a couple of settings and save
    4. Go back to WordPress users, do the same users still have both WordPress and bbPress roles?

    The closest I have seen to this is detailed in the following ticket, but this issue is when changing users roles via the bulk actions, #2597.

    #150886
    Stephen Edgar
    Keymaster

    See the link Robin posted in the other topic or here it is.

    #150885
    Stephen Edgar
    Keymaster

    At a guess, it’s hard to guess without a link or screenshots I’d say your themes including some template content you don’t actually want.

    Depending on your theme you need to make a copy of your page.php file and rename it bbpress.php.

    To add new fields to a users profile you can add new fields, see this plugin for an example and the relevant WordPress Codex docs:
    https://gist.github.com/ntwb/c70caf5a0aa9d3062a6d
    https://codex.wordpress.org/Plugin_API/Filter_Reference/user_contactmethods

    #150882
    Stephen Edgar
    Keymaster

    A quick look the following tweaks your background colors to match (colors are not exact though) and they should be tweaked to match your themes color scheme etc.

    
    #bbpress-forums div.odd, 
    #bbpress-forums ul.odd,
    #bbpress-forums div.even, 
    #bbpress-forums ul.even,
    #bbpress-forums li.bbp-header {
    background-color: #113450;
    }
    
    #bbpress-forums div.bbp-forum-header, 
    #bbpress-forums div.bbp-topic-header, 
    #bbpress-forums div.bbp-reply-header {
    background-color: #112350;
    }
    

    #150880
    Stephen Edgar
    Keymaster

    I have no idea what you are referring to, bbPress does not include any icons for anything but the bbPress ‘Forum’, ‘topic’ and ‘replies’ sections in WordPress backend.

    Some screenshots and a link to your site would be helpful.

    #150879
    Stephen Edgar
    Keymaster

    The reason your user profiles are not working as they should is the same reason I posted in the other topic here.

    Something is ‘not quite working right’ with your theme and causing weird things to happen with your templates.

    By fixing your theme and templates your users should then be able to click their username from any location and if logged in will be able to see the ‘Edit’ link on their profile and then edit their profile on the front end.

    #150877
    hitkid
    Participant

    Thank you @robin-w for the great and speedy reply.

    I was just trying to remove the breadcrumb in the content-archive-topics.php template to test if that’s the file I’m suppose to edit. Really I want to rearrange and do a whole lot of different things. Like what it says in the Amending bbpress templates codex entry.

    Note* All the forum templates work great! Unlike the topic templates, any change I make to these files appears in the forum index as they should: archive-forums.php>content-archive-forums.php>loop-forums.php>loop-single-forums.php

    That’s a great entry in the codex.

    7. How can I remove all the breadcrumbs from the templates and set them at the top of the page?

    Moving around the breadcrum is more of what I want to do, but I can’t find the template file for the topics to add the <div class=”truebreadcrumbs”> to the bbp_breadcrumb(); to be able to use css to move it around. If that makes sense.

    Sorry if I’m being confusing and I thank you very much for your help 🙂

    #150873
    mncompact
    Participant

    My forums using bbPress were working fine and suddenly the interface for users to compose appears to be disappearing. The icons are faded to the point where you can’t read them. What’s causing this?

    Clint Mallon
    Participant

    Robkk,

    This worked perfectly!!!! THANK YOU!

    For anyone that is looking to do this, the following text below is what I saved in my notes:

    “There is a custom theme for bbpress which is mainly used for Envato marketplace plugins or theme authors support. The link can be found below:

    https://github.com/syamilmj/Supportte

    Find meta-private.php with in the bbpress folder – The text can be found here:

    https://github.com/syamilmj/Supportte/blob/61eff729838a28d0b88d6aeab6352a5368687ab8/bbpress/meta-private.php

    Open FTP or File Manager and create this path:

    public_html > wp-content > themes > YourTheme or YourChildTheme, then create a new folder called bbpress (all lowercase!!).

    Inside the new bbpress folder, create a .php file named meta-private.php (you can find any .php file inside public_html, duplicate it, move it inside the bbpress folder, then rename it and replace the text inside with the default text below).

    <div class=”bbp-template-notice not-logged-in”>
    <p>Sorry, this forum is for verified users only. Please “>Login or “>Register to continue</p>
    </div>

    You can edit this to reflect whatever you’d like. I changed mine to:

    <div class=”bbp-template-notice not-logged-in”>
    <p>Sorry, this forum is for verified users only. Please Login or Register to continue.</p>
    </div>

    Now that it’s inside your theme or child theme, this text is safe for upgrades and the Login / Register links are no longer links!!”

    Cheers, Robkk!! Greatly appreciated!

    #150870
    mostlyjan
    Participant

    I am going crazy and would love to get help here or hire someone. Am using bbPress but no emails are being sent to users.

    We are hosted on MediaTemple’s Gridservice.
    We use theme AVADA
    We created a forum in Admin and another using the frontend (read somewhere this may matter).
    Added all our users via Admin: 73 Participants, 3 Moderators, 2 Keymasters
    We tried the BBpress Digest Plugin but it never worked. Developer seems to be MIA.
    We tried BBpress Email notifications but that did not work either.
    We added the SMTP plugin; the “test emails” using it arrive fine but again, no subscription emails are ever sent.
    WordPress admin emails DO work fine (eg ‘pswd changed for user XYZ’).
    Activated Plugins:

    • bbPress,
    • GD bbPress Attachments
    • bbPress auto subscribe for new topics and replies,
    • Black Studio TinyMCE
    • Custom Login
    • Simple Members only
    • WP-Mail-SMTP
    • Fusion Core (Avada theme)

    We have a single Forum. At the top of that forum, there is no subscription/favorite link either.

    this very well may be the host but i am not 100% sure of that as the other emails work.

    i would happily pay someone to figure this out. i have spent hours and hours on this and am ready to look for alternatives. But unfortunately i have topics and 73 users…

    thanks to anyone who can give me new things to try. I am losing it here. And as said, i am all open to hiring someone; not sure what the policies are to that effect on this site…

    #150868
    Robin W
    Moderator

    if you want to get rid of the breadcrumb use

    Layout and functionality – Examples you can use

    what else do you want to achieve?

    #150866
    hitkid
    Participant

    I’m trying to get rid of and change the layout of the: bbp-template-notice info and bbp-breadcrumb, in the topics index. So Home>Forums>Test Topic. I’m having trouble figuring out if there is a bug, or I’m missing something, or I just have the template hierarchy wrong.

    How I believe the template hierarchy works: archive-topics.php>content-archive-topics.php>loop-topics.php>loop-single-topics.php

    I figure the changes I would need to make would be in archive-topics.php or content-archive-topics.php, but when I delete the <?php bbp_breadcrumb(); ?> as a test it’s still there.

    When I make changes to loop-topics.php and loop-single-topics.php, it works fine. It’s just those two page templates.

    I’ve tried editing the bbpress.php file from:

    <?php /* Start loop */ ?>
    	<?php while (have_posts()) : the_post(); ?>
    		<article <?php post_class() ?> id="post-<?php the_ID(); ?>">
    			<header>
    				<h1 class="entry-title"><?php the_title(); ?></h1>
    			</header>
    			<div class="entry-content">
    				<?php the_content(); ?>
    			</div>
    		</article>
    	<?php endwhile; // End the loop ?>

    and swapping the content for <?php bbp_get_template_part( ‘content’, ‘archive-topic’ ); ?>. That worked but it messed with my forums index.

    I’ve taken a look in the codex to try and figure out what I’m doing wrong and feel lost.
    tep-by-Step Guide to Creating a Custom bbPress Theme

    Getting Started in Modifying the Main bbPress Template

    Sorry if this is a bother, but I’m completely stumped as to what’s going on

    #150862
    Robin W
    Moderator

    Not sure why you only want editing in the backend. Indeed I’m not sure why you want anyone to have access to the backend at all, apart from admins !

    However presuming that you actually just want no-one to change their profiles

    You will need to modify
    wp-content/plugins/bbpress/templates/default/bbpress/user-details.php

    make a copy of this file, and put in in a directory called bbpress within your theme, so you end up with
    wp-content/%your-theme-name%/bbpress/user-details.php

    The take out lines 63-69

    <li class="<?php if ( bbp_is_single_user_edit() ) :?>current<?php endif; ?>">
    						<span class="bbp-user-edit-link">
    							<a href="<?php bbp_user_profile_edit_url(); ?>" title="<?php printf( esc_attr__( "Edit %s's Profile", 'bbpress' ), bbp_get_displayed_user_field( 'display_name' ) ); ?>"><?php _e( 'Edit', 'bbpress' ); ?></a>
    						</span>
    					</li>
    
    				<?php endif; ?>
    
    

    This will stop any front end editing

    #150860
    Robin W
    Moderator

    I’ve just recut my topics shortcode to allow you to do just that

    bbp additional shortcodes

    #150859
    Robmcclel
    Participant

    Team bbPress,

    I have a multi-site install with BuddyPress (http://thirdscribe.com), and we use bbPress to power the BP forums. Recently, we’ve been seeing a very specific, and unusual, problem. Whenever a change is made to bbPress — update the plugin, change a setting, etc — the WordPress user roles in wp_options->wp_user_roles are erased. The bbPress roles (keymaster, participant, etc) are preserved, but the WP roles (admin, editor, contributor, etc) are completely gone.

    Do you know what is causing this?

    Thanks,
    Rob

Viewing 25 results - 19,001 through 19,025 (of 64,516 total)
Skip to toolbar