Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 51 through 75 (of 222 total)
  • @mrmaz

    Participant

    Here is my two cents that I added to the ticket:

    Its my understanding that bp_core_load_template() was not intended for sub-templates. I believe that all of the core templates use locate_template() to load sub-templates.

    I wrote my own custom locate_template method to check the plugin path instead of the template path, which does not rely on any of the catch uri stuff.

    @mrmaz

    Participant

    @infution

    Currently there is no way to disable the avatar feature.

    @mrmaz

    Participant

    Anton sent me a private message that the issue above was a problem with his child theme that was breaking Links.

    @mrmaz

    Participant

    @hnla

    Thanks for reporting that broken LI tag. I am going to make sure that is fixed for the next release. I am surprised that its not causing anyone problems, weird.

    The PHP 5.2 requirement is based on me developing it on 5.2. WP ships with some compatibility functions for people running older versions of PHP, but since I am not testing my plugin against the compat functions, then I don’t feel comfortable supporting older PHP versions “officially.”

    @kimsoler

    I just tested this myself and did not have any problems. Can you be more specific about what exactly is happening?

    @mrmaz

    Participant

    @clintaneastwood

    You only need to take those steps if you are trying to override the PHP templates. If you just want to override some styles, then you can do that in your child theme’s stylesheet.

    @mrmaz

    Participant

    Yes

    @mrmaz

    Participant

    If you guys can agree on an existing GPL events plugin that works in WordPress I might consider extending it or forking it to work with BuddyPress. The one that David Lewis mentioned looks promising, and I would probably fork that one since it hasn’t been updated for 9 months (depending on what the author has to say).

    @mrmaz

    Participant

    4,42,46 is not an array, that is a string of ids separated by commas. You should not be imploding the ids.

    Get rid of this part of your function:

    if(!empty($excludecats)){
    $excludecats = implode(',',$excludecats);
    }

    You should read up on arrays http://php.net/manual/en/language.types.array.php

    @mrmaz

    Participant

    query_posts() is expecting an array to passed to it for the arg ‘category__not_in’. It looks like you are passing it a string of ids separated by commas. get_exclude_categories_loop() should be returning an array.

    query_posts(array('category__not_in' => array(2,6)));

    See multiple category handling here:

    https://codex.wordpress.org/Template_Tags/query_posts

    This is not valid PHP:

    <?php
    query_posts(array('category__not_in' => array(get_exclude_categories_loop))); ?>
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>

    This is:

    <?php
    query_posts( array( 'category__not_in' => get_exclude_categories_loop() ) ); ?>
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>

    @mrmaz

    Participant

    Yes, if you create those files in your child theme, they should override the core templates that ship with with the plugin.

    LMK if you run into any problems, not many people seem to be customizing the templates yet.

    Marshall

    @mrmaz

    Participant

    @thekmen

    You are correct, that is a bug. Thanks for the report.

    You can change that manually, or check out the 0.3 branch, as I have just committed that fix…

    svn co https://plugins.svn.wordpress.org/buddypress-links/branches/0.3

    Thanks!

    @mrmaz

    Participant

    @bpinspire

    Probably still at least a week away from a 0.4 beta. If you want to download the development version and play with it most of the group integration is done. Please don’t post any feedback on this thread though, I don’t want any confusion between the versions.

    @mrmaz

    Participant

    @bpinspire

    Do you see the problem with the default theme activated (no child theme)?

    Before I release the next version I am going to do more testing on single WP myself. Up until this point I have been relying on feedback.

    @mrmaz

    Participant

    @pnju

    Just override the style in your child theme.

    @mrmaz

    Participant

    @WPin.me

    Very cool! I’m glad that people are starting to play with extending this plugin. I tried hard to provide as many hooks as possible.

    If you want to avoid hacking the core template you could do something like this in your functions.php:

    function my_selfserv_sexy() {
    if( function_exists( 'selfserv_sexy' ) ) {
    selfserv_sexy();
    }
    }
    add_action( 'bp_link_header_meta', 'my_selfserv_sexy' );

    Now you can upgrade the plugin without having to modify the template each time.

    @mrmaz

    Participant

    I don’t agree with the patent, but I would rather Facebook own it than a patent troll company that makes a living patenting technology for the sole purpose of suing established business that rely on the technology. Facebook has a reputation to uphold, unlike patent trolls who don’t care about their rep. Facebook patents all of their technology, no matter how dumb it may seem, to protect themselves from patent trolls. Amazon did the same thing with one-click.

    IANAL, but from what I read it seems that the key to the patent is the “algorithm”, otherwise it might look too much like RSS to be patentable, so if your feed is simply reverse chronological order then everything is probably cool. Will be interesting to see how this plays out though. A patent is just a piece of paper until a judge is reading it.

    @mrmaz

    Participant

    @Anton

    In theory you can change the slug but it needs to be tested heavily as I’m sure it doesn’t work 100% yet. This is on my list of things to do in the near future.

    @mrmaz

    Participant

    I just tagged 0.3.2 which has some pretty significant bug fixes.

    * Fixed broken paging issues

    * Fixed bug with status check in some queries

    * My Links now correctly only shows the displayed user’s links

    * My Links activity now correctly only shows the displayed user’s links activity

    @mrmaz

    Participant

    Andy mentioned in IRC that the oEmbed filter may become a core option (enable/disable) in 1.3. Whatever happens the two will always play nice together.

    FWIW, I think they serve separate purposes. My plugin will provide an alternate way to embed media in the stream without taking up quite as much real estate.

    r-a-y is right, its about choices, and this is why I didn’t discourage him from releasing his plugin when we discussed it.

    @mrmaz

    Participant

    @Anton

    I am seeing the issue on 1.2.1 as well, so not sure how this one slipped by. I am going to get it patched up and release a fix asap.

    @mrmaz

    Participant

    @Anton

    I am seeing the same problem. Are you running BP 1.2 or 1.2.1?

    @mrmaz

    Participant

    The best trick I learned for fighting spam bots is to ask a question that only a human can answer and making them type it into a text box. If you change the question daily or randomize it, it makes it even tougher. Don’t do anything like math or captcha or something that a bot can calculate or decipher. Ask a question like “What color is snow?” or “How many sides does a triangle have?”

    But if humans are filling out the forms, you are pretty much SOL.

    @mrmaz

    Participant

    I just tagged 0.3.1 which has only major bug fixes and translation updates.

    * Fixed nasty SQL query bug, big props to windhamdavid

    * Fixed broken category filtering that affected recently active links for single user

    * Updated French translations, props Chouf1

    * Added German translation, props Michael Berra

    * Added Swedish translation, props Ezbizniz

    @mrmaz

    Participant

    @bpinspire

    I am deep into group integration right now, then I am going to work on the activity stream integration. Once those are done I will be doing the testing before releasing 0.4. So its probably going to be a week or two at the least.

    @mrmaz

    Participant

    @gonzales84

    Yes, the plugins folder is correct. Do not put it in the mu-plugins folder.

Viewing 25 replies - 51 through 75 (of 222 total)
Skip to toolbar