-
Torben Grue replied to the topic Dogsuniverse.dk – heavily customized WordPress/Buddypress site in the forum Showcase 10 years, 10 months ago
Thank you @arwenmckenzie, @julianprice, @johnjamesjacoby, @ubernautfor and @macpresss for the positive feedback. Your right we spent thousands of developing hours on http://dogsuniverse.dk (and the international versions).
-
Henry replied to the topic avatar width doesn't apply in the forum How-to & Troubleshooting 10 years, 10 months ago
@macpresss could there be some CSS in your theme that is resizing the avatar image?
-
Henry replied to the topic Curious if this is correct php for showing X to Z people. in the forum How-to & Troubleshooting 10 years, 11 months ago
Looks solid to me. If you wanted to condense the code into two lines you could use the logical operator
&&
e.g.
if ( bp_has_notifications( 'user_id=' . bp_loggedin_user_id() ) && is_user_logged_in() ) {
// ... here I've got the loop stuff ...
}You could also append this bit which will let you output something to logged in…[Read more]
-
Henry replied to the topic Error: Missing argument 2 for wpdb::prepare in the forum How-to & Troubleshooting 10 years, 11 months ago
Take a look at this page to see the parameters accepted:
Perhaps try using
profile_group_id
:By default all groups and all fields will be displayed. If you provide the ID of a profile field group, then only the fields in this group will be…
-
Henry replied to the topic Performance between loop and all conditional profile fields export in the forum How-to & Troubleshooting 10 years, 11 months ago
Hi @macpresss
What do you mean by ‘export all profile fields by a conditional tag’?
Doing what you’ve done above is good practice because if Country is an optional field and it has not been completed by the member then nothing will be outputted:
<?php if ( $data = bp_get_profile_field_data( 'field=Country ' ) ) : ?>
[Read more]
<!-- do something… -
shanebp replied to the topic Display green border around avatar when user is online in the forum How-to & Troubleshooting 10 years, 11 months ago
You should be able to put the function in functions.php
But you still need to put this
$current_time = current_time( 'mysql', 1 );
at the top of the template and _not in functions.php -
Henry replied to the topic Display green border around avatar when user is online in the forum How-to & Troubleshooting 10 years, 11 months ago
@macpresss I wouldn’t use that code from web developers wall in the members loop as it will add a database query for each member. It is more intended for use on the profile page. For the members loop, there are better ways to do it performance wise.
-
@mercime replied to the topic Group mods bug in Beta 1.9 in the forum How-to & Troubleshooting 10 years, 12 months ago
@macpresss I agree in the sense that any additional role for the Group Moderator should be configurable by Site/Group Admins.You can submit a ticket to enhance Mod role at https://buddypress.trac.wordpress.org/
-
Hugo Ashmore replied to the topic Using BP_DEFAULT_COMPONENT to select a plugin tab in the forum Creating & Extending 10 years, 12 months ago
@macpresss Thanks for the Codex contribution, I have however moved it for the moment to the user submitted guides under getting started as the components section is really descriptions of the standard default BP settings.
In reality we do have a page in progress here https://codex.buddypress.org/developer/filters-reference/ which is designed to…[Read more]
-
@mercime replied to the topic Group mods bug in Beta 1.9 in the forum How-to & Troubleshooting 10 years, 12 months ago
-
Henry replied to the topic Activity Time is GMT. Activity Stream "Posted an Update" time is incorrect. in the forum How-to & Troubleshooting 10 years, 12 months ago
@macpresss I’m sure within the
bp_activity_action()
function the various items will be filterable usingadd_filter()
or translatable via a language file. If not then perhaps you can raise a Trac ticket to have the various items broken down into discrete filterable parts. -
disqusnow replied to the topic BuddyPress Group Page in the forum Installing BuddyPress 11 years, 4 months ago
@macpresss I finally found it via my host ftp but my theme folder doesn’t have buddypress inside it. wp-content / themes / [your-theme-name] />>NO BUDDYPRESS but there is an index.php file inside it.
-
disqusnow replied to the topic BuddyPress Group Page in the forum Installing BuddyPress 11 years, 4 months ago
@macpresss Thanks for your detailed explanation. I tried to find the index.php file via wordpress admin>>plugins>>buddypress but I couldn’t find a file called bp-templates on the right hand side of that page.
Thanks
Benjamin
@macpresss
Active 6 years, 12 months ago