Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 55,001 through 55,025 (of 69,016 total)
  • Author
    Search Results
  • #72137
    Erlend
    Participant

    For those interested or already invested in GroupWiki’s future, you should really come by the plugin forum and check out this discussion:

    http://namoo.co.uk/groups/bpgw-feature-requests/forum/topic/blogwiki-vs-customwiki-pros-cons/

    Your input could shape the plugin’s future :)

    #72134
    deities1
    Member

    Sounds good! I would sift through the code and attempt to fix it myself but I’m working on something else at the moment. Let us know what to fix when you figure it out.

    #72130
    snark
    Participant

    Thanks @boonebgorges — I got it partially working, but then got stuck. I put the function as is above in my functions.php file, and added this to member-header.php:

    <p><?php echo get_activity_count_by_user( bp_current_user_id() ) ?> Forum posts</p>

    This returned ALL posts for a user, including blog posts. Obviously, based on the text I added above, I only want to include Forum posts (should include both Topics and Replies). I looked at the page you suggested — https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-activity-stream-loop/ — but I couldn’t figure out how or where to implement the filter: what syntax, and where does it go, in the function or in the call-out?

    Also: Using “bp_current_user_id() ” allows the post count to display on the user’s profile page, but how do I display the post count on a different page, such as /single/forum/topic.php, the Forum topics display page, where “bp_current_user_id()” is no longer applicable? On that page I’d like to put a user’s post count in parenthesis next to the user, like this: “John Doe (54 posts)”. That way when you scanned the list of Replies to a Topic, you would quickly see if a user was a long-term and/or hardcore user or a noob based on the number of posts they have contributed to the site, and I’m hoping that little ego boost will help nudge people into posting more frequently. Does that make sense?

    Thanks again for all your help.

    #72129
    warut
    Participant

    Thanks detities1

    I see the point, I will check it.

    #72127

    Thanks Gene! That’s a great start for now. Still trying to figure out how best to apply BuddyPress in a corporate intranet environment though. Would be great if we could easily add people to groups without them having to accept etc.

    #72124
    deities1
    Member

    aHa! So the problem arises when the login name is different than the user name. I just checked the user list and we are the only two members with different user names than our login. So if the login and username do not match … the gift is not sent to their activity stream. Definitely something you might want to look into.

    #72122

    In reply to: button CSS ?

    abcde666
    Participant

    thanks ruthless,

    I do know where to find the CSS-code, but I have changed the code to “none” for each element.

    I still do not get the result of having just a simple button like it is for example here at buddypress.org or at Google.com

    I just want to get rid of all the default button-CSS, just having a simple button without CSS.

    default:


    a.button, input[type=submit], input[type=button],

    ul.button-nav li a, div.generic-button a {

    background: url( ../images/white-grad.png ) top left repeat-x;

    border: 1px solid #ddd;

    padding: 3px 10px;

    -moz-border-radius: 3px;

    -webkit-border-radius: 3px;

    border-radius: 3px;

    text-decoration: none;

    color: #888;

    font-size: 12px;

    font-weight: normal;

    vertical-align: bottom;

    cursor: pointer;

    }


    changed all elements to NONE:


    a.button, input[type=submit], input[type=button],

    ul.button-nav li a, div.generic-button a {

    background: none;

    border: none;

    padding: 3px 10px;

    -moz-border-radius: none;

    -webkit-border-radius: none;

    border-radius: none;

    text-decoration: none;

    color: #888;

    font-size: 12px;

    font-weight: normal;

    vertical-align: bottom;

    cursor: pointer;

    }


    #72120
    Jon Breitenbucher
    Participant

    That could be part of the issue. I do not have a Component Setup under BuddyPress. I am on 1.3-bleeding (not sure if that matters) I see Dashboard, Settings, Forums Setup, and Profile Field Setup. Dashboard says [TODO: All sorts of awesome things will go here. Latest plugins and themes, stats, version check, support topics, news, tips] and Settings does not have anything about Blog Tracking.

    #72119

    Having done both, I can say that it takes me about the same amount of time either way, so it DOES depend on the situation.

    #72114
    Gene53
    Participant
    #72112

    In reply to: button CSS ?

    abcde666
    Participant

    looks like this is not possible just by changing the CSS-code ?

    the <span> tag is missing within HTML…..

    <span>Submit</span>

    How is BuddyPress defining the width of a button ?

    #72109
    Boone Gorges
    Keymaster

    See if this does what you want. Put the following function in [your-theme]/functions.php or [plugin-dir]/bp-custom.php:

    function get_activity_count_by_user( $user_id ) {
    $args = array(
    'per_page' => 10000,
    'show_hidden' => true,
    'user_id' => $user_id
    );

    if ( bp_has_activities( $args ) ) {
    global $activities_template;
    $count = $activities_template->total_activity_count;
    } else {
    $count = 0;
    }

    return $count;
    }

    Then call the function somewhere in a template, something like this:

    <?php echo get_activity_count_by_user( $user_id ) ?>

    making sure that $user_id is populated with the user_id of the person you are querying about.

    You could filter this in various ways. To get just one kind of content, or content from just one component of the site, try some of the filters here: https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-activity-stream-loop/. To exclude things (like anything having to do with blogs) is a bit tricker; after calling the $activities_template global, loop through each member of $activities_template->activities and check to see whether it’s the kind of thing you want. If not, reduce $activities_template->total_activity_count by one.

    #72108
    r-a-y
    Keymaster

    Create a theme specifically for user blogs and set this theme as the default theme when a user creates a new blog.

    That should solve most of your problems.

    Read this thread:

    https://buddypress.org/forums/topic/bp-blog-theme-as-default

    #72107
    r-a-y
    Keymaster

    Might want to contact Mike Kuhlmann, the creator of the theme:

    https://buddypress.org/developers/mfgmk/

    #72106
    mcrustk2
    Participant

    I tried that but it appeared to be a completely new ‘BuddyPress’ under the origional which wouldnt really work. :/

    #72105
    r-a-y
    Keymaster

    If it ain’t broke, don’t fix it!

    It really depends on your site.

    Creating a child theme off the default is recommended, but doesn’t give you the convenience of using an already-developed and designed WP theme / site.

    Pros of child theme

    -easy upgrading when there’s a new BP release; no need to worry about breaking anything (for the most part)

    Cons of child theme

    -you have to create a child theme (to some this isn’t a big deal, but thought i’d list it)

    –> if you’re going for a completely different design off the default theme, you’ll probably be copying a lot of templates over from the default to the point that it isn’t worth creating a child theme anymore (note that this probably isn’t the case for the majority of BP users).

    Pros of using a WP theme with BP Template Pack

    -integrate BP with an existing WP theme (or site!)

    Cons of using a WP theme with BP Template Pack

    -using the BP Template Pack plugin requires some CSS and template tweaking to make everything look the way you want it (to some this isn’t a big deal, but thought i’d list it)

    -could rely on Andy occasionally updating the BP Template Pack plugin on new BP releases (not saying that Andy is incapable of doing this — far from it — but it’s just one additional step you have to wait on)

    -note you could also create your own default theme or parent-child theme structure, thekmen has implemented Hybrid as the parent theme with a Hybrid child theme designed to work with BP. This is a little bit more complex, but is doable and will probably require a bit of manual maintenance in the future as well.

    I should note that, like modemlooper, I prefer creating a child theme.

    But I see you’ve already dedicated some time to get Cureuphoria up and running, so you might want to stick with what you have.

    mcrustk2
    Participant

    Hi Guys.

    I have coped daves example above and tried it on my site however it doesnt seem to work correctly. Must be something I have done but I cannot see what it is. Been through line by line. Tearing my hair out here.

    http://site.chestermc.org

    I replaced ‘Community’ with ‘Home’

    I just cant see what it is. Could any of you just have a quick glimpse to give me some pointers. Thanks to David for the solution!

    Many Thanks.

    PS – Im using BP default theme.

    #72099
    modemlooper
    Moderator

    Having done both. I would suggest using a child theme over doing the BP template pack. Sure it’s more work but I feel upgrades in the future will be easier.

    #72092

    In reply to: GSOC BuddyPress Ideas

    With less than a day left now,there’s probably little value in putting the blog post up. :/

    But, you can refer to these links for ideas.

    http://spreadsheets.google.com/ccc?key=0AtgQiOrXrZ0ZdE5rUnRzTXB0VWtqTUtvVkp1Rk9lYXc&hl=en

    https://buddypress.org/about/roadmap/

    Some things I’m excited to see:

    An events component that doesn’t *require* bp-groups

    Privacy that uses WordPress roles and capabilities

    REST API

    Inappropriate content flagging

    User attachments

    #72089
    deities1
    Member

    Hrmmm…. I can’t pinpoint the problem.

    Weird that gifts don’t show in either of our activity streams when someone sends one to us. Everyone else properly receives the gifts.

    #72084
    cmccarra
    Participant

    Go to Buddypress > Component Setup > Blog Tracking, is it enabled or disabled? It should be enabled if you want the “My Blogs” Menu.

    #72080
    rich! @ etiviti
    Participant
    #72079
    rich! @ etiviti
    Participant

    you can pull in whatever from the activity stream loop and place it anywhere (surprised no one has created a “stream widget” )

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

    3sixty
    Participant

    Sorry I missed this. I’ll review that and see if I can contribute any meaningful new pointers to the codex .

    #72072
    Brajesh Singh
    Participant

    You are most welcome. Please make sure to mark this thread as resolved :)

Viewing 25 results - 55,001 through 55,025 (of 69,016 total)
Skip to toolbar