The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
We're running 4.2.2 and have added some user profile fields, following the excellent tutorial by Lynne https://vborg.vbsupport.ru/showthread.php?t=250418
We modified the template to suit our content but we think we've discovered a bug when a user profile field is edited, affecting all user profile fields. During display, template modifications are respected. When you edit (using Ajax) and save, the updated field is re-displayed, however vB ignores the template. Anyone else found this? |
#2
|
||||
|
||||
![]()
Can you give step by stem instructions as to what you are doing, so I can try to replicate that.
|
#3
|
|||
|
|||
![]()
We've decided to drop the functionality we wanted, but here's an example:
Create a couple of single-line textbox userfields, IDs 59 and 60. Modify memberinfo_profilefield, adding vb:if condition to userfield 60: PHP Code:
Inspect element of UPF 60 on display: HTML Code:
<dd id="profilefield_value_60" class="aboutme_right"> XXX: N/A <script type="text/javascript"> <!-- vBulletin.register_control("vB_ProfilefieldEditor", "60"); //--> </script> </dd> Inspect element of UPF 60 after edit: HTML Code:
<dd id="profilefield_value_60" class="aboutme_right">Edited 60</dd> Inspect element of UPF 60 after refresh: HTML Code:
<dd id="profilefield_value_60" class="aboutme_right"> XXX: Edited 60 <script type="text/javascript"> <!-- vBulletin.register_control("vB_ProfilefieldEditor", "60"); //--> </script> </dd> |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|