Installed Patches and Bugfixes
This Wiki is based on Usemod 1.0 has following modifications:
- [Patch: LoginLogoutByUsername] ([/Usemod10LoginLogout local])
- [Patch: EditFromTop]
- [/Usemod10NeedUsernameLoginLogoutBar Patch: Need Username and Login/Logout?-Bar]
- [Bugfixes: Marks Accumulated Bugfixes]
- [Patch: RestrictPages], modified, see below.
Extensions
Login with username and Logout function
/Usemod10LoginLogout: Patch against Usemod 1.0
Need Username and Login/Logout?-Bar
Taken from [LoginRework], but changed a little bit, to fit better with /Usemod10LoginLogout.
Restrict Pages Patch
Take from http://www.usemod.com/cgi-bin/wiki.pl?WikiPatches/RestrictPages
but slightly modified to provide following extension in the restrict-file:
- Usernames (already included)
- Hostnames/Domains?, must have a trailing "@", e.g. sub.my.domain@, matching everthing *sub.my.domain
- IP-Host- oder Networkadresses, must have a leading "@", e.g. @192.168.1., matching 192.168.1.*
518c518
< return 1 if grep {$UserData{'username'} eq $_} @users;
---
> return 1 if grep {$UserData{'username'} eq $_ or substr($ENV{'REMOTE_HOST'}.'@',rindex($ENV{'REMOTE_HOST'}.'@',$_)) eq $_ or index('@'.$ENV{'REMOTE_ADDR'},$_) == 0} @users;