Search Results for 'code'
-
AuthorSearch Results
-
July 29, 2015 at 11:33 am #164750
In reply to: Create new topic form width
Robkk
Moderator#bbpress-forums fieldset.bbp-form input[type=text] { border: 1px solid #e4e4e4; padding: 0.5em 0; }`
July 29, 2015 at 11:19 am #164748In reply to: Internal Server error on Search
Robkk
ModeratorIf you guys haven’t already try some troubleshooting.
Also check out these possible solutions for this specific error.
https://codex.wordpress.org/Common_WordPress_Errors#Internal_Server_Error
July 28, 2015 at 6:11 pm #164727In reply to: Create new topic form width
Robkk
ModeratorIf you are talking about the email, website, and name fields this will do it.
#bbpress-forums fieldset.bbp-form { padding: 0!important; }July 28, 2015 at 2:02 pm #164712Topic: Embedding forum into a page
in forum Installationx0rchid
ParticipantI want to embed a forum in a page, such that the user doesn’t leave the page when creating or viewing a topic. I.e unlike the code
[bbp-single-forum id=$id], the user stays in the same pageIs there a simple way to do this?
July 28, 2015 at 1:04 pm #164707In reply to: Registration Email Not Being Sent – new issue
Robkk
ModeratorThis topic was for issues made in bbPress version 1 which was a standalone version, the latest is a plugin for WordPress. The registration process on your site is mostly handled by WordPress. bbPress does have a registration form shortcode, but even that kind of piggybacks off of the WordPress registration form. If there is something wrong with your regular WordPress emails, which might include new comment emails for WordPress comments then you definitely need to hear from your hosting provider. If it is just the registration emails sent to users, you might need to contact WordPress support on their forums. https://it.wordpress.org/forums/
July 28, 2015 at 12:44 pm #164706In reply to: Created forum not showing
Robkk
ModeratorTry some troubleshooting to see what could be causing the issue.
July 28, 2015 at 11:46 am #164699In reply to: User Profile “Replies created” not showing
Robkk
ModeratorThis custom CSS might help.
#bbpress-forums #bbp-user-wrapper ul.bbp-replies { clear: both !important; }Off topic but I really like the color scheme you have going with your site.
July 28, 2015 at 9:42 am #164681Topic: Disable auto update of language files
in forum TroubleshootingHansRuedi
ParticipantI have
add_filter( 'auto_update_translation', '__return_false' );in my functions file but bbpress language files are updated anyway. What can I do to stop it? Thanks for help!July 28, 2015 at 8:52 am #164680Topic: Login Widget URLS
in forum TroubleshootingMarcus Pearson
ParticipantHello. I use bbPress on the latest wordpress version and running into trouble. I spent half of hour exploring bbPress source code but i couldn’t find the file which generates “Forgot password” and “Register” links in bbPress Login Widget. I really need to changed, for my site, to do not use wp-login page. I want to use my own configured pages /login and /register.
How can i do that?
Thank you very much!July 27, 2015 at 8:00 pm #164660Robkk
ModeratorWhat about this?? It will hide @mentions in bbPress forums though.
.activity-list .bbpress, .activity-list .bbpress { display: none; }July 27, 2015 at 6:20 pm #164654In reply to: Importing from WBB4
Robkk
ModeratorJuly 27, 2015 at 6:16 pm #164652In reply to: Help with importing from WBB3.1
Robkk
ModeratorThanks you for sharing your fork.
Have you read this for that freezing issue??
July 27, 2015 at 5:53 pm #164650Robkk
ModeratorIts not a plugin specific error. Your server just can’t handle too much memory usage. WordPress may need more memory to use for your site. It has increased the minimum requirements before.
https://core.trac.wordpress.org/ticket/21646
You can follow the link I placed above then follow another link to show you some code to add to your wp-config.php file and see if that fixes your issue, in most cases it likely will. In some situations your server will cap the allowed memory so you may need to contact them about increasing it more.
If you want you can also google your issue and you will see countless posts on the wordpress.org forums about this, and they have the same exact answer.
July 27, 2015 at 5:11 pm #164646Robkk
ModeratorThere is probably a better way then CSS but it is all I could find real quick.
Does this work??
.activity-list li.bbp_topic_create, .activity-list li.bbp_reply_create { display: none; }July 27, 2015 at 4:59 pm #164643Robkk
ModeratorYeah this issue is not because of the bbPress plugin but your site does not have enough memory.
https://codex.wordpress.org/Common_WordPress_Errors#Allowed_memory_size_exhausted
July 27, 2015 at 3:04 pm #164638Robkk
ModeratorYou have to copy the main template bbPress is inheriting from your theme for its layout and create a bbpress.php file from it. This would usually require you to remove the sidebar code, then use CSS to make the layout fullwidth.
July 27, 2015 at 11:42 am #164627In reply to: Logout Link Redirects to Topic
drinkingsouls
ParticipantBasically when I activate bbPress on my blog the log out links no longer work. It seems to append a redirect to the end of log out links which prevents it from working. I’m not sure why but it’s definitely to do with bbPress.
Here is the logout anchor tag when bbPress is deactivated (works)
<a href="http://test.webshrimp.uk/wp-login.php?action=logout&_wpnonce=1ef350795a">Log out</a>Here is the anchor tag when bbPress is activated – doesn’t do anything
<a href="http://test.webshrimp.uk/wp-login.php?action=logout&_wpnonce=1ef350795a&redirect_to=http%3A%2F%2Ftest.webshrimp.uk%2F%3Floggedout%3Dtrue">Log out</a>Any help would be greatly appreciated.
Thank you.July 27, 2015 at 5:30 am #164621In reply to: How can I hide category when create a new topic?
PinkishHue
ParticipantI’m assuming by category you mean the forum that the topic is in?
You can remove the forum dropdown menu and use a hidden field here instead.
In your theme you need to have this file:
wp-content/your-theme/bbpress/form-topic.php
If you don’t have it, copy it over from the bbpress default templates at:
wp-content/plugins/bbpress/templates/default/bbpress
Then open your new form-topic.php in a text editor and find this part of the code:
<p> <label for="bbp_forum_id"><?php _e( 'Forum:', 'bbpress' ); ?></label><br /> <?php bbp_dropdown( array( 'show_none' => __( '(No Forum)', 'bbpress' ), 'selected' => bbp_get_form_topic_forum() ) ); ?> </p>and replace it with this:
<input id="bbp_forum_id" type="hidden" name="bbp_forum_id" value="20">Where 20 is the ID no. of the forum you want all topics to be created in.
Hope that helps 🙂
July 27, 2015 at 2:49 am #164616In reply to: bbcode Visual Editor for bbpress
killer_x10
ParticipantYou could’ve added a function to allow extra tags though.
I think most people prefer bbcode in the Forums and besides I’m not a Developer, I know very little js and just started with php (You could call me Web Designer though).
But the close Tags isn’t still working for me, I think I’m just gonna publish the Site without that functionality.
July 26, 2015 at 10:18 pm #164615In reply to: Replies Created Tab Showing Full Posts
Robkk
ModeratorFound this snippet earlier this week, this should help not allow guest users to see BuddyPress Profiles.
/** * Redirect buddypress and bbpress pages to registration page */ function kleo_page_template_redirect() { //if not logged in and on a bp page except registration or activation if( ! is_user_logged_in() && ! bp_is_blog_page() && ! bp_is_activation_page() && ! bp_is_register_page() ) { wp_redirect( home_url( '/register/' ) ); exit(); } } add_action( 'template_redirect', 'kleo_page_template_redirect' );July 26, 2015 at 9:30 pm #164611In reply to: Modify forum index page and some
Robkk
ModeratorI’ve looked inside the loop-forums.php template, then found this <?php do_action( ‘bbp_template_before_forums_loop’ ); ?> being executed. Which template file is bbp_template_before_forums_loop pulling from ?
Sorry for the late reply, but that is a hook. If you want the login form only above the forum index just echo the shortcode like so above or below that hook.
<?php echo do_shortcode("[shortcode]"); ?>or if you are pretty good with PHP just use the hook.
If you want the login form above all bbPress pages, you might have to consider echoing the shortcode in a bbpress.php file.
July 26, 2015 at 9:00 pm #164608In reply to: template_part hierarchy
Robkk
ModeratorIf what you are looking for is to remove the
This topic contains blah blah blah
Look for this in
content-single-topic.php<?php bbp_single_topic_description(); ?>You can also use a function snippet like this to remove it for Forums and topics.
add_filter( 'bbp_get_single_forum_description', 'ja_return_blank' ); add_filter( 'bbp_get_single_topic_description', 'ja_return_blank' ); function ja_return_blank() { return ''; }July 26, 2015 at 8:51 pm #164607In reply to: How to enable tinyMCE text editor??
Robkk
ModeratorTry some troubleshooting especially the Theme and Plugin steps.
July 26, 2015 at 8:47 pm #164605In reply to: Make The Forum Full Width
Robkk
ModeratorYou have to copy the main template bbPress is inheriting from your theme for its layout and create a bbpress.php file from it. This would usually require you to remove the sidebar code, then use CSS to make the layout fullwidth.
Robkk
ModeratorAdd all this CSS, it fixes the issue you have created this topic for and whatever else I could find on your site.
#bbpress-forums .reply a { padding: 0; display: inline-block !important; text-align: inherit!important; } #bbpress-forums .reply a:hover { background-color: transparent !important; } #bbpress-forums li.bbp-topic-voice-count, #bbpress-forums li.bbp-topic-reply-count { color: inherit; } #bbpress-forums #content p{ text-align: inherit; } -
AuthorSearch Results