UserExtra plugin conflict with Falbum?
-
I have falbum working (wp2.0.2) on a site (www.schoonermaggieb.net). Then I installed usermeta and userextra plugins () from squish.net in order to add some additional fields to my database as part of some more functionality I’m trying to build for the site.
It all seemed to work just fine. HOWEVER: if you click on one of the random (falbum) thumbnails in the right column (on the homepage, for example) AND you are not logged in, you go to that image (flickr image) but you ALSO get an error message at the top of the page that points to a problem in line #662 of the userextra.php file in the plugins folder.
Here’s that code:
[code]
function filter_posts($posts) {
global $user_level;
if ($user_level == 10)
return $posts;
$ok = array();
foreach ($posts as $post) {
if ($this->is_current_user_allowed($post))
$ok[] = $post;
}
return $ok;
}
[/code]This is line#662: foreach ($posts as $post) {
This is directly related to being logged in, which you can test:
1) register for the site
2) click a thumbnail in the right columnresults: no error at top of page (dark gray text on blue background and page gets messed up)
3) if logged in (status displayed at bottom of right column), use logout link
4) go back to home page and click thumbnailresults: you DO get error message even though the photo shows up.
HELP! Does anyone have any idea how to fix this? I’ve tried posting and emailing james at squish dot net to no avail. It seems he’s busy or something.
I really need this plugin but cannot have to require readers to be logged in just to not see an error.
Please, if you think you can help, I’m all ears.
- The topic ‘UserExtra plugin conflict with Falbum?’ is closed to new replies.