adding getwallpost to polls module

I have added the alert so when someone adds a pole, it is entered in the bx_wall_events table, it looks structured correctly, however, when I view the wall, it is ignored.

I have the table sys_alerts edited with bx_poll add 14

and 14 is the wall service.

when I get to function _getsystem, and view the handlers variable bx_poll_add is not in the handlers list.

I have cleared the DB cache, and have been working on this a couple days.  Still  no luck, it just gets ignored because it's not in the service variable.

ALL the other entries in sys_alerts under ADD are there and work properly.

This is the array dump from $this->_aHandlers in BxWallModule function getSystem

Array
(
    [beckmedia_games_add] => Array
        (
            [alert_unit] => beckmedia_games
            [alert_action] => add
            [module_uri] => games
            [module_class] => Module
            [module_method] => get_wall_post
        )

    [bx_avatar_add] => Array
        (
            [alert_unit] => bx_avatar
            [alert_action] => add
            [module_uri] => avatar
            [module_class] => Module
            [module_method] => get_wall_post
        )

    [bx_avatar_change] => Array
        (
            [alert_unit] => bx_avatar
            [alert_action] => change
            [module_uri] => avatar
            [module_class] => Module
            [module_method] => get_wall_post
        )

    [bx_events_add] => Array
        (
            [alert_unit] => bx_events
            [alert_action] => add
            [module_uri] => events
            [module_class] => Module
            [module_method] => get_wall_post
        )

    [bx_files_add] => Array
        (
            [alert_unit] => bx_files
            [alert_action] => add
            [module_uri] => files
            [module_class] => Search
            [module_method] => get_wall_post
        )

    [bx_groups_add] => Array
        (
            [alert_unit] => bx_groups
            [alert_action] => add
            [module_uri] => groups
            [module_class] => Module
            [module_method] => get_wall_post
        )

    [bx_photos_add] => Array
        (
            [alert_unit] => bx_photos
            [alert_action] => add
            [module_uri] => photos
            [module_class] => Search
            [module_method] => get_wall_post
        )

    [bx_sounds_add] => Array
        (
            [alert_unit] => bx_sounds
            [alert_action] => add
            [module_uri] => sounds
            [module_class] => Search
            [module_method] => get_wall_post
        )

    [bx_videos_add] => Array
        (
            [alert_unit] => bx_videos
            [alert_action] => add
            [module_uri] => videos
            [module_class] => Search
            [module_method] => get_wall_post
        )

    [modzzz_acheive_add] => Array
        (
            [alert_unit] => modzzz_acheive
            [alert_action] => add
            [module_uri] => achieve
            [module_class] => Module
            [module_method] => get_wall_post
        )

    [modzzz_answers_add] => Array
        (
            [alert_unit] => modzzz_answers
            [alert_action] => add
            [module_uri] => answers
            [module_class] => Module
            [module_method] => get_wall_post
        )

    [modzzz_bulletin_add] => Array
        (
            [alert_unit] => modzzz_bulletin
            [alert_action] => add
            [module_uri] => bulletin
            [module_class] => Module
            [module_method] => get_wall_post
        )

    [modzzz_credit_add] => Array
        (
            [alert_unit] => modzzz_credit
            [alert_action] => add
            [module_uri] => credit
            [module_class] => Module
            [module_method] => get_wall_post
        )

    [modzzz_drink_add] => Array
        (
            [alert_unit] => modzzz_drink
            [alert_action] => add
            [module_uri] => drink
            [module_class] => Module
            [module_method] => get_wall_post
        )

    [modzzz_faq_add] => Array
        (
            [alert_unit] => modzzz_faq
            [alert_action] => add
            [module_uri] => faq
            [module_class] => Module
            [module_method] => get_wall_post
        )

    [modzzz_gift_add] => Array
        (
            [alert_unit] => modzzz_gift
            [alert_action] => add
            [module_uri] => gift
            [module_class] => Module
            [module_method] => get_wall_post
        )

    [modzzz_mood_add] => Array
        (
            [alert_unit] => modzzz_mood
            [alert_action] => add
            [module_uri] => mood
            [module_class] => Module
            [module_method] => get_wall_post
        )

    [modzzz_notify_add] => Array
        (
            [alert_unit] => modzzz_notify
            [alert_action] => add
            [module_uri] => notify
            [module_class] => Module
            [module_method] => get_wall_post
        )

    [modzzz_photocontest_add] => Array
        (
            [alert_unit] => modzzz_photocontest
            [alert_action] => add
            [module_uri] => photocontest
            [module_class] => Module
            [module_method] => get_wall_post
        )

    [modzzz_point_add] => Array
        (
            [alert_unit] => modzzz_point
            [alert_action] => add
            [module_uri] => point
            [module_class] => Module
            [module_method] => get_wall_post
        )

    [modzzz_poke_add] => Array
        (
            [alert_unit] => modzzz_poke
            [alert_action] => add
            [module_uri] => poke
            [module_class] => Module
            [module_method] => get_wall_post
        )

    [modzzz_question_add] => Array
        (
            [alert_unit] => modzzz_question
            [alert_action] => add
            [module_uri] => question
            [module_class] => Module
            [module_method] => get_wall_post
        )

    [modzzz_recipe_add] => Array
        (
            [alert_unit] => modzzz_recipe
            [alert_action] => add
            [module_uri] => recipe
            [module_class] => Module
            [module_method] => get_wall_post
        )

    [modzzz_spotlight_add] => Array
        (
            [alert_unit] => modzzz_spotlight
            [alert_action] => add
            [module_uri] => spotlight
            [module_class] => Module
            [module_method] => get_wall_post
        )

    [modzzz_tag_add] => Array
        (
            [alert_unit] => modzzz_tag
            [alert_action] => add
            [module_uri] => tag
            [module_class] => Module
            [module_method] => get_wall_post
        )

    [modzzz_verify_add] => Array
        (
            [alert_unit] => modzzz_verify
            [alert_action] => add
            [module_uri] => verify
            [module_class] => Module
            [module_method] => get_wall_post
        )

)

JUST when I think I get the alerts figured out, it throws me a loop!

Thanks for your time.

http://www.mytikibar.com
Quote · 12 Dec 2012

Please, anybody out there know how the wall module reads alerts from the database?

http://www.mytikibar.com
Quote · 16 Dec 2012

Honestly, I hate to keep bringing this up but.

I just do NOT know what I am missing here.

I added serviceGetWallPost to  another module and guess what?  It shows on the wall just fine!!!  GGGGGRRRRR!!!!!

http://www.mytikibar.com
Quote · 17 Dec 2012

This is on 7.0.9 BTW.

Still trying to solve this.

Ads and Events have the same functions.  They both respond to the Wall asking to display a record entry.

I STILL cannot get Polls to respond to a data entry in the bx_wall_events.

It's skipped when the wall info is displayed.

I have added function serviceGetWallData, serviceGetWallPost and function onEventCreate to the BxPollsModule.php

The alert works fine as when I create a poll, the data is entered in bx_wall_events table.  So I know my sys_alerts and sys_alerts_handler table is correct (unless I am missing something there).

I can see the spydata functions and those work fine. I don't use the spy module.

Is there anyone that can help me with this please? 

http://www.mytikibar.com
Quote · 20 Dec 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.