No – it’s on 1.6.1 – we’re still using the buddybar – haven’t moved to the WP admin bar (looonnng story/difficult client)
Maybe that’s the problem? It’s not ideal, but I can edit the core file if needed. We’ll be changing this to the wp admin bar for future updates, but have a time issue at the moment.
Sorry – didn’t explain that very well, too many hours messing with this.
I am referring to the “My Account” link in the top buddybar. The drop down has the profile, activity, etc links – those are fine. We just want to redirect the top “My Account” link to the custom page.
This is crude and requires hacking core file, but until a better fix is found this seems to be working.
In the file, bp-forums-functions.php (located in buddypress>bp-forums) I added $text = ‘dice roll’
to line 354. So it now looks like
`function bp_forums_reply_exists( $text = ”, $text = ‘dice roll’, $topic_id = 0, $user_id = 0 ) {
$reply_exists = false;`
Tried several successive dice rolls and they posted correctly. You’re mileage may vary! It also seems to allow duplication of regular text replies as well, so that’s not ideal.
I’d much rather have a function or better yet, an update to the plugin, but this seems to work for now.
It appears that the check for this is coming from bp-groups-screens.php. The dice roller produces the same “Dice Roll” text each time so it’s being seen as a duplicate.
There has to be some way to add another check for the dice roller text, but not sure how to do that.
Perhaps a function that would override? Anyone have ideas?