PDA

View Full Version : User Profile Field on Postbit - Inline Editing


grey_goose
10-31-2015, 12:59 AM
After reviewing this thread:
https://vborg.vbsupport.ru/showthread.php?t=209233

I tried adding this bit of code to my postbit_legacy template:

<script type="text/javascript" src="clientscript/vbulletin_profilefield_edit.js?v={vb:raw vboptions.simpleversion}"></script>
<div class="attwrapper">
<div class="attvalue">{vb:raw post.field132}</div>
<div class="attlabel">LABEL</div>
<script type="text/javascript">vBulletin.register_control("vB_ProfilefieldEditor", "132");</script>
</div>

It's just a little display box for a field that I'd like to be able to edit inline on the postbit -- but nothing appeared.

What did I miss?