Skip to:
Content
Pages
Categories
Search
Top
Bottom

  • About
  • Plugins
  • Themes
  • Documentation
  • Blog
  • Support
  • Download

BuddyPress.org


  • Register
  • Lost Password
  • Log In

@xgote active 1 year, 8 months ago
  • Personal
  • Mentions
  • Favorites
  • Profile picture

    David Yerrington replied to the forum topic Getting group avatar, outside of loop. in the group How-To and Troubleshooting 1 year, 8 months ago

    Solution: Getting the URL with bp_core_fetch_avatar() and using the option ‘html’ => false to get group images by URL rather then a whole image tag.

    IE:
    `
    $avatar_options = array ( ‘item_id’ => ’1′, ‘object’ […]

  • Profile picture

    David Yerrington replied to the forum topic Getting group avatar, outside of loop. in the group How-To and Troubleshooting 1 year, 8 months ago

    Alright, drilling down a bit further, in bp-groups/bp-grouptemplatetags.php, around line 279, there’s our bp_get_group_avatar() method.

    `
    function bp_get_group_avatar( $args = ” ) {
    global $bp, $groups_template;

    […]

  • Profile picture

    David Yerrington started the forum topic Getting group avatar, outside of loop. in the group How-To and Troubleshooting 1 year, 8 months ago

    I’ve found only a few examples of using bp_get_group_avatar(). I can’t seem to get anything returned other then a blank image.

    http://phpxref.ftwr.co.uk/buddypress/bp-groups/bp-groups-template.php.source.html#l380

    So […]

  • Profile picture

    David Yerrington posted on the forum topic Achievements for actions through other plugins in the group Achievements: 2 years ago

    Given the context of the type of developer that would potentially find your documentation useful, it’s somewhat appropriate. My issue was that I have a fairly large project that is loosely integrated with wordpress. A lot of my database inserts are performed outside any do_action() or any “official hooks”. I think one thing that threw [...]

  • Profile picture

    David Yerrington posted on the forum topic Achievements for actions through other plugins in the group Achievements: 2 years ago

    I’m still kinda new to Wordpress but I’m a fairly seasoned PHP dev. What I learned: How to cook a custom event ———————————————- 1) Action must be defined, ie: add_action(‘action_name’, ‘function_reference’) 2) If using a class method for your function method, use an array, ie: add_action(‘action_name’, array(&$obj,…[Read more]

  • Profile picture

    xgote posted on the forum topic ”..you need to upload an image to the WordPress Media Library”. Plenty of images though. in the group Achievements: 2 years ago

    Perhaps something changed in a recent version of Wordpress (1.3.2)? I got some sleep and then opened my editor again. The fix for me, was probably not an elegant one: 1) includes/achievements_templatetags.php, around line ~1630, Updated the method dpa_change_picture_has_pictures() to return $wp_query->post_count instead of $wp->post_found 2)…[Read more]

  • Profile picture

    xgote started the forum topic ”..you need to upload an image to the WordPress Media Library”. Plenty of images though. in the group Achievements: 2 years ago

    So, I’ve got plenty of images to select from in my media library, however, I can’t select any from the “Change Picture” tab. First thing I looked at was includes/templates/achievements/single/change_picture.php dpa_change_picture_has_pictures() is a method that returns $wp_query->found_posts. This attribute looks sort of bare:…[Read more]

  • Profile picture

    xgote posted on the forum topic Achievements for actions through other plugins in the group Achievements: 2 years ago

    I added a record into “wp_achievements_actions”, like category=custom, name=test_event, description=a test!, is_group_event=0. Now I see the event show up in “Other” when I’m in the “create achievements” form when I select “event”. Cool! When I reload the achievement details page after I created it, the % goes up every time I reload the page. Now [...]

  • Profile picture

    xgote joined the group Achievements 2 years ago

  • Profile picture

    xgote posted on the forum topic Searching / browsing through extensions in the group Requests & Feedback: 2 years, 3 months ago

    I had some time earlier to create a little spider that basically: – Scans the extensions page (all 12 pages!) for the direct URL’s of each plugin – Extracts meta-data from each of the pages (title, rating, downloads, last updated, compatible, requires.. etc) – Normalizes a little bit – Dumps to text file for database [...]

  • Profile picture

    xgote started the forum topic Searching / browsing through extensions in the group Requests & Feedback: 2 years, 4 months ago

    I’m fairly new to buddypress and one of the features that I really think makes this project so great is the community and all of the add-ons that are published. So many great extensions but very limited ability to find what I’m looking for. The things I want to know, quickly are: 1) Top extensions [...]

  • Profile picture

    xgote joined the group Requests & Feedback 2 years, 4 months ago

  • Profile picture

    xgote posted on the forum topic Image Facebook-like tagging. Want to help ! in the group BuddyPress Media: 2 years, 6 months ago

    @foxly this is great! I will have to give this plugin another look. When I first installed it, nothing worked with the version of WP and BP I have installed (most recent).

    I’ll check out the code and see if I can’t help :)

  • Profile picture

    xgote joined the group BuddyPress Media 2 years, 6 months ago

  • Profile picture

    xgote posted on the forum topic Image Facebook-like tagging. Want to help ! in the group BuddyPress Media: 2 years, 6 months ago

    I’ve considered writing a mod for enabling photo tagging. I’m still evaluating a few different plugins vs writing my own. Have you guys made any progress with this or need any help?

Profile picture of David Yerrington
  • Activity
    • Personal
    • Mentions
    • Favorites
  • Profile
    • View
  • Sites 0
    • My Sites
  • Forums
    • Topics Started
    • Replies Created
    • Favorites

See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS

Follow BuddyPress on Twitter • GPL • Contact Us • Terms of Service

Skip to toolbar
    • WordPress.org
      • About WordPress
      • Documentation
      • Support Forums
      • Feedback
      • Developer Trac
      • Developer Blog
    • bbPress.org
      • About bbPress
      • Documentation
      • Support Forums
      • Feedback
      • Developer Trac
      • Developer Blog
    • BuddyPress.org
      • About BuddyPress
      • Documentation
      • Support Forums
      • Feedback
      • Developer Trac
      • Developer Blog
  • BuddyPress.org
    • Log in
  • Anonymous
    • AnonymousNot Logged In
    • Register
    • Lost Password
    • Log In
Log Out