Search Results for 'theme'
-
AuthorSearch Results
-
December 9, 2015 at 4:28 am #247570
In reply to: Notification emails after import
reedy
ParticipantI installed WP Crontrol and saw nothing out of the ordinary:
ws_plugin__s2member_auto_eot_system__schedule
_cron_zencache_cleanup
bp_activity_akismet_delete_old_metadata
wp_maybe_auto_update
wp_version_check
wp_update_plugins
wp_update_themes
akismet_scheduled_delete
wp_scheduled_delete
wp_scheduled_auto_draft_deleteEarlier today I added the following to my functions.php file:
add_filter( 'bp_activity_do_mentions', '__return_false' );No @mention emails were generated since then. As soon as I commented that code out, within 5-10 minutes thirteen @mention email notifications went out – all with links to content that is years old (pre-import).
I’ve therefore put the filter back into functions.php and can only assume I’ll have to do without the @mention functionality of buddypress.
I appreciate everyone’s help up to this point.
December 8, 2015 at 11:56 pm #247558In reply to: disable private messaging for specific user
hotconductor
Participantare you saying I should try to apply that on class-bp-messages-message.phpNever touch core files.
Place the code in your theme/functions.php.December 8, 2015 at 5:52 pm #247538In reply to: Notification emails after import
Henry Wright
ModeratorIf you’re running vanilla WordPress, with BuddyPress as the only plugin installed and you’re sure you have no custom code in place, it may mean your install has been compromised. You should check to be sure this isn’t the case.
Just a thought, have you tried using a standard theme such as Twenty Fifteen?
December 7, 2015 at 11:53 pm #247501In reply to: PM username autocomplete without friend module
shanebp
ModeratorAdd this to your bp-custom.php file:
define( 'BP_MESSAGES_AUTOCOMPLETE_ALL', true );December 7, 2015 at 11:52 pm #247500In reply to: PM username autocomplete without friend module
Henry Wright
ModeratorTry setting
BP_MESSAGES_AUTOCOMPLETE_ALLtofalse. For example, add this to either your theme’s functions.php or your bp-custom.php file:define( 'BP_MESSAGES_AUTOCOMPLETE_ALL', false );Please note I haven’t tested.
December 7, 2015 at 1:18 am #247483In reply to: hide bp toolbar
Stacy (non coder)
ParticipantPreferred not to hack each site’s theme or the bp plugin.
https://wordpress.org/plugins/admin-bar-disabler/
Removes the bp section as well. Can set by role or capability
December 6, 2015 at 9:00 pm #247463In reply to: I don’t understand the template files
Joshua Blevins
ParticipantCreating a child theme is not necessary. I figured out that if you create template files using the //Template Name you can go to the pages that BuddyPress makes and assign template pages to those pages. So you can create a file named activity.php and make it a template file and add the activity loop inside of that file. Once you have assigned that template to the Activity page in the WordPress dashboard you can then go to the BuddyPress settings and make sure that your Activity page is set up under the Activity drop down and save changes and it will work. I didn’t want to add unnecesary steps to making a single theme that did everything I needed. I will work on compiling a tutorial series on how to work with BuddyPress and then contribute it to the codex. Thank you for the response. Also if you look at the code in the BuddyPress plugin on the codebase you will see that bp-legacy is completely deprecated. There is compatibility code to not break old themes, but it is not the best way to do things.
December 6, 2015 at 11:41 am #247453In reply to: I don’t understand the template files
Hugo Ashmore
Participant@jblevins1991 You need to explain exactly what you have attempted so that we may understand where things are going wrong, so you need to show exact steps and directories and files created / copied over.
Assuming you have setup WP and BP correctly and have a vanilla instance of BP running under a theme of your choice then:
You create a dir or folder in your themes root e.g /buddypress/ if you want to modify the main activity screen then create /buddypress/activity/ and copy index.php from the plugins bp-legacy dir to this new directory, add some text somewhere in that file so you can see if BP is using that file rather than the version located in bp-legacy.
In our guide the salient issue of what templates and where is covered in this paragraph:
Therefore, you can modify any bp theme compatibility template by copying it over from:
/bp-templates/bp-legacy/buddypress/
To:
/my-theme/community/ or /my-theme/buddypress/
N.B. Inside the subfolder ‘community’ you must preserve the path structure/folders that exist in the BP original /buddypress/ folder so /activity/ must be created to hold index.php or any of the other activity templates.
If you are using a WP theme or theme that is subject to updates you must create a child theme of that theme and do all work in that, this avoids you losing any changes in a theme – guides for creating WP child themes are available on the WP codex.
December 5, 2015 at 9:16 am #247436In reply to: I don’t understand the template files
Joshua Blevins
ParticipantI just figured that out. I have the activity folder added to the twentyfifteen theme. I am trying to modify the file, but it really doesn’t look like it should. I am logged in and I dont see any activity nor do i see the message Sorry, there was no activity found, Please try a different folder.
I am so confused and frustrated. I am pretty competent with wordpress as well as php, and i don’t feel like this should be so difficult.
December 5, 2015 at 9:03 am #247434In reply to: I don’t understand the template files
Lovemonk
ParticipantI believe any files you want to edit from within your theme must follow the complete folder structure as viewed within the Buddypress plugin. Not just lumped into a single Buddypress folder.
December 5, 2015 at 3:50 am #247428In reply to: I don’t understand the template files
Joshua Blevins
ParticipantI found the answer myself. BuddyPress uses specific folders for the default pages (Activity, Groups, Forums, etc.) located at wp-content/plugins/bp-templates/bp-legacy/buddypress. In each folder found here are the corresponding default templates. These can be added to a folder you create in your theme. The folder you add to your theme must be named community or buddypress.
December 5, 2015 at 3:21 am #247427In reply to: I don’t understand the template files
Joshua Blevins
ParticipantSo I found this page, which says I can make a directory named buddypress or community. However, it doesn’t say the name of any of the files I can override. What files can I override and what do they do?
December 4, 2015 at 11:25 am #247406In reply to: please review my new website onlijn.com
peter-hamilton
ParticipantI am going to try a similar, but different theme with the new BBPress/Buddypress plugins, now using older version from earlier this year.
Just to play around with the code, not doing it for much more then laughs at the moment.
December 4, 2015 at 1:50 am #247400In reply to: Where is the group directory?
balmainboy
ParticipantI’m using the 7.2 theme. I’ve tested it on Twenty Fifteen and it displays again in basic format. When logged in as a new member there is a join now button at least, but the styling is still very plain compared to the documentation screenshot – no avatars or colour – as per my previous screenshot of my site.
The page is also called titled ‘Groups’ rather than ‘Groups directory’ – but i’m sure i could always change the name in WP settings.
I’ve also got a problem with Activation emails but i’ll need to create a new thread for that.
December 3, 2015 at 2:52 am #247350In reply to: profile avatar overrides menu
Henry Wright
ModeratorAre you sure that’s the Twenty Fourteen theme? I see this:
December 3, 2015 at 12:19 am #247348In reply to: Where is the group directory?
Henry Wright
ModeratorWhich theme are you using? Try Twenty Fifteen to see if it looks like the documentation screenshot.
December 1, 2015 at 6:22 pm #247327In reply to: Warning & Fatal Error! Please Help
bob123451
ParticipantFigured it out!:)
Went into the File Manager on my Website Hosting.
Located the file: /SocialNetwork/wp-content/themes/woffice/framework-customizations/extensions/woffice-birthdaysOnce I did that I renamed it, it seems to be working fine now!
December 1, 2015 at 6:14 pm #247326In reply to: Warning & Fatal Error! Please Help
bob123451
ParticipantThanks for the reply Ray..
Yes I am using the WOffice theme!
I get this code under the Birthday plugin:
Fatal error: Call to undefined function xprofile_get_field_data() in /home/dtente5/public_html/SocialNetwork/wp-content/themes/woffice/framework-customizations/extensions/woffice-birthdays/class-fw-extension-woffice-birthdays.php on line 31
Any ideas?
December 1, 2015 at 6:06 pm #247325In reply to: Warning & Fatal Error! Please Help
r-a-y
KeymasterAre you using the WOffice theme and their Birthday extension?
If so, see:
https://buddypress.org/support/topic/fatal-error-call-to-undefined-method-stdclasssave/November 30, 2015 at 4:45 pm #247299In reply to: Member Alphabetical Sort
Henry Wright
ModeratorThe default sort order is ‘active’ members first. To easily change that, you can make use of
bp_after_has_members_parse_args. For example, try adding this to your theme’s functions.php file:function my_custom_member_list_sort( $ret ) { $ret['type'] = 'alphabetical'; return $ret; } add_filter( 'bp_after_has_members_parse_args', 'my_custom_member_list_sort' );Note, this will sort all member lists you have anywhere on your site, not just the one at example.com/members.
November 29, 2015 at 10:36 pm #247273In reply to: Changing avatar images and profile links
jimme595
ParticipantSo i’ve had some success trying to change the profile links with this code:
function _bp_core_get_user_domain($domain) { $url = get_home_url(); $user_id = bp_get_member_user_id(); if (empty($user_id)) { $user_id = bp_get_activity_user_id(); } if (empty($user_id)) { //$user_id = bp_displayed_user_id(); } $user_info = get_userdata($user_id); $link = $user_info->display_name; $domain = '' . $url . '/profiles/' . $link . ''; return $domain; } add_filter('bp_core_get_user_domain', '_bp_core_get_user_domain', 10, 4); apply_filters( 'bp_get_activity_user_link', '_bp_core_get_user_domain', 15, 1);This seems to work on every profile link except the one in the activity header section. This link is being changed but just to /profiles/. The display name is not being added to the end… so looking at my code this means i’m not retrieving the user id in the activity. Strangely enough though the user avatar next to the post has the correct link applied to it with the above filter! Any ideas?
My other option is to use the buddypress member profile location but replace it with my profile templates. I tried to implement this by creaing a members/single/home.php in my wordpress custom theme folder… but the profile loads inside another page, i get a page within a page type effect with the username above the inner page… not sure what is going on there? If anyone can help with either of these solutions i’d really appreciate it!
James
November 29, 2015 at 10:40 am #247253In reply to: Extra White Space In Groups
dwsowash
ParticipantI have the exact same problem.

Newest wordpress Newest Buddypress using 2014 theme.
November 29, 2015 at 5:35 am #247250In reply to: Buddypress Randomly Died – WS
Pagliocco
ParticipantSo it looks like i found a fix but dont know root cause
Ended up deactivating all plugins
Updated the theme which DID have an update
Reactivated all plugins one by one
Reinstalled BP
So far no issues at this point – did have to copy the old css file over to the new theme folder but that seemed insignifigant.
November 28, 2015 at 10:08 pm #247244In reply to: Problem with the send button in Buddypress comment
Raul25r
ParticipantIf it appears that the problem comes with the latest update (sahifa). When changing theme fails me. Thank you
November 28, 2015 at 7:42 pm #247243In reply to: Problem with the send button in Buddypress comment
r-a-y
KeymasterWhen you click inside the textarea box, the textarea should expand and show the submit button.
Does that work?
If not, it might be related to the Sahira theme. Since Sahira is a premium theme, we do not have access to it. What happens when you switch to one of the WordPress Twenty themes?
Do you have the BuddyPress Activity Privacy plugin activated? If so, read this:
https://buddypress.org/support/topic/buddypress-2-4-0-and-buddypress-activity-privacy/#post-246630 -
AuthorSearch Results
