View Full Version : Turn off/disable inline profile editing?
PinkMilk
03-29-2014, 10:53 PM
Is it possible to turn off/disable inline profile editing?
I'm talking about where if your viewing your own profile in the about me tab you can edit your details (bio, location etc) from there rather then having to go to the usercp > Edit Your Details, I want to disable this.
Notice to mod: I've done it again, this should be in vb3 Discussion forums, please move.
Notice to mod: I've done it again, this should be in vb3 Discussion forums, please move.
Moved.
ozzy47
03-29-2014, 11:48 PM
This would require editing a core file, are you sure you want to do this?
ozzy47
03-30-2014, 02:05 AM
Ok you would need to change the contents of your clientscript/vbulletin_profilefield_edit.js
Find and remove the following:
function vB_ProfilefieldEditor_Factory(){this.controls=new Array();this.open_fieldid=null;this.loading=false; this.init()}vB_ProfilefieldEditor_Factory.prototyp e.init=function(){this.control_image=new Image();this.control_image.src=IMGDIR_MISC+"/userfield_edit.gif";var A;if(vBulletin.elements.vB_ProfilefieldEditor){for (var B=0;B<vBulletin.elements.vB_ProfilefieldEditor.length;B+ +){A=vBulletin.elements.vB_ProfilefieldEditor[B];this.controls[A]=new vB_ProfilefieldEditor(A,this)}vBulletin.elements.v B_ProfilefieldEditor=null}this.progress_image=new Image();this.progress_image.src=IMGDIR_MISC+"/11x11progress.gif"};
Make sure you have a backup of that file on your computer in case something goes wrong.
PinkMilk
03-30-2014, 02:48 AM
This would require editing a core file, are you sure you want to do this?
I am.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.