Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 3,126 through 3,150 (of 3,962 total)
  • @hnla

    Participant

    @hnla

    Participant

    It was started last Wednesday as a stop gap temporary solution , hopefully to be replaced in time with something more purpose built.

    @hnla

    Participant

    @nuprn1 if anyone had a right to :)

    The theme query raised needs re-enforcing over and over, the trouble for any plugin author or for that matter theme writter as it works in reverse to is that the plugin author has to rely on the theme writer adding in the requisite hooks to the theme without which the plugin could fail but the plugin author can’t second guess what a theme may do incorrectly – likewise the theme writer is beset by the problem that a plugin author may hook into somewhere not expected (happened recently) and the theme struggles to cope.

    With any potential issues the vital first step in debugging is to activate the bp-default theme to gauge whether the issue lies with a custom theme or not.

    @hnla

    Participant

    Sorry missed that slight difference :)

    You just need to make sure the file_exists function line looks for the file in the same directory as the load file line.

    @hnla

    Participant

    Folks apropos of threaded comments/nesting there was an issue with nested comments and posts in the bp-default theme, nested/threaded comments can’t work correctly. This has been fixed and is included in 1.2.6 so hang on a short while for that release due any day now.

    @hnla

    Participant

    Please folks, I stated ‘thread deemed closed’ for a reason. Just because a thread title is rather too generic doesn’t mean it’s ok to add in any ‘forum’ related issue, it simply gets too long winded and confusing. Proper action is for a new post to be created for your issue, it will tend to get more attention and be easier to follow and respond to for members.

    @autoretailing you will need to re post your question and provide relevant info such as versions being used, whether using a custom theme.
    If using a custom theme then switch back to the bp-default theme and disable all but absolutely necessary plugins and see if the issue still occurs if it doesn’t then you know the problem lies with the theme or a plugin – re-enable plugins one by one checking each time to see if the issue crops up, finally re-enable custom theme, this will help to isolate the issue.

    @hnla

    Participant

    You have copied the same example twice and that’s the stock default directory for bp language files.

    You want the second example below that one:
    `define( ‘BPLANG’, ‘mysite’ );
    if ( file_exists( WP_PLUGIN_DIR . ‘/buddypress-‘ . BPLANG . ‘.mo’ ) ) {
    load_textdomain( ‘buddypress’, WP_PLUGIN_DIR . ‘/buddypress-‘ . BPLANG . ‘.mo’ );
    }`
    if you want the files in their own directory then do:

    /my-language-files/buddypress-‘ . BPLANG . ‘.mo’

    @hnla

    Participant

    Not necessarily, all depends, BP uses a stock install of WP so generally WP plugins will work on that part of the site that is WP, but won’t necessarily be BuddyPress aware. This is one of those suck it and see type questions.

    @hnla

    Participant

    Looking at the activity entry file that time stamp is part of the bp_activity_action() template tag, looking that up in core bp-activity-templatetags.php and it shows bp_activity_time_since applied to $content for that template tag.

    A quick and possibly incorrect attempt to remove the time stamp:

    function remove_activity_timestamp() {
    $content = '';
    }
    add_filter('bp_activity_time_since', 'remove_activity_timestamp');

    This works but I feel it isn’t really the best approach so would prefer one of the more experienced chaps to advise if a better or correct approach exits.

    In reply to: Buddy press menu bar

    @hnla

    Participant

    You are going to need to clarify most of that as it’s not really clear.

    What is ‘Partially inactive’ with the menu bar[?sic] when on buddypress.org

    What WP admin pages?

    Explain ‘Nightmare’ it’s a big word :) ‘Add All Nav Links to BP Adminbar’ does not solve any problems it’s simply an enhancement to that which functions perfectly well – doesn’t it ?

    Explain exactly what you think you are missing on buddypress.org

    @hnla

    Participant

    If you re-read the page it does say that you can place the files elsewhere to avoid them being overwritten I just stick em in a new folder kept in /plugins/

    Flag the account issue to John James Jacoby or @DJPaul

    @hnla

    Participant

    @hnla

    Participant

    Frankie please just ‘bump’ your original post rather than create Two! new ones (I deleted the other duplicate) I will lock your original post from yesterday with a link through to this thread.

    @hnla

    Participant

    :) so what happens if you copy the relevent snippet of code from 2010 to BP?

    This revised section from BP single.php:
    `

    `

    N.B. that the comment meta by default has the edit link, but that is part of the comments_template

    @hnla

    Participant

    Edit// oh those groups ;)

    Talk about what exactly then?

    The whole site talks about (BuddyPress) plugin development to an endless degree :)

    @hnla

    Participant

    here’s a quick adaptation then to give you all words uppercase, as for the order things are written in if you look at the first instance of $title you will see how the various parts are constructed, it’s a string so follows the order you read in, have a play around to get the order of things the way you want. if you want specific characters then you need to look up ‘html character entity codes’ to get things like ‘ » ‘

    `function bp_page_title_blog_category_remove_hyphens( $title ) {
    global $bp, $wp_query;
    if ( defined( ‘BP_ENABLE_MULTIBLOG’ ) ) {
    $blog_title = get_blog_option( $current_blog->blog_id, ‘blogname’ );
    } else {
    $blog_title = get_blog_option( BP_ROOT_BLOG, ‘blogname’ );
    }
    if ( bp_is_blog_page() && is_category() )
    $title = __( $blog_title . ‘| Blog | Categories | ‘ . $wp_query->query_vars , ‘buddypress’ );
    $title = str_replace(‘-‘, ‘ ‘, $title);
    $title = ucwords($title);
    return $title;
    }
    add_filter( ‘bp_page_title’, ‘bp_page_title_blog_category_remove_hyphens’ );`

    @hnla

    Participant

    huh I make that 5 mins .

    Can’t wait for the privacy plugin as that’s the way forward, I anticipate a massive rush to download it when released, just hope that rush is matched by a rush to donate even if token gestures ;) If and when I recommend someone use a plugin in future I think I’ll be adding a reminder to donate a small token of gratitude to the author.

    @hnla

    Participant

    Did you try searching the community?

    This thread might be worth you reading , it will allow you to make the site completely private to all but registered logged in users, or a variation on ‘All’ if you wanted to show certain pages.

    https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/how-to-make-a-private-community/?topic_page=2&num=15#post-44616

    @hnla

    Participant

    Did you not look through the Community > Groups section?

    https://buddypress.org/community/groups/bp-jobs-board/

    @hnla

    Participant

    @mikey3d did you follow point 2 that Roger explained above? there is no ‘Patch’ as such only what we( the community) can run up given the spare time. tbh this is something I would have not been too concerned with and awaited a core patch in a future release (I have suggested a core patch to address the problem, but that will probably be applied in 1.3 – too late to get in to 1.2.6)

    If you want you can try this quick fix I’ve run up by exacting the relevant section from the core function and applying it as a filter in functions.php – it’s not widely tested and slightly hackish but appears to work:

    `function bp_page_title_blog_category_remove_hyphens( $title ) {
    global $bp, $wp_query;
    if ( defined( ‘BP_ENABLE_MULTIBLOG’ ) ) {
    $blog_title = get_blog_option( $current_blog->blog_id, ‘blogname’ );
    } else {
    $blog_title = get_blog_option( BP_ROOT_BLOG, ‘blogname’ );
    }
    if ( bp_is_blog_page() && is_category() )
    $title = __( $blog_title . ‘| Blog | Categories | ‘ . ucwords( $wp_query->query_vars ), ‘buddypress’ );
    $title = str_replace(‘-‘, ‘ ‘, $title);
    return $title;
    }
    add_filter( ‘bp_page_title’, ‘bp_page_title_blog_category_remove_hyphens’ );
    `

    Let us know if that works for you?

    @hnla

    Participant

    @sophiew I’ve edited your post to add backticks for code display.

    I would be inclined to heed Rogers advice though, if you are inexperienced with the basics of HTML markup and PHP scripting then modifying a theme is going to prove tricky.

    In reply to: Plugins required

    @hnla

    Participant

    MU = MS now!

    and yes simply prevent the script from parsing and returning the fieldset section that contains the blog signup option. I do it on a site – blog creation appears to be especially targeted – and users have no problem understanding and dealing with signing up for an account and then later when logged in creating their blog if they wish one.

    In reply to: Install Version

    @hnla

    Participant

    Ah good point hadn’t considered that -still not much point installing less than WP 3.01, BP 1.2.5.2 works satisfactorily with it 1,.2.6 will be much improved.

    In reply to: Install Version

    @hnla

    Participant

    The latest, generally that’s a given and the only one that would be available to download from the main download link on wordpress.org. That is now 3.01 which combines the old WP MU multi blog capability. BP works fine with latest version of WP.

    BP 1.2.6 is set for release any moment now but install 1.2.5.2 in the meantime and update it when available.

    @hnla

    Participant

    @peterreiser Good to hear, it won’t work for all circumstances but is worth trying before hunting further. thanks for reporting back on it

Viewing 25 replies - 3,126 through 3,150 (of 3,962 total)
Skip to toolbar