Search Results for '+.+default+.+'
-
AuthorSearch Results
-
August 31, 2016 at 7:47 pm #177522
Topic: Single Forum Slugs: Pages, Templates
in forum TroubleshootingBingo Bongo
ParticipantHi –
(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
SearchAm 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 🙂
August 30, 2016 at 3:49 pm #177505MalMac
ParticipantContinuing 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
August 28, 2016 at 10:41 pm #177472In reply to: How to set up a page with unanswered topics?
Robkk
ModeratorYou 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.
August 28, 2016 at 9:26 pm #177471In reply to: Translations are not appearing
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.
August 28, 2016 at 3:17 pm #177470In reply to: meta-single-topic
Robin W
ModeratorI’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
August 27, 2016 at 12:14 am #177453In reply to: Providing a link to login
epretorious
ParticipantThis 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, ORAugust 27, 2016 at 12:04 am #177452In reply to: Understand forums structure
epretorious
Participant> Thanks, Pascal: That worked perfectly!
One, very important correction: If visitors to the site aren’t logged in, they see nothing – not 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, ORAugust 26, 2016 at 2:07 pm #177440Robin W
Moderatorsuspect 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
August 25, 2016 at 6:56 pm #177422In reply to: Dynamic Profile Link
s1r0n
ParticipantSo, 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?
Robkk
ModeratorWell 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 roleIf 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.
August 25, 2016 at 3:13 pm #177415In reply to: Dynamic Profile Link
Robkk
ModeratorIts the WordPress toolbar, a bit customized, but its definitely the default WordPress toolbar.
Robkk
ModeratorIn WordPress you can set this in Settings > General in the WordPress backend in the New User Default Role setting.
August 24, 2016 at 5:47 pm #177366In reply to: button for create topic
Robkk
ModeratorIs 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')) {starry_sky_89
ParticipantHow do you change a user’s default site role? I have a site that needs the site role changed.
August 24, 2016 at 3:38 am #177331In reply to: Increasing Avatar Size?
Robin W
ModeratorIn which case this is the easiest way.
create a directory on your theme called ‘bbpress’
ie wp-content/themes/%your-theme-name%/bbpresswhere %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.phpbbPress will now use this template instead of the original
and you can amend thisso 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’
August 22, 2016 at 5:34 pm #177266In reply to: Forum Index Customization
Robin W
ModeratorThis is the default display.
If you are into coding, you can check out
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
August 21, 2016 at 4:40 am #177229hellojesse
ParticipantIs 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.
August 21, 2016 at 2:06 am #177228Topic: TOPIC FORM RE-SIZE
in forum Troubleshootingjbboro3
ParticipantHi,
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…
August 19, 2016 at 8:59 pm #177213epretorious
ParticipantRobin:
I installed bbPress by following the instructions here on bbPress.org:
- I created an empty page named “Forums” using the default forum root slug heading (i.e., ‘forums’).
- Then I added the empty “Forums” page to the site’s main menu.
Eric Pretorious
Portland, ORAugust 19, 2016 at 1:40 pm #177207In reply to: Edit New Topic page
Robin W
Moderatorcreate a directory on your theme called ‘bbpress’
ie wp-content/themes/%your-theme-name%/bbpresswhere %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 thisso 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.
August 18, 2016 at 8:29 pm #177192epretorious
ParticipantI’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:
- I created an empty page named “Forums” using the default forum root slug heading (i.e., ‘forums’).
- 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, ORAugust 18, 2016 at 9:46 am #177177In reply to: return to index
Robin W
ModeratorIt 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
August 17, 2016 at 11:57 am #177167In reply to: Shortcodes do not run in Topics
Jake Hall
ParticipantHi,
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.
August 16, 2016 at 5:54 am #177140In reply to: Plugin not translated
Stephen Edgar
KeymasterI 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.phpThe file can be found in:
templates/default/bbpress/form-reply.phpIt 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?
August 16, 2016 at 5:46 am #177139In reply to: Plugin not translated
Stephen Edgar
KeymasterThanks 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,Moveetc etcWheres 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:andSubmitThose 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.
Spamisn’t translated, Spam appears to be Spam in any language 😉I’ll dig around some more and see what I can find
-
AuthorSearch Results