Forum Replies Created
-
In reply to: Tranfering / Moving Domain Name
There isn’t a button or setting that will move everything for you. You could pay someone to do it if you’re not comfortable with doing it yourself. The cost involved for moving a stand-alone WordPress install (files and db) should be reasonable.
In reply to: Change TITLE tag of main activity feedA good approach is to create a localisation file:
https://codex.buddypress.org/developer/customizing/customizing-labels-messages-and-urls/
In reply to: Creating New PluginsEven though your plugin is BP related, it might be worth also posting the question in:
https://wordpress.org/support/forum/plugins-and-hacks
Your reach will be extended to the WP plugin dev community
In reply to: One Activity Stream ( Personal, Mentions, Friends )@frontburnr thanks for pointing out that plugin. Will be v helpful until #4988 is implemented!
In reply to: [Resolved] Show member recent post in members loop$query = new WP_Query( 'post_type=portfolio' );More info on how you can use the WP_Query class:
In reply to: Tranfering / Moving Domain NameThere is a Codex page which will talk you through the steps you need to do when the time comes…
In reply to: [Resolved] Show member recent post in members loopGreat stuff, glad you got it to work!
In reply to: [Resolved] Show member recent post in members loopYou should be able to.
Try changing
$query = new WP_Query( 'author=' . $user_id );to
$query = new WP_Query( 'showposts=1&author=' . $user_id );In reply to: [Resolved] Show member recent post in members loopYep! not really that hard at all :} Check out the WordPress Codex, you’ll find lots of useful info on there…
In reply to: [Resolved] Show member recent post in members loopDo you mean this “the_field(‘featuredimage’);” is displaying the feature image URL? If it is, then you can just wrap some HTML around it:
<?php $user_id = bp_get_member_user_id(); $query = new WP_Query( 'author=' . $user_id ); if ( $query->have_posts() ) { while ( $query->have_posts() ) { $query->the_post(); //display title the_title(); //display content the_content(); ?> <a href="<?php the_permalink(); ?>"> <img src="<?php the_field('featuredimage'); ?>" alt="" /> </a> <?php } } //reset for next member wp_reset_postdata(); ?>In reply to: [Resolved] Show member recent post in members loopTry putting this in members-loop.php
<?php $user_id = bp_get_member_user_id(); $query = new WP_Query( 'author=' . $user_id ); if ( $query->have_posts() ) { while ( $query->have_posts() ) { $query->the_post(); //display title the_title(); //display content the_content(); } } //reset for next member wp_reset_postdata(); ?>In reply to: Members not showing up@kathytarochione make sure they’ve activated their account. If a user registers an account they show up in the WordPress admin area. Only once they’ve activated their account by clicking on the activation link in the email they get sent do they appear in the BuddyPress members area.
My solution was to hide the header image on all areas of the site except the homepage.
Maybe that would help you?
In reply to: "My Sites"If the member has no friends, the friends tab will still show, so yep, this is how it supposed to work.
Your header HTML wouldn’t be in style.css. It would be in your theme’s header.php.
Links are everywhere. You’d basically be looking for every inbound link (which would be a huge undertaking). You may be able to do something in .htaccess but that seems overkill
Perhaps someone else knows of an easier approach?
In reply to: Prevent from spam messages.Have you tried searching the WordPress plugin repository for something like ‘buddypress spam messages’?
A good plugin that will certainly resolve the issue is
https://wordpress.org/plugins/buddypress-private-message-for-friends-only/The way to do it would be to put an id of “top” on the HTML element directly under the header image. So something like this
<!-- end header -- > <div id="top">...</div>Then append all of your links with #top
In reply to: [Resolved] bp-default sidebar login not workingSame here after an install of 1.7.2 and 3.5.2 with multisite.
It does seem to be an issue so I suggest you file a bug report at https://buddypress.trac.wordpress.org/
It is part of the settings menu so with reference to support instructions you could put it like this:
Settings > General
Just to note the context – the settings menu on the same level as Activity, Profile, Friends. Account settings is a component that you can enable/disable so it is possible you don’t have it switched on currently. Go to Administration > Settings > BuddyPress and then look for “Account settings”
In reply to: Different colour per user levelYou could do this via your style.css and some php logic/html markup in your theme. Or if username can be filtered then style.css and a function in functions.php. Can the username HTML be filtered, anyone?
BuddyPress already has a page for changing your password. It isn’t on the profile page directly – instead it’ll be
example.com/members/username/settings/general
In reply to: Activity Stream Profile FieldThis Codex article will help…
https://codex.buddypress.org/developer/plugin-development/bp_activity_add/I’m not sure of the exact one but a filter hook will be used to redirect the user after successful activation. Perhaps someone can suggest the best hook to use?
You then just write your function and add it to functions.php
function bp_redirect_after_activation() { global $bp; wp_redirect( bp_core_get_user_domain( $bp->loggedin_user->id ) . 'profile/change-avatar' ); exit(); }If I had to guess, i’d say that’s how the theme does it :}
The theme is a premium theme so i didn’t download (couldn’t justify spending $60 just for a peek at the redirect) – so i’m not sure how that theme does it.
In reply to: testbp.org down@mercime ah OK, no worries then. it’ll give me an excuse to update my test site :}