Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 1 through 25 (of 56 total)
  • Avatar of nickrita
    nickrita
    Participant

    @nickrita

    It worked for me, too! Thank you very much!

    Avatar of nickrita
    nickrita
    Participant

    @nickrita

    Ticket 2229

    Avatar of nickrita
    nickrita
    Participant

    @nickrita

    I haven’t got an Age field, because the Age changes and the users forget to change their profile. I have a field “year of birth”

    Avatar of nickrita
    nickrita
    Participant

    @nickrita

    Paul, did you set the permalink-structure in the options? You have to set it first, before you do anything else, otherwise, the posts are not found.

    You even have to set ist if you want to use the default one.

    Avatar of nickrita
    nickrita
    Participant

    @nickrita

    With BP 1.2 a new user doesn’t get the welcome mail that I set in the admin options. That’s bad, because it contains important information for the user.

    Is there any chance to send an activation-mail (which at the moment causes an error) and, after activation, the first mail that’s set in the options?

    Avatar of nickrita
    nickrita
    Participant

    @nickrita

    To have the pagination on the homepage-activity-stream I just added the no-ajax class to the code and it works.

    Wrote ticket 2223 to have the no-ajax class in the pagination code in activity-loop.php, so that it works without having to find this thread.

    Avatar of nickrita
    nickrita
    Participant

    @nickrita

    It isn’t the blog, it’s the upgrade!

    All posts that were postet after the upgrade to bp 1.2 are delete in the activity-stream, when deleted on the blog.

    All posts that werde postet before the upgrade to bp 1.2 aren’t deleted in the activity-stream.

    Avatar of nickrita
    nickrita
    Participant

    @nickrita

    Same problem here. I will try to delete the posts in the database, but this isn’t a good solution.

    Maybe this helps to find the bug:

    If I delete a post on the main blog, it is deleted in the activity stream.

    If I delete a post on any other blog, it isn’t deleted.

    Avatar of nickrita
    nickrita
    Participant

    @nickrita

    Avatar of nickrita
    nickrita
    Participant

    @nickrita

    Marius, I did exactly this, but it didn’t work, until I found another thread. The problem was, that the links were shown, but they didn’t give a result. To solve thist, here’s what Andy said: “You either need to write the AJAX function to handle this (you should be able to copy something from one of the core components) or put a class=”no-ajax” on the surrounding div. “

    So, using your funtion an adding the no-ajax class, my activity-loop.php in my child-theme now looks like this and it works. Thank you very much for your help!

    <?php /* Querystring is set via AJAX in _inc/ajax.php - bp_dtheme_activity_loop() */ ?>

    <?php do_action( 'bp_before_activity_loop' ) ?>

    <?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) ) ) : ?>

    <?php /* Show pagination if JS is not enabled, since the "Load More" link will do nothing */ ?>

    <div class="pagination">

    <div class="no-ajax"><div class="pag-count"><?php bp_activity_pagination_count() ?></div>

    <div class="pagination-links"><?php bp_activity_pagination_links() ?></div>

    </div></div>

    <?php if ( empty( $_POST['page'] ) ) : ?>

    <ul id="activity-stream" class="activity-list item-list">

    <?php endif; ?>

    <?php while ( bp_activities() ) : bp_the_activity(); ?>

    <?php include( locate_template( array( 'activity/entry.php' ), false ) ) ?>

    <?php endwhile; ?>

    <?php if ( bp_get_activity_count() == bp_get_activity_per_page() ) : ?>

    <noscript><li class="load-more">

    <?php _e( 'Load More', 'buddypress' ) ?>   <span class="ajax-loader"></span>

    <?php endif; ?></noscript>

    <?php if ( empty( $_POST['page'] ) ) : ?>

    <?php endif; ?>

    <?php else : ?>

    <div id="message" class="info">

    <p><?php _e( 'Sorry, there was no activity found. Please try a different filter.', 'buddypress' ) ?></p>

    </div>

    <?php endif; ?><div class="pagination">

    <div class="no-ajax"><div class="pag-count"><?php bp_activity_pagination_count() ?></div>

    <div class="pagination-links"><?php bp_activity_pagination_links() ?></div>

    </div></div>

    <?php do_action( 'bp_after_activity_loop' ) ?>

    <form action="" name="activity-loop-form" id="activity-loop-form" method="post">

    <?php wp_nonce_field( 'activity_filter', '_wpnonce_activity_filter' ) ?>

    </form>

    You can see it running on http://netzkritzler.de.

    The last page is not shown, I don’t know why, but that doesn’t really matter.

    Avatar of nickrita
    nickrita
    Participant

    @nickrita

    It works, until I try to set pagination instead of load more.

    Mmh. Either the pagination code is wrong or there’ s an incompatibility between pagination and boones code.

    The pagination links are shown, but they don’t work.

    Avatar of nickrita
    nickrita
    Participant

    @nickrita

    Thank you very much, StrangeFreedom, I now did it in the database, too.

    But that’s not a good solution.

    I wrote ticket 2210.

    Avatar of nickrita
    nickrita
    Participant

    @nickrita

    Thank you very much Boone for still helping. I tested it and until now, it works.

    Avatar of nickrita
    nickrita
    Participant

    @nickrita

    DJPaul, I don’t want to comment it out but have the nicename instead.

    Is there any chance to do this? I would hack the bp-code, if nessessary.

    ____

    Okay, forget this comment, if I hack it, the @mention will not work, isn’t ist?

    Avatar of nickrita
    nickrita
    Participant

    @nickrita

    Posted too early, it doesn’t work. As soon as someone writes an @mention, the activity only shows the @mentions and not the blog posts first.

    :-(

    This stuff seem to be a never ending story.

    I use Boones first code now, with the fault in the “load more”.

    Avatar of nickrita
    nickrita
    Participant

    @nickrita

    It’s set in the code that it should be 20, no matter which number you set. As far as I remember, it’s in the folder bp-activity, bp-activity-templatetags.php.

    Avatar of nickrita
    nickrita
    Participant

    @nickrita

    motions, what do you want to edit? The design of the sitewide activity is set on bp-default, _inc; css, default.css.

    Don’t change anything there, but build a child-theme.

    Avatar of nickrita
    nickrita
    Participant

    @nickrita

    frances, where exactly did you do the change? If you could tell me php and line, I can try out if it works for me, too.

    Avatar of nickrita
    nickrita
    Participant

    @nickrita

    I’ve got the same problem.

    Avatar of nickrita
    nickrita
    Participant

    @nickrita

    Boone, thank you very much! This works!

    Avatar of nickrita
    nickrita
    Participant

    @nickrita

    Boone, this works, but now choosing all options only the blog posts are shown.

    Avatar of nickrita
    nickrita
    Participant

    @nickrita

    It works great on the first page, but when I coose “Load more”, then everything shown is with “no filter”

    you can see it here: http://netzkritzler.de

    Avatar of nickrita
    nickrita
    Participant

    @nickrita

    Same problem here wp 2.9.1 bp 1.2.2.1.

    It worked before I upgradet today.

    Avatar of nickrita
    nickrita
    Participant

    @nickrita

    Avatar of nickrita
    nickrita
    Participant

    @nickrita

    Boone, I tested and your code works pretty good!

    I did two things:

    1. Like I wrote above, I created a folder “activity” in my child theme and copied the index.php from the bp-default-theme activity-folder inside. Then I changed in index.php the following line:

    <option value="new_blog_post"><?php _e( 'Show Blog Posts', 'buddypress' ) ?></option>

    and have this instead of it now:

    <option value="new_blog_post" selected><?php _e( 'Show Blog Posts', 'buddypress' ) ?></option>

    Now, the Blog-Post option is shown first in the selection.

    2. In the same index.php I deleted the no-filter option:

    <option value="-1"><?php _e( 'No Filter', 'buddypress' ) ?></option>

    That’s it.

    You can see it working here: http://tastentango.de

Viewing 25 replies - 1 through 25 (of 56 total)