Forum Replies Created
-
In reply to: first post
sorry, but I’d need to spend time to fix this.
If you want a paid solution, contact me via my website
In reply to: first postcan only suggest that there is some hidden formatting in that line, try typing it from scratch
In reply to: Group Forum Tabprobably more of a buddypress question – try their support forum
In reply to: Sidebar not ShowingI know nothing about visual composer, but a quick google produces
http://codecanyon.net/item/bbpress-shortcodes-for-visual-composer/9073637
which suggests that standard shortcodes don’t work?
In reply to: first posttry
if( !is_user_logged_in() && $rep_position ==2 ) {
In reply to: Separating Forums into Groupsmy plugin
has a code
[display-forum-index forum= ‘2932, 2921′ breadcrumb=’no’ search=’no’] Displays the selected forum indexes
which lets you organise the order of forums
In reply to: Change topic "posts" to "replies"you’ll need to explain a bit more about what your issue is, I have no idea from the above
In reply to: first postcan you post the full error and a copy of the lines above and below
In reply to: first postmaybe
<?php while ( bbp_replies() ) : bbp_the_reply(); ?>
// first topic reply shouldn’t be hiding
$rep_position = bbp_get_reply_position($reply_id);<?php // if user is not logged in and is the first reply
if( !is_user_logged_in() && $rep_position =2 ) {
echo “Replies only viewable for logged in users”;
}
// if user is not logged in and is after the forst reply, then don’t do naything
elseif( !is_user_logged_in() && $rep_position >2 ) {
}
//otherwise carry on as usual
else bbp_get_template_part( ‘loop’, ‘single-reply’ ); ?>In reply to: Showing breadcrumb at bottom of post?you could try something like the following in your function file (not tested)
add_action ('bbp_template_after_replies_loop', 'bbp_breadcrumb' );In reply to: first postI wish I had time to write a solution for you for free, but I’m tied up in other work.
sorry, I’ll keep a note of this and if I get a chance look at again shortly.
Otherwise contact me via my website
In reply to: first postsmall correction to above done
In reply to: first postI thought I can do it with a filter in functions.php.
unfortunately not that easy if you don’t want to show the replies, as the loop-replies file has no easy filter to hook to !
yes you can put this in your main theme, just be aware itr will get overwritten by any theme update, so keep a good note of what you did, so you can do it again if needed.
create a directory on your theme called ‘bbpress’
ie wp-content/%your-theme-name%/bbpress
find
wp-content/plugins/bbpress/templates/default/bbpress/loop-replies.php
Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
wp-content/%your-theme-name%/bbpress/loop-replies.php
bbPress will now use this template instead of the originalso that gets the right file
I wish I had time to write a solution for you for free, but I’m tied up in other work.
but basically you want to look at lines
<?php while ( bbp_replies() ) : bbp_the_reply(); ?> <?php bbp_get_template_part( 'loop', 'single-reply' ); ?>You want to stop it getting the template loop-single-reply if it is after pos 1, so something like
<?php while ( bbp_replies() ) : bbp_the_reply(); ?> <?php // if user is not logged in and is the first reply if( !is_user_logged_in() && $rep_position =2 ) { echo "Replies only viewable for logged in users"; } // if user is not logged in and is after the forst reply, then don't do naything elseif( !is_user_logged_in() && $rep_position >2 ) { } //otherwise carry on as usual else bbp_get_template_part( 'loop', 'single-reply' ); ?>In reply to: first postthe filter is just applying to the reply content.
You probably want to amend a template – How php code/wordpress knowledgable are you?
In reply to: first posttry your link again, as it should make it clear what you are after !
In reply to: where should i add code to appear in forum postsThe you’ll need to add it into a function and add it to two actions
‘bbp_theme_before_reply_content’
and
‘bbp_theme_after_reply_content’
so for example
Function agbams_share () { your code in here } add_action ('bbp_theme_after_reply_content' , 'agbams_share' ) ; add_action ('bbp_theme_after_reply_content' , 'agbams_share' ) ;see
In reply to: BreadCrumbok, not sure that bbpress takes multiple paths in the slug – you might have to play a bit to see
In reply to: Forums Archive Shows Only Text And Not Archivegreat – glad you’re fixed !
In reply to: forum title css changes not working.it will all depend on the order that the different css files bare loaded, so bbpress may be overwriting your theme ones
try
{ font-size: 13px !important; }That says ‘don’t overwrite’
In reply to: first postsorry, sometimes the spam filters are overactive.
Add you real question below !
In reply to: bbPress Moderationok, that isn’t really that helpful.
Presume the error only occurs with the moderation plugin?
If so try their support site
https://wordpress.org/support/plugin/bbpressmoderation
although it looks as though someone has already posted that problem
In reply to: Confusion with Forums root and Forums slug.worth querying with them ?
In reply to: Per Forum Permissions by GroupTnanks Brian !