Support » Plugins » UserExtra plugin conflict with Falbum?

  • I have falbum working (wp2.0.2) on a site ( Then I installed usermeta and userextra plugins () from 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:
    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;

    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 column

    results: 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 thumbnail

    results: 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.

Viewing 1 replies (of 1 total)
  • OK, I’ve found a temporary fix for this by commenting out line#766 in userextra.php where the code is:

    add_filter(‘the_posts’, array(&$userextra, ‘filter_posts’));

    it seems to prevent the issue but I believe the issue is related to this plugins ability to limit editing of categories for specific user levels – not sure why it kicks in just for viewing any category. The userextra fields for allow and disallow categories is present on installing and activating this plugin. I did not alter those, nor have I used them… as I am not sure how to.

    For anyone who knows the plugin author or is familiar with this plugin.. do you have falbum running and are you seeing any related issues?

Viewing 1 replies (of 1 total)
  • The topic ‘UserExtra plugin conflict with Falbum?’ is closed to new replies.