no post data from guest posts, when not logged in
Brought to you by:
crayzeepete,
henrylegge
if you are not logged in, you can't see any posts of other guests.
to fix the bug, replace in ipbsdk_class.inc.php the following part of function get_post_info:
$mem = $this->get_advinfo($row['author_id']);
$row = array_merge($row,$mem);
width
if(!empty($row['author_id'])) {
$mem = $this->get_advinfo($row['author_id']);
$row = array_merge($row,$mem);
}
Logged In: YES
user_id=1091024
Originator: NO
Not entirely getting this...
get_post_info doesn't currently run any perms checks, it's up to you to check if someone's logged in or not.
Logged In: YES
user_id=1457161
Originator: YES
no, the problem is that ipbsdk has a failure when a guest is viewing a post of a guest.
the ipbsdk is getting the user-data from the currently logged in user, when you are calling member_info. if you are grab the post_info, you call member_info too. when guests are logged_in, member_info cannot grab any member-datas, so this failure will produced.
Logged In: YES
user_id=1091024
Originator: NO
Okay, will take a closer look...
Thanks :)