Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'theme'

Viewing 25 results - 6,851 through 6,875 (of 32,561 total)
  • Author
    Search Results
  • #244648
    doubleF
    Participant

    Hi,

    Well the main idea is to find out that ID, because I don’t know this ID for the guys using my theme šŸ™‚ In my case yes, but I’m looking to get it from PHP.

    Thanks šŸ™‚

    2F

    #244623
    Henry Wright
    Moderator

    Are you checking the size of the image when it’s displayed in your theme or are you checking the raw image size? I ask because CSS can resize the image.

    #244621

    In reply to: menu logged out list

    danbp
    Participant
    #244614
    MvdO79
    Participant

    Hi, I have the same issues:

    – the buddypress register page is not creating users, after submit it shows the register page again and the passwords are gone.

    – there are no users displayed in the backend

    – there are no pending users

    i have followed all directions found online and on this forum, fresh install of wp with fresh install of bp, no other plugins active etc…

    Should I use an older version of bp? Do I have to create manual pages as the default bp theme is not active anymore?

    #244579
    Henry Wright
    Moderator

    Considering this is a fresh install, the problem is likely coming from a) the theme you’re using or b) a rogue plugin you have installed.

    #244546
    danbp
    Participant

    @djsteveb

    i wrote: To make it work with BP, you add a copy of the original page.php of 2014 and rename it buddypress.php. And you add the condition into that copy.

    I’m not a 2014 specialist and never liked that theme with BuddyPress. The’re so many other out to discover, easy to use and configure, that i wouldn’t loose my (at least) time with it.
    2015 is already avaible and 2016 too, though 2014 is a dynosaur now. Beat’em ! šŸ˜‰

    #244543
    djsteveb
    Participant

    you could (although this theme is quite tricky with the various sizing things, and I am NOT an expert with this theme or css – so make backups, use child themes – all that jazz)

    you could try changing (or overwriting with child theme / enque an overlap style sheet)

    @media screen and (min-width: 1218px) {
    .site-content, .site-main .widecolumn {
        margin-left: 222px;
    }
    }

    to:

    @media screen and (min-width: 1218px) {
    .site-content, .site-main .widecolumn {
        margin-left: 90px;
    }
    }

    and..

    .buddypress .site-content article .entry-content, .buddypress .site-content article .entry-header {
        max-width: 100%;
        padding: 0px 10% 5%;
    }
    

    change to

    .buddypress .site-content article .entry-content, .buddypress .site-content article .entry-header {
        padding: 0px 1% 5%;
    }
    

    – now of course how these settings affect the groups page is one thing this could cause ill effects on other pages – (ones with double sidebars) – and at different screen sizes.. this 2014 thing gets pretty picky..

    especially with 2014 doing one thing, and the bp-addon style thing doing some other things.. one percentage change here looks good – but a different page at a difference screen size – grrr.. you have to test a lot with this mix (come to find out the hard way here the past couple weeks!)

    This will add a lot more space, which is what I guess you are going for in general – but not remove all sidebars..
    and
    That does not get rid of the left sidebar, which is I guess what you were meaning to ask in the first place with this thread (and I think everyone else was assuming you wanted to get rid of the right sidebar, as our understanding of the term “full width page” – err template in my mind is just that.. looks like you really want a “no sidebars at all page template” for groups page?

    #244538
    djsteveb
    Participant

    @danbp

    am I to understand – that you would make a buddypress.php and have just like:

    <?php
    if( !bp_is_groups_component() ) { 
       get_sidebar( 'content' );
    }
    ?>

    or maybe copy the page.php code and put it all into a new file buddypress.php – and add the code

    if( !bp_is_groups_component() ) { 
       get_sidebar( 'content' );
    }

    to buddypress.php maybe in the head of it?

    BP’s content comes full-width on 2014

    Actually with my 2014 themed bp site I get a left and right sidebar on large monitor, it does not get into bp stuff taking full side space width until the screen shrinks to.. I dunno 1008 pix or so (one of those media queries)

    So I think this code you are suggesting would indeed be useful with 2014 as well.

    I have been looking a couple of plugins like ‘dynamic sidebars’ (maybe it was dynamic widgets) – and ‘content aware sidebars’ – one of these I saw recently says is plays well with BP – and I was thinking one of these may be able to solve some common problems that bp peeps run into in regards to wanting to change content on the various psueodo pages.. however I am not sure that any of those plugins would remove all widgets from the sidebar on some pages, and if they DID.. would that make theme X go full width for that area anyhow? not likely, but it’s a nice dream.

    Anyhow thanks for the info I might test this out a bit not that I am digging deeper into 2014 and bp..

    #244537
    danbp
    Participant

    A child theme contain usually
    style.css
    functions.php

    To make it work with BP, you add a copy of the original page.php of 2014 and rename it buddypress.php

    2014 comes also with a full-width template which is in page-templates folder.
    If you compare both files, you will see that the only difference is at line 40 of page.php
    get_sidebar( 'content' );

    To get what you want, you simply add a conditionnal to this part.

    if( !bp_is_groups_component() ) { 
       get_sidebar( 'content' );
    }

    That said, i think it’s not necessary, as with or without this hack, BP’s content comes full-width on 2014. At least and by default, in the whole white zone, right of the left black sidebar. Also remind that 2014 is a left aligned theme, which can let think that you have a lot of space on the right, specially on a large desktop screen.

    With 2012, it’s a bit different, as this theme use a class called full-width, directly in the html. To use the same technique, we have to echo the div to get the condition to work properly.
    And 2013 doesn’t use a full-width template.

    <?php if( !bp_is_groups_component() ) { 
           echo '<div id="content" role="main">';
     } else { 
    echo '<div id="content" class="full-width" role="main">';
     } ?>
    #244532
    shayeryan
    Participant

    This is a fresh install of BuddyPress, first time user. I set my registration page below but when I try to click on any of the fields it will not allow me to place the cursor. I can tab to the field and fill it out and the registration works fine but this is obviously not an acceptable workflow. Any help would be appreciated!

    http://elegantmosaics.com/registration/

    WP Version: 4.3.1
    Theme: the7.2

    #244530
    djsteveb
    Participant

    @venutius – yeah wordpress is weird in that it uses a “theme” to handle how the backend admin dashboard does things, and I have no idea where those things are decided in the backend – but indeed it’s kind of weird how that is basically hidden from the backend – no notice of “your current theme is enhancing how the admin dashboard looks / behaves”

    danbp
    Participant

    @froster2,

    add a conditionnal to existing on template for that element.
    $user_id != bp_loggedin_user_id()

    In /child-theme/buddypress/members/single/activity.php
    Replace line 48 or so with this:

    if ( is_user_logged_in() && bp_is_my_profile() && ( $user_id != bp_loggedin_user_id() ) && ( !bp_current_action() || bp_is_current_action( 'just-me' ) ) )

    danbp
    Participant

    WordPress is the software behind buddyPress.
    If you need custom roles&capabilities on your site, you can add roles programatically as explained on your mentionned tutorial. If it works, site admin can attribute one of the additionnal role to members, within admin.

    BuddyPress, at this time, handles only member types. A member type is not a role or a capability Ć  la WordPress, but only a way to sort better your members. In other words, a kind of a member category.

    To handle such behave from front-end while registering, you can associate a xprofile field value with an existing WP role. See here for a solution (untested) provided a few month ago.
    https://buddypress.org/support/topic/how-to-assign-a-wp-user-role-based-on-a-registration/#post-232887

    Add snippet to your child theme functions.php or into bp-custom.php and give it a try.

    #244506
    Venutius
    Moderator

    Yep this looks like it could be the theme, I’ve installed a test site with just bp and the theme and get the same issue. Have raised a support thread on the theme pages.

    #244494
    djsteveb
    Participant

    @deklein – it certainly would not hurt, and would be pretty fast and easy to make a backup of your entire wordpress install (all files on server, maybe a zipped folder) – then delete your buddypress plugin and all your default themes.. reinstall a fresh 2014 theme and buddypress – activate and test. Very strange that those do not show up with all other plugins disabled while switched to 2014 theme – and you even checked screen options..

    I would say before trying that I would try to mess with that menu using a different browser.. sometimes things work in firefox that do not work in chrome.. sometimes a browser plugin blocks something from loading somewhere that you may not find is an issue when using Internet Explorer..

    #244490
    deklein
    Participant

    Tried both changing the theme and disabling all plugins but buddy-press. To no avail. I didnt think it was another plugin interfering with buddypress’ ability to manifest the buttons. It has to be something else, maybe my buddypress is corrupt?

    #244486
    djsteveb
    Participant

    Sounds like this is a theme issue and likely not an issue in regards to the 2014 / 2015 themes.. so you are probably going to have to contact your theme author about this.

    You also did not provide any info about your setup – ( https://buddypress.org/support/topic/when-asking-for-support-2/ ) so there is no way anyone could guess about this.. have things changed with bp? quite a bit with some updates, and not so much with others –

    you should disable all plugins aside from bp and see if the issue continues first imho.

    if so – your theme author will likely have to dig into the issue.

    #244485
    djsteveb
    Participant

    @rocketslime – not sure if “The 7.2” theme is a premium theme you paid for or a free theme from somewhere?

    From what I have seen in the bp forums, if it’s a premium theme – chances of you getting support here is less than 1%.. if it’s a free theme and it’s in the wp-repo – there is a slightly higher chance.. but most bp support is limited to the default 2014 / 2105 themes.

    You should check this with your theme author to see if they can fix the problem.

    #244473
    JECPFG
    Participant

    You are correct on all three of your questions.

    I tried switching themes and am still seeing the same issue.

    I’m actually using BuddyPress in conjunction with WPMUDev’s Membership 2 Pro plugin, so it’s an issue with how those two are functioning together. I’ve posted on WPMUDev’s forums but can’t seem to find an answer there either, so I tried posting here hoping one side would know what the problem may be.

    #244472
    shanebp
    Moderator

    Using 3 register pages is going to create issues, and probably difficult to debug issues.

    Try just just the one created by ThemeMyLogin – afaik it works well with BP.

    #244470
    shanebp
    Moderator

    You’re talking about an extended profile field on a member’s page > Profile > Edit ?
    And changes are appearing properly in wo-admin > Users > User > Extended Profile?
    But not on the front end for that member?
    Then it sounds like a theme issue.
    To confirm, try switching to a standard WP theme like 2015.

    #244433
    bravenguyen
    Participant

    I’ve got the same problem. My installed theme is KLEO. I don’t know how but when I installed the same KLEO and related plugins on my PC’s localhost. The register/activate pages of BuddyPress v2.3.3 DID APPEAR! I opened both online and localhost pages on the same browser Google Chrome. How weird!
    BTW, I guess we have to create the pages manually.Thanks @danbp for your reply

    #244432
    djsteveb
    Participant

    @deklein – switch your theme to 2014 theme – does it come up then?

    disable all your other plugins aside from bp… does it come up then?

    if so – re-activate one by one and test if it’s still there.. you may find it’s a theme or other plugin causing a conflict (?)

    #244416
    danbp
    Participant

    hi @bigkahunaburger,

    Give this a try (goes to bp-custom.php or child-theme functions.php)

    function bpfr_get_user_comments_on_profile() {
    
    // number of comments to show per page
    define( 'DEFAULT_COMMENTS_PER_PAGE', 3 );
    
    $page = (get_query_var('page')) ? get_query_var('page') : 1;
    
    $limit = DEFAULT_COMMENTS_PER_PAGE;
    
    $offset = ($page * $limit) - $limit;
    
    $param = array(
    	'user_id' 	=> bp_displayed_user_id(),
    	'status'	=> 'approve',
    	'offset'	=> $offset,
    	'number'	=> $limit
    );
    
    $total_comments = get_comments(array(
    	'orderby' => 'comment_date',
    	'order'   => 'ASC',
    	'status'  => 'approve',
    	'parent'  => 0
    ));
    
    $pages = ceil(count($total_comments)/DEFAULT_COMMENTS_PER_PAGE);
    $comments = get_comments( $param );
    
    $args = array(
    	'base'         => @add_query_arg('page','%#%'),
    	'format'       => '?page=%#%',
    	'total'        => $pages,
    	'current'      => $page,
    	'show_all'     => false,
    	'mid_size'     => 4,
    	'prev_next'    => true,
    	'prev_text'    => __('&laquo; backward'),
    	'next_text'    => __('onward &raquo;'),
    	'type'         => 'plain'
    );
    
    // Output pagination
     echo paginate_links( $args );
    ?>
    
    <ul>
    <?php
    
    	foreach($comments as $comment) {
    
    	// short version
    	//echo '<li>'. ($comment->comment_content .'&nbsp;<a href="'. esc_url( get_permalink( $comment->comment_post_ID ) ) ).'">View post</a></li>';
    	
    	// long version
    		echo '<li>'. ($comment->comment_content .'&nbsp;<a href="'. esc_url( get_permalink( $comment->comment_post_ID ) ) ).'">'. get_the_title( $comment->comment_post_ID ) .'</a> Comment: '. get_comment_date( '', $comment ) .'</li>';
    	}
    ?>
    </ul>
    <?php
    
    }
    add_action ( 'my_profile_comment', 'bpfr_get_user_comments_on_profile' );
    
    function bpfr_comment_profile_setup_nav() {
    global $bp;
    
    	$parent_slug = 'comments';
    	$child_slug = 'comments_sub';	
    	
    	// Add nav item
    	bp_core_new_nav_item( array(
    	'name' => __( 'My comments' ),
    	'slug' => $parent_slug,
    	'screen_function' => 'bpfr_profile_comment_screen',
    	'position' => 40,
    	'default_subnav_slug' => $child_slug 
    	) );
    	
    	//Add subnav item 	 
    	bp_core_new_subnav_item( array( 
    	'name' => __( 'My latest comments' ), // as content title
    	'slug' => $child_slug, 
    	'parent_url' => $bp->loggedin_user->domain . $parent_slug.'/', 
    	'parent_slug' => $parent_slug, 
    	'screen_function' => 'bpfr_profile_comment_screen'
    	) );
    }
    
    		function bpfr_profile_comment_screen() {	
    			add_action( 'bp_template_content', 'bpfr_profile_comment_screen_content' );
    			bp_core_load_template( apply_filters( 'bp_core_template_plugin', 'members/single/plugins' ) );
    		}
    
    		function bpfr_profile_comment_screen_content() {
    			do_action( my_profile_comment );
    		}
    
    add_action( 'bp_setup_nav', 'bpfr_comment_profile_setup_nav' );

    Reference: https://codex.wordpress.org/Function_Reference/get_comments

    To do the same for user’s post, see here:
    https://buddypress.org/support/topic/creating-a-custom-tab-that-takes-in-the-info-from-wp-recent-posts/

    #244411
    djsteveb
    Participant

    – it’s the (or one of the) “default” wp themes ( https://wordpress.org/themes/twentyfourteen/ )
    about the only way you will get any kind of support with bp or / and rtmedia..

    it’s not the easiest thing to mod – but at least it works, and bp has some stylesheets included that massage it into something better than the average theme for some bp pages..

    I finally got deep into it to style some changes at the various media queries / screen sizes..

    btw – did you try changing your premium themes style.css to those changes to see if they work?

    if you search the bp forums for other premium themes you will see that even ones selling as “the best or the most popular buddypress theme” – seem to have issues and lack good support.. search the forums for “kleo” for example – lol

    I am sticking with twenty fourteen ’till things mature a bit (recent changes in wp and bp have made things complex in some ways) –

Viewing 25 results - 6,851 through 6,875 (of 32,561 total)
Skip to toolbar