Forum Replies Created
-
In reply to: Wishlist Members Integration Troubleshooting
@kmal91 – sorry but unless you find someone who has spent time with wishlist, I think you will struggle to get help.
For me to fix I’d need to spend at least 1/2 day installing and understanding wishlist.
But two thoughts
1. As a quick Q – if most/many of your forums are restricted, why do you need a link to the forum archive?
2. If you took bbpress out of wishlist, you could probably achieve the forum restriction using
https://wordpress.org/plugins/bbp-private-groups/
You’d need to set up somne groups to mirror wishlist, but it might be an effective solution.
ok, when I get a moment I’ll take a look
In reply to: Friend/Foe ignore functionsometimes the spam filter gets overkeen !
In reply to: directly land on forum page no indexok,
firstly if you just create a page for your forum and use the shortcode
[bbp-single-forum id=$forum_id] – Display a single forums topics. eg. [bbp-single-forum id=32]
then just that forum will be displayed.
to change the breadcrumb display – see
In reply to: Few words about bbPress from my perspectiveok thanks for that
I’m just a humble bbpress user who’s written some plugins.
I’m working on one now that adds some styling changes (the common ones asked for)
so you don’t want to show sub forums, just the parents and then only show the sub forums when the parent is selected?
Is that right?
In reply to: Few words about bbPress from my perspectiveno problem in your post – and followed it right up until
I am talking about plain old CSS2/CSS3. No database queries, and you “sell” your product/code.
I didn’t understand that part – can you explain further !
In reply to: BBpress, Buddypress and Tapatalktry
https://wordpress.org/plugins/bbp-private-groups/
This should stop bbpress forum entries displaying when they shouldn’t.
In reply to: Separating Forums into GroupsIs there something that I’m missing?
possibly.
but the rest of the codes don’t work.
This again isn’t really helpful. What do you mean by ‘don’t work’ – nothing shows? something shows but it is not what you want? a picture would be useful.
I cannot help unless I get detailed problems 🙂
In reply to: Separating Forums into GroupsYour plugin doesn’t seem to work.
If you want help, please explain further – the above is just not helpful.
In reply to: first postsorry, 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?