1) Admin is the only user that is enabled for uploads because PHPWiki
doesn't have a real user login system in the release versions. Reini
Urban has recently commited a "real" user system into CVS. If able you
can hack lib/main.php and/or lib/WikiUser.php to enable uploads for
other users.
2) You can use html by editing lib/plugin/RawHtml.php to
"define('ENABLE_RAW_HTML', true);", but I would seriously consider NOT
doing this. Enabling HTML is very insecure and it means that you will
lose the ability to control the display of content. Encourage your
users to learn wiki -- it is really easy and should provide most of what
they need.
jbw
Lawrence F. London, Jr. wrote:
>
> Is there any way to enable file uploads for other than admin
> through WikiForm.php or some other script?
> A friend pointed me to this non-working URL:
> http://pro-pos.sourceforge.net/wiki/upload.php
> Can upload.php be used and is it available for download?
>
> I can't find a place to enable html tags in the version I'm
> running: PHPWIKI_VERSION', '1.3.2-jeffs-hacks' through index.php.
> I assume it is better to forget html in wiki. Some of my users
> have asked about this feature since the online helpfiles say
> this is possible.
>
|