The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Display profile fields
But for postbit... I have 180 custom profile fields, I can't manually add every single thing.
So, How about something like what VBulletin does, you know, for VBulletin 3.7 when you're logged on as an ordinary user and you can input stuff. But when you select "View your profile like everyone else can view it" and it takes off all the fields you didn't enter, leaving the ones you've entered. How would I just display the fields entered in a postbit? (Non-editable by anyone including the user of course). I've looked at the "memberinfo_profilefield" template and I think it's the answer. Could anyone quickly make a quick mod that will autofill or get these variables? $profilefield[title] and $profilefield[value] I've provided the "memberinfo_profilefield" template where I got this info from: Code:
<if condition="$show['profilefield_edit']"> <dt class="shade" id="profilefield_title_$profilefield[profilefieldid]">$profilefield[title]</dt> <dd id="profilefield_value_$profilefield[profilefieldid]"> $profilefield[value] <script type="text/javascript"> <!-- vBulletin.register_control("vB_ProfilefieldEditor", "$profilefield[profilefieldid]"); //--> </script> </dd> <else /> <dt class="shade">$profilefield[title]</dt> <dd>$profilefield[value]</dd> </if> |
#2
|
||||
|
||||
The field title is actually a phrase. The title for field9, for instance, is $vbphrase[field9_title]. Just something to keep in mind when you write your plugin.
|
#3
|
|||
|
|||
That's EXACTLY what I needed! I won't have to write any plugins then. THANKS!
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|