Save file.
Search Results for 'buddypress'
-
AuthorSearch Results
-
May 31, 2012 at 7:48 pm #135330
znassif
MemberThank you!
Yes i’d like to proceed, the result is worth the pain.
Header: http://pastebin.com/Q6gRsNZn
Sidebar: http://pastebin.com/n8X2WznW
Index: http://pastebin.com/dNTbT5A3
Page: http://pastebin.com/GJM3Q1iS
Footer: http://pastebin.com/zUhvQeJRHere’s the style.css also of the child theme for your reference:
http://pastebin.com/kwCJ72UzThank you!
ZiadMay 31, 2012 at 7:19 pm #135329@mercime
ParticipantScanning source of the Geotheme demo pages, you’d have to use the first method for Step 3 of BP Compatibility — change HTML structure of 16 BP template files — and not the two *-buddypress.php files like you mentioned above.
If you still want to proceed,
open up your theme’s header.php file, copy all, paste all to pastebin.com, click submit and post the generated URI here. Do the same for index.php, page.php, sidebar.php and footer.php.May 31, 2012 at 3:45 pm #135321olihaslam
ParticipantThanks Hugo. Having only used ‘normal’ WP I’m still trying to work out what comes from BP and what from MS.
@elangley – Thanks for the recommendation – it has done the trick, I think.
Cheers for your help.
May 31, 2012 at 2:43 pm #135318Eric Langley
Participant@olihaslam Please check out:
Multisite User Management
Add user role to site during registration
https://wordpress.org/extend/plugins/multisite-user-management/~eric
May 31, 2012 at 10:52 am #135308thirstcard
MemberAh, I see now & I can see where using these would be useful – there is no need to edit the WordPress/BuddyPress core.
The part I couldn’t get my head around was why you wouldn’t just place the whole function in the theme but now I realise by using do_action() you can insert multiple functions at that specific particular point in the code.
Thanks for helping out!
May 31, 2012 at 10:07 am #135307In reply to: Help to run BuddyPress forum on my site…
richardpd
MemberMany thanks for your reply with helpful link, mercime.
I must say you are a star! You (& very often you alone) always reply to my posts for help-many thanks
The link helps with anti-spam BP measures & I also need help running BP on site.Today I tried creating a new BP forum (a public forum) on my site. From my dashboard I appear to have group forums installed. If I try to install sitewide forums the page displays bbPress plugin details & tells me I have the bbPress plugin already installed(which I already knew). I am not sure how these 2 BP & bbPress forums coexist!?(in the sitewide install >”You may activate both Group and Site Wide forums, but this may create a poor experience for your members.”<)..
I did successfully manage to create a new BuddyPress public group forum & am trying to display it on my nav bar links which will help accessibility (I think I have an issue with my WP nav menu code to add sub level menu-as they are not displaying-hopefully I can fix that soon). It is a little confusing for me the difference between BP group forums and bbPress sitewide forums & using either or both on site! Where is any help documentation for BuddyPress & bbPress to make setup & use easy & clear?
Anyway after I fix my menu drop down issue on my WP site, I will see how my BP experience develops from here-so far it has been very, very rocky for me with BuddyPress/bbPress….
It really shouldn’t be so hard to add BP forum to a WP site & use it easily but for me it is!!!
I just hope one day BP/bbPress will work well on my site….
Once again many thanks for your help
May 31, 2012 at 7:32 am #135305In reply to: BuddyPress doesn’t display on designated page
@mercime
Participant== I have associated Discssion Forums with a blank page named Community. ==
Change Forums base to community as well.
Go to wp-admin menu Settings > Forums – Archive Slug – Forums Base ==> from forums –> communityMay 31, 2012 at 6:51 am #135304@mercime
ParticipantB. COPY your theme’s sidebar.php and Save As > sidebar-buddypress.php
Open up sidebar-buddypress.php
Add the following code at the TOP, above original sidebar code:
``Add the following code at the BOTTOM, below all other code:
`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();
});
});[ DELETE FROM HERE ]
<?php break;
case ‘pos_4’: // Shortcode Box 1
echo ““.do_shortcode(stripslashes($mt_bp_scbox1)).”
“;
break;
case ‘pos_5’: // Shortcode Box 2
echo ““.do_shortcode(stripslashes($mt_bp_scbox2)).”
“;
break;
case ‘pos_6’: // Shortcode Box 3
echo ““.do_shortcode(stripslashes($mt_bp_scbox3)).”
“;
break;
} // end switch-case} // end foreach
[ DELETE UP TO THIS LINE ONLY ]
`Save file.
C. Upload header-buddypress.php and sidebar-buddypress.php to your theme folder in server wp-content/themes/metrolo/ in the same directory where your regular header.php and sidebar.php files are
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.
May 31, 2012 at 6:50 am #135303@mercime
ParticipantThis could be tricky, but let’s give it a try. You will 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 metrolo theme folder in server during the BP Compatibility process, please delete the 6 BP folders transferred to your metrolo 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.
UPDATED: 07-13-2012
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:
`[ DELETE FROM HERE ]<?php extract(get_option('mt_set'), EXTR_OVERWRITE);
$msarray = unserialize(get_post_meta($post->ID, ‘meta_settings’, true));
if($msarray==”true”) {
$mt_sortlay02 = $msarray;
$mt_bp_scbox1 = $msarray;
$mt_bp_scbox2 = $msarray;
$mt_bp_scbox3 = $msarray;
}?>
<?php $modules = explode(",", $mt_sortlay02);
foreach ($modules as $module) {
switch ( $module ) {
case ‘pos_0’: // Message
include (TEMPLATEPATH . ‘/modules/mod_msg.php’);
break;
case ‘pos_1’: // Posted
include (TEMPLATEPATH . ‘/modules/mod_pstd.php’);
break;
case ‘pos_2’: // Accordian
include (TEMPLATEPATH . ‘/modules/mod_acc.php’);
break;
case ‘pos_3’: // Page ?>[ DELETE UP TO THIS LINE ONLY ]
`May 31, 2012 at 5:14 am #135302In reply to: Stand Alone Themes?
@mercime
ParticipantNot likely at this time. Perhaps sometime BP 1.7+ per JJJ’s post https://buddypress.org/community/groups/requests-feedback/forum/topic/theme-compatibility-4/
May 31, 2012 at 4:54 am #135301@mercime
Participanthttps://codex.wordpress.org/Giving_WordPress_Its_Own_Directory – old style and cannot be used for multisite nor BuddyPress
May 31, 2012 at 4:53 am #135300@ChrisClayton
Participant@thirstcard
The do_action() creates a hook. Basically it prints out the contents of the function that is added to that tag (bp_after_message_content) with add_action.Usage? Let’s say Developer A makes a plugin that will place some text at the bottom of message contents, Instead of the end user having to edit the theme templates to add a call to the function, the developer can use `add_action(‘bp_after_message_content’, ‘plugins_function_that_does_stuff’);` WordPress will remember that function and will print it out where it finds `do_action( ‘bp_after_message_content’ )`
Does that help?
May 31, 2012 at 3:06 am #135299Eric Langley
ParticipantI installed a fresh copy of WordPress Multisite and added the BuddyPress plugin and Network Activated.
On the primary site I configured BuddyPress and then clicked the “Install Group Forums” button. I still received the “You do not have sufficient permissions to access this page.” error.
~eric
May 31, 2012 at 3:01 am #135298In reply to: Member Profile – Tab Transitioning and Sidebars
May 31, 2012 at 3:01 am #135297lgrant80
Member@mercime:
I ended up ditching WAMP and installing XAMPP. It works like a charm, so far….I have a lot of learning to do! But everything is showing up like it is supposed to. Please mark this thread RESOLVED.And thank you so much!!
LynnMay 31, 2012 at 12:10 am #135294thirstcard
Member@shanebp I only ever post in the forums once i’ve Googled/read the Codex and still not fully understood a topic. Apologies if i’ve asked lots of questions today, your help has been much appreciated :}
May 30, 2012 at 11:22 pm #135292edgarestradac
MemberMy theme is:
Metrolo 1.5.2 by JasinHead: http://pastebin.com/dAmXRDz3
Page: http://pastebin.com/AvM2feza
Index: http://pastebin.com/FipnLvVU
Sidebar: http://pastebin.com/852jU6JE
Footer: http://pastebin.com/gz2R1sUuThanks
May 30, 2012 at 10:33 pm #135290lgrant80
MemberThanks for your answer. I may switch to XAMPP. How do you not give WP it’s own directory? This is all new to me, but I am more than willing and ready to learn.
Thanks,
lgrant80May 30, 2012 at 8:38 pm #135288In reply to: Help to run BuddyPress forum on my site…
@mercime
Participant@richardpd check out http://wp.tutsplus.com/tutorials/security/best-practices-for-preventing-buddypress-spam-user-registrations/ plus tips from commenters as well.
May 30, 2012 at 7:57 pm #135287In reply to: Edit profile link leads to ‘page not found’ error?!?
@mercime
Participant@nirok thanks for posting the solution for your installation. This issue has started cropping up lately with some installs with different soutions for some like reinstalling WP/BP.
May 30, 2012 at 7:52 pm #135286@mercime
Participant@edgarestradac What theme are you using? Let’s see if we can help. Open up your theme’s header.php, copy all, paste in pastebin.com, click submit, post the generated pastebin.com url here. Do the same for your theme’s page.php, index.php, sidebar.php, footer.php files.
May 30, 2012 at 7:43 pm #135285odarma
Participant@mercime i reinstall everything form 0 using a backup of my Data Base and it fail, so i think its an error in my DB what is wrong, so maybe ill have to reset my page
May 30, 2012 at 7:40 pm #135284Eric Langley
ParticipantI have this issue as well. I have a primary site with BuddyPress enabled and configured and several subsites with BuddyPress enabled and configured.
Did you Network Activate BuddyPress or activate it on a site by site basis?
If you network activate BuddyPress is it automatically setup (but not configured) on all subsites.
May 30, 2012 at 7:34 pm #135283edgarestradac
MemberIf my theme is not in that list,
I won´t can to do anything?May 30, 2012 at 7:24 pm #135282@mercime
Participant@edgarestradac We have “template-packed” a number of WP themes with instructions/fixes on Step 3 of the BP compatibility process. Check if your WP theme is listed already at the bottom half of this page https://codex.buddypress.org/theme-development/wordpress-to-buddypress-theme/
-
AuthorSearch Results