Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 26 through 50 (of 58 total)
  • @nickrita

    Participant

    @nickrita

    Participant

    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

    @nickrita

    Participant

    Boone, you’re my hero! It works!

    I didn’t do the hack in the ajax.php now.

    The result of your function is, that new blog posts are shown first and I have all options except “no filter”. Selecting “no filter” there are the new blog posts, too. This doesn’t matter for me, as I am going to delete the no-filter-option in the seletion-box.

    I’m going to test the function completely this evening, but for the moment it looks pretty good!

    Thank you very, very much!

    @nickrita

    Participant

    Boone Gorges, thank you very much for your help.

    BUT: It doesn’t work.

    Now the acitivity-stream ONLY shows the new blog posts, no matter which filter-option I use.

    I want the other options to be there, and the new blog posts as first of them, not as only one.

    @nickrita

    Participant

    ray, I posted it and it’s ticket 2147.

    But I really would like to have it before bp 1.2.2 comes. It doesn’t matter if I cannot override it in a child theme. I would change the bp-code, if I only knew, how.

    @nickrita

    Participant

    This stuff is making me crazy.

    I thought about another solution and wanted to have blog posts, comments and forum stuff on the acitivity stream.

    I tried this:

    <?php if ( bp_has_activities('action=new_blog_post&new_blog_comment&new_forum_post&new_forum_topic') ) : ?>

    but it seems to be impossible to have mor than one action choosen, because only the blog posts are shown.

    So, this thing leads me back to the question, how I could have blog posts instead of no filter as default.

    @nickrita

    Participant

    Motionsw, die deutsche Sprachdatei und wie sie hochgeladen wird, findest Du hier:

    https://de.buddypress.org/blog/2010/02/buddypress-1-2-1-veroffentlicht/

    @nickrita

    Participant

    I’m still trying to find a solution.

    I think there are two things that have to be done:

    1. Chose “Show Blog Posts” in the selection table to be set first.

    2. Tell the code that there should be shown the filtered activity stream instead of the whole one.

    I found the solution for 1.:

    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, BUT there are still all activities without filter on the page. So step 2 has also to be done and I don’t know where.

    I would appreciate any help.

    @nickrita

    Participant

    Florian, if you are german, you could just change the translation in the .po -file.

    Open the german .po with po-edit, search the translations you want to change, and you have what you want.

    @nickrita

    Participant

    @nickrita

    Participant

    Here’s the solution to only show the blog posts:

    https://buddypress.org/forums/topic/how-can-i-set-show-newblogposts-as-default-on-acitivity-stream

    But then only blog posts are shown and nothing else.

    I have no solution to the problem, how to show the blogposts as default and the rest by filter.

    @nickrita

    Participant

    I use this plugin instead of captcha:

    https://wordpress.org/extend/plugins/invitation-code-checker/

    You can set an ivitation-code and everyone who wants to register has to write the code in a registration-field.

    I changed the plugin a little bit for my needs so the code to write is seen on the registration-page.

    @nickrita

    Participant

    In the options of buddypress you can set the name of the name-field. There you can write “Username (repeated)” or something like this, so that new Users know that they should write the same name again.

    No code, no plugin, just easy going ;-)

    @nickrita

    Participant

    Nobody here who can help? It’s the only problem I still have before I can upgrade my site to bp 1.2.1.

    I read https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-activity-stream-loop/

    an I tried <?php if ( bp_has_activities('action=new_blog_post') ) : ?>

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

    in activity-loop.php, but then only the new blog posts are shown, no matter which options I take.

    I want the new blog posts only as default and not as only option.

    Please, if anybody could be so kind to tell me the code and where to put it, I would be vergly glad.

    @nickrita

    Participant

    webby, it will be in the memberlist, but nobody will know, that this member is the admin.

    @nickrita

    Participant

    Thank you very much, r-a-y, simple and good!

    @nickrita

    Participant

    @nickrita

    Participant

    Similar question here. I want to see New Blog posts as default.

    I already read this: https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-activity-stream-loop/

    but it doesn’t help, becaus there is not one example for the complete code, only the snippets.

    @nickrita

    Participant

    Modemlooper, it isn’t the same. The @-mentions appear in the members-list. So everybody can see what another person said about another.

    The postings on the wire only were on the wire an nowhere else.

    @nickrita

    Participant

    demilio, I didn’t yet manage to put the content on different lines, but maybe you want to look at this threat for a half solution:

    https://buddypress.org/forums/topic/easy-change-of-activity-design?replies=8#post-39467

    @nickrita

    Participant

    @ Xevo, thank you very much, you made my day! The Urls have no special classes. I solved my problem by adding one and put it behind this line .activity-list .activity-content a:first-child:focus { outline: none; }:

    .activity-list .activity-header a {

    background: #fff;

    color: #081831;

    font-family:Georgia,”Times New Roman”,Times,serif;

    font-size:1.5em;

    font-style:bold;

    }

    The result can be seen on http://tastentango.de, which is my test-site for http://netzkritzler.de.

    I had to change the code for the first-child, too, in order not to let it take the css from above:

    .activity-header a:first-child, span.highlight {

    background: #ececec;

    border-bottom: 1px solid #e4e3e3;

    border-right: 1px solid #e4e3e3;

    color: #777;

    font-size: 10px;

    font-family: Arial, Tahoma, Verdana, sans-serif;

    padding: 3px 8px;

    text-decoration: none;

    -moz-border-radius: 4px;

    -webkit-border-radius: 4px;

    border-radius: 4px;

    margin-right: 3px;

    }

    I hope this will help everybody with the same problem as I had.

    @nickrita

    Participant

    Andy, I built a child-theme but I don’t find in the default.css which line is to change to edit the Link to the post.

    Bowe: If it is so really really really easy (I thoght this, too) then please tell me which line is to change to edit the Link to the post.

    @nickrita

    Participant

    Andy, in Germany we have the word “Verschlimmbesserung”. It means, that something became complicated by trying to do it better. In my opinion the missing wire is a “Verschlimmbesserung”.

    I tried the back compat plugin, but it’s easier to handle without it. So I would be glad if somebody could make a wire-plugin for 1.2.

    @nickrita

    Participant

    I have an author community with people older than 40 years and they want it as simple as possible. The wire was easier for them than the @ will be. We’re not the twitter-generation ;-)

    @nickrita

    Participant

    Yes, ONLY do it in a child theme, NEVER change the orginal bp-theme.

    You can make a folder “activity” in your child theme, copy the original index.php from original-bp-theme/activity/ in the child-theme-folder and then edit the index.php.

Viewing 25 replies - 26 through 50 (of 58 total)
Skip to toolbar