-
adbp posted a new activity comment 14 years, 2 months ago
yes found it already in the other topic, thank you for your reply
-
adbp posted an update 14 years, 2 months ago
@rossagrant thx, found the solution …
-
adbp posted an update 14 years, 2 months ago
@modemlooper thx, found the solution …
-
adbp posted an update 14 years, 2 months ago
@modemlooper hi modemlooper maybe you can help me out on this …
i wanna change the default link in groups from “Home” to “Forum”.
I mean, when user clicks on a group it goes directli to the forum topis of that group.
Have you got an idea, how i can do that?
You can see it overhere http://sharespeak.co.uk/groups/
If you click on one group it goes…[Read more] -
adbp posted an update 14 years, 2 months ago
@rossagrant @rossagrant i would really like to know how you changed on http://www.sharespeak.co.uk the default group “Home” link to “Forum”. I would like to do the same on my site, but i can’t find a solution on the web. Thank you so much for sharing!
Cheers
adbp
@adbp
Not recently active
Place this in bp-custom.php
function redirect_to_forum() {
global $bp;
$path = clean_url( $_SERVER[‘REQUEST_URI’] );
$path = apply_filters( ‘bp_uri’, $path );
if ( bp_is_group_home() && strpos( $path, $bp->bp_options_nav[‘groups’][‘home’][‘slug’] ) === false )
bp_core_redirect( $path . $bp->bp_options_nav[‘groups’][‘forum’][‘slug’] .…[Read more]
yes found it already in the other topic, thank you for your reply