Search Results for 'buddypress'
-
Search Results
-
Topic: Blogs
Hi, another slight query thats not as important as my last one,
I have asked this before but the response i got was not what i wanted, i shall explain what i mean by this a little later.
I was wondering if i could somehow set up a “blogs” or a journal, like OK Cupid or other such site, that would allow a member of a site to have thier own little blog. Now, to make things a little clearer i KNOW that i can have buddypress and Multisite running and this would allow a user to have a full blog, but i am not after a full wp blog for users, just something that would allow basic blog/journal style entries tied to a users account and accessible through that mambers page.
The last time i asked this and made it as clear as before i was told that multisite did it, even after saying that i did not want a multisite both in the original and replies to the post.
So is there a way to get something like this?
I built a custom widget with an activity stream so my client can set a group ID to display a “featured group” in the sidebar. The group avatar displays as well as the activity stream. All of the activity links work correctly, except for comments and favorites.
Comments goes to the home page and favorites returns a 404.
Favorites: http://www.prolifeplanet.com/activity/favorite/114/?_wpnonce=6d82795544
Here is my widget code:
`
add_action( ‘widgets_init’, ‘featured_bpgroup_widget’ );/**
* Register our widget
*/
function featured_bpgroup_widget() {
register_widget( ‘tfd_Featured_BPGroup’ );
}/**
* Add widget style
*/add_action(‘wp_enqueue_scripts’, ‘bpfg_styles’);
function bpfg_styles() {
wp_enqueue_style(‘bpfg-style’, plugin_dir_url(__FILE__) . ‘bpfg-style.css’);
}/*** Widget class ***/
class tfd_Featured_BPGroup extends WP_Widget {/**
* Widget setup.
*/
function tfd_Featured_BPGroup() {
/* Widget settings. */
$widget_ops = array( ‘classname’ => ‘bp_fgroup’, ‘description’ => __(‘A widget to display a featured buddy press group.’, ‘fgroup’) );/* Widget control settings. */
$control_ops = array( ‘width’ => 300, ‘height’ => 350, ‘id_base’ => ‘featured-bpgroup’ );/* Create the widget. */
$this->WP_Widget( ‘featured-bpgroup’, __(‘Featured BP Group’, ‘fgroup’), $widget_ops, $control_ops );
}/**
* How to display the widget on the screen.
*/
function widget( $args, $instance ) {
extract( $args );/* Our variables from the widget settings. */
$title = apply_filters(‘widget_title’, $instance );
$description = $instance;
if ( !$groupid = (int) $groupid )$groupid = 4;/* Before widget (defined by themes). */
echo $before_widget;/* Display the widget title if one was input (before and after defined by themes). */
if ( $title )
echo $before_title . $title . $after_title;/* Display Group Avatar */
$avatar = bp_core_fetch_avatar( array( ‘item_id’ => $groupid, ‘object’ => ‘group’, ‘type’ => ‘full’, ‘avatar_dir’ => ‘group-avatars’, ‘alt’ => $alt, /* ‘css_id’ => $id, */’class’ => $class/* , ‘width’ => ‘150px’, ‘height’ => ‘150px’ */ ) );printf( ‘
‘ . __(‘%1$s’, ‘fgroup’) . ‘
‘, $avatar );
/* Display User-Defined Group Description */
if ( $description )
printf( ‘‘ . __(‘%1$s’, ‘fgroup’) . ‘
‘, $description );
/* Display Group Activity */
if ( bp_has_activities (array ( ‘primary_id’ => $groupid, ‘max’ => ‘5’) ) ) : while ( bp_activities() ) : bp_the_activity();
locate_template( array( ‘activity/entry.php’ ), true, false );
endwhile; endif;
wp_reset_query();
/* After widget (defined by themes). */
echo $after_widget;
}/*** Update the widget settings. ***/
function update( $new_instance, $old_instance ) {
$instance = $old_instance;/*** Strip tags ***/
$instance = strip_tags( $new_instance );
$instance = (int) $new_instance;
$instance = strip_tags( $new_instance );return $instance;
}/*** Display widget setting controls on the widget panel. ***/
function form( $instance ) {/* Default widget settings. */
$defaults = array( ‘title’ => __(‘Featured Group’, ‘fgroup’));
$defaults = array( ‘groupid’ => __(‘4’, ‘fgroup’));
$instance = wp_parse_args( (array) $instance, $defaults ); ?><label for="get_field_id( ‘title’ ); ?>”>
<input id="get_field_id( ‘title’ ); ?>” name=”get_field_name( ‘title’ ); ?>” value=”” style=”width:100%;” />
Default: Featured Group<label for="get_field_id( ‘groupid’ ); ?>”>
<input id="get_field_id( ‘groupid’ ); ?>” name=”get_field_name( ‘groupid’ ); ?>” value=”” style=”width:100%;” />
Find the ID in the Network Admin Dashboard under “Buddypress/Group Management”.<label for="get_field_id( ‘description’ ); ?>”>
<input id="get_field_id( ‘description’ ); ?>” name=”get_field_name( ‘description’ ); ?>” value=”” style=”width:100%;” />
Optional: Enter a description or leave blank.<?php
}
}`Any idea what’s going on? The favorites and comments work fine from the other pages, just not from my widget.
Is there a bbcode or another plugin that implements a spoiler tag for BuddyPress? The ones I can find seem to be for bbpress2, but I want the group forums I can have in 1.5.4. Any help would be appreciated!
I went back to install the BuddyPress Template Pack plugin, and activated it. Now I get this error:
Fatal error: Cannot redeclare bp_dtheme_ajax_querystring() (previously declared in C:xampphtdocswordpresswp-contentthemesbp-corporate_incajax.php:17) in C:xampphtdocswordpresswp-contentpluginsbuddypressbp-themesbp-default_incajax.php on line 81
I can’t interact with the plugins page at all now. Any actions I take result in the error above. Please help!!!!!!
Hello,
can someone make the plugin, or integrate this script to the buddypress, i want script like this:
http://bighugelabs.com/motivator.php integrated with buddypress and that images appear in activity, i have this script and I am ready to pay if someone can make this.Please contact me by email: hadisneslanovic@gmail.com
or here.Regards
Topic: Buddypress Profiles
Hi, not totally sure this is the right section but it is about either creating or extending a buddypress component.
What I am looking to do with the profiles section of my buddypress is to create tabs on the public side, like there is on the edit side. For Example:
When you edit your profile, the profile groups are tabbed into “Basic” and then next to that is what you have created, in this case for adding information about your cat. once all this is saved, you go back to the public profile and you have your basic stuff and right underneath it your information you have added in the other profile groups.
What I would like is those groups to be still grouped and you click on the group name to see that information.
I have looked for varios things that might help, and nothing i have come up with seems to work. I have thought about “sub-profiles” allowing users to add a mini profile under thier own profile, and while this is my desired goal would involve a lot of work and I cannot programme in PHP, jsut fix things when they go wrong. Can anyone help me with this?
Thanks
My theme’s sidebar is not showing on BuddyPress pages.
I’m using the Thematic theme and customising using a child theme.
On BuddyPress pages it doesn’t seem to be calling the sidbar function, in this case thematic_sidebar(), but is calling the header and footer functions.
I’ve been searching forums for two days without finding a solution. Please help.
Setup:
Wordpress version 3.3.1
Installed in top domain in root
Fresh install
Wordpress was, and still is, working properly
Buddypress version 1.5.4 and fresh install
Buddypress Core Files modified as per instructions at: http://codex.buddypress.org/theme-development/wordpress-to-buddypress-theme/
I’m hosted by HostPapa on Linux/ApacheThanks in advance