Forum Replies Created
-
In reply to: Include sub-forum topics in parent forum loop
great – if you fix it, please post the solution here to help others !
In reply to: Problem installing bbPressprobably a conflict
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.
ok, so put this in your functions file
//This function adds the author to the reply function bbp_author_display () { if (bbp_get_reply_author_id() == bbp_get_topic_author_id() ) { echo '<span class="topic-author">' ; echo '<ul><li>' ; echo 'Topic Author' ; echo '</li></ul></span>' ; } else return ; } add_action ('bbp_theme_after_reply_author_details', 'bbp_author_display') ;
and this in your style.css
#bbpress-forums .topic-author{ background: none repeat scroll 0 0 #5BB75B; color: #FFFFFF; display: block; padding: 5px; }
Job done !
In reply to: Per Forum Permissions by GroupInteresting, this doesn’t happen on my site, but then all sites are different !
When you say that the ‘dropdown’ is missing do you mean the list that is shown beside ‘use an existing topic in this forum’
and what happens – is it missing, or has blank entries or what?
Come back and I’ll try to help further
‘if topic author is the same as reply author display label above reply author avatar, or below forum role. IF not the same dont display anything. ‘
Is this now the function you want or is this additional to other stuff – sorry I’m a bit confused !
In reply to: Requirement QuestionsMultiple user levels – https://wordpress.org/support/plugin/bbp-private-groups plugin should do this
Capacity to see at a glance live updated list of who has commented – could be coded but is not in the current version.
Is there a way to integrate Dropbox – not that I know
He would like a tag cloud also. – yes that’s thereIn reply to: Why you choose this complicated scheme ?lots care, but just coming on here and spouting abuse is hardly likely to create a discussion !
In reply to: User profile management‘Small world….you don’t cycle do you ?? ‘
No, strictly powered transport !
Has the profile ever worked, or is this a new isuue- and how old is the forum ?
In reply to: User profile managementyou’re just down the road from me, I’m in Rotherfield!
I’ll take a look this evening or tomorrow and come back !
In reply to: Help with forum layoutbbpress will use your standard page template.
see
for the order and which one to look for.
But it is styling that will determine the width.
look in your theme’s style.css for code something like
#sidebar
{
padding: 20px 0 10px 0;
margin-left: 545px;
width: 190px;
}and you may need to play with the content
#content {
float: left;
width:500px;
}If you just want it changed for bbpress pages, then try
#bbpress-forums.sidebar
{
padding: 20px 0 10px 0;
margin-left: 545px;
width: 190px;
}may or may not work, css not my strong point !
In reply to: User profile managementcan you give us a link to your website?
In reply to: Include sub-forum topics in parent forum loop‘You can pass wp_query args into bb_has_topics(), but I can only only come up with code that shows topics from one forum – not multiple forums.’
I’m afraid I don’t have time at the moment to do lots of coding for others, but take a look at this plugin
Look at includes/topics.php for how I did this for private groups – called pg_has_topics, it may give you some help – I used ‘post__in’ to create a list of topics to display
So you could do a coupe of loops to create this list and the pass that to the bbp_has_topics function.
‘post__in’ is realy, useful sometimes
see
if marked private, then your csv compare should pick that up !
In reply to: User profile managementok, could be lots of things, presume you’ve referred back to your developer?
and presume this is a new installation of bbpress, so has never worked?
I’d start by trying :
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.
In reply to: New Users Auto Subscribe to One ForumGreat stuff !
It always amazes me how long I spend to produce so little code 🙂
Bet you learned a lot along the way though!
great !
‘I would like the topic starter label throughout a topic , for whatever number pages it may have ‘
So Stephen’s advice is good then, follow his link and put the topic at the start of each page !
In reply to: Freshness Date Formatgreat -come back if you need to !
great – so you’re fixed ?
In reply to: Bbpress use post_id , how ?Sorry, yes I have been elsewhere.
Sorry I’m not good enough to know how to do this, hopefully someone will be along to help you – sorry !
ok, may be a little rough, but seems to work
put this in your functions file
//This function adds the author to the reply function reply_display_author () { global $countr ; if ($countr == 5 ) { echo '<span class="bbp-topic-started-by">' ; printf( __( 'Topic started by: %1$s', 'bbpress' ), bbp_get_topic_author_link( array( 'size' => '14' ) )) ; echo '</span>' ; } else { return ; } } add_action ('bbp_theme_before_reply_content', 'reply_display_author') ;
and then create a file called bbpress in the root of your theme and copy across loop-replies.php
then amend from line 42 so that it reads
<?php if ( bbp_thread_replies() ) : ?> <?php bbp_list_replies(); ?> <?php else : ?> <?php global $countr ; $countr=-1 ; ?> <?php while ( bbp_replies() ) : bbp_the_reply(); ?> <?php $countr ++ ; <?php bbp_get_template_part( 'loop', 'single-reply' ); ?> <?php endwhile; ?> <?php endif; ?>
seems to do the trick !
In reply to: User profile managementok, so do you get this when you click edit on the profile page, or when you try to access the profile page?
In reply to: User profile managementIs it all or just some users?
try setting yourself up with a new username and participant and see if you can replicate the problem.
what are they/you seeing – ie do they get the edit option?
This dropped into your functions file puts it in every reply – just thinking about how you’re get every 5th !
//This function adds the author to the reply function reply_display_author () { if( get_post_type() == 'reply' ) { echo '<span class="bbp-topic-started-by">' ; printf( __( 'Topic started by: %1$s', 'bbpress' ), bbp_get_topic_author_link( array( 'size' => '14' ) )) ; echo '</span>' ; } else { return ; } } add_action ('bbp_theme_before_reply_content', 'reply_display_author') ;
Great – keep looking – there must be a reason , and if not database, then next will be
checking plugins are the same (inc version)
wordpress is the same (inc version) and
theme is the same (inc version).
Then it would be eitherfile corruption, so re-installing all the above software.
or server issue, check server specific files, check same php, MySQL and other software versions.but there must be a cause !