ansonphong / postworld

Wordpress Theme Development Framework
GNU General Public License v2.0
7 stars 0 forks source link

pw_live_feed Function #24

Closed michelhabib closed 11 years ago

michelhabib commented 11 years ago

Phong, i am trying to use some functions through Ajax, namely pw_live_feed. Did you work on that function? or is Haidy supposed to complete it? I am not getting expected results. and getting the following warnings multiple times.

! ) Warning: Invalid argument supplied for foreach() in D:\wamp\www\wordpress\wp-content\plugins\postworld\php\postworld_posts.php on line 406

Warning: array_slice() expects parameter 1 to be array, object given in D:\wamp\www\wordpress\wp-content\plugins\postworld\php\postworld_feeds.php on line 23

pw_live_feed

ansonphong commented 11 years ago

I beleive this function hasn't been completed or tested - I don't think Haidy has touched it yet, I was just sketching it in before the pw_query function was complete.

I can look at finishing that today, as it hasn't yet been signed to Haidy.

Phong

On Wednesday, October 2, 2013, michelhabib wrote:

Phong, i am trying to use some functions through Ajax, namely pw_live_feed. Did you work on that function? or is Haidy supposed to complete it? I am not getting expected results. and getting the following warnings multiple times.

! ) Warning: Invalid argument supplied for foreach() in D:\wamp\www\wordpress\wp-content\plugins\postworld\php\postworld_posts.php on line 406

Warning: array_slice() expects parameter 1 to be array, object given in D:\wamp\www\wordpress\wp-content\plugins\postworld\php\postworld_feeds.php on line 23

[image: pw_live_feed]https://f.cloud.github.com/assets/296637/1253087/c9e30086-2b5c-11e3-9004-9fd292aed0c8.jpg

— Reply to this email directly or view it on GitHubhttps://github.com/phongmedia/postworld/issues/24 .

ansonphong commented 11 years ago

Hi Michel Also, if you want you can write the pw_live_feed function if it's holding you back to not have it. All the documentation is in /php/README.md

It is up to you. Otherwise, I will do it today.

On Wednesday, October 2, 2013, phong wrote:

I beleive this function hasn't been completed or tested - I don't think Haidy has touched it yet, I was just sketching it in before the pw_query function was complete.

I can look at finishing that today, as it hasn't yet been signed to Haidy.

Phong

On Wednesday, October 2, 2013, michelhabib wrote:

Phong, i am trying to use some functions through Ajax, namely pw_live_feed. Did you work on that function? or is Haidy supposed to complete it? I am not getting expected results. and getting the following warnings multiple times.

! ) Warning: Invalid argument supplied for foreach() in D:\wamp\www\wordpress\wp-content\plugins\postworld\php\postworld_posts.php on line 406

Warning: array_slice() expects parameter 1 to be array, object given in D:\wamp\www\wordpress\wp-content\plugins\postworld\php\postworld_feeds.php on line 23

[image: pw_live_feed]https://f.cloud.github.com/assets/296637/1253087/c9e30086-2b5c-11e3-9004-9fd292aed0c8.jpg

— Reply to this email directly or view it on GitHubhttps://github.com/phongmedia/postworld/issues/24 .

michelhabib commented 11 years ago

Since we're on the same topic, what about:- pw_get_templates pw_get_feed pw_register_feed pw_get_feed pw_cache_feed Are any of them ready? Should i give Haidy a priority for these functions to help with the AngularJS part?

michelhabib commented 11 years ago

Haidy is helping me out with this one now, i think we just need to see where we are with the rest and then plan for them.

hmikhail commented 11 years ago

Fixed : function pw_live_feed ( $args ) and pw_feed_outline ( $pw_query_args )

Commit: 07f99968f2c14f7d05764738b0eb9e3f740f4445

ansonphong commented 11 years ago

Great, thanks - yes of course, Haidy can prioritize all the PHP functions which are helpers for the Angular JS systems.

On Wed, Oct 2, 2013 at 9:11 AM, hmikhail notifications@github.com wrote:

Fixed : function pw_live_feed ( $args ) and pw_feed_outline ( $pw_query_args )

Commit: 07f9996https://github.com/phongmedia/postworld/commit/07f99968f2c14f7d05764738b0eb9e3f740f4445

— Reply to this email directly or view it on GitHubhttps://github.com/phongmedia/postworld/issues/24#issuecomment-25552037 .