Search Results for 'bbpress'
-
AuthorSearch Results
-
June 3, 2014 at 2:34 am #147321
Robin W
ModeratorOk, this is what you wanted
function user_profile_bbp_website_information() //this function adds the website to the profile display menu { $label1 = $rpi_options['item1_label'] ; echo "<p>" ; printf ( __( 'website : ', 'bbpress' )); $url=bbp_get_displayed_user_field( 'user_url' ) ; $url='<a href="'.$url.'">'.$url.'</a>'; echo $url; echo"</p>" ; } add_action ('bbp_template_after_user_profile', 'user_profile_bbp_website_information') ;June 2, 2014 at 8:55 pm #147313In reply to: Using shortcode has created 2 forums
Stephen Edgar
KeymasterbbPress doesn’t actually create any WordPress pages.
You should be able to create a page titled ‘forums’ add the shortcode and bbPress will use that page.
If you can only create a page with the slug
forums-2then there is another page using theforumsslug or is in the trash.June 2, 2014 at 8:32 pm #147309In reply to: Can't see any topics
Stephen Edgar
KeymasterTry running the bbPress Repair Tools -> Tools -> Forums
Also switch to the Twenty Thirteen theme to see if you can see the topics.
Disable all your plugins except bbPress and see if you can see the topics.
If you can now see your topics enable BuddyPress and check again, now start enabling each other plugin one by one until you can no longer see the topics and let us know which plugin or theme is causing the issue for you.
June 2, 2014 at 8:26 pm #147308In reply to: Send email
Stephen Edgar
KeymasterbbPress does not include a ‘Email Setting’ field.
Most likely https://wordpress.org/support/ is what you need or the support forum for the plugin you are using.
June 2, 2014 at 3:07 pm #147300In reply to: Give bbPress full editor by default?
John James Jacoby
KeymasterPasting HTML and metadata is a WordPress/TinyMCE issue, and not really a bbPress bug to solve. There are WordPress plugins to disable HTML pasting, and we do support them, and we could go as far as including this in core as a helper for people that do turn TinyMCE on.
June 2, 2014 at 2:03 pm #147298yoosuke
ParticipantI’m here again!
It’s great I have a place to come back!Now, I’m looking for advice on How to show “Website” part at User Profile page.
By default, 4 sections are displayed on User Profile page.1.user-description, 2.forum-role, 3.topic-count, 4.reply-count
In edit page, There is a section for entering users “Website”.
in spite of entering the section, it would not be display at User’s Profile page.
How can I display it at the User’s Profile page.I found that I need to add some PHPcodes into “user-profile.php”.
But as you know, I have no idea What codes I have to put in.would you please advice me…
WordPress: ver3.9.1
bbPress: ver2.5.3June 2, 2014 at 1:14 pm #147296In reply to: Results of the 2014 bbPress Survey
@mercime
Moderator@eherman24 thank you for your input.
@cronhound thanks for your feedback.
@gautamgupta Thank you 🙂 Congratulations on being accepted again to the Google Summer of Code and choosing to contribute to bbPress development again! Cheers!June 2, 2014 at 12:37 pm #147293In reply to: Template hierarchy not respected
Robin W
ModeratorI’m not quite sure what you are saying.
For template file, you only need to copy files that you want to change to your theme, not all of them. If you haven’t done any changes then you don’t need to copy any files.
Any TEMPLATE files you copy should be in a folder called bbpress ie
wp-content/themes/twentyeleven/bbpressso if for instance you wanted to modify loop-single-fourm.php, you would copy it to that bbpress folder and modify it there – it would then be
wp-content/themes/twentyeleven/bbpress/loop-single-forum.php
The page template that bbpress will sue will be in the root of your theme ie
wp-content/themes/twentyeleven
and bbpress will look for file in the following order
plugin-bbpress.php
bbpress.php
forums.php
forum.php
generic.php
page.php
single.php
index.phpso if you have copied and renamed page.php to forum.php, then bbpress should be using that file.
so you file should be
wp-content/themes/twentyeleven/forum.php
June 2, 2014 at 11:21 am #147292Topic: Template hierarchy not respected
in forum Troubleshootingaborruso
ParticipantHi all,
I have an old blog with Twenty Eleven theme.I have copied “/wp-content/plugins/bbpress/templates/default” folders and file in my “/wp-content/themes/twentyeleven” folder.
Then I have created forum.php file making a copy of page.php.
When I modify forum.php there is any change in my website, it seems it reads another theme file.
What’s wrong in my template structue? I have the bbpress folder copied before and these php files:
404.php
archive.php
author.php
bbpress-functions.php
category.php
comments.php
content-aside.php
content-featured.php
content-gallery.php
content-image.php
content-intro.php
content-link.php
content-page.php
content-quote.php
content-single.php
content-status.php
content.php
footer.php
forum.php
functions.php
header.php
image.php
index.php
page.php
search.php
searchform.php
showcase.php
sidebar-footer.php
sidebar-forum.php
sidebar-page.php
sidebar.php
single.php
tag.phpJune 2, 2014 at 6:41 am #147286In reply to: Give bbPress full editor by default?
Stephen Edgar
KeymasterHmmmm, this is not going to be quick nor easy to solve at this stage. There are quite few updates for pasting from Word and Excel slated for WordPress 3.9.2 but I haven’t tested any of them for bbPress, I’ll take a look in the next few days.
June 2, 2014 at 5:33 am #147282In reply to: Newby a little lost
kowarler
ParticipantThanks Robin,
I received this replay and all working perfectly!…
Add this to your custom css box and it should sort the issues out:
.bbpress .hentry { margin-left: 0px; }
.bbp-login-form .bbp-username input, .bbp-login-form .bbp-email input, .bbp-login-form .bbp-password input { max-width: 210px; }
.bbpress p.cptch_block { margin-left: 20px; }June 2, 2014 at 4:09 am #147277Stephen Edgar
KeymasterJune 2, 2014 at 4:05 am #147276In reply to: conversion from phpbb issues
Stephen Edgar
KeymasterIt is pretty tricky to do by hand, actually I have never down it for more than one or two posts to verify the integrity of bbPress’ repair tools. The repair tools pretty much deletes everything relating to the ‘last activity’ and recreates it from scratch, this is why I think maybe your import didn’t import everything accurately the first time.
If you have only just performed the import I’d suggest setting up a test site and do the import again and ‘play’ around there and see if it then works, if so redo your import on your main site.
Also, it was phpBB v3 you imported from?
June 2, 2014 at 3:59 am #147275In reply to: Comments not appearing immediately
Stephen Edgar
KeymasterIt depends how you are replacing the WordPress comments with bbPress replies, if your using a plugin for this then I would look to the plugin being an issue and go to that plugins support forums to find any known issues.
If you are doing this manually using bbPress then per your original post here:
For the past two weeks or so I’ve had a problem in the forums on my site where members comments no longer appear immediately. It can take a while for them to appear. I’m not sure how long, but several minutes.
This could be a performance issue, I would start by running some tests on a test post, add a reply and time how long it takes to appear in your sites backend as you state that the ‘do appear’, just not immediately, try using the Twenty Fourteen theme and disable all your other plugins except bbPress and time how long it takes now.
You might find your theme and plugins and using all the resources available in your web hosting plan, if this is the case contact your host to see what options or suggestions they may have for you.
June 2, 2014 at 3:37 am #147273In reply to: Comments not appearing immediately
dice2dice
ParticipantMember of my website can only comment via BBPress. I’ve switched off WordPress comments because that would be confusing.
I haven’t been able to find evidence of anyone else experiencing the same thing on the BBPress forums and I’ve searched BuddyPress too so I’m looking to identify potential culprits. Plugins have got to be up there!
June 2, 2014 at 3:14 am #147272demonboy
ParticipantOK, another problem created by my own stupidity and solved quite simply. However I will say this brings up an area for bbpress to address somewhere down the line.
Quite simply the person was a new user and their first post was going into the moderation queue, hence the odd url. Once you know this and you ‘edit topic’, you can make it ‘open’ (as opposed to ‘pending’) and it’s published. After that the person can carry on without moderation, unless you change the settings in “Settings – Discussion – Before a comment appears”.
The problem is that without the Moderation plugin, the administrator doesn’t know this has been put into the moderation queue, and the poster doesn’t know it either. As far as they are concerned they’ve posted a new topic but they can’t see it on the front-end. Meanwhile the keymaster/administrator gets an email saying a new topic has been published, with a link that’s not a proper bbpress slug.
So the upshot is: if you want to moderate topics and replies, first check the WP backend Settings as described above. If you want notification that there’s a post in the moderation queue, install the Moderation plugin. It will also mark the posts as ‘awaiting moderation’, which is a nice touch.
In the end we’ve turned off all moderation because we have a captcha on sign-up that appears to stop the spam.
I’ve no doubt all of the above is clearly described in the user guide, but I never was any good at RTFM.
June 1, 2014 at 7:28 pm #147265In reply to: Some Replies Threaded Even with Threading Turned Off
jhmattern
ParticipantThanks. That did seem to be the culprit — the GD bbPress Tools plugin. Unfortunately it manages other things I need so leaving it disabled isn’t an option. But I’ll contact the plugin developer and see if they can figure out the issue on their end.
I appreciate the help! 🙂
June 1, 2014 at 7:21 pm #147263In reply to: Parent directory possible?
Stephen Edgar
KeymasterIn bbPress settings change the ‘forum root’ to ‘community’
June 1, 2014 at 7:09 pm #147261In reply to: Comments not appearing immediately
Stephen Edgar
KeymasterYou need to be clearer here on describing your issue:
If it is WordPress comments ask on WordPress Support
If it is bbPress replies then you are in the right place.
In either case, check if they are being caught by Akismet or WordPress moderation, have a look in the backend for replies that have a status ‘pending’.
June 1, 2014 at 7:06 pm #147260In reply to: Some Replies Threaded Even with Threading Turned Off
Stephen Edgar
KeymasterYour issue appears to be a theme related or a plugin is not playing nice.
Rather than bbPress’ replies being out of order the HTML markup of the page you linked has invalid markup, tags are being closed when they certainly should not be.
Suspicion might be the signature plugin you are using, try disabling that plugin and see if it fixes the issue, if not start disabling all your plugins one by one until the issue goes away.
June 1, 2014 at 6:57 pm #147259In reply to: Auto post in database with the data provided
Stephen Edgar
KeymasterbbPress uses custom post types, create a forum, then a topic and reply in that forum.
Go take a look at the
forum,topic&replycustom post types inwp_posts, then take a look at the metadata for each post inwp_postmetaJune 1, 2014 at 6:43 pm #147258In reply to: Default reply form behavior.
Stephen Edgar
KeymasterIf you do not want that functionality turn ‘Threaded Replies’ OFF in bbPress settings.
June 1, 2014 at 6:41 pm #147257In reply to: Workaround for Spam Filters?
Stephen Edgar
KeymasterThis has nothing to do with bbPress (or WordPress), you will need to contact the email/systems/network administrator of the school and work with them to allow the forum subscription emails.
June 1, 2014 at 2:13 pm #147250Jerry
ParticipantOkay, working like you said. This issue was, which I didn’t catch completely in one of your above posts, is that it only shows in my reply section, not in the original topic section at all. Like you mention, we can probably figure that one out. I do know javascript/ajax a little, so I’ll play around in that area to see what is what. I like your idea of making this a bbpress plugin; much needed in my opinion.
Update! I’m editing this post. I just used the following, replacing some wording in your filter:
add_filter('bbp_get_topic_content', 'spr_filter');It is showing in my topics and not my replies! Bravo. That is because of your previous help with the if statements and $countr variable. I will share that full code with you via email if you like. Now to the javascript. That could take me a few hours, or a few days. Sigh…
June 1, 2014 at 12:29 pm #147241Robin W
Moderatorgetting it to display is easy !
bbpress deosn’t use ‘the content’ function in its loops, so we need to hook to the bbpress content function which is bbp_get_reply_content
So you just add a second filter after line 15, this then puts the ratings in the display
{ add_filter('the_content', 'spr_filter', 15); add_filter ('bbp_get_reply_content', 'spr_filter') ; }Then the next bit of the plugins code looks at whether we have an individual post/page or are in a loop – a list of pages/posts.
If just one (is_singular) then it will display the rating, and let you add one.
If in a loop then it simply displays, and doesn’t let you alter, or that’s what I think it’s doingso to get it to understand that we’re in a list of replies (ie loop-single-reply) we test that we’re in bbpress
so we add a test for bbpress into the first function viz
foreach ($list as $list_) { if (is_bbpress() ) { if ($options['position']=='before') { $content=spr_rating().$content; } elseif ($options['position']=='after') { $content .= spr_rating(); } break; } if (is_singular($list_)&&$options['where_to_show'][$list_]&&$disable_rating!='1')Ok so that does the display (at the moment for both topics and replies, but that’s easily fixed later)
What I can’t work out quite is why the amend doesn’t work. I think it is because the javascript/ajax is using spr_rate, but expects that to be part of $_post, but that’s may be failing as we are sort of in a bbpress loop at that stage, not in an individual post, so I dontl know what’s it looking for as post_id.
Anyway I’m rubbish at ajax/js etc. so am just poking code in the hope of finding a fix.
So that’s as far as I’ve got for now !!
-
AuthorSearch Results