We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Locked Topic
[ C ] Guest Account
Topic Started: May 4 2012, 09:49 PM (326 Views)
H3LLH0UND
Member Avatar
Hellish Hound
[ *  * ]
Board Address: fnbn.org
Board Software: ZetaBoards
Description:
I would like an account to be used as a guest account. With that said, I want the account locked. I have done most of that through the Admin CP but I was able to change the password to that account.

I wanted to know if there was a way to lock out any changes to that account to anyone who uses it, can not change anything.
Edited by H3LLH0UND, May 4 2012, 09:49 PM.
Offline Profile Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
So essentially you want it so they don't have access to the Preferences areas?
Offline Profile Goto Top
 
H3LLH0UND
Member Avatar
Hellish Hound
[ *  * ]
Yeah. No one can edit the account in any way unless done by the Admin CP.
Offline Profile Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
Admin CP Posted Image Themes Posted Image Board Template Posted Image Below the Board
Code:
 
<script type="text/javascript">
(function ($) {
var profileID = 'PROFILE_ID';

if ($('#top_info strong a[href*="/profile/' + profileID + '"]').length) {
$('form[action*="/home"]').submit(function (event) {
event.preventDefault();
alert('You are not allowed to edit this account');
});
}
})(jQuery);
</script>
Change PROFILE_ID as necessary.

Just remember, like with all JavaScript codes, this can be deterred by disabling JavaScript.
Offline Profile Goto Top
 
H3LLH0UND
Member Avatar
Hellish Hound
[ *  * ]
But thats why I have a Code that will redirect people who turn it off to another page. I'm just crafty like that :P

Thanks A TON Cory!!!!!!!
Offline Profile Goto Top
 
Eccentric Feline
Member Avatar
梦想
[ *  *  *  *  *  *  *  * ]
Completed!

Your request has been completed. If you have any questions or concerns regarding the state of your request, please feel free to contact me via PM.
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Closed Requests · Next Topic »
Locked Topic