Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 7 replies - 26 through 32 (of 32 total)
  • In reply to: [Resolved] Error 404

    @shivam-kumar

    Participant

    Hi @krglok the issue seems to be with your permalink structure you have to goto your wordpress dashboard>>settings>>permalinks and select the structure something like this yoursitename.com/sample-post-name now save the settings and try vising your buddypress pages the problem should be resolved,if not make sure you have set the pages for respective components in buddypress settings for this goto dashboard>>settings>>buddypress>>pages tab and set and save the respective pages as explaned in the link provided by @danbp above.
    Note:You may have to create the pages if they are not already there thanks

    @shivam-kumar

    Participant

    i am glad i was able to help thanks 🙂

    @shivam-kumar

    Participant

    Hi @scrubtek i think there is a plugin to achieve this functionality
    https://wordpress.org/plugins/bbpress-enable-tinymce-visual-tab/screenshots/

    @shivam-kumar

    Participant

    plus if the change in the code is not working make sure your theme is having templates for read and unread as well in places which are being called in notifications.php as seen in these lines
    bp_get_template_part( 'members/single/notifications/unread' );
    bp_get_template_part( 'members/single/notifications/read' );
    Note:As you are using the cache plugin you also need to clear the cache both from your site dashboard as well as from your browser to see the changes you are making try opening an incognito window in your browser and visit your site from there and see if the code you are adding changes anything
    Thanks

    @shivam-kumar

    Participant

    Ok a little explanation just for clearing the confusions regarding code snippets i provided above,on digging into the theme i found that the home.php was missing the call to notifications.php template in the status theme so i added the code given in 1st code snippet i provided above to fill that gap then i came to know that there is no notifications.php file present in my wp-content>>themes>>yourthemename>>members folder>>single folder so i created one that’s what my second code snippet is doing and that resolved my issue of bar appearing two times all the best

    @shivam-kumar

    Participant

    Hi i think i know whats happening here i was working on status theme to make it work with the latest versions of both buddypress and wordpress and i faced the similar issue so this is what i did to resolve it goto wp-content>>themes>>yourthemename>>members folder>>single>>home.php and add these lines of code there

    elseif ( bp_is_user_notifications() ) :
    					locate_template( array( 'members/single/notifications.php' ), true );	
    

    just before this kinda statement // If nothing sticks, load a generic template
    next create a file named notifications.php in wp-content>>themes>>yourthemename>>members folder>>single folder and add these lines to it

    <?php
    
    /**
     * BuddyPress - Users Notifications
     *
     * @package BuddyPress
     * @subpackage bp-legacy
     */
    
    ?>
    
    <div class="item-list-tabs no-ajax" id="subnav" role="navigation">
    	<ul>
    		<?php bp_get_options_nav(); ?>
    
    		<li id="forums-order-select" class="last filter">
    			<?php bp_notifications_sort_order_form(); ?>
    		</li>
    	</ul>
    </div>
    
    <?php
    switch ( bp_current_action() ) :
    
    	// Unread
    	case 'unread' :
    		bp_get_template_part( 'members/single/notifications/unread' );
    		break;
    
    	// Read
    	case 'read' :
    		bp_get_template_part( 'members/single/notifications/read' );
    		break;
    
    	// Any other
    	default :
    		bp_get_template_part( 'members/single/plugins' );
    		break;
    endswitch;

    and try to reload your site now your problem should be solved.
    Note: only create notifications.php if its not already there and please backup your site before making these changes

    @shivam-kumar

    Participant

    Hi @icaroferreira try theme my login plugin to bring the login process to front end then use custom admin bar plugin to remoove or add links on your admin bar https://wordpress.org/plugins/custom-admin-bar/screenshots/

Viewing 7 replies - 26 through 32 (of 32 total)
Skip to toolbar