Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'theme'

Viewing 25 results - 5,601 through 5,625 (of 31,072 total)
  • Author
    Search Results
  • #242867
    djsteveb
    Participant

    @lcarolinarb – what theme are you using?

    djsteveb
    Participant

    @jrunfitpro – one more question for ya – in your original post are you saying that you have like “static wordpress “pages”” – and when people leave a comment on one of your pages that the info does not get pulled into your activity stream?

    I think I have a similar thing going on with one of my wpmu err.. wordpress multi-site setups – and not sure that the main site’s “page” comments are pulled into the main activity stream either – I have a widget that displays the recent comments on the side, not sure if there is a way to pull newer comments on a page published two years ago into the current / top of the activity stream.

    This may be an issue that is not just a theme thing but other setting somewhere.

    #242864
    djsteveb
    Participant

    @passini – have you tried it using a “default theme” like 2014?

    If so and the problems persists, I would try deactivating all other plugins, and try with your setup running only with buddypress activated and a default theme.

    If making those changes fixes your issue, then you would know that it’s possibly your theme or one of the other plugins causing a conflict.

    #242855
    shanebp
    Moderator

    The recommended method is to turn off other plugins and / or switch to a standard theme like WP 2015.
    Due to permalinks aspect, I suspect another plugin.

    If that doesn’t narrow it down, you can submit a bug ticket here.
    But you should provide better instructions on how to duplicate the issue.
    This is unclear: “To break the site navigate to the profile and page to another page/set of users and the page does an ajax call to load the view”

    jrunfitpro
    Participant

    Here’s what they said,”The reason is because OP uses custom post type for live editor pages, and is handled a bit differently than normal and the data goes into a different database table, but the underlying issue is that some plugins just don’t look for this type of data so that is why they don’t do anything with it. Kind of a double edge sword here honestly. There are many other plugins that have similar issues where either their styles don’t work on live editor pages, or shortcodes won’t render – among other things, but it is due to how that plugin is designed as the developer didn’t take into account all the possible ways it should look for data.”

    Buddpress is cool, but it’s not worth me having to rework a whole theme for.

    #242836
    djsteveb
    Participant

    @nasongo – so you just upload it – then go to your dashboard and it’s blank?
    Are you saying that you did not even get to the dashboard and activate / enable buddypress?
    OR do you mean you uploaded it, then went into the dashboard -> plugins and clicked activate (buddypress)?

    If you just upload BP and your dashboard is broken – something REALLY strange is going on..
    If you mean that you activate it and it goes blank – then I would suggest deactivating your other plugins first – and switch to default 2014 theme (or similar) – THEN activate BP.. run through it’s initial setup stuff – THEN look into which other plugins / themes you want to try..

    #242829
    Nomi
    Participant

    Thanks for reply. I am trying to make my theme buddy press compatible. I am adding only one file which is buddypress/buddypress.php.
    I have checked css buttons are not hidden. If I remove buddypress.php from my theme it displays buttons.

    I am using simple loop in buddypress.php is that ok?

    	<?php while ( have_posts() ) : the_post(); ?>
            <?php the_content(); ?>
           <?php endwhile; // end of the loop. ?>
    #242827
    @mercime
    Participant

    @naumanahmed19 Do provide us with more information so we can help you troubleshoot. What theme are you using? Have you checked if it is just a styling issue? What plugins are activated in your site? Have you checked whether deactivating plugins except BuddyPress resolves the issue?

    #242826
    djsteveb
    Participant

    I am a total noob with this stuff – a quick look with my limited tools and understanding of all things that make this stuff work…

    I THINK your rule here:

    .buddypress ul li {
        background: transparent none repeat scroll 0% 0%;
        padding: 0px;
    }

    Is over-writing the rule here:

    .main-nav li {
        white-space: nowrap;
        float: left;
        font: 12px "OpenSansBold";
        text-transform: uppercase;
        padding: 7px 20px 11px 0px;
        letter-spacing: -1px;
        text-shadow: 0px 0px 1px rgba(0, 0, 0, 0.3);
    }

    Which is what is being used on your home page.

    I think if you find the padding 0px on the .buddypress ul li line and change it to padding: 7px 20px 11px 0px; — that will fix your top nav current issue – now will that adversely affect some other ul li / menu or list somewhere (like a widget or something) – I don’t know.

    I am guessing that someone smarter then me can craft a rule that would work better and more specific.. something like
    .buddypress main-nav ul li

    padding: 7px 20px 11px 0px;
    }

    I have no idea if that would work – my understanding of css is like level 1 and bp is like level 1/2 – lol

    I also THINK that you have a weird triple css / child theme thing going on – again I don’t know, but looking at your css code rules in the firefox inspector, it looks like your pages are loading the exact same css file three times?

    I made a similar mistake with my first child theme – copying the whole shebang into a new child theme folder.. actually what you want is a relatively blank new folder and a relatively blank style.css that only includes rules you are going to overwrite / change from the parent theme.

    I don’t have access to your files or know the exact setup and may even be wrong in my understanding of what the firefox property inspector is showing – but you may want to look into why every rule appears to load the exact same three times and overwrites itself twice..

    hope this helps – not sure any of this is right..

    djsteveb
    Participant

    “They say it’s a BP issue” – Did they specify exactly what this issue is?

    If they could point to a specific bug we could check if it’s been listed in the trac or something..

    If they have no specifics – then it sounds like they simply have no desire to make their theme work well with BP – and I would consider other options. For the prices I saw on their site – I would expect a lot – I think you get the same functions elsewhere for free, and similar options with premium support elsewhere for about $19 –

    if it’s “becoming a popular theme” – I think that’s great, there are a lot of theme’s becoming popular and I hope more and more of them will include extra things for styling BP specific features – even basic themes can at least work with BP just fine – if there is something theme specific that breaks BP stuff then have to ask specifically why.

    jrunfitpro
    Participant

    Already checked with them. They say it’s a BP issue. It’s becoming a popular theme. Not sure why it works on their non-live editor pages.

    @mercime
    Participant

    @jrunfitpro What djsteveb said. Best place to ask is at the theme author’s forums. Saw their page with list of incompatible themes and plugins. BuddyPress has not been included in that list though no one has answered the question of one who asked if anyone has made it work with BP.

    #242819
    djsteveb
    Participant

    there are several wp plugins that can redirect a user upon login to specific pages.
    I can’t put more than two links in a reply without getting moderation held / akistmet spammed.

    not sure if / how this works – seen it – never played with it:
    https://wordpress.org/plugins/bp-my-home/

    might also take a peek if these can updated / adapted..
    https://wordpress.org/plugins/bp-profile-widgets/

    BuddyPress Cover
    Content Aware Sidebars

    several others – now do any of these work with the current version of wp / bp ? I don’t know.
    Do they work with the default theme and then cause issues if a different theme was used? don’t know.

    Do they cause conflicts with other plugins? have not tested.

    #242814
    jrunfitpro
    Participant

    Okay, so after some more testing, I’ve realized that Disqus does not work here (although it overwrites WP comments when on) and my theme is Optimize Press. Traditional blog posts and pages show in the activity stream when WP comments are used. However, for the better looking page templates, the comments do not show (these are built with their live editor).

    Any thoughts on how to make this type of page work with BuddyPress and the Activity Stream?

    #242807
    messina82
    Participant

    Thank you very much all. I’ve been able to add the profile image to users logged in but for some reason it strips all the code around it. The avatar as well as the other links are part of a unordered list. This is the code i’m working with:

    // Filter wp_nav_menu() to add profile link in a specific custom menu
    function member_links($menu, $args) {
        if( is_user_logged_in() && $args->theme_location == 'membermenu' ){
        	$profilelink = '<li class="bp-menu bp-activity-nav menu-item menu-item-type-custom menu-item-object-custom"><a href="' . bp_loggedin_user_domain( '/' ) . '">' . __('My Profile') . '</a></li>';
            $profileimage = '<li class="bp-menu bp-activity-nav menu-item menu-item-type-custom menu-item-object-custom"><a href="' . bp_loggedin_user_domain( '/' ) . '">' . bp_loggedin_user_avatar() . '</a></li>';
            $menu = $profilelink . $profileimage . $menu;
        }
        else {
    
         if( !is_user_logged_in() && $args->theme_location == 'membermenu' ){
            $profilelink = '<li class="bp-menu bp-activity-nav menu-item menu-item-type-custom menu-item-object-custom"><a href="' . bp_loggedin_user_domain( '/' ) . '">' . __('Test') . '</a></li>';
            $menu = $profilelink . $menu;
        }
    }
        return $menu;
    }
    add_filter( 'wp_nav_menu_items', 'member_links', 10, 2 );
    
    //Member Menu
    function buddy_navigation () {
      echo '<div class="member-menu-container">';
    	$args = array(
    			'theme_location'  => 'membermenu',
    			'container'       => 'nav',
    			'container_class' => 'wrap',
    			'menu_class'      => 'menu genesis-nav-menu member-menu',
    			'depth'           => 1,
    		);
    	wp_nav_menu( $args );
      echo '</div>';
    }
    
    add_theme_support ( 'genesis-menus' , array ( 'primary' => 'Primary Navigation Menu' , 'secondary' => 'Secondary Navigation Menu' ,'membermenu' => 'Member Menu' ) );
    
    add_shortcode('buddynav', 'buddy_navigation');
    

    Essentially i’m creating the buddy navigation, outputting it as a shortcode and throwing it in a widget followed by appending the additional links above.

    Any idea what’s going on here? Also if i were to integrate specific admin links, would I add another else / if statement targeted to is_admin?

    Thanks for the help!

    #242804
    Henry Wright
    Moderator

    You can put all of your custom BP snippets in your theme’s functions.php. Alternatively, if you plan to swap themes regularly, they can go into your bp-custom.php file (if you don’t have one of these already, you can create one).

    #242772
    Henry Wright
    Moderator

    It’s unusual that BuddyPress isn’t working with a theme due to the Theme Compatibility that was introduced in 1.7. I suggest you open a support request with the theme author asking them to investigate why the theme isn’t working properly with BP. Most theme authors are happy to make their themes BP-compatible so hopefully you’ll get a response.

    #242753

    May have to check w3c, code academy, and maybe even the theme’s support website as I don’t see any percentage when I enter #444 or whatever. What did popup though was:

    #content .entry-content h1 { font-size: 32px; }
    #content .entry-content h2 { font-size: 28px; }
    #content .entry-content h3 { font-size: 24px; }
    #content .entry-content h4 { font-size: 20px; }
    #content .entry-content h5 { font-size: 16px; }
    #content .entry-content h6 { font-size: 12px; }

    .entry-content blockquote {
    display: table;
    padding: 20px;
    margin: 0 auto;
    width: auto;
    font-style: italic;
    clear: both;
    float: none;
    position: relative;
    font-weight: bold;
    }

    .entry-content blockquote:before {
    position: absolute;
    left: 0;
    top: 0;
    content: ‘\e80f’;
    font-family: ‘elusive’;
    font-size: 1em;
    color: rgba(0,0,0,.05);
    z-index: 0;
    }

    .entry-content blockquote:after {
    position: absolute;
    right: 0;
    bottom: 0;
    content: ‘\e80f’;

    Does quote box count as the description? If so I should be able to just change the digits to all 0’s (just assuming). The only other time that .entry-content h shows up is when it identifies about tables and there is no color options.

    #242748
    shanebp
    Moderator

    a little incontinence

    It might be a little inconvenient, but nothing that will require a diaper.

    It’s easy to add modified versions of these 2 files to a buddypress folder in your theme – then change or add a css class to the description.
    bp-templates\bp-legacy\buddypress\groups\groups-loop.php
    bp-templates\bp-legacy\buddypress\groups\single\group-header.php

    Info re template overloading:

    Theme Compatibility & Template Files

    djsteveb
    Participant

    @kawaiikawaii – you did not mention if you tried this with ALL the other plugins disabled, and if you tried to get same results with default 2014 theme.

    #242746
    djsteveb
    Participant

    @swansonchristopherm – with firefox, and I think it’s similar with chrome and others.. when you right click on your group description then click “inspect element” or something like that, it should bring up a list of rules that are affecting the color, font, etc for group description.

    find that (most likely) in your style.css under appearance (themes), edit.

    there are some easy to use wordpress plugins that will create a child theme for you with a click.. but it’s not 100% for such a small change – easy to get back in and change it back when cryout pushes an update.

    djsteveb
    Participant

    @kawaiikawaii – does it work if you disable
    buddypress-social-icons
    mycred

    and any other plugins, along with switching to 2014 theme?

    Is this happening when using a desktop computer or a mobile device?

    My users have been telling me that rtmedia image uploads no longer make it to the activity stream or profiles when they try using an android device (tablet or cell) – this has been reported my several others at the rtcamp’s no-support-community-forums ( http://community.rtcamp.com/t/cant-upload-photos-using-android-devices/4892/8 )

    At this point I don’t know what the problem is – is it wp’s new security update thing that broke a lot of things?

    I’m still searching for answers – but this is a major problem and a reason I have been suggesting for years that BP has media uploads as part of core (most recently here – https://buddypress.org/support/topic/rtmedia-export-script-attachments-api/ )- and hopefully hooks into the new bp-attachments thing.

    Now if someone can code an export / import conversion to pull all the info from rtmedia into basic structured info that any theme or other plugin can call / style, etc – I’d love to axe the ridiculously bloated rtmedia BS.

    #242737
    Henry Wright
    Moderator

    Are you using any plugins? Also, which theme are you using?

    #242729
    Jld142
    Participant

    This is my current code:

    <?php
    
    /* Link parent CSS file */
    add_action( 'wp_enqueue_scripts', 'enqueue_parent_styles' );
    function enqueue_parent_styles() {
        wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' );
    }
    
    /* Count number of user notifications */
    function cg_current_user_notification_count() {
        $notifications = bp_core_get_notifications_for_user(bp_loggedin_user_id(), 'object');
        $count = !empty($notifications) ? count($notifications) : 0;
     
        echo $count;
    }
    
    /* Remove register BuddyPress Widget creator */
    function remove_bp_core_register_widgets() {
        remove_action(bp_core_register_widgets());
    }
    add_action('init','remove_bp_core_register_widgets()');
    
    function new_bp_core_register_widgets() {
    	add_action('widgets_init', create_function('', 'return register_widget("new_BP_Core_Login_Widget");') );
    }
    add_action( 'bp_register_widgets', 'bp_core_register_widgets' );
    
    /* New BuddyPress Login Widget */
    class new_BP_Core_Login_Widget extends WP_Widget {
    
    	/**
    	 * Constructor method.
    	 */
    	public function __construct() {
    		parent::__construct(
    			false,
    			_x( '(BuddyPress) Log In', 'Title of the login widget', 'buddypress' ),
    			array(
    				'description' => __( 'Show a Log In form to logged-out visitors, and a Log Out link to those who are logged in.', 'buddypress' ),
    				'classname' => 'widget_bp_core_login_widget buddypress widget',
    			)
    		);
    	}
    
    	/**
    	 * Display the login widget.
    	 *
    	 * @see WP_Widget::widget() for description of parameters.
    	 *
    	 * @param array $args Widget arguments.
    	 * @param array $instance Widget settings, as saved by the user.
    	 */
    	public function widget( $args, $instance ) {
    		$title = isset( $instance['title'] ) ? $instance['title'] : '';
    
    		/**
    		 * Filters the title of the Login widget.
    		 *
    		 * @since BuddyPress (1.9.0)
    		 * @since BuddyPress (2.3.0) Added 'instance' and 'id_base' to arguments passed to filter.
    		 *
    		 * @param string $title    The widget title.
    		 * @param array  $instance The settings for the particular instance of the widget.
    		 * @param string $id_base  Root ID for all widgets of this type.
    		 */
    		$title = apply_filters( 'widget_title', $title, $instance, $this->id_base );
    
    		echo $args['before_widget'];
    
    		echo $args['before_title'] . esc_html( $title ) . $args['after_title']; ?>
    
    		<?php if ( is_user_logged_in() ) : ?>
    
    			<?php
    
     		 	/**
    		 	 * Fires before the display of widget content if logged in.
    		 	 *
    		 	 * @since BuddyPress (1.9.0)
    		 	 */
    			do_action( 'bp_before_login_widget_loggedin' ); ?>
    
    			<div class="bp-login-widget-user-avatar">
    				<a href="<?php echo bp_loggedin_user_domain(); ?>">
    					<?php bp_loggedin_user_avatar( 'type=thumb&width=50&height=50' ); ?>
    				</a>
    			</div>
    
    			<div class="bp-login-widget-user-links">
    				<div class="bp-login-widget-user-link"><?php echo bp_core_get_userlink( bp_loggedin_user_id() ); ?></div>
    				<p>TEST</p>
    				<div class="bp-login-widget-user-logout"><a class="logout" href="<?php echo wp_logout_url( bp_get_requested_url() ); ?>"><?php _e( 'Log Out', 'buddypress' ); ?></a></div>
    			</div>
    
    			<?php
    
    			/**
    		 	 * Fires after the display of widget content if logged in.
    		 	 *
    		 	 * @since BuddyPress (1.9.0)
    		 	 */
    			do_action( 'bp_after_login_widget_loggedin' ); ?>
    
    		<?php else : ?>
    
    			<?php
    
    			/**
    		 	 * Fires before the display of widget content if logged out.
    		 	 *
    		 	 * @since BuddyPress (1.9.0)
    		 	 */
    			do_action( 'bp_before_login_widget_loggedout' ); ?>
    
    			<form name="bp-login-form" id="bp-login-widget-form" class="standard-form" action="<?php echo esc_url( site_url( 'wp-login.php', 'login_post' ) ); ?>" method="post">
    				<label for="bp-login-widget-user-login"><?php _e( 'Username', 'buddypress' ); ?></label>
    				<input type="text" name="log" id="bp-login-widget-user-login" class="input" value="" />
    
    				<label for="bp-login-widget-user-pass"><?php _e( 'Password', 'buddypress' ); ?></label>
    				<input type="password" name="pwd" id="bp-login-widget-user-pass" class="input" value="" <?php bp_form_field_attributes( 'password' ) ?> />
    
    				<div class="forgetmenot"><label><input name="rememberme" type="checkbox" id="bp-login-widget-rememberme" value="forever" /> <?php _e( 'Remember Me', 'buddypress' ); ?></label></div>
    
    				<input type="submit" name="wp-submit" id="bp-login-widget-submit" value="<?php esc_attr_e( 'Log In', 'buddypress' ); ?>" />
    
    				<?php if ( bp_get_signup_allowed() ) : ?>
    
    					<span class="bp-login-widget-register-link"><?php printf( __( '<a href="%s" title="Register for a new account">Register</a>', 'buddypress' ), bp_get_signup_page() ); ?></span>
    
    				<?php endif; ?>
    
    			</form>
    
    			<?php
    
    			/**
    		 	 * Fires after the display of widget content if logged out.
    		 	 *
    		 	 * @since BuddyPress (1.9.0)
    		 	 */
    			do_action( 'bp_after_login_widget_loggedout' ); ?>
    
    		<?php endif;
    
    		echo $args['after_widget'];
    	}
    
    	/**
    	 * Update the login widget options.
    	 *
    	 * @param array $new_instance The new instance options.
    	 * @param array $old_instance The old instance options.
    	 * @return array $instance The parsed options to be saved.
    	 */
    	public function update( $new_instance, $old_instance ) {
    		$instance             = $old_instance;
    		$instance['title']    = isset( $new_instance['title'] ) ? strip_tags( $new_instance['title'] ) : '';
    
    		return $instance;
    	}
    
    	/**
    	 * Output the login widget options form.
    	 *
    	 * @param $instance Settings for this widget.
    	 */
    	public function form( $instance = array() ) {
    
    		$settings = wp_parse_args( $instance, array(
    			'title' => '',
    		) ); ?>
    
    		<p>
    			<label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e( 'Title:', 'buddypress' ); ?>
    			<input class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" type="text" value="<?php echo esc_attr( $settings['title'] ); ?>" /></label>
    		</p>
    
    		<?php
    	}
    }
    
    ?>

    I was trying to following the below guide to remove the function that initializes the login widget and then redirect it to my own new one:

    http://venutip.com/content/right-way-override-theme-functions

    Obviously hasn’t worked. Any ideas ?

    #242722
    danbp
    Participant

    have you found this post ?

    How To Run A Contest On WordPress


    Several plugins are mentionned; also note that myCred is awesome with BP.

Viewing 25 results - 5,601 through 5,625 (of 31,072 total)
Skip to toolbar