|
Revision 1081, 0.9 kB
(checked in by ben, 2 years ago)
|
Integrating content toolbar and file repository integration by Diego Ramirez.
|
| Line | |
|---|
| 1 |
Elgg file plug-in |
|---|
| 2 |
Curverider <info@curverider.co.uk> |
|---|
| 3 |
Initial concept: Dave Tosh and Ben Werdmuller |
|---|
| 4 |
Wizard page: Diego Ramirez |
|---|
| 5 |
Programming and development: Dave Tosh, Ben Werdmuller, Sven Edge and Diego RamÃrez |
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
To use, the 'file' folder must sit in the 'mod' folder of your Elgg installation. |
|---|
| 9 |
|
|---|
| 10 |
To go in .htaccess: |
|---|
| 11 |
RewriteRule ^([A-Za-z0-9]+)\/files\/?$ mod/file/index.php?files_name=$1 |
|---|
| 12 |
RewriteRule ^([A-Za-z0-9]+)\/files\/([0-9]+)\/?$ mod/file/index.php?files_name=$1&folder=$2 |
|---|
| 13 |
RewriteRule ^([A-Za-z0-9]+)\/files\/([0-9\-]+)\/([0-9]+)\/(.+)$ mod/file/download.php?files_name=$1&folder=$2&filename=$4&id=$3 |
|---|
| 14 |
RewriteRule ^(([A-Za-z0-9])[A-Za-z0-9]+)\/files\/rss\/?$ _rss/static.php?username=$1&userref=$2&type=files |
|---|
| 15 |
RewriteRule ^([A-Za-z0-9]+)\/files\/rss\/(.+)\/?$ mod/file/rss2.php?files_name=$1&tag=$2 |
|---|
| 16 |
RewriteRule ^_icon\/file/([-0-9]+)$ mod/file/icon.php?id=$1 |
|---|