Save file.
Search Results for 'buddypress'
-
AuthorSearch Results
-
April 16, 2012 at 2:03 am #133064
@ChrisClayton
ParticipantWoops. Change the parent_url to ` ‘parent_url’ => trailingslashit( bp_displayed_user_domain() . ‘test_sub’ )`
April 16, 2012 at 1:49 am #133062@mercime
ParticipantB. Create a BLANK sidebar-buddypress.php file
Open up the blank sidebar-buddypress.php and 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();
});
});?`
That messy text inside `
` and closing `` is `& # 9 6 18 ;` – remove spaces between numbers and character
Save file.
C. Upload header-buddypress.php and sidebar-buddypress.php to your theme folder in server wp-content/themes/fullscreen/ at the same directory where your regular header.php and sidebar.php are in
Final note: Copy the style modifications for some BP elements at 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 16, 2012 at 1:46 am #133061@mercime
ParticipantAs agreed to above, we will create two new files, header-buddypress.php and sidebar-buddypress.php to make your WP theme compatible with BP
IF you’ve revised any of the BP template files transferred to your fullscreen theme folder in server during the BP Compatibility process, please delete the 6 BP folders transferred to your evolution 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 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="box-center pgsize2 “><?php
/* Title page */
$queried_object = $wp_query->get_queried_object();
if ( $queried_object->ID == get_option( ‘page_for_posts’ ) ) {
$current_id = get_option( ‘page_for_posts’ );
} else {
$current_id = $wp_query->post->ID;
}
$page_hide_box = get_post_meta( $current_id, ‘page_hide_box’ );
$page_hide_box = trim($page_hide_box);
if($page_hide_box != ‘yes’){
print ‘‘;
}
?><?php
$page_hide_title = get_post_meta( $current_id, ‘page_hide_title’ );
$page_hide_title = trim($page_hide_title);
$page_alternative_title = get_post_meta( $current_id, ‘page_alternative_title’ );
$page_alternative_title = trim($page_alternative_title);
if($page_hide_title != ‘yes’){
echo ‘‘; the_title(); echo ‘
‘;
} else if($page_alternative_title != ”){
echo ‘‘.$page_alternative_title.’
‘;
} else {
echo ‘‘;
}
?>`Save file.
April 16, 2012 at 1:30 am #133057In reply to: [Resolved] Alignment Issues – Smileth theme
@mercime
ParticipantB. Copy sidebar.php and Save As > sidebar-buddypress.php
Open up sidebar-buddypress.php and at the top, above all code contained within, add this
[UPDATED]
``
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/smileth/ at the same directory where your regular header.php and sidebar.php are in
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 16, 2012 at 1:28 am #133056In reply to: [Resolved] Alignment Issues – Smileth theme
@mercime
Participant@roguedjinni Based on initial scan, you only need to create two new files, header-buddypress.php and sidebar-buddypress.php to make your theme compatible with BuddyPress,
If you’ve revised any of the BP template files transferred to your smileth theme folder in server during the BP Compatibility process, please delete the 6 BP folders transferred to yoursmileth 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 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: [UPDATED]
`Content`April 16, 2012 at 1:23 am #133055Anonymous User 8418620
Inactive@ChrisClayton Ok, don’t worry.
I entered in that link that you posted, and i put the code in functions.php. The tab “test” was created, but when I click on the “Home” tab or create a new tab and I click it, enter into an error page. How do I run the pages subnavs?April 16, 2012 at 12:52 am #133054In reply to: Group –> Forum –> Sub Forum?
aces
Participanthttps://buddypress.org/community/groups/bp-group-hierarchy/forum/
I couldn’t find the local (bp) link earlier….
April 16, 2012 at 12:38 am #133051In reply to: Complete Site Search
April 15, 2012 at 11:48 pm #133049In reply to: Php redirect issue
aces
Participant`define( ‘BP_DEFAULT_COMPONENT’, ‘profile’ ); `
https://codex.buddypress.org/extending-buddypress/changing-internal-configuration-settings/?
April 15, 2012 at 11:28 pm #133047Scorpiion4984
Member@mercime Thanks
April 15, 2012 at 11:22 pm #133046@ChrisClayton
Participant@tiagobeloto – sorry for the late reply (had afew problems with my own site yesterday
) i don’t think $bp->slug is a proper variable.`bp_core_new_subnav_item( array( ‘name’ => __( ‘Home’ ), ‘slug’ => ‘test_sub’, ‘parent_url’ => $bp->loggedin_user->domain . ‘/’, ‘parent_slug’ => ‘test’, ‘screen_function’ => ‘my_profile_page_function_to_show_screen’ ) );`
April 15, 2012 at 9:10 pm #133045In reply to: Complete Site Search
aces
ParticipantApril 15, 2012 at 6:28 pm #133042Paul Wong-Gibbs
KeymasterA bug. Which version of BuddyPress are you using?
April 15, 2012 at 5:56 pm #133041@mercime
Participant@mrlobaloba Halleluiah! You’re welcome. Marking this as resolved then
April 15, 2012 at 5:55 pm #133040Andekvakk
MemberWhen I edit the xProfile name, back to “Name” it works. Why can’t it have a other name than “Name”?
April 15, 2012 at 5:52 pm #133039@mercime
Participant@nahummadrid marking this as resolved then. See ya!
April 15, 2012 at 5:48 pm #133038In reply to: [Resolved] Alignment Issues – Smileth theme
@mercime
Participant@roguedjinni did you want the index.php two-column layout (with sidebar -> categories) or the page.php layout with full-width?
April 15, 2012 at 5:17 pm #133036mrlobaloba
Member@mercime u are the best
April 15, 2012 at 4:47 pm #133034@mercime
Participant== Do you know of any examples that have 1000s of sites, not wp.com? ==
@nahummadrid Well, hundreds to thousands – The Le Monde Newspaper and Harvard Law Blogs come to mind since they’re veterans of WPMU as well. You can also check out
https://wordpress.org/showcase/flavor/wordpress-ms/
https://buddypress.org/showcase/Re sitewide recent posts –
Here’s a plugin for multisite recent posts with avatar – https://wordpress.org/extend/plugins/diamond-multisite-widgets/ – have used this myself for home page
Found a plugin for multisite recent posts with thumbnails Compatible up to: 3.2.1 – https://wordpress.org/extend/plugins/wp-recent-network-posts/ haven’t used this so can’t comment on it
April 15, 2012 at 4:17 pm #133031In reply to: [Resolved] Alignment Issues – Smileth theme
@mercime
Participant@roguedjinni thank you for following directions. Per initial scan, I would like to check out what goes where with the theme-specific codes you have there so that we don’t keep going back to the drawing board in case structure goes awry. I cannot find any online demo of your theme, can you post your site url or another site online that has this theme on?
April 15, 2012 at 4:05 pm #133030@mercime
Participant@scorpiion4984 – you have two options listed below – because of page title. With option 1, the page titles in the BP template files won’t be changed to h1 and will not get the styling from your theme (but you could address this via stylesheet yourself). With option 2, you can get this h1 but would entail a lot of revisions which you would have to keep in mind and redo when you update BuddyPress/BP Template Pack:
1. Create only two files, header-buddypress.php and sidebar-buddypress.php and upload to server wp-content/themes/fullscreen
or
2. Download 6 BP template folders from your fullscreen theme folder in server to your computer hard drive and change 16 template files then upload 6 folders with 16 revised files to your fullscreen theme folder.I would choose #1
April 15, 2012 at 3:38 pm #133028Patrick San
Member@mercime thanks for the response.. would you be willing to do these suggested helps for me? im not really much of a techy guy you see. i am willing to share with you my login info if only you would help me on this concern. connect with me through facebook chat if this is safe to do then, am online now at http://facebook.com/patrick.san
April 15, 2012 at 3:27 pm #133027In reply to: Integrating Existing Theme with Buddy Press Help??
@mercime
Participant@roguedjinni please start your own topic and post the generated pastebin uri’s there for good nettiquette
April 15, 2012 at 3:22 pm #133026@mercime
Participant== i can’t seem to get the “groups” page and profiles running. ==
@gospelcast looks like you’ve fixed your profiles issue http://gospelcast.org/members/patricksan/profile/
As for the groups page,
– check if groups directory and files were uploaded within wp-content/plugins/buddypress/bp-themes/bp-default/
– also go to dashboard menu BuddyPress > Components and double-check if you have not disabled groups component. Re-Save page if you have activated groups component.
– go to BuddyPress > Pages and double-check if you have a Page assigned to your Groups. Re-Save Pages if you have selected Page for Groups.
– go to Settings > Permalinks and Re-Save permalink structure.
– for extra measure, re-upload BuddyPress plugin into plugins folderApril 15, 2012 at 2:55 pm #133025Nahum
ParticipantYea, i don’t have any sites with hundreds of subsites. All subsites are limited to 5-10 subdomains belonging to superadmin where there can be multiple authors. So the blogs directory is really just an index of all admin related sites, not so much user blogs. Do you know of any examples that have 1000s of sites, not wp.com?
Maybe I’ll limit it to just the first 5 -10 subsites in the blogs-loop. Or just have a featured set of recently updated subsites that get the image.
I still like the blog_avatar based on post author, you think that switching and getting author avatars is less taxing than switching and pulling latest_post image with dozens/1000s subsites? @mercime
-
AuthorSearch Results