Thanks heaps for this, I can see what you mean and I will go do some more testing and work on a patch for it.
Hey guys!
I have a little test site running for fun here.
As you can see, when you click on the forums page, bbPress is extremely light and does not fit in with the theme I am using.
Can I get any instructions on how to make bbPress sue the same style as my WordPress theme?
I am not extremely familiar with coding, so simple instructions would be the best!
Thanks!
it looks like it fixed it, but i’ve added a few more replies and the counters have stayed the same
yes i’m using bbpress, buddy press, i have also installed buddypress achievements all latest versions
@ Stephen, thanks.
My apologies i didnt answer earlier. Had many projects and not much time. Customizing bbPress is something i try to learn for future projects, and one project it is not hurry for.
I will test converting today and write results.
I think it displays ok in the profile, is this the spot to check, the forums tab? pasted below
Forum Topics Started
Viewing topic 1 (of 1 total)
Topic
Voices
Posts
Freshness
testtes
Started by: Avatar of CrossFit1066 Admin CrossFit1066 Admin in: Ask Neil and Perks
1
3
13 minutes ago
Just to give some more info about this from what I’ve experienced too:
I’m using WP 3.7.1 and bbPress 2.4.1. I’m using the Fresh News theme from WooThemes. I tested this with another account and a friend. Topics are not an issue for me; it’s only replies that are causing an issue. I have also tried disabling my other plugins to no avail.
1. If I reply using either account, I cannot see the reply on the account that I made the reply with, but I can see it with my other account immediately. My friend can also see my reply immediately from her account and when she’s logged out. The same happens when my friend makes a reply. She cannot see her own reply, but I can see it immediately on both of my accounts and when I’m logged out. Refreshing the page (multiple times) does not cause the reply to appear for the user that made the reply.
2. If a reply is made by a logged-in user and the user immediately logs out, suddenly, their reply becomes visible. If a logged-out user makes a reply then immediately logs in, suddenly their reply becomes visible.
Something interesting to note is that I run the same site on two different domains with the same host but different servers. Everything is exactly the same on both sites… I just use one to test things before I install/transfer it to the “real” site. On my test site, I do not have this issue at all. Same exact theme, plugins, settings, etc. Everything is exactly the same, yet I am only having this weird reply lag on my “real” site.
I have just commited the three versions of Kunena bbPress importer for bbPress 2.5
https://bbpress.trac.wordpress.org/browser/trunk/includes/admin/converters
Kunena1.php for Kunena v1.x Forums
Kunena2.php for Kunena v2.x Forums
Kunena3.php for Kunena v3.x Forums
If you could all give them some tests and let me know if it works or doesn’t work that would be great.
Everything is still going fine, I ran some phpBB imports yesterday whilst implementing a few minor updates.
Details are here https://bbpress.trac.wordpress.org/ticket/2467
Feel free to download the latest from here:
https://bbpress.trac.wordpress.org/browser/trunk/includes/admin/converters/phpBB.php
I removed the original default avatar from the heading but please see the links below. The site is still in test and I am doing some styling but you should be able to see from the following.
http://spotlightjustice.co.uk/forums/users/willowtop/ – just says About in the Heading
http://spotlightjustice.co.uk/forums/users/willowtop/topics/
http://spotlightjustice.co.uk/forums/users/willowtop/replies/
http://spotlightjustice.co.uk/forums/users/willowtop/favorites/ – just says About in the Heading unless I make a topic a favourite
Please note that the subscription page below can only be seen when you sign in but it is similar to the favourites page.
http://spotlightjustice.co.uk/forums/users/willowtop/subscriptions/
Hope this helps.
ok, when I get a mo, I’ll try it on my test site
hi, here is a link
http://www.crossfit1066.com/forums/topic/testtes-2/
wondering if it is possible to display current post count under the author’s avatar
I am having no luck importing from phpbb (latest version 3.0.12) The importer just seems to hang for hours and hours on “Starting Conversion”
At what point do I give up and start again. Should it take over four hours?
I am using the latest version of bbpress and on 3.5.2 of WP and not sure if this is a bug or not.
When viewing a user’s profile, the user’s username does not display next to the About tag heading when you are viewing the Profile itself and also when viewing topics, replies, subscriptions, favourites when the contents of those pages are empty.
It will only display “About KatieKat” on the forum/users page heading if there is something in topics, replies etc. Nothing shows at all when you get the front Profile page apart from the word About.
Is this a bug and if not is it possible to display the username even if there is nothing on that page in the About heading and especially on the front Profile page.
Kind Regards
KatieKat
Again, you can extend bbPress with custom views.
One of the sites in that link list has 4 views:
Most popular topics
Topics with no replies
Topics with most replies
Latest topics
That doesn’t mean they are part of bbPress, check your themes functions.php file for something like this:
function wphc_register_custom_views() {
bbp_register_view( 'popular-topics', __( 'Popular Topics' ), array( 'meta_key' => '_bbp_reply_count', 'orderby' => 'meta_value_num' ), false );
bbp_register_view( 'unpopular-topics', __( 'Unpopular Topics' ), array( 'meta_key' => '_bbp_reply_count', 'orderby' => 'meta_value_num', 'order' => 'asc' ), false );
bbp_register_view( 'random-topic', __( 'Random Topic' ), array( 'orderby' => 'rand' ), false );
bbp_register_view( 'closed', __( 'Recently Closed' ), array( 'post_status' => 'closed' ), false );
}
add_action( 'bbp_register_views', 'wphc_register_custom_views' );
Look at this: Google link
Hi have exactly this… where i found this? Links are stored in (bbPress) Topic Views List widget!!
I did some pretty exhaustive testing of this a couple of days ago and was not able to reproduce this behaviour. Can you give us some more details with some direct links to your site highlighting the issue.
Hi, i have two title pages with no translation:
forums/view/most-replies/ it show title page –> Topics with most replies
forums/view/latest-topics/ it show title page –> Latest topics
I nedd to translate but this two elements do not exist in original file bbpress.pot
Can you see if bbpress.pot contain this two elements or is true wich do not exist?
Thanks…
I have tried to install bbPress, but am having issues with the Forum Index page.
This is the forum index: Forums. However, the actual forums work fine, as you can see on a test forum I created called Suggestions.
Any ideas as to why it’s doing this? I’ve followed the few instructions I could find, including the page about Theme Compatibility. I added the bbPress theme files to my own theme, as suggested in those intructions.
Also, is there a way for the link to just be ‘http://thewhitesharks.co.uk/forums/suggestions/’ instead of ‘http://thewhitesharks.co.uk/forums/forum/suggestions/’? Seems a bit long to me…
sorry forgot to include info regarding the website I am working on
http://derrallbellaire.info
username: test001
password: test001
Also I have only tested the vBulletin importer with importing from vBulletin v4.2 so there might be a few changes in the database structure between 4.1x & 4.2x but as I can’t get my hands on vBulletin 4.15 I cannot confirm this.
If you are comfortable in phpMyAdmin and you could export half a dozen rows from each of the ‘forum’, ‘thread’, ‘post’, ‘tagcontent’, ‘tag’ & ‘user’ tables I could have a closer look at why this isn’t working for you.
We just started to use bbpress forum and noticed that some of the entries are out of order (time and date). I just put in a test entry and it shows up before two other entries up to 10 days before this one.
Can anyone tell me what the problem is?
Thanks.
Pat
Ok, thank you!
I achieved what I wanted, this way:
Forums list:
<p class="bbpx-topic-meta">
<?php
$forum_id = bbp_get_forum_id();
$last_active = get_post_meta( $forum_id, '_bbp_last_active_time', true );
if ( empty( $last_active ) ) {
$reply_id = bbp_get_forum_last_reply_id( $forum_id );
if (!empty( $reply_id)){$last_active = get_post_field( 'post_date', $reply_id );}
else
{
$topic_id = bbp_get_forum_last_topic_id( $forum_id );
if (!empty( $topic_id)){$last_active = bbp_get_topic_last_active_time( $topic_id );};
};
};
$date= date('d/m/Y',bbp_convert_date( $last_active ));
$active_id = bbp_get_forum_last_active_id( $forum_id );
$link_url = $title = '';
//these two next lines are beyond me: same condition, two results for the same variable...
if (empty($active_id)){$active_id = bbp_get_forum_last_reply_id( $forum_id );};
if (empty($active_id)){$active_id = bbp_get_forum_last_topic_id( $forum_id );};
if (bbp_is_topic($active_id))
{
$link_url = bbp_get_forum_last_topic_permalink( $forum_id );
$title = bbp_get_forum_last_topic_title( $forum_id );
}
elseif (bbp_is_reply($active_id))
{
$link_url = bbp_get_forum_last_reply_url( $forum_id );
$title = bbp_get_forum_last_reply_title( $forum_id );
};
$time_since = bbp_get_forum_last_active_time( $forum_id );
if (!empty($time_since) && !empty($link_url)
{
$anchor = '<a href="'.esc_url($link_url).'" title="'.esc_attr($title).'">'.$date.'</a>';
?>
<span class="bbp-topic-freshness-author">
<?php
bbp_author_link(array('post_id'=>bbp_get_forum_last_active_id(),'size'=> 14));
?>
</span>
<?php
}
else {$anchor = 'esc_html__( 'No Topics', 'bbpress' );};
?>
</p>
<?php
echo apply_filters( 'bbp_get_post_time', $anchor, $forum_id, $time_since, $link_url, $title, $active_id );
?>
Topics list:
<p class="bbp-topic-meta">
<span class="bbp-topic-freshness-author"><?php bbp_author_link(array('post_id =>bbp_get_topic_last_active_id(),'size'=>14)); ?></span>
<?php
$topic_id = bbp_get_topic_id();
$reply_id = bbp_get_topic_last_reply_id();
$title = bbp_get_topic_last_reply_title( $topic_id );
$link_url = bbp_get_topic_last_reply_url( $topic_id );
$date = get_post_time( 'd/m/Y', $gmt, $reply_id, true );
$anchor = '<a href="'.esc_url($link_url).'" title="'.esc_attr($title).'">'.esc_html($date).'</a>';
echo apply_filters( 'bbp_get_topic_freshness_link', $anchor, $reply_id, $result, $link_url, $title );
?>
</p>
As you can see, I didn’t hook anything already. So far I just got rid of the “bbp_topic_freshness_link()” in the templates and simply replaced the initial function by these lines, just to make a test. I still have to make a function out of these.
Not happy with this mess as I’m sure it’s more complicated that it should be, but it works.
Thank you for your guidance koendb!
I am looking for a cross site login. Allow me to manage all users & roles from all sub-domain sites from one central place. Is this plugin supposed to do what I am looking for? If yes, this is a big time saver!
Please let me know when this is up and running. I would love to be the first to test on it.
Thanks,
Darren
On my website I have custom roles (to make sure users are shown in a map etc.), and this is why user profiles are giving me a 404. The admin and a testuser (who is not that specific role) just work.
All the users with this other role do have a participant role as forum role, and the capabilities of the other role also include the roles of a participant (also tried without, actually tried everything).
I want to get these profiles working, or remove the link to the profiles (so just show usernames in topics etc.), which I also couldn’t found.
Thanks in advance for a reply.
Please guys, this is not something trivial.
I tried to work it out but I couldn’t as there is not a single post around here answering that and there is nowhere I can find a comprehensive list and description of the BBPress functions.
All BBpress functions I happened to find that are related to the dates are displaying them in a sophisticated way, there is none I could find that just displays the date in its simplest form.
I tried to “date()” and “strtotime()” every single variable I could find but with no success.
There are posts telling how to use flat dates around here but these posts are very old (4 years..) and they make use of functions that don’t exist anymore.
There was supposed to be a plugin for that but this plugin doesn’t exist anymore neither.
And the more recent questions about this issue are just not answered.
I hope this will not be taken the wrong way: I’m very grateful for this plugin and for all the people working on it. Really. I just don’t know how to move on with an unanswered question and some outdated answers.
PS: I asked you how to get the latest post date in the forum list view but now, I also (and mainly) need to know how to achieve this in the topic list view and posts view as they are not documented neither.
Long story short: how to get real dates everywhere!
It’s been two days and I’m still in the dark. If it’s there somewhere, my bad, but please be assured that, as obvious as it might be, I tried my best.
Thank you very much for your help.