| User | Post |
|
4:04 am January 28, 2010
| absimiliard
Member
| | | |
|
| posts 2 |
|
|
Hi,
Your plugin works fine, except a little bug, but perhaps its comes from my server configuration… When i deactivate the plugin, a htaccess is written in my uploads folder:
# BEGIN Role Scoper
# END Role Scoper
It seems to do nothing, but it blocks all acces to the folder: the media stocked here don't appear anymore. My personnal solution: edit the plugin and remove this feature.
Could you tell me the name of the function to edit , and the file to edit please ?
Thanks.
|
|
|
7:49 am January 28, 2010
| Kevin
Admin
| | | |
|
| posts 2503 |
|
|
Apparantly your server does not support .htaccess in subdirectories. After deleting it, turn off the following option: Roles > Options > File Filtering.
New installations of Role Scoper will have that feature disabled by default, to avoid situations like this.
|
|
|
7:56 am January 28, 2010
| Kevin
Admin
| | | |
|
| posts 2503 |
|
|
On second thought, you will also need to modify plugins/role-scoper/rewrite-rules_rs.php as follows:
change:
insert_with_markers( $file_path, $marker_text, explode( "\n", $insertion ) );
to:
if ( $insertion || file_exists($file_path) )
insert_with_markers( $file_path, $marker_text, explode( "\n", $insertion ) );
|
|
|
8:43 am January 28, 2010
| absimiliard
Member
| | | |
|
| posts 2 |
|
|
Thanks…it works…(i think…)
|
|