Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 48,076 through 48,100 (of 68,969 total)
  • Author
    Search Results
  • #89210
    @mercime
    Participant

    @chmac – “Giving WordPress its own directory will not work in WordPress 3.0 with multisite enabled. It interferes with the member blog lookup. “
    https://codex.wordpress.org/Create_A_Network#WordPress_Settings_Requirements

    #89208
    Callum Macdonald
    Participant

    @mercime: Thanks for responding. I mean WordPress is in a different directory than the homepage, as per this. You’re absolutely right, for anonymous users it shows a blank page. As a logged in user it shows me this.

    I put two links as HTML in this, hopefully they’re displayed as such… :-)

    #89206
    Roger Coathup
    Participant

    @tubruk

    I’m not really sure what you are trying to do with your code. Whereabouts are you trying to hide fields with no data? In the default theme profile-loop.php, fields without values are already not displayed.

    As for quick fixes: You’ll need to replace ‘your-field-id’ with a variable that’s got the field id in it. You’ll also need to write valid PHP e.g. closing the PHP code before beginning your html. I’d steer clear of inline style definitions as well; the default BuddyPress theme comes with a comprehensive set of CSS files, and you’d be better augmenting these with style definitions.

    Unfortunately, this forum isn’t really the appropriate place for PHP coding tutorials – You might be better reading up on PHP before attempting to modify the theme templates in any depth.

    #89204
    PJ
    Participant

    @LPH2005 … I see your point. It would be helpful to have Courseware hidden from groups unless they opt-in to using the plugin.

    #89202
    LPH2005
    Participant

    I decided to add “BuddyPress Registration Groups” plugin — but this doesn’t solve most of the issues but it’s a start.

    #89200
    @mercime
    Participant
    #89199
    @mercime
    Participant

    @chmac, What do you mean you put WP at cscomm.org/wordpress – which by the way, is a blank page at this time.

    #89195
    tubruk
    Participant

    @rogercoathup thanks but my php isnt really so good this one dont work:

    if (bp_get_profile_field_data(‘field=your-field-id’) === “”) :
    div style xy xy xy xy (the part which should be shown when its filled out

    else:
    you have to fill it out message

    endif;

    Roger Coathup
    Participant

    As pointed out by @intimez, this is already in the trac with a fix: https://trac.buddypress.org/ticket/2548

    #89182
    Roger Coathup
    Participant

    @intimez:

    yes, that’s the same problem as I’m experiencing:

    … the !bp_current_component() clause in the if statement in bp_page_title() is what’s causing the problem for sub-page titles.

    I’ve identified that in another thread: https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/sub-pages-e-g-about-are-not-getting-the-correct-title-tag-set/

    But, hadn’t seen your entry in the trac.

    #89181
    @mikey3d
    Participant

    “Don’t just cut and paste my comment and edit in the word “NOT” – it will confuse people.”

    Not true, I edit words “the post”, “BUT” and “NOT.”

    I’m sorry that you thought it will confuse people. I didn’t cut and paste your comment so therefore I altered your comment to my comment without quote. The quote means it’s your comment. Without quote it means my comment.

    “On my default installation post titles DO work correctly, but page title don’t work.”

    My post titles DO NOT work correctly. The post title is “My blog | Home”

    My page title DO NOT work correctly. The page title is “My blog | Home”

    “If they don’t work on your installation, please make this clear in your reply. I’ll have to leave you to figure out why that is giving a problem on your install, or someone else to step in with thoughts.”

    There is no problem in my installation. The WordPress is fine and after install BuddyPress is fine too but the title tag is incorrectly. So that means it is BuddyPress problem. You just admitted:

    “You are right about pages though: pages such as About are not getting the correct title tag set. I’ll report this as a separate thread.”

    I use:

    WordPress 3.0.1
    BuddyPress: Version 1.2.5.2
    Theme: BuddyPress Default 1.2.5.2

    Thanks, Mikey3D

    PS: There is some confusing with words “post title” and “page title.”

    My thought of “post title” is after you click the headline link on the FrontPage to see the page and the title tag is the post title tag.

    My thought of “page title” is after you click the “About” navigation link to see the page and the title tag is the page title tag because it‘s a static page.

    I’m not talking about H1, H2 for title.

    #89180
    intimez
    Participant

    If problem is same as this one, try the patch

    https://trac.buddypress.org/ticket/2548

    Use the same login as buddypress and post your result

    Roger Coathup
    Participant

    Investigating further, the function bp_get_page_title() is not returning the correct result for sub pages:

    This if at the start of the function is returning true for all pages not just the home page:

    if ( is_front_page() || !bp_current_component() || ( is_home() && bp_is_page( ‘home’ ) ) ) {
    $title = __( ‘Home’, ‘buddypress’ ) ;

    Anyone got ideas?

    @johnjamesjacoby – does this need adding as a fix in the trac?

    #89176
    Roger Coathup
    Participant

    @tubruk

    in your child theme, wherever you want to hide fields that have no data, you can put a simple if statement, something like:

    if (bp_get_profile_field_data(‘field=your-field-id’) === “”) :
    // don’t display code
    else:
    // display code
    endif;

    Which file to edit, all depends where it is you are wanting to display / hide the profile field. The most likely file for displaying profile fields is profile-loop.php in members/single/profile, but that already skips blank fields (using a call to bp_field_has_data(); that function has to be used inside the profile field loop).

    #89173
    tubruk
    Participant

    @rogercoathup where do I have to add this and what do I need to change?

    thanks you

    #89171
    Roger Coathup
    Participant

    @djpaul – I think this might be a wider problem – I investigated this for another user.

    I’ve installed the default BuddyPress installation, and using the default theme. If I click on the “about” page, the title tag still displays “home”

    #89170
    @mikey3d
    Participant

    I’m glad you did ask. That is where bottom line is the whole point of this discussion. Anyone who installs BuddyPress will have no headline in their title tags of each post and page. Ex:

    The post is “Hello world!”
    The title tag is “My blog | Home”
    The headline is “Hello world!”
    The title tag with headline is supposed to be “Hello world! | My blog”

    The page is “About”
    The title tag is “My blog | Home”
    The headline is “About”
    The title tag with headline is supposed to be “About | My blog”

    The BuddyPress’s title tags are so very wrong with its. I can’t believe no one knows about it.

    I have not mention about Meta title and h1, h2 tags. Only about title tags.

    Thanks, Mikey3D

    #89169

    In reply to: Profile field

    Roger Coathup
    Participant
    #89167

    In reply to: Profile field

    Roger Coathup
    Participant
    #89160
    guigoz
    Member

    I’ve placed this code before button display. But I think it will be better to charge the plugin only if the admin is logged in, just after to have checked if buddypress is runing, I don’t know how to do that. Excuse my english..

    if ( $bp->loggedin_user->is_site_admin ) {

    #89158
    @mikey3d
    Participant

    I put the code in bp-custom.php from between line 896 to 950 in bp_core_templatetags.php and I get an error…

    Fatal error: Cannot redeclare bp_page_title() (previously declared in /path-to/wp-content/plugins/bp-custom.php:3) in /path-to/wp-content/plugins/buddypress/bp-core/bp-core-templatetags.php on line 898.

    Here’s the code I put in bp_custum.php:

    function bp_page_title() {

    //CUSTOM CODE FROM BP_CORE_TEMPLATETAGS,PHP
    //between line 893 to 948

    return apply_filters( ‘bp_page_title’, $blog_title . ‘ | ‘ . esc_attr( $title ), esc_attr( $title ) );
    }

    How would I code what I want but the default one doesn’t work to begin itself with no headline title of posts and pages?

    Thanks for helping, Mikey3D

    #89156

    In reply to: Plugins required

    Roger Coathup
    Participant

    @lordsnake

    Some thoughts:

    1. Forums – WordPress are developing a new approach to forums, releasing bbPress as a plugin. A beta is due mid September, with a key BuddyPress developer leading the initiative. Have a Google / Bing and check that one out

    2. Tutorials – I suggest creating these in a sub-blog dedicated to tutorials (each tutorial is a separate post in the blog – video / image uploading is then no problem). Maybe use a forms plugin (e.g. gravity) if you want front end posting. There should a standard WP plugin that allows post ratings

    3. Job Board – these is a plugin out there from @travel-junkie : https://buddypress.org/community/groups/third-party-components-plugins/forum/topic/introducing-jobboardr/

    4. Community Store – check out some of the WP extensions for e-commerce. Shopp and WP-commerce seem to be the main contenders

    5. There is a facebook connect plugin (have a search in these forums) and @modemlooper is doing some work with twitter. It depends whether you are talking about connecting accounts (e.g. facebook connect), or simply sharing activity on social sites (facebook like, tweet this, etc.). There are loads of plugins / code snippets you can install for sharing (check out shareThis and their snippets for WordPress)

    Cheers, Roger

    #89155
    Roger Coathup
    Participant

    @psycolor

    You could look at using functions like:

    groups_is_user_member( $user_id, $group_id )
    To test if the user is in a specific group, and only show the page if they are in the appropriate group. This is defined in bp-groups.php.

    bp_is_member()
    To simply check whether the current user is a member (and logged in). This is defined in bp-core-templatetags.php

    There is also a group blogs plugin: https://buddypress.org/community/groups/bp-groupblog/

    I don’t know if this can be adapted to implement the private pages for your group members.

    Cheers, Roger

    #89154
    Roger Coathup
    Participant

    This plugin does a lot of what you are after as well, although it was designed for external links: https://buddypress.org/community/groups/buddypress-links/

    It requires you to type in a URL from the links page. It would be nice it if had a “pop up” form / button, that you could attach to posts throughout your site.

    #89151
    Matthew Hui
    Participant

    My other theme is buddypress-widget-theme and I need to add the sidebar to the third column of my widgets

    Look at the column here http://glumbo.com

Viewing 25 results - 48,076 through 48,100 (of 68,969 total)
Skip to toolbar