Search Results for 'theme'
-
AuthorSearch Results
-
April 5, 2018 at 5:04 pm #271866
Brendan
ParticipantThank you! Since I’m building a bespoke custom theme from scratch, I can skip the /child-theme/ folder, correct? and just make it buddypress/activity/post-form.php ?
April 5, 2018 at 11:49 am #271817In reply to: Fatal Error of buddypress after updating wordpress
Venutius
ModeratorStandard debugging practice would be to deactivate all other plugins except BuddyPress, switch to a default theme such as 2017 and see if the error remains. If not then it’s a plugin or theme that is causing the problem, if the fault remains then there’s something wrong with the BP installation.
April 5, 2018 at 6:49 am #271797In reply to: Add BuddyPress to Theme
Venutius
ModeratorMost themes support BuddyPress these days, thanks to template compatibility in that the BuddyPress pages are displayed and work. What most BuddyPress theme’s mean when they say they support BuddyPress is that they have modified the BP theme files and/or css in order to provide BP specific features.
There’s over 100 template files that can be overloaded, most BP specific themes do not touch the majority of these, they tend to concentrate on just the main pages such as the members and group list and profile pages to give them a theme specific feel. Much of this modification is simply to add their own specific css to allow better control of how a page looks.
To make overloading of the template files easier I created a plugin called BP Template Overloader. This displays all of the files available for overloading, allows overloads to be set up and allows you to compare your overloaded file with the BP master file.
April 5, 2018 at 6:32 am #271796Venutius
ModeratorYou would need to take the plugins/buddypress/bp-templates/bp-legacy/buddypress/activity/post-form.php file and put it in themes/child-theme/buddypresss/activity/post-form.php.
This is used to create the What’s New form in the Activity, profile/activity and group/activity pages.
April 5, 2018 at 4:10 am #271794Brendan
ParticipantAt the very least, what is the buddypress file called that I should edit? and where is it located, and where should I put it in the child theme /buddypress folder?
April 4, 2018 at 10:56 pm #271793Brendan
ParticipantThat sounds like what I want to be able to do. I’d prefer to use CSS if possible over JS but either way is fine.
I’m thinking It will take modifying that buddypress template(?) as a child in my theme directory. I’m prepared to do the work, but I’m still learning how buddypress works, and I’m unsure where to start exactly.
April 4, 2018 at 9:22 pm #271788In reply to: Blocked Error Message – Mobile Only
djhorne
ParticipantI have tried switching themes – still same issue.
Just done some testing
I have run test using Google Inspect and I get
Request URL: http://www.getswing.co.uk/wp-login.php
Request Method: POST
Status Code: 403 Forbidden
Remote Address: 46.30.215.105:80
Referrer Policy: no-referrer-when-downgradeWhen I run it on a responsive sit using Google Inspect – I get in
Request URL: http://www.getswing.co.uk/wp-login.php
Request Method: POST
Status Code: 302 Found
Remote Address: 46.30.215.105:80
Referrer Policy: no-referrer-when-downgradeWhen I use http://www.getswing.co.uk/wp-admin/
It works on mobile
April 4, 2018 at 9:07 pm #271787In reply to: Blocked Error Message – Mobile Only
Venutius
ModeratorHave you tried the opposite – switching to a default theme and deactivating all other plugins? Does login work then?
April 4, 2018 at 5:53 am #271757In reply to: Can’t see members in “members” page
Venutius
ModeratorIt does work, so there has to be another factor that is causing the members list to fail, are you sure you have tried it with no other plugins running and with a theme such as 2017 enabled?
April 3, 2018 at 3:23 pm #271727In reply to: Cant change Profile visibility
Venutius
ModeratorI’ve got a vanilla install of BuddyPress and it allows the user to change the visibility, so in your case there must be something interfering with the operation of this.
Options:
1. unload all other plugins, see if you can change the profile visibility, if that fails change your theme to 2017 and try again.
2. It’s possibly a javascript issue, check the js console in your browser for reported errors.April 3, 2018 at 6:33 am #271706In reply to: “Take Photo” not working on Firefox
April 3, 2018 at 6:27 am #271705In reply to: “Take Photo” not working on Firefox
Venutius
ModeratorHi there,
Looking around a standard BP install the option to take a photo does not exist, you can only upload a photo. Could that be a theme option?
April 2, 2018 at 7:43 pm #271701In reply to: Messages not all showing.
David Cavins
KeymasterSince you’re using BuddyBoss theme (I think) I’d probably ask them first, because the template that loads the message loop is provided by the theme.
That’s a weird problem, though!
April 2, 2018 at 6:03 pm #271696Venutius
ModeratorThe following change will remove the What’s New area from the Activity page, it will still be visible in Groups and on the users profile activity page.
You will need to set up a childtheme (there’s plenty of plugins that will do this for you).
<?php /** * BuddyPress - Activity Post Form * * @package BuddyPress * @subpackage bp-legacy */ ?> <form action="<?php bp_activity_post_form_action(); ?>" method="post" id="whats-new-form" name="whats-new-form"> <?php /** * Fires before the activity post form. * * @since 1.2.0 */ do_action( 'bp_before_activity_post_form' ); if ( bp_is_my_profile() || bp_is_group() ) : ?> <div id="whats-new-avatar"> <a href="<?php echo bp_loggedin_user_domain(); ?>"> <?php bp_loggedin_user_avatar( 'width=' . bp_core_avatar_thumb_width() . '&height=' . bp_core_avatar_thumb_height() ); ?> </a> </div> <p class="activity-greeting"><?php if ( bp_is_group() ) printf( __( "What's new in %s, %s?", 'buddypress' ), bp_get_group_name(), bp_get_user_firstname( bp_get_loggedin_user_fullname() ) ); else printf( __( "What's new, %s?", 'buddypress' ), bp_get_user_firstname( bp_get_loggedin_user_fullname() ) ); ?></p> <div id="whats-new-content"> <div id="whats-new-textarea"> <label for="whats-new" class="bp-screen-reader-text"><?php /* translators: accessibility text */ _e( 'Post what\'s new', 'buddypress' ); ?></label> <textarea class="bp-suggestions" name="whats-new" id="whats-new" cols="50" rows="10" <?php if ( bp_is_group() ) : ?>data-suggestions-group-id="<?php echo esc_attr( (int) bp_get_current_group_id() ); ?>" <?php endif; ?> ><?php if ( isset( $_GET['r'] ) ) : ?>@<?php echo esc_textarea( $_GET['r'] ); ?> <?php endif; ?></textarea> </div> <div id="whats-new-options"> <div id="whats-new-submit"> <input type="submit" name="aw-whats-new-submit" id="aw-whats-new-submit" value="<?php esc_attr_e( 'Post Update', 'buddypress' ); ?>" /> </div> <?php if ( bp_is_active( 'groups' ) && !bp_is_my_profile() && !bp_is_group() ) : ?> <div id="whats-new-post-in-box"> <?php _e( 'Post in', 'buddypress' ); ?>: <label for="whats-new-post-in" class="bp-screen-reader-text"><?php /* translators: accessibility text */ _e( 'Post in', 'buddypress' ); ?></label> <select id="whats-new-post-in" name="whats-new-post-in"> <option selected="selected" value="0"><?php _e( 'My Profile', 'buddypress' ); ?></option> <?php if ( bp_has_groups( 'user_id=' . bp_loggedin_user_id() . '&type=alphabetical&max=100&per_page=100&populate_extras=0&update_meta_cache=0' ) ) : while ( bp_groups() ) : bp_the_group(); ?> <option value="<?php bp_group_id(); ?>"><?php bp_group_name(); ?></option> <?php endwhile; endif; ?> </select> </div> <input type="hidden" id="whats-new-post-object" name="whats-new-post-object" value="groups" /> <?php elseif ( bp_is_group_activity() ) : ?> <input type="hidden" id="whats-new-post-object" name="whats-new-post-object" value="groups" /> <input type="hidden" id="whats-new-post-in" name="whats-new-post-in" value="<?php bp_group_id(); ?>" /> <?php endif; ?> <?php /** * Fires at the end of the activity post form markup. * * @since 1.2.0 */ do_action( 'bp_activity_post_form_options' ); ?> </div><!-- #whats-new-options --> </div><!-- #whats-new-content --> <?php wp_nonce_field( 'post_update', '_wpnonce_post_update' ); ?> <?php /** * Fires after the activity post form. * * @since 1.2.0 */ endif; do_action( 'bp_after_activity_post_form' ); ?> </form><!-- #whats-new-form -->Just place this file content in your themes/child-theme/buddypress/activity/post-form.php file. Activity, replacing everything that’s in the current file.
If you want an easier way to manage your template overloads you should look at BP Template Overloader, which will help you keep track. When you overload a theme page, you need to remember that you will have to take responsibility for keeping it up to date since any changes to the master file will no longer be loaded.
March 31, 2018 at 7:51 am #271667In reply to: How to change or remove item nav Group navigation
Venutius
ModeratorI think that could be a question for your theme provider, bp does not come with icons, so I’m assuming your theme is already overloading the bp files
March 30, 2018 at 10:09 am #271648Venutius
ModeratorHave you looked at overloading your BuddyPress pages?
This is the process of getting BuddyPress to load your costomised pages instead of the default pages. For example, the page that loads the “What’s new” section and post form is located in
plugins/buddypress/bp-templates/bp-legacy/buddypress/activity.posts-form.phpIf you copy this file to
themes/your-child-theme/buddypress/activity/posts-loop.phpyou can edit this file and remove the “What’s new” section. You would need to know php to do this.More information on overloading bp templates is located here: https://codex.buddypress.org/themes/theme-compatibility-1-7/a-quick-look-at-1-7-theme-compatibility/
A plugin that tries to make the management of your overloads easier is https://wordpress.org/plugins/bp-template-overloader/
March 29, 2018 at 6:30 pm #271640In reply to: Enfold + BudyyPress= Responsive Issues
Venutius
ModeratorWhat I’m doing at the moment is running a mobile specific theme, my main wordpress theme just does not scale down right. By running a theme switcher I’m able to have a mobile specific setup that works a lot better overall.
Regarding mobile devices in particular the button styles used in the current BuddyPress template set is not ideal, I’m hoping this will improve with Nouveau. What I do on the mobile side is I tend to place all the main bp options in the main menu, which with my theme works pretty well.
I think you have to be very careful with what features you offer on mobile, the bbPress forums for example don’t work that well, you can get the basic members pages to work, have chat, basic groups with activity feeds but trying to do much else gets very difficult with mobile.
March 29, 2018 at 3:31 pm #271636In reply to: Using header cover
Venutius
ModeratorIf you want to get to know the structure of the BP overload files, could I suggest you try installing https://wordpress.org/plugins/bp-template-overloader/ this maps out all of the overload files, it’s pretty daunting the sheer number of files you can modify, but if you look for that one file you can view it’s contents.
Also the link I mentioned but forgot to include about overloading BP is here. https://codex.buddypress.org/themes/theme-compatibility-1-7/a-quick-look-at-1-7-theme-compatibility/
March 27, 2018 at 9:39 am #271596In reply to: version 2.9.5 for bug fixes!?
HDcms
ParticipantHello @dcavins
After several tests, the author of the theme recognizes that this comes from his code.
I do not understand the choices for updating buddypress.
It’s been several weeks since a bug was identified on the list of members of a group.
I understand that it is not a security breach but it poses a problem of navigation!Regards
March 26, 2018 at 7:37 am #271575In reply to: Group Members Pagination – All site members
Graham
ParticipantI deactivated all plugins and switched to a stock theme.
The problem remained.
March 22, 2018 at 11:07 am #271525Topic: Home page redirect for logged member
in forum How-to & Troubleshootingmfkweb
ParticipantHi
Im using KLEO child theme with buddypress.
After logged in when member clicks on logo of my website, it directs them to the members page like ‘www.mywebsite/member’
I want to change it to ‘mywebsite/home’
Many thanks for your help.March 17, 2018 at 11:34 pm #271444In reply to: How Activty Listing special ?
Venutius
ModeratorI can’t work out exactly what you are asking, but maybe you should take a look at this:
March 17, 2018 at 8:03 pm #271441In reply to: Creating Tutor website
owen2
ParticipantA good example of a WordPress based “Tutor website” is the mgrmusic.com Music Teacher Database.
Using the Geo My WordPress plugin users can search the database for music teachers local to them. The can also filter the teachers dependant on instrument or level, so this achieves two of the aims you mentioned in terms of the “search page”.
As for sign-ups; tutors submit information via a Contact Form 7 plugin form on a Sign-Up page and receive enquiries in a “Community” area of the website where enquiries are send to teachers, enabling them to respond to the students. I am not sure about how this website facilitates payment from either the teachers or students, however, I am sure you could add some type of Paypal payment facilitation that creates the release of a download file upon payment, in the file a student could find a teacher’s contact details. The whole website is ran on WordPress so it is certainly achievable to create a tutor website based only on WordPress achieving the aims that you set up above.
Hope this helps, I would research the plugins and theme options out there.
March 16, 2018 at 3:00 pm #271420In reply to: A custom feature I wish I found how to do
Venutius
ModeratorRegarding point 3, I have discovered one way to do this.
You would need to overload the
members-header.php(if not using cover images) orcover-image-header.phpfile, located inplugins/buddypress/bp-templates/bp-legacy/buddypress/members/singleCopy this file to
themes/YOURTHEME/buddypress/members/singleThen after line 36 insert the following:
<div id="online"> <?php global $bp; function check_is_user_online($user_id){ if ( bp_has_members( 'type=online&include='.$user_id) ) return true; else return false; } $this_id = bp_displayed_user_id(); $is_online = check_is_user_online($this_id); if ($is_online) echo "<label><img src='http://yourserver.com/wp-content/uploads/online.png' /> Online</Label>"; else{ echo "<label><img src='http://http:yourserver.com/wp-content/uploads//offline.jpg' /> Offline</label>";} ?> </div>Replace the URL’s for the images to your own links and that should work, you can style it using the id #online
March 16, 2018 at 1:24 pm #271417In reply to: CSS file changes not displayed
Carsten Lund
ParticipantHi Henry, thanks for answering, I have added a child theme with a style.css document. But even changes to the original code, just for testing, no changes are taken place.
-
AuthorSearch Results