The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
About me tab editing
Good afternoon guys,
Hoping someone can give me some insight on how I'd achieve this. Many of our forum users are complaining about having too much information in the about me TAB as our forum is heavily customizable and has alot of custom user profile fields which control everything from hiding postbit items, to backgorund colors and even user rank colors. Long story short I'm trying to edit the about me page to display only the basic information but all profile fields are being called by {vb: raw block_data.fields} which is showing to all our users. I know there is an easier option which is changing the display page of them to options: 0ther as seen in the screenshot below but I'd rather them either stay where they are "edit profile" or if possible make a new display page for them. If it possible to add another display page option eg called "Customize Profile" and then make a new page within "profile.php?do=editoptions" If this isn't possible to do then if it possible fetching it from the custom fields individually instead of using {vb: raw block_data.fields} I've tried using conditions such as <vb:if condition="$post['field2']">Location: {vb:raw post.field2} <br /><br /></vb:if> but it only seems to work in postbit_legacy Any help is greatly appreciated |
#2
|
||||
|
||||
I believe it should be:
Code:
<vb:if condition="$userinfo['field2']"> Code:
<vb:if condition="$bbuserinfo['field2']"> Off the top of my head without confirming, since you're on the profile page it won't parse fields associated with posts there, so you use the userinfo instead. [S]*Also its one or the other I can't recall which, waiting on coffee now (haha) and a lot on my mind recently with a little sadness so but[/S] one shows you the actual users info, the other shows the user browsings info i.e. try both and you'll see that with one userinfo it shows the actual users profile info and if I'm not mistaken bbuserinfo shows YOU, your data on their page. Ahh bugger gonna go confirm now off I go lol. Edit: Yes per https://vborg.vbsupport.ru/showthread.php?t=309966 it's userinfo for the actual user, and bbuserinfo to show those browsing their own data on said page instead. |
#3
|
|||
|
|||
Quote:
Thanks for the reply, Yes I realized this earlier on and got it to pull the custom fields but still wondering if there is a way of creating a new display option to put custom fields into as seen in screenshot above. At least now the about me tab isn't a scribble of information |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|