Search Results for '+.+default+.+'
-
AuthorSearch Results
-
April 17, 2015 at 6:28 pm #161203
In reply to: automatically posting
Robin W
Moderatorsee
bbpress/templates/default/bbpress/form-reply.php
April 17, 2015 at 6:22 pm #161202In reply to: import from bbPress1 crashes/restart Apache
thierryyyyyyy
ParticipantI got it !
sometimes, Apache exited with higher Status number example :
[Sat Apr 18 00:02:05.423769 2015] [mpm_winnt:notice] [pid 5900:tid 404] AH00428: Parent: child process 5032 exited with status 3221225725 — Restarting.Google gave me a hint : write this code in your httpd.conf (that’s for Windows)
<IfModule mpm_winnt_module> ThreadStackSize 8888888 </IfModule>It works now, like a charm 🙂
explanation : the stackSize in Windows is defaulted at 1MB, and it seems that bbPress Import need much more…. This line push the limit to more than 8MB. That’s all.
WAMP does NOT show this mpm_winnt_module in the list of loaded modules, I guess it is because it’s a default Apache Windows module ( http://httpd.apache.org/docs/2.2/mod/mpm_winnt.html )
Ah, I put first only the line “ThreadStackSize 8888888” (without ifModule) to be sure that it is taken into account. If the module was not mounted, Apache would have wrote it in apache_error.log. It should work on every windows normal installationApril 16, 2015 at 8:03 am #161157In reply to: Redirect from page to profile url (menu link)
project_subdomain
Participantthanks robkk!
now the profile link is in the main and also in my sidebar menu.
unfortunately i’d need to have it in the sidebar menu only. also i’d need a link to the single profile pages as I’d like to replace the default display of options below the avatar which I’d remove then.which amendments of that code would do that?
April 16, 2015 at 7:43 am #161156Robin 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/loop-single-reply.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-reply.phpbbPress will now use this template instead of the original, so you can amend this one
April 16, 2015 at 7:41 am #161154In reply to: limited capabilities for roles in a specific forum
Robin W
Moderatoryes you would just put that code in form-topic.php
wp-content/plugins/bbpress/templates/default/bbpress/form-topic.php
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/form-topic.phpMake 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-topic.phpbbPress will now use this template instead of the original
you can then look at how the form does this, and put the appropriate lines in.
April 16, 2015 at 7:36 am #161153Robin W
Moderatorwith code anything is possible !
wp-content/plugins/bbpress/templates/default/bbpress/loop-single-reply.php
line 27
April 15, 2015 at 2:55 pm #161119Topic: Redirect from page to profile url (menu link)
in forum Troubleshootingproject_subdomain
Participant[WP 4.1.1
bbp 2.5.6]For creating a navigation menu I need to redirect pages to the bbpress profile url as well as to their default options urls. These are domain.com/forums/users/HERE-COMES-THE-USERNAME for showing profile and domain.com/forums/users/HERE-COMES-THE-USERNAME/HERE-COMES-SELECTED-OPTION for selected options.
I tried several ways with code like this on the page’s template file for the redirection to the profile but nothing worked yet.
<?php /* Template Name: show user profile */ $name= bbp_user_profile_url(bbp_get_current_user_id() ); header('Location: http://domain.com/forums/users/'.$name); exit(); ?>Thanks for helping!
April 15, 2015 at 6:08 am #161094Topic: Topic/fourm sub emails not being sent
in forum Troubleshootingjayd94
ParticipantHello!
I’ve been reading all the topics on the forum and i found many similar issues to my problem, but now solution worked. I disabled all plugins and tried it with default theme also.
When someone subscribes(or creates a topic) to a topic or forum and then someone replys to it, no emails are being sent out to the guy who subscribed. Im using buddypress and bbpress newest version, and buddypress emails-like register, private message etc working, but noone of bbpress related emails are being sent out. I’m using WP SMTP now(before i was using WP MAIL SMTP, but then someone in this forum said if he changed to WP SMTP plugin it started sending, but didnt help for me), and test emails are being sent correctly also.
Any ideas?
Thanks,
DanielApril 15, 2015 at 4:42 am #161089In reply to: What is up with my IP Address in bbPress Forums?
Robin W
Moderatorthat is entirely intentional – it lets keymasters see IP addresses to spot people who might post under several names.
you could hide it with css
.bbp-reply-ip {
display : none !important ;
}or amend line 512 of loop-single-reply
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-reply.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-reply.php
bbPress will now use this template instead of the originalthen take out line 51 – you may also need to do this to loop-single-topic
or use a filter to get rid of it
function remove_ip () { $author_ip = '' ; return $author_ip ; } add_filter( 'bbp_get_author_ip', 'remove_ip');April 14, 2015 at 4:19 pm #161081In reply to: limited capabilities for roles in a specific forum
redwolf83
ParticipantThanks, that is very helpful, but it change roles globally. I need it for a specific forum.
- is possible call these actions to an existing role?
- and is possible call them only for a specific forum
I tried this but seems not work…. :/
// BBPRESS ROLES CONFIG FOR SPECIFIC FORUM if ( bbp_forum_title(); == "My Forum Title" ) { function add_role_caps_filter( $caps, $role ) { /* Only filter for roles we are interested in! */ if( $role == 'participant' ) $caps = custom_capabilities( $role ); return $caps; } add_filter( 'bbp_get_caps_for_role', 'add_role_caps_filter', 10, 2 ); function custom_capabilities( $role ) { switch ( $role ) { /* Capabilities for 'tutor' role */ case 'participant': return array( // Primary caps 'spectate' => true, 'participate' => true, 'moderate' => false, 'throttle' => false, 'view_trash' => false, // Forum caps 'publish_forums' => false, 'edit_forums' => false, 'edit_others_forums' => false, 'delete_forums' => false, 'delete_others_forums' => false, 'read_private_forums' => false, 'read_hidden_forums' => false, // Topic caps 'publish_topics' => false, 'edit_topics' => false, 'edit_others_topics' => false, 'delete_topics' => false, 'delete_others_topics' => false, 'read_private_topics' => false, // Reply caps 'publish_replies' => true, 'edit_replies' => true, 'edit_others_replies' => false, 'delete_replies' => true, 'delete_others_replies' => false, 'read_private_replies' => false, // Topic tag caps 'manage_topic_tags' => false, 'edit_topic_tags' => false, 'delete_topic_tags' => false, 'assign_topic_tags' => false, ); break; default : return $role; } } }April 13, 2015 at 5:35 pm #161057In reply to: Implode Warning on Forums page
casnbug
Participant@Robkk
Sorry, but I disagree. It may be that the theme is not hiding the warning like the default wordpress theme, but the error is definitely coming from the bbpress plugin.April 12, 2015 at 1:07 pm #161031xenous
Participantyou can configure the noreply email simply with:
add_filter('bbp_get_do_not_reply_address','my_bbp_no_reply_email'); function no_reply_email(){ $email = 'noreply@yourdomain.com'; return $email; }bbPress uses BCC for sending subscription emails and the noreply email is used as to field. This is for better hardware (cpu and memory) usage as if you were to loop each user subscribed to content it would be troublesome.
you can change that default to email address as well with :add_filter('bbp_subscription_to_email','my_bbp_subscription_to_email'); function my_bbp_subscription_to_email(){ $email = 'noreply@yourdomain.com'; // any email you want return $email; }I hope this helps.
April 10, 2015 at 3:55 am #160965In reply to: Not displaying proper freshness for each subforum.
Robin W
Moderatorok, I don’t think you have the standard index template
Have you got in your theme the following file
wp-content/themes/%your-theme-name%/bbpress/content-archive-forum.php
where %your-theme-name% is the name of your theme
or have you amended
wp-content/plugins/bbpress/templates/default/bbpress/content-archive-forum.php
April 9, 2015 at 5:23 pm #160958In reply to: BBpress and the wordpress custom header
Robin W
ModeratorIt 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 twentytwelve, and see if this fixes.
Then come back
April 8, 2015 at 11:09 am #160914In reply to: Not displaying proper freshness for each subforum.
frostentangle
ParticipantYes I tried disabling all plugins except the bbpress plugin itself. I also switched to a default theme but no luck.
I have the forum slug set as ‘forums’ and I used the bbpress.php file for the template. I tried creating a page named “Forums” with the URL https://www.fantasyfootballbackers.co.uk/forums/ and removed the file bbpress.php but the issue still remains. Currently it is using the bbpress.php template.
April 8, 2015 at 8:44 am #160912In reply to: Not displaying proper freshness for each subforum.
Robin W
Moderatorok, so is it the same with plugins disabled and default theme as per
and how is your forums page constructed – eg shortcodes, bbpress.php file etc.
April 7, 2015 at 4:19 pm #160886In reply to: Problem with line breaks, and other things
Robin W
ModeratorMkEditor 4.4.5 (when this is active replaces the default message box)
and with that disabled???
April 7, 2015 at 6:56 am #160881Topic: Problem with line breaks, and other things
in forum TroubleshootingAlbertFox
ParticipantHello! i have a problem with bbpress, html tags are appearing on the sending posts.
The system now makes line breaks also and <br>.Sometimes also a paste from pdf or word appears wrong.
Can you help? The idea would be to write and paste can look good without these problems appear.Very thanks for all 🙂
have a nice dayBBPress version 2.5.4
Wordpress 4.1.1
MkEditor 4.4.5 (when this is active replaces the default message box)April 6, 2015 at 7:56 am #160844In reply to: Topics are not adding
Robin W
Moderatorok I think you need to strip this down and rebuild
I’d suggest that you create a test site
https://codex.bbpress.org/creating-a-test-site/
then on the test site
disable all plugins except bbpress AND switch to a default theme such as twentytenThen if this doesn’t fix, go into
tools forums and reset forums to delete all the data
Then uninstall and reinstall bbpress.
Then prove that this set-up ie a default theme with no other plugins, just bbpress, works by creating topics, and checking the backend shows forum etc.
You should then have a working site
next add you theme back and check again
Then you can add plugins one at a time to find out what is wrong,testing each time that it still works.
If it all re-builds ok, then you can do the same reset and re-install to fix the live site
Lots of work, but until you get to a stripped down working site, you’ll probably not make progress.
April 5, 2015 at 7:56 am #160799In reply to: Topics are not adding
Robin W
Moderatorhmmm
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 twentytwelve, and see if this fixes.
Then come back
April 5, 2015 at 4:53 am #160790Robin W
ModeratorI presume you want rid of the one to the left of search ?
that should be in
bbpress/templates/default/bbopress/content-archive-forum.php line 24 in 2.5.5
April 4, 2015 at 4:15 pm #160753Robin W
Moderatorbit of a difference between
and wanted it removed completely
and
I merely want to move it.
🙂
but it doesn’t seem as if that’s possible.
um, yes it is, you just hadn’t asked !
just use
<?php bbp_breadcrumb(); ?>
in the code
there are many template files that use this
just look in
templates\default\bbpress\
and you’ll find all the templates
tell us where you want it, and we’ll try to help further
April 4, 2015 at 2:45 pm #160742In reply to: Full Width Problem with page.php
davidnsfw
ParticipantI know what he means,
here http://www.playstationforum.dk/debat/
the title of the main forum, it is “Archive – site name” by default.
I do not know also how change it.
April 4, 2015 at 2:23 pm #160739In reply to: Make the forum pages full-width
davidnsfw
ParticipantWelcome.
Thanks, now there is no sidebar.
But I want to make the forum wider,
here is screenshot https://i.imgur.com/gAv9v1h.png
Is it possible?
Also, do you know how to change the title of the main forum, it is “Forums Archive – site name” by default.
April 4, 2015 at 1:55 pm #160727In reply to: Setup problems
Robin W
Moderatorok,
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 twentytwelve, and see if this fixes.
Then come back
-
AuthorSearch Results