Forum Replies Created
-
In reply to: Deleting Log of edits
try this in your style.css
`/* =Revisions
————————————————————– */#bbpress-forums .bbp-topic-content ul.bbp-topic-revision-log,
#bbpress-forums .bbp-reply-content ul.bbp-topic-revision-log,
#bbpress-forums .bbp-reply-content ul.bbp-reply-revision-log {
Display : none !important ;
}In reply to: Deleting Log of editsyes, you have a choice
1. You could put it in your style.css – that is a file called style.css that you will find in your theme
wp-content/themes/%yourthemename%/stle.css
where %yourthemename% is the name of your theme
Just drop it at the end.
This will then override the code in bbpress.css, and is the easiest way
2. Otherwise you can create a directory called css in your theme
/wp-content/themes/%yourthemename%/css
and copy the existing bbpress.css across to get
/wp-content/themes/%yourthemename%/css/bbpress.css
but here’s the thing, you then need to find and edit the existing display lines, just adding code will give two sets, and your maybe won’t take preference
the lines you are looking start at line 904 and say
/* =Revisions -------------------------------------------------------------- */ #bbpress-forums .bbp-topic-content ul.bbp-topic-revision-log, #bbpress-forums .bbp-reply-content ul.bbp-topic-revision-log, #bbpress-forums .bbp-reply-content ul.bbp-reply-revision-log { border-top: 1px dotted #ddd; width: 100%; margin: 0; padding: 8px 0 0 0; font-size: 11px; color: #aaa; } #bbpress-forums .bbp-topic-content ul.bbp-topic-revision-log li, #bbpress-forums .bbp-reply-content ul.bbp-topic-revision-log li, #bbpress-forums .bbp-reply-content ul.bbp-reply-revision-log li { list-style-type: none; }
you just need to edit that to
`/* =Revisions
————————————————————– */#bbpress-forums .bbp-topic-content ul.bbp-topic-revision-log,
#bbpress-forums .bbp-reply-content ul.bbp-topic-revision-log,
#bbpress-forums .bbp-reply-content ul.bbp-reply-revision-log {
Display : none ;
}come back if we can help further
In reply to: bbPress redirects users when logged in?not quite sure what is going on in your site, but you are logged in, and the login session has not expired !
So go to forums and login, then go back to fourums. Yes the right hand side says ‘login’ but you are still logged in, and can post topics etc. IF you then click any forum, you’ll see the correct logged in on the right hand side.
So how are your sidebars set up?
In reply to: Syntax Error in admin/functions.php🙂
In reply to: Remove Private TagYou’re welcome !
In reply to: 404 for logged in users (not admin)great – glad you’re fixed !
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