![]() |
Lock Profile Editing
Thanks to lesane for his help ;)
This hack will allow you to lock profiles off your members to prevent them from editing them. This can be done through the public profile (smods and admins only). They use the same table so if you lock the profile through the public profile it will also change the status in admin cp where it can also be done. Screenshot admincp in next post, there is no screenshot of the public profile since you can place it where ever you want. If you install it please click install [edit] confirmed working on ALL 2.2.x version of vbulletin. [edit] confirmed to be working on 2.3.0 |
Screenshot
|
Nice ;)
One thing though, its says: Quote:
|
Quote:
|
I have 2 questions:
First, the part we need to add after this: Code:
// do modify profile form Second, when I lock a profile, it takes me to a blank page with just the words Profile locked on it and no way back to the profile or anything else. Shouldn't it just give you a template message and then take you back to the profile page? Any way around this? And no one can see the words in the getinfo template unless they are admins or mods right? Edit: In this bit of code: Code:
new template: lockprofile And is there a way to not allow mods to lock or unlock the admins or supermods profile? :) |
I'll fix it when I get back (that's tonight :p)
|
I already fixed it and made a couple of changes to your code. If you want to see the changes I made, let me know and I can PM them to you for you to look at. :)
Quote:
|
OK, Updated with Boofo's version
|
has anyone used this hack in 2.2.7?? will it work with the code as is???
Thanks |
works fine on 228 ;)
|
All times are GMT. The time now is 01:33 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|