Search Results for ' . default . '
-
AuthorSearch Results
-
November 9, 2020 at 5:09 pm #215783
In reply to: Can AJAX be enabled for bbPress?
berry metal
ParticipantHi again,
I added this code:
if ( function_exists( 'bbp_enqueue_script' ) && function_exists( 'bbp_get_version' ) ) { bbp_enqueue_script( 'bbpress-engagements', 'js/engagements.js', array( 'jquery' ), bbp_get_version(), true ); }so now it looks like this:
add_shortcode( 'bbpresscomments', function() { $output = ''; $current_id = function_exists( 'vcex_get_the_ID' ) ? vcex_get_the_ID() : get_the_ID(); $topics = new WP_Query( array( 'post_type' => 'topic', 'posts_per_page' => -1, 'fields' => 'ids', ) ); if ( $topics->have_posts() ) { // enqueue scripts on this next line... if ( function_exists( 'bbp_enqueue_script' ) && function_exists( 'bbp_get_version' ) ) { bbp_enqueue_script( 'bbpress-engagements', 'js/engagements.js', array( 'jquery' ), bbp_get_version(), true ); } foreach( $topics->posts as $topic ) { if ( get_the_title( $topic ) == get_the_title( $current_id ) ) { $output .= do_shortcode( '[bbp-single-topic id="' . intval( $topic ) . '"]' ); } } } return $output; } );because I can see that code that enables all functionality including AJAX, is only enqueued for bbPress pages:
And it’s not enabled for bbPress shortcodes.
Is this right?
Could you please tell me what is wrong with my code, and why cannot I enqueue the scripts that will enable AJAX for the shortcodes?
Instead of proper enqueuing, my code makes the buttons not work at all, when I click on them, nothing happens.
November 9, 2020 at 4:15 pm #215781In reply to: Font size on new installation
Adam
ParticipantInterestingly, the forum font names are inherited from the Google Fonts plugin I’m using, which is great.
Presumably you don’t specify a default font name then? Is there a major reason why you specified a default font size?
November 9, 2020 at 2:32 pm #215775In reply to: Font size on new installation
Adam
ParticipantHi Robin,
I could do a child theme and CSS if that’s necessary but I am trying to figure out whether it is actually necessary.If you look at the page I’ve linked to – the topics index for the single forum on my website I believe – then I assume you’ll see the same as me, which is that there is the massive page title, which is default Twenty Twenty theme like the rest of the website, and there is the tiny bbPress text, inc. forum information, pagination text, topic title etc.
I tried changing the forum information font size in the Topics Index Styling tab but it had no effect. Am I using the wrong bbPress Style Pack tab?
November 9, 2020 at 2:10 pm #215773Topic: Search input redirect to index.php
in forum Troubleshootingyurius
ParticipantWhen I input terms to the search form, it redirect to index.php.
<?php bbp_get_template_part( 'form', 'search' ); ?>I went through troubleshooting here and changed search slag to ‘find’ but it couldn’t resolve.
I also tried common troubleshooting here: https://codex.bbpress.org/getting-started/troubleshooting/
Nothing changed.It seems my customized theme causing an issue because it worked when I switched to the default ‘Twenty Nineteen’ theme it worked.
But I have no idea which part is causing the issue. Can somebody help?November 5, 2020 at 1:30 pm #215679Topic: Font size on new installation
in forum ThemesAdam
ParticipantHi,
sorry for the noob question, hopefully the answer’s easy, but I can’t figure it out or find an answer online. Slightly overwhelmed by the 25 tabs on the bb style pack settings.
I just installed bbpress and the style pack on my WordPress site and set up my single forum here:
However the font size is tiny. I’m using theme Twenty Twenty so I figured it should be defaulting to something that blends right in. Isn’t that the way it’s meant to work?
November 2, 2020 at 1:44 pm #215610In reply to: Registration, No password
Robin W
Moderatorok, yes bbpress just uses wordpress registration
it could be an email issue – email is notoriously difficult to get consistent – many email companies see wordpress emails as spam.
so I’d try the following which is my standard email advice:
1. You should be aware that many spam filters strip messages that do not come from the correct address. So if your site is mysite.com and your email address
in wordpress settings>general is fred@gmail.com then it is likely that messages will be dumped in transit.
You need to set up email to come from your site eg fred@mysite.com, your hosting provider can help if needed.
2. Just bbpress?
Then you need to see if this is wordpress wide or just bbpress.
Try https://wordpress.org/plugins/check-email/it could be a theme or plugin issue
Themes
As a test switch to a default theme such as twentyfifteen, and see if this fixes.
Plugins
If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users
Next try switching to smtp email – this page from the host Siteground explains it
https://www.siteground.co.uk/tutorials/wordpress/use-smtp/
and of course
By default, you do NOT receive emails for your own topics/replies, only if somebody else replies on your subscribed topics
so testing would need two email accounts to prove !
November 2, 2020 at 12:53 pm #215607In reply to: Missing Submit Button for Reply to Topic
Robin W
Moderatorlooks like a css issue.
if this is a new installation (that is submit has never shown) then it could be a theme or plugin issue
Themes
As a test switch to a default theme such as twentyfifteen, and see if this fixes.
Plugins
If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users
November 2, 2020 at 4:26 am #215593In reply to: Lost Right Sidebar
Robin W
Moderatorhmm.. not really a bbpress issue, and nothing has changed in bbpress recently.
it could be a theme or plugin issue
Themes
As a test switch to a default theme such as twentyfifteen, and see if this fixes.
Plugins
If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users
October 29, 2020 at 7:04 pm #215535In reply to: Threaded Replies – Still not working
AndyHenderson
ParticipantThanks for spotting that. I’d assumed it was something I had done to disrupt BBPress but I hadn’t spotted the page was being refreshed and that it cleared the Javascript error from the console.
Until the issue is fixed, a better work-around is to add a filter to functions.php rather than modify the BBPress code directly. That way the fix should survive a BBPress update. I used…
// Prevent reply button in forums from executing a refresh of the page add_filter('bbp_get_reply_to_link', 'ctcFixReplyToLink', 10, 3); function ctcFixReplyToLink( $link, $r, $args ) { return str_ireplace( '"return addReply', '"event.preventDefault(); return addReply', $link ); }October 27, 2020 at 2:56 pm #215493In reply to: Forum description
Robin W
Moderatorcan only suggest it could be a theme or plugin issue
Themes
As a test switch to a default theme such as twentyfifteen, and see if this fixes.
Plugins
If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users
October 25, 2020 at 5:16 pm #215436In reply to: Removing Entry Page Title on Forum Index Page
Robin W
Moderatorok, can only suggest you try this, and then discuss with your theme author
it could be a theme or plugin issue
Themes
As a test switch to a default theme such as twentyfifteen, and see if this fixes.
Plugins
If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users
October 24, 2020 at 11:38 pm #215421In reply to: bbPress registration email confirmation
elangoemperorsite
ParticipantIf you wish to use a different default restriction message for your forums and topics you can customize them from Paid Member Subscriptions -> Settings -> Content Restriction.
These restriction messages are helpful if you want to have a different marketing copy for forums and topics, leaving the other restricted content with the marketing copy you already have in place.
Hope this helped you.October 24, 2020 at 11:54 am #215408In reply to: bbPress registration email confirmation
Robin W
Moderatorbbpress registration just uses wordpress registration, so likely a site/wordpress issue
copy/paste of my standard advice on email – hopefully it will help
1. You should be aware that many spam filters strip messages that do not come from the correct address. So if your site is mysite.com and your email address
in wordpress settings>general is fred@gmail.com then it is likely that messages will be dumped in transit.
You need to set up email to come from your site eg fred@mysite.com, your hosting provider can help if needed.
2. Just bbpress?
Then you need to see if this is wordpress wide or just bbpress.
Try https://wordpress.org/plugins/check-email/it could be a theme or plugin issue
Themes
As a test switch to a default theme such as twentyfifteen, and see if this fixes.
Plugins
If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users
Next try switching to smtp email – this page from the host Siteground explains it
https://www.siteground.co.uk/tutorials/wordpress/use-smtp/
and of course
By default, you do NOT receive emails for your own topics/replies, only if somebody else replies on your subscribed topics
so testing would need two email accounts to prove !
October 22, 2020 at 8:57 pm #215393a298e
ParticipantOctober 20, 2020 at 4:03 pm #215340In reply to: last reply on Freshness
Robin W
Moderatorit could be a theme or plugin issue
Themes
As a test switch to a default theme such as twentyfifteen, and see if this fixes.
Plugins
If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users
Then come back
October 20, 2020 at 2:35 am #215301In reply to: bbPress crashes the theme WPLMS
Robin W
Moderatoryou need to confirm that it is JUST wplms and bbpress
follow this
Themes
As a test switch to a default theme such as twentyfifteen, and see if this fixes.
Plugins
If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users
October 19, 2020 at 12:59 pm #215295In reply to: Email notifications – nothing working
Robin W
Moderator1. You should be aware that many spam filters strip messages that do not come from the correct address. So if your site is mysite.com and your email address in wordpress settings>general is fred@gmail.com then it is likely that messages will be dumped in transit. You need to set up email to come from your site eg fred@mysite.com, your hosting provider can help if needed.
2. Just bbpress?
Then you need to see if this is wordpress wide or just bbpress.
Try https://wordpress.org/plugins/check-email/it could be a theme or plugin issue
Themes
As a test switch to a default theme such as twentyfifteen, and see if this fixes.
Plugins
If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users
Then come back
and of courseBy default, you do NOT receive emails for your own topics/replies, only if somebody else replies on your subscribed topics
so testing would need two email accounts to prove !
October 19, 2020 at 7:01 am #215285In reply to: TinyMCE editor without html tags
albertoe
Participantyes I see.
And how is possible Visual Editor mantein this format
but if you change to HTML editor, is OK?How can I do to restore de default format of visual editor?
October 19, 2020 at 6:55 am #215283In reply to: TinyMCE editor without html tags
Robin W
Moderatorif you decativate and delete the plugin and then re-install, then forums, topics etc. will be kept, but css will revert to default
October 16, 2020 at 3:28 am #215241In reply to: full width and remove sidebar
albertoe
ParticipantThanks Robin, I check that a bbpress.php was created with this code:
<?php get_header(); ?> <div class="td-main-content-wrap td-main-page-wrap td-container-wrap"> <div class="td-container"> <div class="td-pb-row"> <div class="td-pb-span8 td-main-content"> <div class="td-ss-main-content"> <?php if (have_posts()) { while ( have_posts() ) : the_post(); ?> <h1 class="entry-title td-page-title"> <a href="<?php the_permalink()?>" rel="bookmark" title="<?php the_title_attribute() ?>"><?php the_title() ?></a> </h1> <?php the_content(); endwhile; //end loop } ?> </div> </div> <div class="td-pb-span4 td-main-sidebar"> <div class="td-ss-main-sidebar"> <?php dynamic_sidebar( 'td-default' ) ?> </div> </div> </div> <!-- /.td-pb-row --> </div> <!-- /.td-container --> </div> <?php get_footer(); ?>And I change with for this code:
<?php get_header(); ?> <div class="td-main-content-wrap td-main-page-wrap td-container-wrap"> <div class="td-container"> <div class="td-pb-row"> <div class="td-pb-span8 td-main-content"> <div class="td-ss-main-content"> <?php if (have_posts()) { while ( have_posts() ) : the_post(); ?> <h1 class="entry-title td-page-title"> <a href="<?php the_permalink()?>" rel="bookmark" title="<?php the_title_attribute() ?>"><?php the_title() ?></a> </h1> <?php the_content(); endwhile; //end loop } ?> </div> </div> </div> <!-- /.td-pb-row --> </div> <!-- /.td-container --> </div> <?php get_footer(); ?>I refresh cache but nothing happends. Any idea?
October 15, 2020 at 3:24 am #215211In reply to: 404 error issue
Robin W
Moderatorit could be a theme or plugin issue
Themes
As a test switch to a default theme such as twentyfifteen, and see if this fixes.
Plugins
If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users
Then come back
October 14, 2020 at 7:35 am #215197In reply to: Enable Mention Auto Suggest
wjh
Participant- WordPress 5.4.2
- bbpress 2.6.5
- Buddypress 6.3.0 w/ Activities module activated
- bbp Style pack w/ both form editors (TinyMCE + text) activated
- bbp Mentions suggest
The bbp Mentions suggest plugin by the venerable @robin-w still works and enables autocomplete mentions in TinyMCE as well as in the Text (HTML) tab of the editor … but only on initial page load, since bbpress 2.6.2.
Since bbpress 2.6.2, when clicking on Reply to a specific comment on a subject thread, the dynamic reply form now appears under the comment in question, and the window scrolls to it. Which is a very nice improvement! However, this breaks Robin’s plugin for the TinyMCE editor (mentions do still autocomplete in the Text editor, at least).
I’m not a developer but I’m guessing it has to do with the new version of /bbpress/templates/default/js/reply.js, specifically the
addEditorfunction at the end of the file.
@robin-w any ideas how to get your plugin to play nice with the dynamic reply form in bbpress ≥2.6.2?Or anyone else out there?
Cheers in advance!
October 12, 2020 at 7:23 am #215159In reply to: Parent forum disappears
Robin W
ModeratorIn the right sidebar of the Forum Edit page, under Forum Attributes, I select a parent forum from the list. After pressing Update, the field switches back to -No parent-.
I cannot replicate this – forum parents are saved and can be switched back and forth.
it could be a theme or plugin issue
Themes
As a test switch to a default theme such as twentyfifteen, and see if this fixes.
Plugins
If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users
Then come back
October 8, 2020 at 6:23 am #215060In reply to: how to remove(hide) bbPress login form
Robin W
Moderatorwow, could be many of these or combination of them or your theme
The best I can suggest is
Themes
As a test switch to a default theme such as twentyfifteen, and see if this fixes.
Plugins
If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users
October 6, 2020 at 6:15 am #215016In reply to: how to remove(hide) bbPress login form
Robin W
Moderatorand read https://bbpress.org/forums/topic/how-to-remove-default-bbpress-login/
that should work, it might be that another plugin is overriding this.
what other bbpress related plugins do you have ?
-
AuthorSearch Results