Search Results for 'theme'
-
AuthorSearch Results
-
July 10, 2015 at 8:50 pm #241694
In reply to: Unable to register users
juicester
ParticipantIs there anymore advice on this? I have not been able to register users since this was installed for the first time a few days ago. It has never worked and I have performed all the recommended checks with plugins and themes etc.
Looking forward to more advice on this.
Thanks
July 10, 2015 at 6:06 pm #241689Wpmaster78
ParticipantMost of the time BP will use page.php since that template file exists in the majority of WordPress themes. However, if you wanted to style BuddyPress pages differently than a regular WordPress page, you could add a template file named buddypress.php to your theme’s directory and BP would use that template instead since that file is ahead of page.php in the hierarchy above.
July 10, 2015 at 2:52 pm #241684In reply to: edit xprofile as an editor not an admin?
muskokee
ParticipantThanks for the info. So there is no way that I can create a function that hooks into say…the page load and then check a user’s role and allow them to edit profile data?
I finally found the function that controls access (I think):
public function user_admin_load()
in bp-members-admin.php
Could I make a new copy in my theme folder so that I could hack the code? Not that I want to do that but according to the ticket, this issue has been outstanding for 2 years! My client needs to allow team members access to alter profiles but that is all they should be doing. And she needs this asap. There is no way she can wait 2 years! lol
July 9, 2015 at 10:10 pm #241659In reply to: theoretically, is it possible to do this?
djsteveb
Participant@thatmtnman – should be pretty easy to put widgets around the activity stream, and so to have content around the activity wall as you are saying.. individual member profiles have an activity stream, and you can change content around the profiles with some theme coding – so I’m pretty sure bp already does what you are asking about right out of the box..
Maybe I don’t understand what you mean by content around activity similar to facbook, I’m not an f-book expert.
July 9, 2015 at 10:05 pm #241657In reply to: how to make a good social network
July 9, 2015 at 7:22 pm #241648In reply to: Remove Activity / Join Info
danbp
Participanthi @billmann,
to remove only last activity date from profile header:
function bpfr_core_get_last_activity( $last_activity_date ) { if ( empty( $last_activity_date ) ) // we do nothing $last_active = ''; else $last_active = sprintf( $string, bp_core_time_since( $last_activity_date ) ); } add_filter( 'bp_core_get_last_activity', 'bpfr_core_get_last_activity' );To remove all last active instance (profile, group & member directory,…), you simply remove the filter
function bpfr_remove_last_activity_filter() { remove_filter( 'bp_core_get_last_activity', $last_active, $last_activity_date, $string ); } add_filter( 'bp_core_get_last_activity', 'bpfr_remove_last_activity_filter' );Add to your child-theme functions.php or to bp-custom.php
bp_core_get_last_activityfunction is in buddypress/bp-core/bp-core-functions.php:1418Note that site wide activity is not affected by these functions.
July 9, 2015 at 9:52 am #241629djsteveb
Participant@rollercoasteride
disable all plugins except buddypress and twenty-something theme – does it work?
My guess is your wp / BP may work fine without the zippy courses plugin – if it works fine with no other plugins – then your issue is with those plugins, not a BP issue per se.
No WP and BP do not work with default theme and all other plugins disabled?
yes you need permalinks pretty – I think.. when you set that does it actually write to your htaccess file? or is there some text that appears at bottom of screen (below scroll view sometimes) that tells you need to manually add the new htaccess code?
still not work? you may…
Looks like you may have some corrupted files somewhere – I would make a backup of your databases and zip up your files for a backup (there is a reasonable backup thing in softalicious backend) – remove the wp installation through softalicious – remove the whole wp / bp setup – start fresh.
If exporting your database through phpmyadmin, click advanced / add / drop table or something (directions in wp codex)
You can install WP through softalicious and then add BP no problem in my experiences.
(I would not count on softalicious to do your updates, gosh fantistico was horrible at that, and WP has it’s own auto-update thing going on these days anyway)/random thoughts from a user, not a BP dev or anything – other advice may be better.
July 8, 2015 at 8:11 pm #241595whoaloic
ParticipantHello
I notice I don’t have the group avatar tab anymore.
I switch theme and disable all plugins except BP. The tab is still missing.
I do remember that I could upload an avatar for group in the past.Any help would be really appreciated.
July 8, 2015 at 4:09 pm #241586In reply to: Blog body content not appearing on Buddyblog
danbp
Participanthi @revadigital,
not sure what you call buddyblog… The blog is part of WordPress, not BuddyPress.
Can you give site url, theme, list of plugins and install type (network or single) please ?
Found a site which seems to be yours. If it is the case, you’re using Frisco for BP, an old theme. This theme hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Since BP 1.9 (dec 2013), you can use almost use any existing theme.
If you’re in a test phase, use simply 2015. Once anything is working, you can search a theme. 🙂July 8, 2015 at 8:08 am #241573In reply to: Edit Students Stats Widget
danbp
ParticipantHi @chirag1212,
you’re on BuddyPress support forum. But BP hasn’t a BuddyPress Course Stats widget.
Ask on your theme support or the widget author.July 8, 2015 at 1:57 am #241568In reply to: Content Invisible to Google
djsteveb
ParticipantI see how you are using groups – so it does appear that links to them are easily discoverable from your public facing pages.
If you do a view source and look at your code for each of your groups, you will notice that the page title is exactly the same for all of your groups ( <title>Activities – Freaky Rivet</title> ) – and there is no meta name description =
Two major issues for the big G.
Which version of buddypress are you using?
This problem concerns me so much that I have kept one of my sites with an older version of buddypress (2.2.3.1 ) with the cobbled custom code I was able to get from wpmudev ( http://premium.wpmudev.org/forums/topic/bp-meta-tite-description-for-groups-and-members-pages#post-806736 ) – the cobbled code may work the newer version of bp – but things are quite confusing with how wp has changed up some of the title thing, and bp has it’s way of things and there are possible conflicts with priority or something..
The discussion on this trac ticket( https://buddypress.trac.wordpress.org/ticket/6107 ) says things have been “fixed” – I do appreciate the devs working on it a bit – but I have a feeling the fix is more of a “make it work in a semi-okay way with a couple of setups” – not much as far as giving users real control over the titles and descriptions.
I am guessing people will point to theme designers to hook this up, and they will point to “we use wordpress’s suggested way of title-ing (wp the title or whatever) – and so it’s wp/bp issue, and descriptions should be handled my an seo plugin – but given that bp’s pages are pseudo pages without any taxonomy registered, it appears that yoast and others have so desire to work with it.
This is my current understanding, and may be not 100% accurate – what I gather after posting many questions and issues relating to this in various places.
I’d pay someone to code a plugin that gives options for bp meta stuff like the suggestion I posted before, and give it to the community. If I could understand all the bp/wp code and php I’d gladly make it. It seems the BP coders are spread a bit thin, so I have no good options for fixing this issue at the moment.
July 7, 2015 at 10:30 pm #241563Quinn Goldwin
ParticipantTHANK GOD, I FINALLY GOT IT!!!
I’m going to share what I did with the community so they dont have to go through the crap I went though.
The directions that buddydev.com gives you is dated and didnt work with my theme. Since my theme did not have a activity.php I had to change out the file located in buddypress plugin ….
/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/activity.php
inside that file go to line 48 should be something like this
if ( is_user_logged_in() && bp_is_my_profile() && ( !bp_current_action() || bp_is_current_action( ‘just-me’ ) ) )ALL I CHANGED WAS THAT LINE OF CODE ABOVE TO THIS
if ( is_user_logged_in() && bp_is_my_profile() && ( ” == bp_current_action() || ‘just-me’ == bp_current_action()||BPCOM_ACTIVITY_SLUG == bp_current_action() ) )IF YOU USE ANY OF THE CODE FROM BUDDYDEV SITE http://buddydev.com/buddypress/show-buddypress-communitysitewide-activity-on-user-profile/#comment-1497563 WITH ALL THE <?PHP BREAKS. IT WILL NOT WORK.
NOTE: For some reason when I tried to add this file to my theme folder, it broke my Activity stream, I didnt design the theme so I have no clue why it would be doing that. So if you add this to the buddypress plugin you will have to replace that file everytime you update buddypress.
HOPE THIS HELPS, THIS TOOK ME A BETTER PART OF A DAY ALMOST 2 DAYS TO ADD A POST FORM FOR THE ALL ACTIVITY IN PROFILE ON THE BOSS THEME. I HOPE IT HELPS THE COMMUNITY NOT HAVE THE FRUSTRATIONS I DID
PLEASE SHOW ME SOME LOVE AND SHARE MY WEBSITE ON YOUR BLOG OR COMMENT ON MY SITE.
July 7, 2015 at 6:25 pm #241553In reply to: Login Form Problem
danbp
ParticipantThe item on the left is anchored to #login and calls a widget, the one on the right has the right link
Check your theme settings or turn-off the widget
July 7, 2015 at 6:00 pm #241549danbp
ParticipantYou found the right solutions, but you haven’t to use them in theme’s functions.php but in the template.
Template files are stored in bp-templates/bp-legacy/buddypress
activity-loop.php is in bp-templates/bp-legacy/buddypress/activity/Create a child-theme and do your changes from there.
July 7, 2015 at 3:49 pm #241544In reply to: Divi Compatibility?
@mercime
Participant@serfma They posted a walk-through about setting up BuddyPress last year using the Divi 2.0 theme at http://www.elegantthemes.com/blog/tips-tricks/an-introduction-to-buddypress Check with them though if current Divi version is compatible with latest BuddyPress version.
July 7, 2015 at 10:40 am #241533Quinn Goldwin
ParticipantHey Henry yup it even happens on the 2015 theme. I recently updated to buddypress 2.3.2 .. I also deactivated every plugin I had. its something in buddypress mobile coding they added in 2.3.
July 7, 2015 at 10:12 am #241531Henry Wright
ModeratorTry checking the order using the TwentyFifteen theme and if the order is as expected, then that means there might be a problem with the Boss theme. If that’s the case, you should let the BuddyBoss team know so they can hopefully release a fix.
July 7, 2015 at 9:50 am #241524Henry Wright
ModeratorYou could use bp-custom.php for this if a hook is available but an alternative method would be to override the template. Check out the BuddyPress Template Hierarchy article for more info. This approach gives you more control over what exactly is to be displayed on your website.
July 6, 2015 at 8:02 pm #241507@mercime
Participant@vinzen I was initially able to confirm the issue reported by the lady in the original post. However, upon consultation with another developer, testing in another laptop, and restarting the other laptop I used to test the issue, the result is that one can open the file selection box using keyboard navigation.
Could you please ask her to restart computer/clear caches and check again? She can open the image file selection box using the
Enterkey or theSpace bar.If the above don’t resolve the issue, can she give us more information about: the browser/s she is using, PC/Mac, other assistive technology used, etc., and on your end, it would help us to know what theme and plugins you have installed in your site.
If you find any more issues, please let us know.
July 6, 2015 at 7:30 pm #241505In reply to: [Resolved] Unable to crop Profile pictures
danbp
ParticipantI have never used kendo, so i can’t help you about how it works, or not, with BuddyPress or with your theme.
But you can deregister a script or add more scripts into the theme…
Read here if it inspires you:
http://wordpress.stackexchange.com/questions/152559/wordpress-script-loading-unloading-wp-deregister-scriptjqueryJuly 6, 2015 at 7:15 pm #241504In reply to: [Resolved] Change name of a function
danbp
ParticipantWhich theme and language do you use ? Can you explain step by step what you did ?
The “Add Friend” button disappears when I do this.
Probably because you do something wrong.July 6, 2015 at 3:48 pm #241500In reply to: Query posts by custom field
killabien
ParticipantShane, thank you for your reply.
My code now looks like this:<?php /** * Template Name: Spanish */ get_header(); ?> <?php get_template_part('page-parts/general-title-section'); ?> <?php get_template_part('page-parts/general-before-wrap'); ?> <?php $members = my_custom_ids( 'country', 'Spain' ); ?> <?php $query = new WP_Query( array( 'author__in' => $members ) ); if ($query->have_posts()) : // Start the Loop. query_posts($query); while ($query->have_posts() ) : $query->the_post(); /* * Include the post format-specific template for the content. If you want to * use this in a child theme, then include a file called called content-___.php * (where ___ is the post format) and that will be used instead. */ get_template_part( 'page-parts/post-content-small' ); get_template_part( 'page-parts/posts-social-share' ); ?> <?php if ( sq_option( 'page_comments', 0 ) == 1 ): ?> <!-- Begin Comments --> <?php comments_template( '', true ); ?> <!-- End Comments --> <?php endif; ?> <?php endwhile; endif; ?> <?php wp_reset_postdata()?> <?php get_template_part('page-parts/general-after-wrap'); ?> <?php get_footer(); ?>When I tried doing it with only
my_custom_idsI suddenly get nothing displayed at all. Now even when I try the example code from members_loop in codex I get an error like this:Warning: Creating default object from empty value in C:\xampp2\htdocs\wp-content\plugins\buddypress\bp-members\bp-members-template.php on line 627
Viewing 1 – 0 of 0 membersFatal error: Call to undefined method stdClass::members() in C:\xampp2\htdocs\wp-content\plugins\buddypress\bp-members\bp-members-template.php on line 609
Sorry for prolonging this topic, this is the last feature I need to add and I thought it’d be easier.
Thank you for your helpBest
DavidJuly 6, 2015 at 2:17 pm #241496In reply to: Query posts by custom field
killabien
ParticipantOkay, so while I’ve made some progress thanks to you two, I’m still missing something. I thought it was working tomorrow but the code wasn’t logical(I had to use
author__not_into display posts from all Spanish users but it didn’t work with other countries).So first of all, this code gives me only the users from a given country:
<?php $Members = array((bp_has_members( my_custom_ids( 'country', 'Spain' ) )) ); ?>I’ve used the example Here and it displays only those two users I have with Spain. When I change to France it displays only one user, which is correct. So this one is good to go.
I’m having trouble with the rest though.<?php $query = new WP_Query( array( 'author__in' =>array($Members))); if ($query->have_posts()) : // Start the Loop. query_posts($query); while ($query->have_posts() ) : $query->the_post(); /* * Include the post format-specific template for the content. If you want to * use this in a child theme, then include a file called called content-___.php * (where ___ is the post format) and that will be used instead. */ get_template_part( 'page-parts/post-content-small' ); get_template_part( 'page-parts/posts-social-share' ); ?> <?php if ( sq_option( 'page_comments', 0 ) == 1 ): ?> <!-- Begin Comments --> <?php comments_template( '', true ); ?> <!-- End Comments --> <?php endif; ?> <?php endwhile; endif; ?>Is what I’ve been trying to do. Putting
(bp_has_members( my_custom_ids( 'country', 'Spain' ) ))into an array like this:
$query = new WP_Query( array( 'author__in' =>array(bp_has_members( my_custom_ids( 'country', 'Spain' ) ))));
Didn’t give me the results I wanted. What am I doing wrong? Once when I putauthor__not_init worked but only with Spain and no other country. Now it’s not working even with Spain.
Any suggestions? What should I do? Please help.Regards
David
July 6, 2015 at 1:12 pm #241495In reply to: [Resolved] Videos from Posts in Activity Stream
d_enajetic
ParticipantHey Dan,
Thanks for the quick response. I checked for, then removed any custom code from my theme and rtMedia. Nothing changes. I’ve also disabled rtMedia and changed my theme. It’s still the same. Here’s a pic of what’s happening.
As far as BP not doing this by default, isn’t that what this statement details?

Pardon me if I interpreted this incorrectly, but this only began after the 2.3 update.
I’ve also disabled all plugins besides BP and I still have the same issue. Any help you can provide is greatly appreciated.
Thanks
July 6, 2015 at 12:39 pm #241493In reply to: [Resolved] Videos from Posts in Activity Stream
danbp
Participantit’s not a BP issue. By default, an embeded video in a blog post is not showed in the activity stream.
Only videos who came up on SWA are those added via updates.See rTMedia settings, theme specific setting or search for custom code somewhere.
-
AuthorSearch Results

