-
shanebp posted on the forum topic control location of error messages in the group How-To and Troubleshooting: 13 years, 9 months ago
Thanks for the info.
Yes, we saw div#message and .error in default.css.
But there must be a place in the code where the div is rendered to the page.
Anyone know where that place is? -
shanebp posted on the forum topic control location of error messages in the group How-To and Troubleshooting: 13 years, 9 months ago
I see no instance of <div class="error" in bp-core files.
But there are plenty of bp_core_add_message calls.Anyone know where bp_core_add_message is defined?
-
shanebp started the forum topic control location of error messages in the group How-To and Troubleshooting: 13 years, 9 months ago
Looking for hints re how to control the location of error messages. For example, changing avatar: “Upload Failed! Error was: No file was uploaded.” This message appears at the top of the Profile Area – so it is easily missed. Anyone know how to control where the output of bp_core_add_message appears? IOW. How to control […]
-
shanebp posted on the forum topic redirect – if not logged in – for some sections in the group How-To and Troubleshooting: 13 years, 10 months ago
Perfect – Thanks David
-
shanebp posted on the forum topic redirect – if not logged in – for some sections in the group How-To and Troubleshooting: 13 years, 10 months ago
Tried using get_permalink.
It worked for nav buttons, but any sidebar icons, links, etc returned the home page post from get_permalink although they went to the correct page as shown in the browser url.Could not figure that out, so I just went with some basic php in bp-custom.php using $_SERVER and meta refresh.
-
shanebp started the forum topic redirect – if not logged in – for some sections in the group How-To and Troubleshooting: 13 years, 10 months ago
None of the redirect plugins (that I can find) work. Or they aren’t flexible enough. So I’m trying to write a function for child theme/functions.php I need to redirect users away from some parts of the site – if they are not logged in. I can use : is_user_logged_in() to find out if they are […]
-
shanebp started the forum topic Working for anyone with latest WP / BP ? in the group BuddyPress Private Community: 13 years, 10 months ago
Can anyone confirm that this works with WP 3.0.4 and BP 1.2.7
The below goes into an infinite loop for any url
MM_BUDDYPRESS_PRIVATE_COMMUNITY::$ALLOWED_URIS = Array('/about', '/contact');
[Read more]
MM_BUDDYPRESS_PRIVATE_COMMUNITY::$REDIRECT_TO_URL = site_url() . '/home';
MM_BUDDYPRESS_PRIVATE_COMMUNITY::$REDIRECT_HOOK =… -
shanebp joined the group BuddyPress Private Community 13 years, 10 months ago
-
shanebp posted on the forum topic Moderation? in the group BuddyPress Media: 13 years, 10 months ago
Thanks for your reply – which makes perfect sense. So – I wasn’t suggesting that the site Admin has to approve each and every item uploaded. But rather the Admin would have an interface where they could delete a particular item when they see it. And it sounds like that is exactly what the dedicated […]
-
shanebp posted on the forum topic Moderation? in the group BuddyPress Media: 13 years, 10 months ago
No answer to this? So the answer is that there is no ability to moderate uploads? Seems like that is an absolutely essential feature ! Guess I’ll have to add a Y/N field to the wp_bp_album table and build a standalone admin page. Unless somebody has another idea? If not – a hint about where […]
-
shanebp joined the group BuddyPress Media 13 years, 10 months ago
-
shanebp joined the group How-To and Troubleshooting 13 years, 10 months ago
@shanebp
Active 1 day, 2 hours ago