Forum Replies Created
-
AuthorPosts
-
December 13, 2012 at 6:20 pm #1353Daniel MortonParticipant
Hi Ray,
I just wanted to say that I went through the migration and everything went according to plan – the buttons all seem to be working now, my groups/forums/topics all appear to be present and correct.
I didnt have any hidden/private groups, but I intend to have some in the future – I assume that this will not be a problem since I have changed over.
Thanks again for the brilliant support
All the best
Dan
December 13, 2012 at 4:08 am #1344Daniel MortonParticipantHi Ray,
Thank you for looking at this.
I have both the bbpress plugin and the Discussion Forums activated. If I deactivate the bbpress plugins I no longer have forums within my groups, though deactivating the “Discussion Forum” seems to make little change.
If I am understanding the threads you have linked to correctly I am best off converting over to bbpress completely. I think this will be fine as this site is just starting out and dont have too much content to lose.
I will sit down today when I have time to go through the conversion and try this out. Will I still need to adjust the /buddypress-cbox.php file when I have changed this.
Also, considering I have only a few groups at this time would I be best served deleting these and setting up bbpress and then repopulating them.
Many thanks
Dan
December 12, 2012 at 6:12 pm #1339Daniel MortonParticipantHi Ray,
Thanks for looking at this so soon – and no apologies – I think this is a fantastic piece of work and really enjoying working with it!
I have made the changes that you have suggested, but I am afraid that it has not made any change to the New Topic button, I am getting the same response. Do I need to refresh or update something?
I have pasted in the area around where I made the changes in the file in case I have made a simple error:
/**
* Temporarily fix the “New Topic” button when using bbPress with BP.
*
* @todo Remove this when bbPress addresses this.
*/
function cbox_fix_bbp_new_topic_button() {
//if groups isn’t active, stop now!
if( ! bp_is_active( ‘groups’ ) )
return;
//if the bbpress plugin isn’t enabled, stop now!
if ( ! function_exists( ‘bbpress’ ) )
return;
// remove the ‘New Topic’ button
// this is done because the ‘bp_get_group_new_topic_button’ filter doesn’t
// work propelry
remove_action( ‘bp_group_header_actions’, ‘bp_group_new_topic_button’ );
// If these conditions are met, this button should not be displayed
if ( !is_user_logged_in() || !bp_is_group_forum() || bp_is_group_forum_topic()|| bp_group_is_user_banned() )
return false;
December 12, 2012 at 4:59 am #1327Daniel MortonParticipantDecember 12, 2012 at 4:45 am #1326Daniel MortonParticipantFirst file before clicking:
second file after clicking:
Third File:
Fourth file:
December 12, 2012 at 4:44 am #1325Daniel MortonParticipantHi Ray,
My apologies for not explaining this clearly, hopefully these will help clarify my problem.
The first image (before click.png) shows being in a group forum and trying to start a new topic. There are two “New Topic” buttons. If I click on either of those the screen I get is shown in (after click.png). The only thing that has changed is in the command line, I dont see the typical New Topic form.
I have two further images of a before and after in the forums directory where the “New Topic” button does work.
Thanks for your time
Dan
December 3, 2012 at 9:34 pm #1179Daniel MortonParticipantI have found this to work well and give the functionality that you are asking for:BP group documents
-
AuthorPosts