Forum Replies Created
-
@Nirock Thanks for the advice. I think you are right on. After walking away from the code for a bit this weekend, I started to see the problem in a different light and came to the same conclusion. I’m not even sure the buddyPress software is really needed for this project. It may be overkill for my client. Hopefully at some point adding custom fields to the activity stream will become simpler for hacks like me. I really appreciate all the help I got on this.
Latest attempts:
If I type in:
`function my_equipmeta() {
$my_equipmeta = ‘joe’;
//if (is_user_logged_in()) : {
echo ‘(‘ . $my_equipmeta . ‘)‘;
//}
//endif;
}
add_action( ‘bp_activity_entry_meta’, ‘my_equipmeta’ );`I can see the name ‘joe’ in the activity. That’s a good start
If I input `$my_equipmeta = the_meta();`
I see some custom field info but not all of the info displayed for each post is the meta stored with that post. IE some custom fields are showing up in posts that do not have that info stored. In other words it doesn’t appear to be working the way I need it to.
Lastly:
If I input:
`$my_equipmeta = get_post_meta($post->ID, ‘Make’, true);`I receive nothing in return.
I will keep tinkering but if anyone sees an error feel free to let me know. Thanks.
I learned a lot about buddypress and wordpress custom fields today. Some thing I loved some things I didn’t. Still can’t seem to get it to function the way I would like. I can store the custom fields from the front end but I cannot display the fields in the activity stream with the post. It doesn’t seem to be possible yet.
I’m going to explore the custom post types and see where that leads. Thanks for the advice!!
I’m open to any other thoughts.
I’m after something like this on the homepage:
http://www.nibydesigngroup.com/TUmailer/community.jpg
I think it’s going to be some major code hacking unless someone has other thoughts.
well the Tweetstream and posterous would work if everyone had a Twitter account. I’m not sure they are going to be willing to make sure everyone has an account. I guess I have to keep looking.
I’m going to test the Tweetstream idea this weekend as a temporary work around. I need someway to allow my members to update their status from a mobile phone that does not involve browsing to a mobile version of the site. A random request from a client to be sure, but one I need to solve…