Hello,
I am trying to display the telephone number of members in the members directory. I already tried
echo bp_member_profile_data(‘field=Phone Number’);
But for some reason it is still not working. Any advise on what could be done?
Have the latest version of BP/WP installed.
Thanks
Lucky
Hi guys I am trying to list the 3 freshest bbpress topics from a specific forum. How Can I do that?
This is my code for displaying latest 3 topics from bbpress (not specific forum):
get_results("SELECT post_title, guid, post_date, post_type, post_modified, post_type from wp_posts where post_type LIKE 'topic' && post_type LIKE 'topic' ORDER by post_date DESC limit 3","ARRAY_N");
if ($forumslist)
{
foreach ($forumslist as $row)
{
echo '<li><a href="'.$row[1].'" rel="nofollow">'.$row[0].'</a>'.date('F d, Y', strtotime($row[2])).'</li>';
}
}
else
echo 'Error fetching data';
?>
Now I would like to get the most fresh topics under a certain parent. So I know I can do something like:
$forumslist1 = $wpdb->get_results("SELECT post_title, guid, post_date, post_modified, post_type, post_parent from wp_posts where post_type LIKE 'topic' && post_parent LIKE '1263' ORDER by post_modified DESC limit 3","ARRAY_N");
but how can I order those by freshness? You can see I tried to order them by post_modified but I didnt have luck there…
So I need to know how to get the freshest topics…
Thanks,
Mario
Thanks for replying @destroflyer
We use 2.0.3 and can’t upgrade yet until we work out theme issues. The latest BBpress completely breaks our theme and makes the site un-usable. We’re working on a new theme but I was hoping I could get these to work without it.
Try your plugins
— disable all of them except your theme and your bbpress plugin.
for me it was plugin – “Frontpage category filter”
“This plugin allows you to choose which post categories youe site will show on the homepage. Just go to settings and deselect the categories that you want to hide.
Version 1.0.2 | By Cristian Merli ”
Once I deactivated I went one by one – ok sometimes two by two and isolated that plug-in which I need so I will try and find a workaround or another plugin that will not break bbpress. Would like to continue testing bbpress.. have looked at others and yes they work – but this version of bbpress is so far working with my thesis theme.
As long as that plugin is off.
J. Christopher
Hi.
I downloaded the latest file from the link that you provided above, put it in the folder `/wp-content/plugins/bbpress/includes/admin/converters` but I couldn’t import my old Mingle forum into bbPress.
When I click start button I get this:
Repair any missing information: Continue
Conversion Complete
No replies to convert
No tags to convert
No topics to convert
No forum parents to convert
No forums to convert
Starting Conversion
The settings which I tried as below:
Select Platform: Mingle
Database Server: My host IP
Database Port: 3306
Database Name: My database name
Database User: My database user name
Database Password: My database password (which I use to login to phpMyAdmin)
Table Prefix: The prefix that used in my database.
Can you please help me?
Thanks in advance.
We will have to go down that route for now as the phpBB import has a similar issue and at the moment the docs state to manually delete these after import.
We can look into why the converter isn’t doing joins correctly on the user table for future versions as if we changed to much there now I am quite sure we would break other stuff and would have very little time to test this at this stage.
Thats great news, would you mind adding a comment to that ticket #2155 in trac with details of your setup and results from your testing.
O.M.G I have finally come across the solution to my problem! Well I have only tested it in my local environment a couple of times and the issue has gone away so hopefully it’s fixed for good!
https://bbpress.trac.wordpress.org/ticket/2155
The solution was to change the `bbp_redirect_to_field()` function. I changed this function located in bbpress\includes\common\template-tags.php and the redirects now work!
Thanks bbPress team =)
Modified function:
`function bbp_redirect_to_field( $redirect_to = ” ) {
// Make sure we are directing somewhere
if ( empty( $redirect_to ) ) {
if ( isset( $_SERVER[‘REQUEST_URI’] ) ) {
$redirect_to = ( is_ssl() ? ‘https://’ : ‘http://’ ) . $_SERVER[‘HTTP_HOST’] . $_SERVER[‘REQUEST_URI’];
} else {
$redirect_to = wp_get_referer();
}
}
// Remove loggedout query arg if it’s there
$redirect_to = (string) esc_attr( remove_query_arg( ‘loggedout’, $redirect_to ) );
$redirect_field = ”;
echo apply_filters( ‘bbp_redirect_to_field’, $redirect_field, $redirect_to );
}`
Today when i tested my websites for flaws i saw that the visual editor box text color had changed into white instead of black. This made the text invisible unless you highlighted the written text.
When i did some research on how to change it i saw that this problem goes back years.
Most forum threads didn’t even got solved.
I have found a simple solution for this problem.
When i checked my source code i saw that the visual editor .css was located in public-html/wp-includes/css/editor.min.css
Call it a lucky guess but when i searched for ‘white’ it got me to this part of the code:
wp-editor-area{color:black}
I changed it into wp-editor-area{color:white} and this solved my problem.
I hope this helps allot of frustrated people!.
I’m wondering if there is a way to exclude one or more forums (and optionally, specific tags) from being included in the site-wide “latest posts” index.
What do you want to know?
There is no need to reverse engineer anything, just grab the latest copy of Example.php either from /bbpress/includes/admin/converters/ or the latest updated version I am working on here and start modifying the table mappings as per the docs in the codex.
https://codex.bbpress.org/import-forums/ & https://codex.bbpress.org/import-forums/custom-import/
@noumaan I just tested this and everything works as expected with a WordPress user with the WP role ‘Subscriber’ and bbPress role ‘Keymaster’
These following are the only admin panels available/visible in the WP admin dashboard:
- Home – Right now in forums (stats)
- bbPress Forums, Topics and Replies panels
- Profile (Edit own profile)
- Tools -> Forums (Repair, Import & Reset bbPress tools)
- Settings -> Forums (Main bbPress settings)
I’m having a bit of an issue with bbPress and WPML. For some reason it loads every single wordpress post ever created under the actual forum.
See: http://www.touhou.si/forums/forum/testingissoawesome/
Has anyone seen anything like that before?
Hey Stephen,
I’ve been debugging this for a while and it appears that I don’t get the erro if I post as admi, I only get it if I’m posting as a participant.
Could you try posting an @mention as a regular participant in the forum and see if you get it?
No idea why that would affect things, but it does seem to.
Will keep testing various scenarios!
I saw some discusses about the usage of Latex in bbpress. I guess maybe the easiest way to enable Latex in bbpress is to use Mathjax.
Put the following script code into the block of the header.php in the theme. This will load the latest version of MathJax from the distributed server, and configure it to recognize mathematics in both TeX and MathML notation. For details, refer to http://docs.mathjax.org/en/latest/start.html#mathjax-cdn and http://www.ouruniv.com/topic.php?id=4
script
type=”text/javascript”
src=”http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML”>
script
The above script is not the exactly one. The shape bracket is omitted since the code won’t be displayed with it. You could copy the right one at http://docs.mathjax.org/en/latest/start.html#mathjax-cdn
I guess the easiest way to enable Latex in bbpress is to use Mathjax.
Put the following code into the block of the header.php in the theme. This will load the latest version of MathJax from the distributed server, and configure it to recognize mathematics in both TeX and MathML notation. For details, refer http://docs.mathjax.org/en/latest/start.html#mathjax-cdn
I do not why the script above is not displayed.
I’d love to have Tapatalk support on bbpress. This is truly great news.
I’m having two issues:
1) When my users are logged in they they get the following message “We’re Sorry But That Page Could Not Be Found”
However when I’m logged in as admin (keymaster) I can see the entire forum & topics. This is also for those who are not logged in.
2) The other issue I am having is I did a fresh install of the latest version on bbPress, but now the option to create new Forums & Topics is gone from the admin side bar located in the admin side of the site. I’ve tried uninstalling and reinstalling more than once.
site: http://mayweatherpromotions.com
wp version: 3.5
bbpress version: 2.2.3
Please help!
Dangit, should’ve subscribed. That’s great news, I’ll be checking it out.
I’ve made some good progress with TinyEditor. It’s indeed very fast and implementation has not been super complicated (so far).
But again; mobile browsers are not the greatest browsers.
Typing and submitting works fine on iOS. Formatting however is lost somehow.
Kindle (Android) still claims it can’t load wp-comments-post.php.
With both selecting text, and applying formatting is a disaster. Often the selection “hint” (Select, Select All, Copy, etc) overlaps the buttonbar of the editor.
Note: At this moment (to keep things easy) I’m only testing this in WordPress comments. Once that works OK I’m going to try to use it for bbPress posts.
I agree; this is more something bbPress inherited from WordPress I’m assuming, since WP brings us tinyMCE. The issues at hand appear common knowledge in the tinyMCE community – and it appears that most WYSIWYG editors have similar problems.
2 WYSIWYG editors stood out so far for me to consider doing some testings with:
– TinyEditor (super small and very responsive)
– Redactor (little bigger but much more functionality, yet still responsive
As for a bug/issue ticket; where do we do that? and wouldn’t this a bug/issue for WordPress?
I agree we need to look at this a bit more… I was using copy and paste with ‘Note’ on the iPad (3rd Gen) the other day to post here as noted above for Android ‘it will let me type, but nothing appears in the editor’ was the same behaviour I had with the iPad.
Can you create a ticket on trac so we can start to get some detailed device tests on how the editor is behaving for WordPress, bbPress and bbpress.org and go from there… It may be a core issue with WordPress that bbPress then inherits.
https://bbpress.trac.wordpress.org/
Android devices appear to be very slow here as well, and selecting text is a challenge – I completely agree.
The MyTouch and the Kindle both report to be a regular Linux (Kindle) or Macintosh (I couldn’t believe it, and tested this numerous times in different ways) AppleWebKit browser – no notion of “mobile” or “Android”.
Also on the myTouch, when pressing a button on the menubar of tinyMCE behaves very odd.
These findings basically tell me that Fancy Editor is useless for mobile visitors (thanks for bringing it up!).
So either we have to revert back to “just text” for mobile users or find an alternative editor that actually does behave properly.
Well, Here’s a test from my nexus s. Seems to work, but it’s slow and there’s no proper text box, so I’m quickly writing outside my screen.
OK, I’ve been testing Android a little more intense than before; boy that’s a drama on it’s own.
So the first problem I noticed (T-Mobile/HTC myTouch 4G): Android does not like tinyMCE. It will let me type, but nothing appears in the editor, instead it ends up in the email input (not sure if this is a generic problem or maybe just my theme).
Adding elements through tinyMCE plugins works but the FancyBox appears to be not working all that well.
Submitting works – but of course none of the typed text in the message, only what I added through one of the tinyMCE plugins.
Next I tried a Amazon Kindle Fire HD (can’t really recommend this tablet – great hardware, crappy software). Things work better here, including entering text.
However … submitting the comment ends up in a “Webpage not available – The webpage at http:///wp-comments.php could not be loaded because: Unkown Error”.
Is this in anyway familiar with the situation you run into?