Skip to:
Content
Pages
Categories
Search
Top
Bottom

external-group-blogs Plugin update-bug?

  • @miguael

    Participant

    I think Andys Plugin is just great!

    I experience the following behavier: The external Blogs only get updated, when someone actually clicks on the “blog feeds” link in the groups. Only then the activity stream gets updated. I guess that’s not the idea, because the activity should draw people to the group/blog – not the other way around.

    Is that just with me or do other have the same problem? Is there fix (update?)

Viewing 8 replies - 1 through 8 (of 8 total)
  • @miguael

    Participant

    anyone having the same issue?

    @chouf1

    Participant

    i experience the same issue… but i also read this on line 19 of the php file

    wp_schedule_event( time(), ‘twicedaily’, ‘bp_groupblogs_update_all_feeds’ );

    I suppose this means “refresh the output every 12 hours”.

    Perhaps try to load a thread that is (surely) hourly updated to view if something changes in your plugin output ? :-)

    @miguael

    Participant

    Thanks for the hint. I am trying it with a very much updated feed already and it does not refresh every 12 hours… Only when I go manually to the group (or somebody else), then it fetches the feed and makes the activity entries…

    Any more ideas…?

    @miguael

    Participant

    Andy, since your on the move in the forums :-) – do you know what could be the reason for that (your plugin)?

    @apeatling

    Keymaster

    The scheduling doesn’t seem to work properly, it should fetch twice a day. I don’t have time to look into this right now, but anyone interested in debugging?

    @stwc

    Participant

    Just a note that I’ve experienced the same issue — was meaning to post about it myself.

    @r-a-y

    Keymaster

    Andy,

    Looking at the codex, it appears you’re missing an add_action.

    Change the first five lines of your plugin to:

    /* Schedule an event that will update all external blog feeds twice daily. */
    function bp_groupblogs_on_activation() {
    wp_schedule_event( time(), 'twicedaily', 'bp_groupblogs_action' );
    }
    register_activation_hook( __FILE__, 'bp_groupblogs_on_activation' );
    add_action('bp_groupblogs_action','bp_groupblogs_update_all_feeds');

    This is untested, not sure if it will work.

    @sastry

    Participant

    Hi , Is there are a way to redirect avatar link to group page instead of sending the user to members page.

    When i am using External group blog. The posts coming from external sites have avatar of this group but the avatar link is redirecting to members page i want this to redirect to Group page. Where should i change the code.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘external-group-blogs Plugin update-bug?’ is closed to new replies.
Skip to toolbar