WordPress.org

Support

Support » Plugins and Hacks » Sending topics from bbPress

Sending topics from bbPress

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author dtsolis

    @dtsolis

    Hi and thank you for your support!

    I didn’t have the change to work on bbPress but the work around is this:
    1. search for any available hook that bbPress might have implemented
    2. if there are some hooks, find the one that is related with ‘new topic’
    3. send the push

    In order to send the push via this plugin, you can modify the code below to suite your needs

    $message = 'New topic on bbPress';
    $badge = 1;
    $channels = 'channel_1,channel_2';
    $post_id = 13;
    $extraKeyForValue = 'topic_title';
    $extraValue = 'Hello from bbPress';
    
    include(plugins_url().'/simple-parse-push-service/pushFunctionality.php');
    
    sendPushNotification(get_option('simpar_appID'), get_option('simpar_restApi'), $message, $badge, $post_id, get_option('simpar_pushChannels') ,$extraKeyForValue, $extraValue);
    Plugin Author dtsolis

    @dtsolis

    I found a handy list of bbPress hooks that might be helpful http://etivite.com/api-hooks/bbpress/

    Thank you dtsolis!

    Now I should read a little about WP Api Hooks 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Sending topics from bbPress’ is closed to new replies.