vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Turn off/disable inline profile editing? (https://vborg.vbsupport.ru/showthread.php?t=310032)

PinkMilk 03-29-2014 10:53 PM

Turn off/disable inline profile editing?
 
1 Attachment(s)
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.

kh99 03-29-2014 11:14 PM

Quote:

Originally Posted by PinkMilk (Post 2490341)
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:

Code:

function vB_ProfilefieldEditor_Factory(){this.controls=new Array();this.open_fieldid=null;this.loading=false;this.init()}vB_ProfilefieldEditor_Factory.prototype.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.vB_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

Quote:

Originally Posted by ozzy47 (Post 2490351)
This would require editing a core file, are you sure you want to do this?

I am.


All times are GMT. The time now is 10:48 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00993 seconds
  • Memory Usage 1,726KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete