Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'theme'

Viewing 25 results - 2,976 through 3,000 (of 31,071 total)
  • Author
    Search Results
  • Brendan
    Participant

    Thank 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 ?

    #271817
    Venutius
    Moderator

    Standard 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.

    #271797
    Venutius
    Moderator

    Most 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.

    Venutius
    Moderator

    You 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.

    Brendan
    Participant

    At 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?

    Brendan
    Participant

    That 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.

    #271788
    djhorne
    Participant

    I 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-downgrade

    When 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-downgrade

    When I use http://www.getswing.co.uk/wp-admin/

    It works on mobile

    #271787
    Venutius
    Moderator

    Have you tried the opposite – switching to a default theme and deactivating all other plugins? Does login work then?

    #271757
    Venutius
    Moderator

    It 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?

    #271727
    Venutius
    Moderator

    I’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.

    #271706
    Harsh
    Participant

    I am using Boss theme. I think its a BuddyPress option, you can see this link

    #271705
    Venutius
    Moderator

    Hi 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?

    #271701
    David Cavins
    Keymaster

    Since 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!

    Venutius
    Moderator

    The 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.

    #271667
    Venutius
    Moderator

    I 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

    Venutius
    Moderator

    Have 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.php

    If you copy this file to themes/your-child-theme/buddypress/activity/posts-loop.php you 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/

    #271640
    Venutius
    Moderator

    What 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.

    #271636

    In reply to: Using header cover

    Venutius
    Moderator

    If 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/

    #271596
    HDcms
    Participant

    Hello @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

    #271575
    Graham
    Participant

    I deactivated all plugins and switched to a stock theme.

    The problem remained.

    #271525
    mfkweb
    Participant

    Hi
    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.

    #271444
    Venutius
    Moderator

    I can’t work out exactly what you are asking, but maybe you should take a look at this:

    Activity dropdown filters in templates

    #271441

    In reply to: Creating Tutor website

    owen2
    Participant

    A 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.

    #271420
    Venutius
    Moderator

    Regarding point 3, I have discovered one way to do this.

    You would need to overload the members-header.php (if not using cover images) or cover-image-header.php file, located in plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single

    Copy this file to themes/YOURTHEME/buddypress/members/single

    Then 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

    #271417
    Carsten Lund
    Participant

    Hi 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.

Viewing 25 results - 2,976 through 3,000 (of 31,071 total)
Skip to toolbar