Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '+.+default+.+'

Viewing 25 results - 1,601 through 1,625 (of 6,788 total)
  • Author
    Search Results
  • #177418

    In reply to: Site Role

    Robkk
    Moderator

    Well I don’t entirely understand where you are getting at, but I mean its possible for a user to have 3 different roles.

    For example.

    Site Role – Subscriber – Default WordPress role
    Forum Role – Participant – Default bbPress role
    Membership Role – Premium Member – Some paid membership framework plugins role

    If you want 1 custom site role with different capabilities that other roles might have, consider creating a custom user role. But be aware of what each capability does, so that you will not give your users permissions that you do not exactly want them to have.

    Creating a custom bbPress role guide.

    https://codex.bbpress.org/custom-capabilities/

    bbPress user roles and capabilities

    https://codex.bbpress.org/getting-started/before-installing/bbpress-user-roles-and-capabilities/

    WordPress roles and capabilities

    https://codex.wordpress.org/Roles_and_Capabilities

    And a plugin I would recommend to create a custom user role with custom capabilities would be a plugin called Members by Justin Tadlock.

    #177415

    In reply to: Dynamic Profile Link

    Robkk
    Moderator

    Its the WordPress toolbar, a bit customized, but its definitely the default WordPress toolbar.

    https://codex.wordpress.org/Toolbar

    #177367

    In reply to: Site Role

    Robkk
    Moderator

    In WordPress you can set this in Settings > General in the WordPress backend in the New User Default Role setting.

    #177366
    Robkk
    Moderator

    Is this a site you created? It looks pretty darn good and it seems to try to not stay with bbPress’ default design, and everything is unique, which I very much like to see designers do.

    As for what you asked in this topic, you can do this with the help of some jquery, and a conditional whether the user is logged in or not.

    This will have links to basic code for a show/hide toggle for a simple div. Just remember to use the topic forms container ID in any code you are going to use.

    http://www.w3schools.com/jquery/jquery_hide_show.asp

    This is a possible recommendation of a conditional you should use in a function you would create with whatever modal login plugin you are using.

    if (!jQuery(this).hasClass('active') && !jQuery('body').hasClass('logged-in')) {

    #177361

    Topic: Site Role

    in forum Showcase
    starry_sky_89
    Participant

    How do you change a user’s default site role? I have a site that needs the site role changed.

    #177331
    Robin W
    Moderator

    In which case this is the easiest way.

    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/loop-single-topic.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/loop-single-topic.php

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

    so go to line 60 which says

    <span class="bbp-topic-started-by"><?php printf( __( 'Started by: %1$s', 'bbpress' ), bbp_get_topic_author_link( array( 'size' => '14' ) ) ); ?></span>

    and change the ‘size’ => ’14’ to a larger number for instance ‘size’ => ’20’

    #177266
    Robin W
    Moderator

    This is the default display.

    If you are into coding, you can check out

    Layout and functionality – Examples you can use

    or if coding is not your thing use my plugin Style Pack which will let you set up lots of stuff, including fixing the above

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

    hellojesse
    Participant

    Is your login form a widget? It looks like. Go to widgets menu and in settings or options there is url to homepage after log in which is default behavior. Try to use bbPress Login widget and check settings.

    Good Luck.

    #177228
    jbboro3
    Participant

    Hi,

    I’ve been trying to reduce the height of topic form (Tinymce) which stands at default 236px height.. I want to reduced them upto 100px.. I have searched all over, seems there is no shortcut solutions.. Can you please point me the file where I can edit that value.. For temporary period, I can touch or change the core files, if needed.

    I’m unable to locate the file.. Even not sure if those values comes from wordpress tinymce files under/includes/tinymce or it’s set in within bbpress..

    Thank you so much…

    epretorious
    Participant

    Robin:

    I installed bbPress by following the instructions here on bbPress.org:

    1. I created an empty page named “Forums” using the default forum root slug heading (i.e., ‘forums’).
    2. Then I added the empty “Forums” page to the site’s main menu.

    Eric Pretorious
    Portland, OR

    #177207

    In reply to: Edit New Topic page

    Robin W
    Moderator

    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/form-anonymous.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/form-anonymous.php
    bbPress will now use this template instead of the original
    and you can amend this

    so you will need to take out lines 31-34 which say

    <p>
    			<label for="bbp_anonymous_website"><?php _e( 'Website:', 'bbpress' ); ?></label><br />
    			<input type="text" id="bbp_anonymous_website" value="<?php bbp_author_url(); ?>" tabindex="<?php bbp_tab_index(); ?>" size="40" name="bbp_anonymous_website" />
    		</p>
    
    

    You should do this in a child theme, but if you do it in your main theme keepo a record as you will need to do this again on any theme update.

    Functions files and child themes – explained !

    epretorious
    Participant

    I’ve just performed a clean installation of WP 4.5.3 and installed Version 2.5.10 of bbPress plugin. I am currently using the Twenty Fourteen theme.

    I installed bbPress by following the instructions here on bbPress.org:

    1. I created an empty page named “Forums” using the default forum root slug heading (i.e., ‘forums’).
    2. Then I added the empty Forums page to the site’s main menu.

    The only trouble that I’m having so far is: The “Forums” menu item [in the Secondary, Left-hand menu] isn’t highlighted when viewing the Forums page. I’d begin digging around to see if I can fix the problem myself but – without knowing anything about the complexities of WordPress – I’m not even sure where to begin debugging this. Is the menu’s dynamic functionality driven directly by WordPress? By the Twenty Fourteen theme? Or by the bbPress plugin?

    Could someone please tell me how this is achieved? Or maybe tell me how to fix this?

    Eric Pretorious
    Portland, OR

    #177177

    In reply to: return to index

    Robin W
    Moderator

    It could be a theme or plugin issue

    Plugins

    Deactivate all but bbpress and buddypress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Then come back

    #177167
    Jake Hall
    Participant

    Hi,

    This is not an issue, it is a feature of the plugin you downloaded, installed and then enabled. That specific part of the plugin (the whitelist) is disabled by default, so you have enabled it yourself.

    Please read the text that is provided alongside the options in the plugin.

    The solution to this without editing the file is to simply disable the whitelist, or add the shortcodes that aren’t being displayed into the whitelist. You can do that within the ‘Extras’ tab.

    – The Plugin author.

    #177140

    In reply to: Plugin not translated

    Stephen Edgar
    Keymaster

    I just setup a new site with WP 4.5.3 and bbPress 2.5.10 es_ES

    Everything is translated for me: https://cloudup.com/ckbF2DGSPEl

    Does the theme you are using include custom bbPress templates?

    It looks like there might be an issue with the file form-reply.php

    The file can be found in: templates/default/bbpress/form-reply.php

    It should match: https://bbpress.trac.wordpress.org/browser/tags/2.5.10/templates/default/bbpress/form-reply.php

    Can you check the above for me please?

    #177139

    In reply to: Plugin not translated

    Stephen Edgar
    Keymaster

    Thanks for the screenshots, they are a big help 🙂

    The “before” screenshot has lots of untranslated strings, Topic, Viewing 2 posts - 1 through 2, Participant, Edit, Move etc etc

    Wheres most of the above are now translated in your “after” screenshot, I see 4 strings untranslated though: Reply to, Notify me of follow-up replies via email, Tags: and Submit

    Those 4 strings all appear to be translated correctly, e.g https://translate.wordpress.org/projects/wp-plugins/bbpress/stable/es/default?filters%5Bstatus%5D=either&filters%5Boriginal_id%5D=93987&filters%5Btranslation_id%5D=3551506

    p.s. Spam isn’t translated, Spam appears to be Spam in any language 😉

    I’ll dig around some more and see what I can find

    #177126

    In reply to: Plugin not translated

    Stephen Edgar
    Keymaster

    This is strange, bbPress is 100% translated into Spanish

    https://translate.wordpress.org/locale/es/default/wp-plugins/bbpress

    Here are the strings with voice, so they should work

    https://translate.wordpress.org/projects/wp-plugins/bbpress/stable/es/default?filters%5Bterm%5D=Voices&filters%5Buser_login%5D=&filters%5Bstatus%5D=current_or_waiting_or_fuzzy_or_untranslated&filter=Filter&sort%5Bby%5D=priority&sort%5Bhow%5D=desc

    Can you try removing any .po/.mo files from the languages folder that you mentioned in your original post please?

    #177104
    Robkk
    Moderator

    @robin-w

    And does this work for all themes, or just this one?

    I just come across the issue in themes every now and then. Depends if the theme includes a file called content-search.php as well, like in TwentyFifteen and TwentySixteen default themes.

    So whilst copying all the templates to the theme fixed it for the OP, is the fix just to copy content-search.php to get

    wp-content/themes/%your-theme-name%/bbpress/content-search.php

    Yes this would work as a temporary fix for bbPress forum users right now.

    You can add a patch to the ticket I created if you want to create a possible fix.

    I think possibly you would need to just rename the file on the bbPress end and that will do it, but there might be other instances in the plugin that would need a name change like in other additional template files, and possibly somewhere in the theme compat code.

    #177086
    Robkk
    Moderator

    @phileas013

    I would like the questions to be displayed the same way that on this bbpress forum.

    On these forums the developer removed the content holding the labels and also moved the post date and id number in a different area.

    Robin linked you to a plugin that enables you to show the lead topic, which this site does, so you have that. If you do not want to use the plugin, or you are really just using it to just show the lead topic, you can also use this custom php snippet that is on this site.

    https://codex.bbpress.org/bbp_show_lead_topic/

    I still do not find a way to add a border around the topic (and not the replies) or find a way to make it look different from the answers.

    You can try some custom CSS like this. It won’t look as good as this site because of how its designed as I stated above.

    .single-topic .topic {
      border: 2px solid black;
    }

    I do not understand why the line in blue with “créateur” and “sujet” appears above and below the main topic.

    Thats normal, its how the lead topic is supposed to be displayed by default.

    #177076
    Robin W
    Moderator

    It could be a theme or plugin issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Then come back

    Costin
    Participant

    Hi,

    First assure that ‘Allow guest users without accounts to create topics and replies’ is checked.

    To allow guest just to create topics, in wp-content/plugins/bbpress/templates/default/bbpress/form-topic.php one line 28 change with:

    <?php if ( bbp_current_user_can_access_create_topic_form() && !bbp_is_anonymous() ) : ?>

    To allow guest just to create topics, in wp-content/plugins/bbpress/templates/default/bbpress/form-reply.php one line 28 change with:

    <?php if ( bbp_current_user_can_access_create_reply_form() && !bbp_is_anonymous() ) : ?>

    #177048
    joshgb93
    Participant

    Update: Still didn’t find a way to fix this…
    However, I noticed that the menu is okay on mobile. Also, if I’m using another page and adding the [bbp-forum-index] shortcode to it instead of the default forums root page, it’s okay as well.

    #177027
    Robin W
    Moderator

    It could be a theme or plugin issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Then come back

    #176995
    Nik_S
    Participant

    Hi Robin, no change when I disabled all other plugins but switching the theme to the 2015 WordPress default corrected the problem.

    So, something in my theme is hiding it, and only hiding it when someone is logged in. Any ideas what could be doing this or where I should look? I can’t find anything that looks significant in the theme’s functions.php file but I suppose I don’t know what I’m searching for.

    Thanks for your help!

    #176992
    Robin W
    Moderator

    ok, so something is turning it off.

    It could be a theme or plugin issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Then come back

Viewing 25 results - 1,601 through 1,625 (of 6,788 total)
Skip to toolbar