Search Results for 'buddypress'
-
AuthorSearch Results
-
July 20, 2013 at 1:12 am #168388
In reply to: [Resolved] BP default theme deleted?
@mercime
Participant@jloc14 Delete BuddyPress plugin. Then re-install BuddyPress plugin. Upload your child theme folder in wp-content/themes/ folder.
P.S. A child theme needs a parent theme, in this case the BuddyPress Default theme. Please do not delete it again.
July 20, 2013 at 12:38 am #168385In reply to: Remove Sidebars Completely
@mercime
Participantwant all BuddyPress pages to be displayed without sidebars.
@stephenpasquini BP Codex is your friend
– theme compat for all BP Pages https://codex.buddypress.org/developer/theme-development/a-quick-look-at-1-7-theme-compatibility/
– component-specific theme compat https://codex.buddypress.org/developer/theme-development/template-hierarchy/July 19, 2013 at 11:43 pm #168381In reply to: Forum page not working
@mercime
Participant@marketmynovel which forum tutorial did you read so far? Have you checked out https://codex.buddypress.org/user/setting-up-a-new-installation/installing-group-and-sitewide-forums/ ? After creating a new Page for Forums, did you add the shortcode https://codex.bbpress.org/shortcodes/ ?
July 19, 2013 at 11:36 pm #168380In reply to: Artisteer Buddypress theme compatibility
@mercime
ParticipantI have run through the bp-Compatibility steps and on step three where I have to adjust the layout through FTP connectivity, I tried method 1 and 2 without pass.
@sizons Step 3, method 1 and method 2 … suspiciously sounds very very familiar and used in relation to the BP Template Pack – BP Compatibility process used up to BP 1.6.10.If this is the case, please deactivate BP Template Pack plugin and remove the 6 BP Template folders from your Artisteer theme folder in server. With BP 1.7 and above, BP is compatible with nearly all WP themes without lifting a finger. Now check how the BP pages are showing up in your theme.
If you did not use the BP Template Pack plugin, then I will exit stage left and leave you with @hnla 🙂 Before I do, read up on hnla’s excellent article on BP Theme Compatibility https://codex.buddypress.org/developer/theme-development/a-quick-look-at-1-7-theme-compatibility/ and if you want to customize your theme further, check out r-a-y’s awesome article https://codex.buddypress.org/developer/theme-development/template-hierarchy/
July 19, 2013 at 9:49 pm #168373In reply to: Responsive Theme [role] Problem
modemlooper
Moderatorhttps://codex.buddypress.org/developer/theme-development/template-hierarchy/
You can copy templates over and then remove roles
July 19, 2013 at 9:48 pm #168372In reply to: [Resolved] BP default theme deleted?
JLent.
ParticipantYa thats what I was thinking, here is the link to the video: http://www.youtube.com/watch?v=HrS33H2kMso
I just updated BP would that put the folder back in? I’ve just made a style.css and in the themes section my child theme doesnt show up it says:
bp-child theme: The parent theme is missing. Please install the “BuddyPress Default” parent theme
bp-default: template missing
July 19, 2013 at 9:41 pm #168370notpoppy
ParticipantStill trying to find out what the correct was of cleaning out the old conversion information is.
July 19, 2013 at 8:37 pm #168361In reply to: offloading avatars to another server
ds123
Participanti’d like to add does anyone want to be hired to code a solution that checks a remote cdn server for an existing user avatar in addition to the local web app server where buddypress is running? i’m looking at the buddypress code and if you could include a remote location in addition to the “locally” uploaded avatar directory that might work …. my strategy is this ..i’m offloading the current avatar directories and the new ones will still get added locally …i will then go back and sync the newer avatars with the cdn server …so i need buddypress core avatar file to check both places for existing avatar this would allow me to DELETE the majority of avatar files from my local web server
July 19, 2013 at 3:10 pm #168346In reply to: Change first page shown for user profile
sullyllus
ParticipantI was just abut to post this exact same question. Anyone out there able to help us out?
I want my user profiles (front end view) to open up a custom page. If this is not an option then I would like the standard “Profile” page to show.
TIA BuddyPress gurus!
July 19, 2013 at 2:12 pm #168342In reply to: Change Login link in admin bar
lenasterg
ParticipantWhich version of Buddypress you have?
Do you use WP Toolbar or the BuddyBar?
The above works (at least for me) with BuddyBar.July 19, 2013 at 2:00 pm #168340Hugo Ashmore
ParticipantNot necessarily related, well in a sense 🙂 but John is lead dev for both projects, and although you say it’s BP related as ‘groups’ related I think the problem and fix probably does rest with how bbp is handling things ( could well be wrong though).
July 19, 2013 at 12:20 pm #168335prikid
ParticipantHi Hugo, yes indeed i did. but didn’t know that both supports are related and therefore raised to each other.
Thanks a lot, i’ll follow up with John then.
July 19, 2013 at 12:15 pm #168334In reply to: Change Login link in admin bar
jetkappu
Participantso many error when i try it..
function custom_bp_adminbar_login_menu() { global $bp; global $wp; remove_action('bp_adminbar_menus', 'bp_adminbar_login_menu', 2); if (is_user_logged_in()) return false; echo '•' . __('Log In', 'buddypress') . ' '; // Show "Sign Up" link if user registrations are allowed if (bp_get_signup_allowed()) { echo '•' . __('Sign Up', 'buddypress') . ' '; } } add_action('bp_adminbar_menus', 'custom_bp_adminbar_login_menu', 1); Warning: Cannot modify header information - headers already sent by (output started at /home/...../public_html/wp/wp-content/plugins/bp-custom.php:14) in /home/....../public_html/wp/wp-login.php on line 368July 19, 2013 at 11:56 am #168332In reply to: Change Login link in admin bar
lenasterg
ParticipantYou can try the following.
Into your /plugins folder create a file bp-custom.php.
Into the file put the following code:function custom_bp_adminbar_login_menu() { global $bp; global $wp; remove_action('bp_adminbar_menus', 'bp_adminbar_login_menu', 2); if (is_user_logged_in()) return false; echo '<li class="bp-login no-arrow"><a href="NEW_LOGIN_URL">' . __('Log In', 'buddypress') . '</a></li>'; // Show "Sign Up" link if user registrations are allowed if (bp_get_signup_allowed()) { echo '<li class="bp-signup no-arrow"><a href="' . bp_get_signup_page(false) . '">' . __('Sign Up', 'buddypress') . '</a></li>'; } } add_action('bp_adminbar_menus', 'custom_bp_adminbar_login_menu', 1);Bests,
LenaJuly 19, 2013 at 11:39 am #168330Hugo Ashmore
ParticipantYou have raised this on bbpress support and John has responded so let that thread run.
July 19, 2013 at 10:58 am #168329prikid
ParticipantB/wp-content/plugins/bp-groupblog/bp-groupblog-classes.php on line 58
July 19, 2013 at 9:11 am #168324In reply to: Artisteer Buddypress theme compatibility
Hugo Ashmore
ParticipantThe docs can always take improvement, and I think no one involved with them would claim they are anywhere close to covering all that’s required, but writing them can be very time consuming . The theme compat ones that exist, I thought pretty much covered the detail necessary, but as in all things can always stand reviewing and improving.
In your opening post it struck there was a possible level of confusion between the older approach to custom themes using template pack plugin and theme compat as of 1.7. ?Essentially if allowing BP to run with the newish theme compatibility ( i.e you do not select bp-default theme, or you do not have any bp directories in the theme root e.g /my-theme/members/index.php ) then BP component screens should fit to match a themes content area. In this sense one doesn’t need now to worry about the markup structure as BP uses what exists in page.php (or any of the proscribed file names it looks for first) So here the important question is to ask whether it’s possible you are mixing BP templates i.e some in your theme root, some in theme compat directory – in your theme the only place you should have BP templates is located within a top level directory /my-theme/buddypress/ or /my-theme/community/
In your page.php example the important section is the get_template part that includes the page content loop that’s where /what BP grabs to inject it’s data to.
Now what isn’t known is how your chosen theme is managing styles for those sidebars, but if you want absolute control in being able to configure a primary template file for BP screens then you can copy page.php rename to ‘buddypress.php’ and locate that in /my-theme/buddypress/ now in that file you may call specific sidebars as in get_sidebar(‘buddypress’) along with a new sidebar sidebar-buddypress.php
At the end of the day I think the initial issue to resolve is the (possible) confusion between the two ways of managing BP templates and that you probably want to ensure that full theme compatibility is being allowed to run ( again the bottom line to ensure that this is the case is that one has NO BP templates in the theme whatsoever, letting BP handle injecting it’s content via whatever files the theme provides )
July 19, 2013 at 7:26 am #168322In reply to: Artisteer Buddypress theme compatibility
Sizons
ParticipantI’m sorry to have taken such nab with low emotional intelligence at the documentation, truly I am at a loss of understanding as to why such a powerful product is available under a GPL license, I guess I don’t fully understand the open source philosophy (PS: I’ve been reading your posts over the years Hugo and am a great fan, pity I started off on the wrong foot) –
That aside, in my retraction of such careless words born out of frustration, I must say that the documentation seems very professional and concise, though I also feel it could be a little more detailed.
I’m personally an average everything, I did a multimedia diploma that I dropped out of and never really excelled at anything. I did php during those days too but just barely passed with a 50% or something.
Nevertheless, it is my view that the documentation should be able to lead someone with at least my little experience to getting the job done, it should be just a little bit more detailed, I would suggest print-screens of every step just to be safe.
“Not really sure what you mean here, think you need to explain in detail what file structure and locations”
Okay, under fixing alignment there is a sentence:
Open up the page.php file (if this does not exist, use index.php). Make note of the HTML template structure of the file, specifically the <div> tags that surround the content and sidebar.
When I open my page.php file from my FTP client at the root of my theme folder what I see from page.php is the following code:
<?php get_header(); ?>
<?php get_sidebar(‘top’); ?>
<?phpif (have_posts()) {
/* Start the Loop */
while (have_posts()) {
the_post();
get_template_part(‘content’, ‘page’);
/* Display comments */
if (theme_get_option(‘theme_allow_comments’)) {
comments_template();
}
}
} else {
theme_404_content();
}
?>
<?php get_sidebar(‘bottom’); ?>
<?php get_footer(); ?>In that code, (Forgive me if my understanding is lost here) there is not even one Div tag, infact, there is no HTML code in that file at all, even the index.php(the one in my themes root folder) file looks closely similar to the file above, here is its contents:
<?php get_header(); ?>
<?php get_sidebar(‘top’); ?>
<?php
if (have_posts()) {
/* Display navigation to next/previous pages when applicable */
if (theme_get_option(‘theme_’ . (theme_is_home() ? ‘home_’ : ”) . ‘top_posts_navigation’)) {
theme_page_navigation();
}
/* Start the Loop */
while (have_posts()) {
the_post();
get_template_part(‘content’, get_post_format());
}
/* Display navigation to next/previous pages when applicable */
if (theme_get_option(‘theme_bottom_posts_navigation’)) {
theme_page_navigation();
}
} else {
theme_404_content();
}
?>
<?php get_sidebar(‘bottom’); ?>
<?php get_footer(); ?>Perhaps I am using the wrong page.php file, but that would not make sense because I used the directory address provided by BP-Compatibility on the fixing alignment section.
July 19, 2013 at 12:14 am #168315Ali Hendaoui
Participant@modemlooper, thank you so much that code works, really appreciate the help
July 19, 2013 at 12:07 am #168314In reply to: code showing in top since 1.8 update
modemlooper
ModeratorThe theme you are using is not bp default or twenty twelve. The BuddyPress part of the page looks custom. What theme is this?
July 18, 2013 at 11:19 pm #168313In reply to: WP-minify and new version of Buddypress
ds123
Participanti know this is an old thread but its top of the list on google for the cdn buddypress avatar search …. @pisanojm did you ever find a solution to this using push origin cdn’s …for anyone else the maxcdn company seems to work with buddypress avatars but you can’t permanently store your files there you have to have them mirrored on your local web server … i have to offload the thousands of avatar files off the web app server …onto a cdn …need to use push cdn like cloud files ..or self hosted with w3 total cache plugin ..any advice would be greatly appreciated!?
July 18, 2013 at 9:43 pm #168305Ali Hendaoui
ParticipantThank you and I am really sorry for the inconvenience, if I need anything else I will start a new topic.
July 18, 2013 at 9:40 pm #168304In reply to: Problems with registration page.
Cidade Sonho
ParticipantHello 😡 I have this problem after register
and the member don´t get the e-mail to active your account
Warning: sprintf() [function.sprintf]: Argument number must be greater than zero in /wp-content/plugins/buddypress/bp-core/bp-core-filters.php on line 255
I have multi site too
I don´t change the core files 🙂 NEVER 😉why? Thanks =D for all hard work
from Brazillove bp
July 18, 2013 at 7:42 pm #168298In reply to: Adding Dynamic Profile Link to Main Menu Item
katemgilbert
ParticipantI have followed your suggestion to add the Profile link to a second theme location menu. However, now it shows in both menus. How can I specify it just to show in one and not the other? Here is my code:
add_filter( 'wp_nav_menu_items', 'my_nav_menu_profile_link' ); function my_nav_menu_profile_link($menu) { if (!is_user_logged_in() && $args->theme_location == 'footer-nav' ) return $menu; else $profilelink = '<li><a href="' . bp_loggedin_user_domain( '/' ) . '">' . __('My Profile', 'buddypress' ) . '</a></li>'; $menu = $profilelink . $menu; return $menu; }Thanks!
July 18, 2013 at 5:48 pm #168293In reply to: Own style buddypress.css
Hugo Ashmore
Participantwell ‘community’ always did exist as a location but it’s preference I guess, personally I like ‘community’ as it denotes what the directory is for but it’s half a dozen of one six of the other.
-
AuthorSearch Results