Forum Replies Created
-
Ah yes, of course! Thanks again Hugo!
Thanks Hugo! I will give it a go
+1 to making global.js less dependent on theme markup. It would be nice to be able to run riot on a new theme and not have to worry about removing any of the default markup.
Also, as BuddyPress is developed further, it would be nice to see more of the language removed from the core. At the moment I have to create a new language file with isn’t ideal.
All this said, BuddyPress is a fantastic product. Very impressed how far it has come in such a short time.
We seem to be in the same position and I agree as a developer you really do need to respect the BuddyPress classes and IDs in order for the JS to work properly. I found that out the hard way :}
Anyway, my solution to my question was a CSS one. This works nicely for me.
div.activity-comments form.ac-form {
display: none;
}I tried this but it doesn’t seem to work:
if ( ‘public’ == bp_current_item() )
Any ideas?
I was looking for this for ages. Thanks for pointing out.
Thanks for the link. For everyone reading this post, the short answer is it isn’t currently possible (or at least not easy to achieve with the current implementation of BP).
Brajesh
This is brilliant, never thought of going for a CSS solution. Thanks for the second time today!
This is probably what you want:
http://pastie.org/3967744Hi Brajesh
Thanks for this. Do you know if there is a list of similar functions available. I cannot find it in the documentation.
Thanks again, your function was spot on.
Henry
Thanks Paul
I did just have a look at bp-friends-loader.php and can see there are lots of hard coded URLs.
Does the source code need a special ID for Ajax to run?
Hi again Paul,
I noticed that you’re not able to sign up with usernames such as “activity”, “groups” or “members”. It seems like BuddyPress stops users from being able to do this to stop any conflicts. I’d pretty much only need to add “about”, “login”, “terms” and “contact” to the list of ‘outlawed’ usernames as these are the only pages I need on my site right now.
Hope you can help.
I have the exact same problem too. Hopefully someone can find a fix. Scratching my head on this one.
Hi Paul
Running the latest version, just installed a few days ago.
BP takes care of it by displaying the user profile instead of the “page”. Pages seem to have the lowest priority you see so anything that has the same name as a “page” will be displayed in front of the “page”.
I just need to be able to stop users being able to register a username which is the same as any of my existing pages. This will stop any conflicts from occurring and ensure that my pages are always displayed.