Forum Replies Created
-
In reply to: Per Forum Permissions by Group
Just taken a good look at form_reply_move.php and that calls a function that uses the bbp_has_topics with a ‘post__not_in’ parameter. My function uses a ‘post__in’ parameter, and wp-Query can’t handle both in one query, hense why it falls over.
I’m already in trouble with my wife for still typing this, but try copying
wp-content/bbpress/templates/default/bbpress/form_reply_move.php to a folder called bbpress within the root of your theme – ie wp-content/your-theme-name/bbpress/form_reply_move.php
this will create a copy that is used instead of the default
try
changing
line 45
<?php if ( bbp_has_topics( array( 'show_stickies' => false, 'post_parent' => bbp_get_reply_forum_id( bbp_get_reply_id() ), 'post__not_in' => array( bbp_get_reply_topic_id( bbp_get_reply_id() ) ) ) ) ) : ?>
to
<?php //if ( bbp_has_topics( array( 'show_stickies' => false, 'post_parent' => bbp_get_reply_forum_id( bbp_get_reply_id() ), 'post__not_in' => array( bbp_get_reply_topic_id( bbp_get_reply_id() ) ) ) ) ) : ?>
and line 63
from
<?php endif; ?>
to
<?php //endif; ?>
This just takes that argument out and see how it runs then
If that works, then I can play with what is needed – think I know, but am out of the door….now !!!
In reply to: Subscribers unable to write topics & add imagesgo back into editing your user, and right near the bottom you’ll see a setting for the forum – check that this is correct for your users.
If they are automatically being registered, then it should set to participant.
If you are manually setting them up, then you need to go back into edit each time and set this level up.
In reply to: Newby a little lostplease don’t apologise, I was writing quickly, and should have phrased it better. I’m just trying to work your hierarchy out !
As far as I can see your menu correctly takes you to a page you have set up called forum which has [bbp-forum-index]
yes?
This then links to a ‘forum’ you have set up either as a forum or as a category or a page, but not sure which, so it is this flow from one to another that I am trying to figure.
if you can help by listing this eg
menu goes to page with [bbp-forum-index] which takes you to a forum called ‘forum’ which is set up as a category etc. etc.
Yes?
In reply to: Per Forum Permissions by Groupok, so if it’s a memory thing then it’s filtering ok when you just have forums set up, as it filters to the displayed forum first, so has less of a list.
The Topics.php is only used by two areas as far as I can remember. The first is if you simply do
which lists all forum topics. I created the function to specifically sort out peoples ability to enter that url and get all topics listed, and so bypass whether they could see a forum.
The second is the one you have discovered (and I didn’t realise was used there) and seems to be generating a memory issue.
You could confirm this by typing your url with /topics after and it should fall over there as well.
If this is the issue, then I’ll look closer at whether I can improve the code, or maybe Stephen has a solution !
In reply to: Per Forum Permissions by Groupyour post crossed. so yes the function is working
In reply to: Per Forum Permissions by Groupon you’re
‘$post_ids=$wpdb->get_col(“select ID from $wpdb->posts where post_type = ‘topic'”) ;’
this function is used lots of times in the plugin for instance forum-filters.php line 37
$post_ids=$wpdb->get_col(“select ID from $wpdb->posts where post_type = ‘forum'”) ;
and is the core of what makes the plugin work. If get_col didn’t work, then the whole plugin wouldn’t as the start of working out who can see what is the list that this/these lines create.
I’d therefore suspect that this function in the particular instance of moving a topic is producing a ‘nil’ return, and without any topics in the resultant filtered list, then the display isn’t switched on.
In reply to: can not manage bbPress after installationWhat do you want to happen?
The ‘cheating’ message sometimes comes about if you have multiple windows open with different access levels.
Setting to ‘no role’ prevents the admin user accessing these areas.
It’s quite probable that if you shut down all windows, and the go in again, you’ll not see these areas, which of course ot what the setting should do.
Come back if that’s not clear !
In reply to: Newby a little lostyes, you should be able to just have the index.
Check out
and if that doesn’t directly help, come back with how you are set up – ie what does menu take you to, what is in that link/post/page/category etc.
In reply to: Per Forum Permissions by Group@netweb š
In reply to: Per Forum Permissions by Group@netweb – thanks for adding to this thread, and apologies if I was breaking rules – fully appreciate the reasons they are there š
I think the errors in pg_get_author_link are related to testing for settings that may not have been set, I’ll take a look.
@trymedo – As Stephen suggest try it with a core theme and play with the plugins. Come back with your results !In reply to: Per Forum Permissions by Groupok, I’ve just tried both roles on my site, and they are fine.
What theme and what other plugins do you have? and can I see a url? you can contact me via my site if you’d prefer that not to be public http://www.rewweb.co.uk
In reply to: No search results in insert link box@rbbouman – ‘Iām trying to understand.’ Wish I could tell you a confident answer ! I’ve worked with computers for over 30 years, and I still don’t understand them ! š
But yes, I suspect that the old trick of “turn it off and turn it on again” has worked !
In reply to: Per Forum Permissions by Group@trymedo Can you tell me what forum role this happens with eg moderator, keymaster?
In reply to: Results of the 2014 bbPress SurveyInteresting set of results – just read through them
Thanks to those who contributed and compiled !
In reply to: Per Forum Permissions by GroupNew version 1.6 available from wp-plugins
https://wordpress.org/plugins/bbp-private-groups/
or my site
This version fixes the [bbp-topic-form] shortcode so that it only displays allowed forums (previously it showed all forums, but only allowed posting in authorised).
@smileyriley21 – love, wealth and happiness should now abound ! šIn reply to: Forum still not working right…Great – glad you’re fixed, and thanks for posting the latest code needed ! š
In reply to: is it possible to install bbpress for non wp sitessorry bbpress is now only a wrodpress plugin !
In reply to: Forum still not working right…great – glad you’re fixed !!
In reply to: Unable to Assign Forum to TopicIt 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.
In reply to: Per Forum Permissions by Group‘If you can do this, I will love you forever and donate some cash as this will meet my clients requirements.’ I think my wife would be worried at the first, but delighted by the second !
It should now be quite doable, as I found a better fix to another area which I can re-use, so I’ll get to work on it, and come back hopefully later today or tomorrow
great – glad you fixed now – we get there in the end !
In reply to: Per Forum Permissions by GroupOk thanks, the screen shots help immensely.
I’ll take a look
In reply to: Include sub-forum topics in parent forum loopgreat – 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.