• So I have a wordpress blog installed that I’m essentially piggybacking off of the database for: mrmudweasel.ddns.net:8080 and I need to disable all profile modification or at the very least the Contact info that lists the users OWN website, why? because I’m using that portion of the database for a ban table in a Unity game that I’m making. 0 for regular user, 1 for admin and 2 for banned. I’m not encrypting it because that’s alot of extra un-needed work on my part, I don’t care if someone reads the database and can see who’s banned, admins or regular users. For all I know at this point this will be public information, my problem right now is that I need it so that users aren’t able to change their website url. The way the ban system works right now is that it looks for a 2 in the website url slot for the player that is logging in at the moment. if it is a 2 it automatically disconnects the player from any server that player joins, if it is a 1 the admin panel prefab is spawned and if it is a 0 they are spawned in as a regular player like normal. Now that’s all fine and good, BUT if a player where able to edit their website url the ban system would detect something other than 0, 1, or 2 and spawn them in regularly as a player. If they put in a 0 they would technically be un-banned and this is a big problem, even worse if they put a 1 in they are listed as an admin in the game and that’s a HUGE problem. But I digress, This is a huge problem for me. What is the easiest way to disable the modification of that variable from the front end of wordpress or any php file put in by wordpress. I’ve removed the wp-admin/profile.php file and that makes it so they can’t edit their profile. I’m pretty sure someone tech-savy enough would figure a way to get around that some how eventually so I’m here asking people smarter than them to help me out here, this is pretty important. Thanks in advance bloggers ??

  • The topic ‘Disabling all profile modification for non-admins’ is closed to new replies.