Forum Replies Created
-
Anyone ? Please…
Does someone know where is the problem ?
ThanksThanks,
Actually i think that your code should work and that my problem may be not where i thought. problem.
When i use
define(‘BP_GROUPS_DEFAULT_EXTENSION’, ‘forum’ );
it works but when i put it in a function like that, nothing happens:
function redirect_to_forum(){
define('BP_GROUPS_DEFAULT_EXTENSION', 'forum' );
}
add_action('wp','redirect_to_forum');
So, i think that’s why nothing happens when i try to add your code.
Do you know what’s wrong with my function ?Sorry, here is what i tried :
function redirect_to_forum() {
global $bp;
if( bp_is_group_members() )
define(‘BP_GROUPS_DEFAULT_EXTENSION’, ‘forum’ );
}
add_action( ‘wp’, ‘redirect_to_forum’ );Hi,
I have the same problem, i tried this :but it doesn’t work, am i doing something wrong ?
Besides i got a warning message :Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at /homez.38/centrale/www/demo/demo/INELSE/wp-content/plugins/bp-custom.php:10) in /homez.38/centrale/www/demo/demo/INELSE/wp-content/plugins/events-manager/classes/em-notices.php on line 11
If someone has a solution, it would be really great
Thanks,
it worls perfectly but now i have some trouble using parameters for bp_has_group
I want to display only the groups which match the condition ‘my_slug’==’yes’
I tried :
“
Is it the correct syntax ?Thanks a lot
Any help would be really appreciate.
ThanksThanks a lot, it was really helpfull.
Please, any help would be really great.