Skip to:
Content
Pages
Categories
Search
Top
Bottom

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

Viewing 25 results - 1,601 through 1,625 (of 6,813 total)
  • Author
    Search Results
  • #177522
    Bingo Bongo
    Participant

    Hi –

    (For our forums here – http://www.zetaunit.com/forums/ – W.P. V 4.5.3, using Avada 4.02)

    I see in the documentation that it is possible to replace the default bbpress wordpress template for

    the Forum Root Slug ‘Forums’

    by adding a page in WordPress called /forums/

    and then inserting the bbpress shortcode for forum archives.

    I tried this also with ‘forum’ for individual forums, and I see other Slugs available in Settings > Forum

    Single Forum Slugs

    Custom slugs for single forums, topics, replies, tags, views, and search.

    Forum
    Topic
    Topic Tag
    Topic View
    Reply
    Search

    Am I missing something, or is there a simple way to replace each of the pages used by bbpress by default, just by creating pages named e.g. ‘topic’, ‘topic-view’ etc? And then insert the relevant shortcode for that content?

    It seems like ‘it should be there’ but can’t find documentation apart from customising my child theme etc.

    Thanks in advance 🙂

    #177505
    MalMac
    Participant

    Continuing on….

    In my themes function.php file I have the following which creates my thumbnail:

    	// /bbpress/templates/default/content-single-forum
    	add_action('bbp_template_before_single_forum', 'pym_print_featured_image_single_forum', 11);
    	add_action('bbp_template_before_single_forum', 'pym_print_forum_description', 12);
    	
    	function pym_print_featured_image_single_forum() {
    		if (has_post_thumbnail()) {
    			echo '<div class="pym-bbp-topic-thumbnail">';
    			echo get_the_post_thumbnail(null, 'thumbnail' );
    			echo '</div>';
    		}
    	}

    I have been calling this elsewhere in my template using ”

    
     <?php do_action( 'bbp_template_before_single_forum' ); ?>

    I am now trying to edit content-single-forum.php to call this thumbnail using the following:

    <?php bbp_get_template_part( 'loop', 'topics' ); ?>

    How do I go about getting the thumbnail to be called in the loop?

    Thanks, Malcolm

    #177472
    Robkk
    Moderator

    @aviazz

    You already should have a way to view topics with no replies. By default bbPress has a feature called Views. It allows you to display topics with various different arguments. Topics with no replies should be one of the 2 default views which are Most popular topics and Topics with no replies

    You can link to the existing page using the Topic Views widget in your sidebar, or you can use a shortcode already provided by bbPress to display a view shortcode in a page and add it to a menu. You can also also instead add a custom link to a menu in the menus section in Appearance > Menus if you do not need to use a shortcode in a page.

    The widget is called the Topic Views widget that you will be able to see in Appearance > Widgets or you can manage your sidebars using the Customizer API in Appearance > Customize in the WordPress backend.

    https://codex.bbpress.org/features/widgets/

    The shortcode you would want to use is [bbp-single-view id='no-replies']

    https://codex.bbpress.org/features/shortcodes/#views

    If for some reason you may not already have the default view. See if its related to a theme/plugin function removing the default view by troubleshooting.

    Plugin Troubleshooting

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

    Theme Troubleshooting

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

    If its not a theme/plugin issue we can check to see if its a possible bug causing an issue.

    #177471
    Stephen Edgar
    Keymaster

    @rateyourway The “freshness” term has been removed from bbPress 2.6 (/dev) so you will not see it in the translation files, it is still there for the current bbPress 2.5.x see:
    https://translate.wordpress.org/projects/wp-plugins/bbpress/stable/es/default?filters%5Bterm%5D=freshness&filters%5Buser_login%5D=&filters%5Bstatus%5D=current_or_waiting_or_fuzzy_or_untranslated&filter=Filter&sort%5Bby%5D=priority&sort%5Bhow%5D=desc#

    Edit: The string may also be coming from your theme, switch themes to one of the included “Twenty” themes to double check.

    #177470

    In reply to: meta-single-topic

    Robin W
    Moderator

    I’m not sure that this is in bbpress – it may be that it is in your theme, or your theme is amending bbpress.

    Try the following to see if it disappears and to work out what is creating this

    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

    #177453
    epretorious
    Participant

    This may be easier than I’d thought:

    [root@cp bbpress]# grep -r 'You must be logged in' *
    languages/bbpress.pot:msgid "You must be logged in to create new forums."
    languages/bbpress.pot:msgid "You must be logged in to reply to this topic."
    languages/bbpress.pot:msgid "You must be logged in to create new topics."
    templates/default/bbpress/form-forum.php:			<p><?php is_user_logged_in() ? _e( 'You cannot create new forums.', 'bbpress' ) : _e( 'You must be logged in to create new forums.', 'bbpress' ); ?></p>
    templates/default/bbpress/form-topic.php:			<p><?php is_user_logged_in() ? _e( 'You cannot create new topics.', 'bbpress' ) : _e( 'You must be logged in to create new topics.', 'bbpress' ); ?></p>
    templates/default/bbpress/form-reply.php:			<p><?php is_user_logged_in() ? _e( 'You cannot reply to this topic.', 'bbpress' ) : _e( 'You must be logged in to reply to this topic.', 'bbpress' ); ?></p>

    What’s the “best practice” for modifying the languages file? Is that something that I can achieve with a child theme?

    TIA,
    Eric Pretorious
    Portland, OR

    #177452
    epretorious
    Participant

    > Thanks, Pascal: That worked perfectly!

    One, very important correction: If visitors to the site aren’t logged in, they see nothingnot even the warning that “You must be logged in to…” 🙁

    There must be an easy way to do away with that “Oh bother!…” bit of text without leaving visitors in the dark. 🙁

    Maybe I should just manually change the source:

    [root@cp bbpress]# grep -r bother *
    languages/bbpress.pot:msgid "Oh bother! No forums were found here!"
    languages/bbpress.pot:msgid "Oh bother! No replies were found here!"
    languages/bbpress.pot:msgid "Oh bother! No search results were found here!"
    languages/bbpress.pot:msgid "Oh bother! No topics were found here!"
    templates/default/bbpress/feedback-no-topics.php:	<p><?php _e( 'Oh bother! No topics were found here!', 'bbpress' ); ?></p>
    templates/default/bbpress/feedback-no-replies.php:	<p><?php _e( 'Oh bother! No replies were found here!', 'bbpress' ); ?></p>
    templates/default/bbpress/feedback-no-search.php:	<p><?php _e( 'Oh bother! No search results were found here!', 'bbpress' ); ?></p>
    templates/default/bbpress/feedback-no-forums.php:	<p><?php _e( 'Oh bother! No forums were found here!', 'bbpress' ); ?></p>

    Eric Pretorious
    Portland, OR

    Robin W
    Moderator

    suspect it is 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

    #177422

    In reply to: Dynamic Profile Link

    s1r0n
    Participant

    So, another question, does somebody know how to generate the nice layout of the above menu?

    How bout positioning? The default position is at the very top. How does bbpress get it to render underneath the header?

    #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

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