Hi i can´t seem to get this running, it allways gives me this error:
Fatal error: Class 'FileReader' not found in (...)/wp-content/plugins/user-cats-manager/user-cats-manager.php on line 48
Has this happened to you?
Thanks
MAC
Hi i can´t seem to get this running, it allways gives me this error:
Fatal error: Class 'FileReader' not found in (...)/wp-content/plugins/user-cats-manager/user-cats-manager.php on line 48
Has this happened to you?
Thanks
MAC
Hi mac,
i have the same problem.
I just insered die Line:
include($_SERVER['DOCUMENT_ROOT'] . “/wp-includes/streams.php”);
on the top (after die comments) of
/wp-content/plugins/user-cats-manager/user-cats-manager.php
and it works.
I've also fixed another bug of the extension (display all categories at the front page)
replacte
if ($current_user->user_level == 10)
return $cats;
with
// If user is on frontend or admin is logged in show all categories
if ($current_user->user_level == 10 || is_front_page())
return $cats;
as i've described at my blog (german!)
http://www.shofer.at/2009/07/wordpress-kategorien-nur-fur-bestimmte-benutzer-freigeben/
i hope that die extension owner can integrate these bugfixes!
I have the same problem, y tri your way but i still can`t. Would you helpe me? can you show me in what line i must enter the:
include($_SERVER['DOCUMENT_ROOT'] . “/wp-includes/streams.php”);
and another question, excuse me please but: in "document_root" what root i have to write there?
excuse my english am latino.
thanx a lot
If you install Wordpress in subfolder than you will get the problem..
Don't insert the following line.
include($_SERVER['DOCUMENT_ROOT'] . “/wp-includes/streams.php”);
For avoiding the all problem all the time Use and following code..
require_once(ABSPATH . 'wp-includes/streams.php');
If you print the $_SERVER['DOCUMENT_ROOT'] variable then it will be easy to get the problem..
You must log in to post.