You can see the mod in action on my SP 1.3.1
TestForumor my SP 1.3.2
TestForum132.
The SP 1.3.2 has only admin can register so use boardmod/boardmod for username/password all lowercase.
Ok, just to familiarize myself with the differant versions I went ahead and made mods for versions SP 1.3, SP 1.3.1, SP 1.3.2, and SP 1.4. Works on them all. Just use the mod file with your version in it. I also added an Admin Only Can Register compatible version for SP 1.3.2 and a MenuItems compatible mod for SP 1.3.1.
My main reason for writing this mod was so that IE would save login names and passwords. I also wanted to be able to put a login box in my template so that it would display at the top of every page until the person logged in and/or log out from there as well. This allows me to then remove the logout, login, and register links from the yabb menu to make room for other links.
I then added addmin options to modify the sharedlogin and main login box. The sharedlogin is what apears at the bottom of the boardindex when your logged out. The main login is the login you get when you click on a login link.
Also added the ability to hide the sharedlogin and to hide the login/logout/register links from the menu since if you use one of the template logins, horizontal or vertical, you no longer need those links since its on your template. These menu options are not on the MI mod version since MI does that already.
If you download this mod and install it, please let me know if it worked or not with a reply to this post. Also what mods you have installed already would be nice to know so I know what its compatible with and what its not compatible.
I'd like to thank Carsten and Michael Prage for thier help getting me started with modding.
Special thanks to AngusCS for all his help testing the OACR compatible mod and all his ideas!
Version History
0.7 beta
- Fixed a bug that prevented guests from logging in without going to the home page. This bug only affected people that didn't allow guests to do anything but login.
- Added a MenuItems compatible mod file. The MI mod already has the ability to remove the logout,login, and register links so I took them out of 0.7 beta MI. Those options remain in the other Advanced Login Options 0.7 beta mods.
0.6 beta
- Fixed a bug with the menu displaying profiles to guests and Notification weather it was on or off.
- Added an option to show the shared login box at the bottom of the board index to guests. By default its hidden.
- Added an option to hide to the login/register/logout links in the menu. By default they are shown.
- Added an option to show the cookie edit box on the main login as a drop down box. By default its hidden.
- Added an option to show the cookie edit box on the shared login as a drop down box. By default its hidden.
- Added an option to hide the stay logged in checkbox on the main login box. By defualt its shown.
- Added an option to hide the stay logged in checkbox on the shared login box. By defualt its shown.
- Reorded the mod file so that files edited apeared in order and the search phrases apeared in the order they are found in the files to make it easier for people who do manual installations.
0.5 beta
- Makes the standard login boxes IE compliant so that IE recognizes it as a Login form by hiding the cookie length box and its description. This also allows you to set your cookie length in the admin panel and then your members won't be able to change it.
- Adds a yabb tag you can use in your template to say weather the person is Logged in or not. Tag: <yabb ferillogin1> (This was mainly for testing purposes, but left it in incase someone wanted to use it. It could be usefull.)
- Adds a yabb tag so that you can put a horizontal login box anywhere on your template simply by placing <yabb ferillogin2> where you want it to apear. When they are logged in, its a logout button. When they are logged out, its a login box with username and password entry, Login button, register link, and lost password link.
- Adds another yabb tag the same as <yabb ferillogin2> except it is a vertical box instead of horizontal. Use it by simply by placing <yabb ferillogin3> where you want it to apear.
- All text is placed in the english.lng file so you can easily edit it.
Features I'm planning on adding?
- Admin Options to control settings.
--- More Customization of the login boxes from admin panel so that you can rearange cells and see how they would appear without making actual changes. Once you have them how you would like, you could save it.
--- Hopefully a Menuitems Mod compatible version.