Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 45,151 through 45,175 (of 94,569 total)
  • Author
    Search Results
  • Hi. I’m developing a plugin for Buddypress where I’d like to utilize the bp_activity_add_user_favorite function.

    I’m executing a PHP function (via AJAX) when a user clicks on a button. Within that function I’m calling bp_activity_add_user_favorite as follows:
    do_action( ‘bp_activity_add_user_favorite’, $activity_id, $user_id );

    I’ve verified that I have both valid $activity_id and $user_id values (matching up to actual db records), but bp_activity_add_user_favorite doesn’t seem to be executing because the favorite in question isn’t saving for that user. It’s my understanding that bp_activity_add_user_favorite will populate both the bp_activity_meta and user_meta tables respectively. First, is that correct, and any ideas why this might not be executing?

    Thanks in advance for anyone’s insight!

    tagtomat
    Member

    I am up and running on the Buddypress, but none of my users are able to post topics nor am I as the admin. http://www.tagtomat.dk/groups/

    I get this error when pressing the “new topic” button in a Group.
    “Sorry, there were no new topics found”

    The same message appears if I go to the Forum page, where alle post should be collected. Right?

    In the browser it appears “http://www.tagtomat.dk/groups/arrangementer/forum/#post-new” so somehow the Buddypress makes a “#post-new” command, but nothing happens.

    Hope someone has the solution, or where to look for trouble shooting.

    Best regards
    Mads Boserup Lauritsen
    Copenhagen, Denmark

    #134620
    jaimebib
    Participant

    @bojan85 tried to work with this plugin aswell but seems non functional..anybody involved in developing for bp who knows if this is even possible to do? Seems like a very basic function that should be included…

    #134619

    In reply to: How to email all users

    shanebp
    Moderator
    #134618
    Sabrin_N
    Participant

    OMG, this is almost what i need :) do you already have it working @davidveldt ?

    what i need is:

    you have the registrationform, the only things i want visible is Name and Email. and then i would like to have a selectbox with 2 options: Company or Student.

    When you register as a company and then login you go to the company profile side. if you are a student then you go to the student profile side. The 2 profile have different profile groups to fill out.

    how can i do this?

    gsikora
    Member

    Hello,
    I have issue. I tried find any pluggin or sollution but I don’t have an idea.
    I have running community and Id like to create some kind mechanizm for defining personal goals. I tried use groups for it but it doesn’t works.

    Simple requirements:
    – member can define personal goal e.g. run marathon in 3:30, run 100 miles during one month, train every day. etc.
    – member should have possibility to log activities at this goal – like activity stream
    – other members could have possiblitity follow this goal

    Advanced requirements:
    – member should have possibility log progress in goal. e.g. run 100 miles and should have possibility add miles each treining he perlorm.
    – share activity ad facebook, twitter

    I found what I’d liek to have at active.com site – see attached screen
    http://screencast.com/t/Se5zlh37Uh

    any idea?

    BR
    /Grzesiek

    #134617
    franclin
    Member

    You can use the admin bar by adding:
    define(‘BP_USE_WP_ADMIN_BAR’, true);to the wp-config,
    above where it says:
    “That’s all, stop editing! Happy blogging.”

    For added customization install the ‘Custom Admin Bar’ plugin. This will give you full control over the Admin bar including the BuddyPress features.

    #134616

    In reply to: Safety and speed

    kiriz
    Member

    I mean in general when bad guys go into code and do something… And by speed , this is the first buddypress site i’ve been to and it seams to me page loading is a bit slow… is it possible to have some ajax plugin not to load everything and some way of speeding it up a bit..?

    Thanks

    franclin
    Member

    Thanks @nilssvz
    Your advice to add: define(‘BP_USE_WP_ADMIN_BAR’, true); to the wp-config file along with a customizing plugin such as ‘Custom Admin Bar’. Have made it really easy to customize my admin bar and retain all the needed functionality of Buddypress and S2Member. Awesome!

    #29410
    Bristol CI
    Participant

    Hi, is there a function to email all users within buddypress? I have the plugin for emailing all group members but not all users and would like this to be a function for Administrators. We have tried using the Notices to all bit but nobody gets an email when these are sent, even where ‘A new site notice is posted’ is ticked under users ‘Email Notification’ settings.

    Any ideas?

    ps. i have tried searching the forums through this site for others with a similar problem, but the search function doesn’t seem to work, I just get redirected to your http://buddypress.org/?s page each time i try….

    Famous
    Participant

    Thank you @mercime

    #134613
    djwinner
    Participant

    OK so now I just got this message from theme author: “I do understand that you have a site lunch today but it looks like the issue is on buddypress end :( Submitted a support ticket.”

    Problem still not resolved and I am getting two different stories from each side. We need to launch today but can’t with this issue. Tempted to disable. How can I go about doing that in the code??

    #134611
    outsidejoe
    Member

    He wasn’t sure late last week. It’s going to take some troubleshooting he mentioned. I posted this issue twice because I wanted to see if anyone had this issue just with buddypress as well as the buddypress / shopperpress combo possibility which, as you mentioned, might not produce a useful result.

    scaylos
    Member

    I am running the latest 3.3.x WordPress and Buddypress 1.5.5 on a shared LAMP server using the Responsive theme with BP Compatibility Plugin. I have been working on a plugin to integrate NEXTGEN Gallery and Buddypress (adds galleries to user profile). My problem is that on Buddypress pages, the scripts and stylesheets are not appearing in the “. I have tried enqueuing and using `wp_head` in my plugin to no avail. The only thing that seems to work for me is using a separate plugin that uses `wp_head`.

    Does anyone have any idea as to why Buddypress is not printing the styles and scripts to the “ and how (or if) I can address this in my code?

    #134610

    In reply to: Group directory

    monchib
    Participant

    @valuser @Hugo
    Guys, I don’t know how to thank you. :)

    #134608

    In reply to: Group directory

    Hugo Ashmore
    Participant

    @valuser thanks, good spot missed that lack of php tags completely assumed they would be added :)

    @monchibord you need to add php tags around those first two lines – sorry I made the assumption they would get added.

    @valuser sounds as though you have styles conflicting if you are calling BP default styles then you need to kill the float:left on avatars so add a new class to that avatar ? ‘group-creator’ or better still add that as an id to the paragraph tag or whatever tag wraps the text and anchor and amongst other styles add ` #group-creator img.avatar {float: none;}` but you may need to play around a bit to find the right rules to override.

    #134607

    Thanks @shanebp .. tweaked and tested. It did what I was looking for.

    #134606

    Thanks @shanebp. That was exactly what I was looking for.

    I have offline documentation on all the tweaks I have made to core. So I am organized around it.

    Thanks for the help.

    #134605
    shanebp
    Moderator

    test

    I don’t think you can set the online interval just for that widget.

    You can adjust the online interval for ‘everything’ by hacking a core file – not recommended.
    But it’s a small hack – so as long as you remember it (lol) when you update BP

    In plugins/buddypress/bp-core/bp-core-classes, ~Line 245
    `
    if ( ‘online’ == $type )
    $sql = “AND DATE_ADD( um.meta_value, INTERVAL 5 MINUTE ) >= UTC_TIMESTAMP()”;
    `

    change the interval to whatever you want.

    GhostPool
    Participant

    WordPress 3.3.2
    BuddyPress 1.5.5

    I get the following error message when trying to compose a message:

    `Fatal error: Cannot redeclare gp_skin_class() (previously declared in /home/ghostpool/ghostpool.com/dev/1/wp-content/themes/bounce/functions.php:127) in /home/ghostpool/ghostpool.com/dev/1/wp-content/themes/bounce/functions.php on line 127`

    You can visit the page here: http://www.ghostpool.com/dev/1/members/admin/messages/compose/

    This error does not occur on any other page and I have no idea why it is occurring, I can’t see any issues with my gp_skin_class() function in functions.php. I have pasted the code from functions.php here: http://pastebin.com/Qc7LkKeQ

    Any help would be appreciated.

    #134602

    In reply to: Group directory

    monchib
    Participant

    @Hugo
    Done…but still nothing after “created by”
    Seriously, I can’t understand what’s wrong. :(
    Thank you

    #134601

    In reply to: Sidebar for Member ?

    Hugo Ashmore
    Participant

    @websitevala

    Please stick to the other thread as this is all related to the main question you have asked and just gets confusing if you start to create multiple posts.

    Get your primary requirements of sidebars/widgets working then move on from there.

    Closing this thread.

    #134598

    In reply to: Group directory

    monchib
    Participant

    thank you Hugo, I hope I did exactly what you said and now I see Created by:
    It doesn’t get the avatar or name…. :(
    This is the code. I’m really sorry to bother you and I really appreciate your help.
    `<?php

    /**
    * BuddyPress – Groups Loop
    *
    * Querystring is set via AJAX in _inc/ajax.php – bp_dtheme_object_filter()
    *
    * @package BuddyPress
    * @subpackage bp-default
    */

    ?>
    global $groups_template;
    $group_detail = $groups_template;

    • <a href="”>

      <a href="”>

      Created By: <a href="group->creator_id) ?>”> $group_detail->group->creator_id , ‘width’ => 80, ‘height’ =>80))?>

      /

    `

    #134596

    In reply to: Group directory

    Hugo Ashmore
    Participant

    @monchibord

    That’s a slightly different question than the opening post suggested, but you can try something like this (doubtless there are better approaches)

    `
    // Somewhere before the groups loop ‘while’
    <?php
    global $groups_template;
    $group_detail = $groups_template;
    ?>
    // In your group loop li element somewhere you can do

    Created By: <a href="group->creator_id) ?>”> $group_detail->group->creator_id , ‘width’ => 80, ‘height’ =>80))?>

    `
    I’ll leave you to work out how to fetch the members name :)

    edit// for completeness I’ll add – although it was really a lesson for the class – the name
    `group->creator_id) ?>`

    It’s actually a useful little snippet and could do with being turned into a function to use in groups loop and single group screens

    #134595
    relachola
    Member

    Thank you

Viewing 25 results - 45,151 through 45,175 (of 94,569 total)
Skip to toolbar