Forum Replies Created
-
hey no problem, just post the details when you get back
In reply to: customizing bbpress admin linksno problems, just want to see what you’ve done and if I can help further
In reply to: customizing bbpress admin linksok, my brain is now mush, but I am still hooked.
Can you post you solution so far, then I’ll put it in my test site
So I need to know
what code you put in your functions file
what code you have in loop single reply (and starting where!)
any other code you have, and where you’ve put it
I’ll then have a play !
can you post the exact error please ?
you’ll need to have some logic in here
eg
if there are replies find latest reply, and then find that replies author and insert that.
if there are no replies, then put in topic authorAt the moment you looking up the reply author for a topic, and that won’t work.
just had a play and this seems to work, but only tested quickly, so you’d need to set up a few topics with and without single and multiple replies and check that it worksin all circumstances
// Maybe get the topic author if ( ! empty( $settings['show_user'] ) ) { //see if there has been replies, and if so set to latest $replycheck = get_post_meta( $topic_id, '_bbp_last_reply_id',true); //if we have replies ie replycheck holds the latest reply number if (!empty ($replycheck)) $author_link = bbp_get_reply_author_link( array( 'post_id' => $replycheck, 'type' => 'both', 'size' => 14 ) ); else $author_link = bbp_get_topic_author_link( array( 'post_id' => $topic_id, 'type' => 'both', 'size' => 14 ) ); } ?>In reply to: Unique member namesare you using automatic registration?
If so wordpress should prevent duplicate usernames.
or maybe you using a membership plugin that overrides this?
In reply to: How do I add a sidebar to all topics pages?have both of you been through
come back if you need further help.
In reply to: No sidebar in BBpress WP Tweaks@obinyc sorry missed this post
try
<?php get_sidebar(); ?>
lots of different boats, and yours is probably not the same.
Do you have a sidebar at all showing?
Have you followedCome back if you need further help
In reply to: 404 for logged in users (not admin)ok there are two parameters
wordpress – has subscriber, author, admin etc.
bbpress has – participant, moderator, keymaster etc.you’ll see the bbpress roles when you do into
dashboard>settings>users>all users and go into edit users. Look at the bottom of the screen and you’ll see forum role.
If you are manually registering your users, then have set up a user, you’ll need to go back into edit to add the role.
If your users are automatically registered as part of a process, then you’ll need to set Dashboard>settings>forums and change/tick automatically assign users the participant role (if that’s the role you want them to have).
In automatic mode, the user is assigned the bbpress role on first login. However if you are using third party registration processes (eg plugins to do that) then some override that, and that part of the process doesn’t work, so you’ll need to check that rthe process is happening.
Come back if you need further help.
In reply to: Remove Breadcrumbsok
the answer is :
How to do it :
In reply to: disabling breadcrumbsok
the answer is :
How to do it :
great – glad you’re fixed !
In reply to: customizing bbpress admin linksthanks for posting that and I haven’t got bored with this subject, just V busy elsewhere !!
I’ll try and come back and help when I get some time to properly digest !! 🙂
In reply to: Creating new topic is not working properlyIt 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, switch to a default theme such as twentytwelve, and see if this fixes.
do you simply want the forum to be hidden from non-logged in users?
If so private does what it says on the tin. So set the forum, and all posts under it will be private as well.
If you need only some users to see if private, then
https://wordpress.org/plugins/bbp-private-groups/
is what you need.
In reply to: Simple Layoutgreat – glad you’re fixed !
In reply to: Simple Layoutok, several ways you could do this, the best I know is
https://wordpress.org/plugins/display-posts-shortcode/
just create a page called anything and put the code on it.
you’ll be looking for a custom post type of topic.
see https://github.com/billerickson/display-posts-shortcode/wiki for the arguments you can use
you can then determine exactly what you display
but something like
[display-posts post_type=”topic” posts_per_page=”15″]
would give a simple list of 15 clickable topic titles per page.
In reply to: query_posts topic content – private forumgreat – glad you’re fixed !!
In reply to: How to change Admin Link's text color?great, glad you’re fixed
In reply to: Simple LayoutNot quite sure what you are after
Do you just want a list of topics?
you url followed by /topics will get you to a list of topics, but will include freshness
eg
come back with a more detailed description of what you want and we’ll try to help
In reply to: Theming Questionstart with
no it’s not difficult, but would take a bit of coding
You’ll need to either create a copy function and use that or amend the topics widget and risk it being overwritten by updates.
There’s no simple, filter I can see.
so go into
bbpress/includes/common/widgets.php
and on line 807 you’ll see the author-link being created
the correct solution would be to create a fresh version of this widget, by say copying it to your functions file and renaming it.
If you just edit the core file, it will be overwritten by updates, but as long as you note what you’ve changed and accept that risk !…
so you’d need to look up the last reply for that topic, and then do another author link for that reply.
Sorry, I really busy at the moment earing a living or I so the coding .. so unless someone else steps in, see how far you can get 🙂
you shouldn’t be changing directly !
can you come back and post your code for 2, you’ve just missed a “‘” somewhere I expect.
In reply to: Fullwidth questiongreat – glad you’re fixed
In reply to: Remove Freshness date and Topic count columngreat – glad you’re fixed