Save file.
Search Results for 'buddypress'
-
AuthorSearch Results
-
April 30, 2012 at 9:04 pm #130273
@mercime
Participant@jakeyboy1989 from your WP forums post as well – If you just want to make your WordPress theme compatible with BuddyPress, you don’t need to create a multisite installation.
Install and activate the BP Template Pack Plugin and go through Appearance > BP Compatibility process. Then post back here if you require further assistance.
April 30, 2012 at 8:56 pm #130280juanmaguerrero
ParticipantHi, @shawn38 I have updated the code in the previous comment I made with that bug fixed. Please copy/paste it now and it’ll work fine. As you mention, my “example” has an image (loading bar gif) included, that you can easily add by adding some style and the image. In my example, I used:
<div id="loadingActivityMessage">Loading...</div>April 30, 2012 at 8:14 pm #133774@mercime
Participant@strek-break you’re welcome. Marking this as resolved.
April 30, 2012 at 8:04 pm #133773jakeyboy1989
MemberThanks for the tips @Paul Gibbs
The reason I want the two sites to be connected is so that my authors can network and get points, rankings, etc, for the posts they make (this was a feature requested by my users).
The key thing for me is that my users want the social features that I can provide through buddypress, but it is difficult to integrate with more extensive framework based wordpress templates (at least it seems that way for me) so I would love to be able to have buddypress on the same site, or a connected site, that has its own template and is hidden from users.
Also when I say authors it might sound misleading because this could be potentially 500-1000 different users so they need group and discussion forum features..
April 30, 2012 at 7:54 pm #133772In reply to: How can we separate sidebar like this?
juanmaguerrero
ParticipantHi, @jafar1374 I think there’s a misunderstanding. The Default theme is the one this site is using: http://www.soyskater.com/ and the one that http://patomatlovers.com/ is using is not. Neither way I think you’re needing some designer’s help to achieve what you want. To separate any boxes you should add something like “margin-bottom:20px;” in the current css stylesheet but for that to look ok your theme should have some style to actually make differences between each widget block, ie: “border:1px solid #000” just to make an example.
April 30, 2012 at 7:00 pm #133770In reply to: “Read More” in Activity Stream not there
storyaday
ParticipantApril 30, 2012 at 6:13 pm #133768In reply to: BuddyPress group creation broken
Paul Wong-Gibbs
KeymasterI just create three groups in a row on testbp.org. Worked fine.
April 30, 2012 at 5:54 pm #133765In reply to: BuddyPress group creation broken
Jacob Schweitzer
ParticipantI’ve reported this as a bug since nobody was able to give a solution to me.
April 30, 2012 at 5:42 pm #133764In reply to: Getting Started…
Tilley46
ParticipantThanks @mercime– I got the Home Page sorted and changed the general settings, but still can’t view or get the ‘registration’ page functioning. It appears that the pages ‘activate’, ‘activity’, ‘forums’, ‘groups’, ‘members’, and ‘register’ were all created when BP was installed and activated. However, when clicking ‘view page’ on both the ‘forums’ and the ‘register’ pages in the WP pages menu, it links to ‘Home’- the static Home Page I created- instead of a ‘forums’ or ‘registration’ page… Not sure what the issue is. Do I need to reinstall BuddyPress after having changed the general settings?
April 30, 2012 at 5:42 pm #133763In reply to: Using BuddyPress Avatars with wp_list_comments()
craftcore
ParticipantThanks for the tip, Paul! I have nice crisp avatars now; not a blurry pixel in sight!
Strangely, calling get_avatar() still resulted in blurry pics. When I used the bp_core_fetch_avatar function, it worked perfectly.
(See image of the results side by side: https://twitter.com/#!/pangepange/status/197016926789181441/photo/1/large )
The function didn’t work as is, but when I changed item_id to “$comment->user_id”, the avatars worked on my theme.
`<?php if ( function_exists( 'bp_core_fetch_avatar' ) ) :
echo bp_core_fetch_avatar( array(
‘item_id’ => $comment->user_id,
‘type’ => ‘full’,
‘width’ => 75,
‘height’ => 75
));
endif;
?>`Thanks so much for the help!
April 30, 2012 at 5:18 pm #133762Strek
Participantthe template was perfect! Thank you for helping me!
April 30, 2012 at 4:50 pm #133758In reply to: bp_has_members filter type=online is not working
April 30, 2012 at 4:48 pm #133757hridaya
MemberActually the data from bp_activity Tabble deleted sometimes on 1 day ,sotime on 2 day randomly with `type` = ‘activity_update’ OR `type` = ‘new_blog_post’ OR `type`=’new_avatar’ but not all the table itself deleted.
I contact the hosting company and they sent me the log files and i can not see any delete query related to delete activity from bp_activity table.Here are the list of plugin using
BP Profile Search, BuddyPress Profile Privacy ,WP-reCAPTCHA ,RoyalSlider,Rating-Widget Plugin ,Platinum SEO Pack,BuddyPress Block Activity Stream TypesIts very strange issues…
April 30, 2012 at 3:05 pm #133753In reply to: Change title of forum Directory
Toby Cryns (@themightymo)
ParticipantYou can add this to wp-config.php:
`define( ‘BP_FORUMS_SLUG’, ‘conversations’ );`
That will change the slug. To change the actual text that is rendered on the page, check out the “Custom Groups Name” plugin at http://hardlyneutral.com/wordpress-plugins/
…and if you are feeling adventurous, go ahead and start editing your translation files!
April 30, 2012 at 2:51 pm #133751In reply to: Forum page not showing
@mercime
Participant== When the Forum page is activated, it does not show automatically on the site menu ==
If you’re using the custom menu in Appearance > Menu, then you’d have to add the link to the new Forum page to your custom menu.
== Where do I find instructions to set up this type of community site? ==
BuddyPress Codex https://codex.buddypress.org/
Configuring BuddyPress Components – https://codex.buddypress.org/getting-started/configure-buddypress-components/April 30, 2012 at 11:47 am #133742In reply to: Using BuddyPress Avatars with wp_list_comments()
Paul Wong-Gibbs
KeymasterYour wp_list_comments() call specifies the callback as a function called “mytheme_comment”, which is probably in your theme’s functions.php file. You’ll need to use these functions in there, or modify what you have already.
For an example, look at the code block just below the phrase “You will need to define your custom callback function in your theme’s” on https://codex.wordpress.org/Function_Reference/wp_list_comments (get_avatar is used six lines from the top)
April 30, 2012 at 11:41 am #133741In reply to: What about I got 10 million users or more?…
Paul Wong-Gibbs
KeymasterWell enough?
Improving performance at the very-high (millions of users, groups, activity, and so on) is something we’ll be working on in BP 1.7, but I wouldn’t worry about *if* it can scale up to 10 million users unless you actually have 10 million users on your site right now.
If you do, great; set up a test installation of BuddyPress, find a way to migrate some of your content in, and see how it goes.
April 30, 2012 at 11:39 am #133740In reply to: Multisite Installation: Activity Stream
Paul Wong-Gibbs
KeymasterIt should happen if the member’s site privacy is set to public, and if the BuddyPress ‘site tracking’ component is enabled.
April 30, 2012 at 10:59 am #133737In reply to: Using BuddyPress Avatars with wp_list_comments()
craftcore
ParticipantThank you for the replies!
I’m not sure where to put the get_avatar() or the bPress avatar function though, because there’s no foreach statement on my theme to put it into. My comments.php just lists “ to output the code…
I tried to download a buddypress theme that already had the avatars working properly using a foreach, but I can’t find one with nested comments working by default.
April 30, 2012 at 9:16 am #133736In reply to: Google not indexing BuddyPress Forum content
b1gft
ParticipantI am also very interested in this.
April 30, 2012 at 7:08 am #133731In reply to: BP 404 subdirectory install
Paul Wong-Gibbs
KeymasterIf you’ve gotten the top-level pages to work and access BuddyPress content, I can’t understand why it wouldn’t also work everywhere else.
Your original post says “second BuddyPress install”; are you trying to run two separate BuddyPress sites under one installation of WordPress (multisite)?
April 30, 2012 at 6:23 am #133729In reply to: Using BuddyPress Avatars with wp_list_comments()
Paul Wong-Gibbs
KeymasterWordPress’ get_avatar() should work fine. For post/page comments, I would actually suggest using get_avatar() instead of bp_core_fetch_avatar() so that your site doesn’t break if you decide to turn off or stop using BuddyPress.
April 30, 2012 at 1:57 am #133727@mercime
ParticipantB. COPY your theme’s sidebar.php and Save As > sidebar-buddypress.php
Open up sidebar-buddypress.php and at the TOP, above all code contained within, add this
``Then at the BOTTOM of sidebar-buddypress.php, below all other code, add this:
`jQuery(document).ready( function() {
if ( jQuery(‘div#blog-details’).length && !jQuery(‘div#blog-details’).hasClass(‘show’) )
jQuery(‘div#blog-details’).toggle();
jQuery( ‘input#signup_with_blog’ ).click( function() {
jQuery(‘div#blog-details’).fadeOut().toggle();
});
});`
Save file.
C. Upload header-buddypress.php and sidebar-buddypress.php to your theme folder in server wp-content/themes/envision/ at the same directory where your regular header.php and sidebar.php files are in
D. Final note: Copy the style modifications for some BP elements https://codex.buddypress.org/theme-development/theme-dev-bp-template-pack-walkthrough-twenty-ten-bp-1-5/3/ and paste those at the bottom of your theme’s stylesheet, then adjust to taste.
April 30, 2012 at 1:56 am #133726@mercime
ParticipantYou will only need to create two new files, header-buddypress.php and sidebar-buddypress.php
If you’ve revised any of the BP template files transferred to your peekaboo theme folder in server during the BP Compatibility process, please delete the 6 BP folders transferred to your envision theme folder in server – activity, blogs, forums, members, groups, register – then re-run Appearance > BP Compatibility again to make sure that you have clean template files.
A. COPY your theme’s header.php and Save As > header-buddypress.php
Open up header-buddypress.php and at the BOTTOM of the file, below other code contained within, add this:
`<div class="middle” id=”ID, PREFIX.’_page_sidebar_position’, true)==1 ) echo ‘sidebar_right’;
elseif ( get_post_meta($post->ID, PREFIX.’_page_sidebar_position’, true)==2 ) echo ‘sidebar_left’;
elseif ( get_option(PREFIX.’_sidebar_position’)==1 ) echo ‘sidebar_left’;
else echo ‘sidebar_right’; ?>”>`April 30, 2012 at 12:38 am #133725In reply to: Using BuddyPress Avatars with wp_list_comments()
r-a-y
KeymasterHi,
In your comments template, you should try using the BP avatar function:
`
if ( function_exists( ‘bp_core_fetch_avatar’ ) ) :
echo bp_core_fetch_avatar( array(
‘item_id’ => THE_USER_ID,
‘type’ => ‘full’,
‘width’ => 75,
‘height’ => 75
));
endif;
` -
AuthorSearch Results