View Full Version : remove "invisible" choice from admin.....
drives fast
08-19-2003, 10:03 PM
hello...I did a lot of searching but couldn't find this not could I figure out how myself...
I put a copy of the user.php from the admin dir into the mod dir so my mods could have more control over the members......although...I don't allow invisible users on my site.....I need to know how to remove that selection from the user.php and it still make sure the setting is "no" if any edits are done
I know how to do that in a template but the user.php is different.
can anyone help me with this?
BTW....vb version is 2.2.7
thanks in advance
drives fast
08-19-2003, 10:08 PM
also....as you can see...I have a problem with a mod or two always making changes I don't want....
when it comes to the ability to change usergroups...I want to be able to restrict them to only being able to set users to usergroups 2, 8, 10, or 21 from whatever group they are currently in
I already have some hacking done that will not allow any team member to edit another team member but myself in there...that way nobody can boot me or anyone else out...I am the only one that can
but I need to make some more restrictions....just have no clue how
thanks again
drives fast
08-20-2003, 04:10 PM
^^
drives fast
08-21-2003, 02:28 PM
am I blocked here?
No... Restricting mods to do certain things, by the sounds of it you have Xenon's handy Mod hack... in the index.php of the folder MOD there are options for you to change.
drives fast
08-21-2003, 10:05 PM
actually....I am not running anyones hacks for what I have done....I did it myself but all I really need to do is make the invisible choice dissapear from the user.php page but still set it to zero whenever the submit button is clicked to ensure that nobody can be set to invisible
I just can't figure out what edits to make for that one
Buczilla
08-22-2003, 01:58 AM
I'm running vb3, so I'm not sure what the template edit is, but you could just remove that option (in the template)
drives fast
08-22-2003, 04:37 AM
that will create a database error when submitting changes to a memberfile...it needs to be a hidden thing somehow
**edit**
I misread your reply....this is not a template thing...there is no template for the user.php in the admin nor any other admin panel function that I know of
drives fast
08-23-2003, 11:06 PM
edited
drives fast
08-27-2003, 11:01 AM
edited
red_baron2000
08-29-2003, 10:37 AM
yeah i would also know why there is no reply !! i am having the same problem and would like to get ride of it..as i can't uderstand why users should log in in invisible mod whay are they hidding..grrr!! it would very kind from you people here to supply a help in this matter if you know how..thanking you in advance :(
assassingod
08-29-2003, 12:04 PM
I am not totally sure what you mean, but try this :
Find and remove (Line 77)
makeyesnocode("Invisible on 'Online users' list","invisible",0);
Find and Remove (Line 165)
invisible,
Find and Remove (Line 165)
'$invisible',
Find and Remove (Line 263)
makeyesnocode("Invisible on 'Online users' list","invisible",$user[invisible]);
Find and Remove (Line 385)
invisible=$invisible,
drives fast
08-29-2003, 09:47 PM
won't that cause a database error when you submit any changes to a user since the row still exists in the user table?
AG, that works but you are doing alot of extra work thats not needed.
Find:
makeyesnocode("Invisible on 'Online users' list","invisible",0);
Replace with:
makehiddencode ("invisible",0);
Then find:
makeyesnocode("Invisible on 'Online users' list","invisible",$user[invisible]);
Replace with:
makehiddencode ("invisible",0);
That'll fix it :)
drives fast
08-30-2003, 12:59 AM
that is what I was looking for
thank you extra much...I will give it a go right now
you mean like the mini-hack i made?
Go check my profile, lol, always wanted to say that :)
is v. easy.
drives fast
08-30-2003, 01:08 AM
Anime-loo,
that worked famously...exactly what I needed to accomplish
would you happen to know how to be able to limit the usergroups that can be chosen from the user.php as well?
as a reminder...I am using a modified copy of the user.php from the admin dir in the mod dir and want to limit the usergroups they can choose to drop a user into.
thanks again for the other fix
assassingod
08-30-2003, 08:12 AM
Thanks Anime-Loo;):)
drives fast
09-02-2003, 03:58 AM
^^
drives fast
09-09-2003, 04:59 PM
PLEASE?
would you happen to know how to be able to limit the usergroups that can be chosen from the user.php as well?
as a reminder...I am using a modified copy of the user.php from the admin dir in the mod dir and want to limit the usergroups they can choose to drop a user into.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.