Quote
Raven
You all do know that feature to save data for forms, don't you..
Well, I accidently pressed "yes"(=save) while being in a forum (I'm admin there).
Now when I try to edit a user's data, it keeps inserting my own data into the form every time (phpBB2)..
so.. how can I turn it off again?
Almost eight years later I've encountered the same problem, and developed a solution.
I'm also an admin at a phpbb forum, and while viewing and editing user profile data K-Meleon keeps detecting the username/password fields in the forms and auto inserting my own username and password where they don't belong. When I log into the forum I obviously want K-Meleon to insert my name and password, but when I'm viewing other profiles with the admin tools this behavior is a serious problem.
To use the forum admin tools without interference the "remember login data" function must be disabled, as seen in the Privacy and Security Settings in the Preferences window. My 'solution' is just a quicker way of changing that setting, by using a macro.
The "remember login data" option toggles the preference "signon.rememberSignons" between true (on) and false (off). Having learned that a very simple macro can be used to toggle a boolean (true/false) preference, I used this:
phpbbfix{
togglepref(BOOL,"signon.rememberSignons");
}
I originally invoked it with some accelerator keys but later decided to create something more complex - a menu item that would also show the status. After hours of spirit crushing macro learnin' (I hate asking for help) I came up with the following.
####### Macro to Toggle Automatic Login #######
# (aka the "remember login data" option in Privacy and Security)
ToggleLoginData{
macroinfo=_("Toggles the Automatic Login Option");
menuchecked=!getpref(BOOL,"signon.rememberSignons");
togglepref(BOOL,"signon.rememberSignons");
}
LoginData{
setmenu(Preferences,macro,"Disable Login",ToggleLoginData);
setaccel("CTRL ALT L","macros(ToggleLoginData)");
}
$OnInit=$OnInit."LoginData;";
$macroModules=$macroModules."ToggleLogin;";
####### End of Macro #######
Paste that blue macro code into a text editor and save it as "ToggleLogin.kmm", then put it in the macros folder and restart K-Meleon. It will add a
"Disable Login" option to the bottom of the Edit menu, and a check mark will appear next to the menu item when it's disabled. The option can also be toggled with the key combination
Ctrl-Alt-L (L for Login).
For the purposes of a phpbb administrator, you can simply toggle the option before using the admin tools to prevent your own username and password from being inserted in the forms.
This macro can be customized in numerous ways, by changing the menu name, location and position in the setmenu line, by changing the hotkeys in the setaccel line, by changing the status bar text in the macroinfo line, etc. You could even create an all new boolean preference toggle by also changing the pref in the menuchecked and togglepref lines.