The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Extra Profile Fields Page Details »» | |||||||||||||||||||||||||
Extra Profile Fields Page Version 1.2
1.1 updated version, minor fix for searching in memberlist.php 1.2 fixed for RC2 the current instructions will not work with anything lowerrequested by Caszi @ http://www.vbulletin.nl/community/showthread.php?t=1190 Screen Shots update2.gif is the optional part of the hack Description Adds an Extra Page for you to Define Profile Fields install time~ 5-10 min Files to Edit 4 Tempaltes to edit/add 2 Enjoy ^^ Show Your Support
|
Comments |
#92
|
|||
|
|||
is there away to make it show up in posts also ? below avatar?
|
#93
|
|||
|
|||
Quote:
First off, you'll need to create a phrase, in detail: Phrase Type: GLOBAL Varname: X Text: XX Now, the X = whatever you want your profile to be, so if you have multiple custom fields, you can name them whichever they are (ex. anime, console, book, movie, etc.) The XX = whatever you want it to say before it shows what the user has typed in for their custom profile (ex. Fav. Anime, Fav. Console, Fav. Book, Fav. Movie, etc.) The phrase depends on how many custom fields you have and what you want them to say under the avatar. Now, onto the template editing.. Go into the Style Manager, and click the dropdown box for whatever style you want to use this on, and select "Edit Templates." Then go to Postbit Templates >> postbit OR postbit_legacy Ok, now on to the templates, First is the legacy version of postbit, and then the horizontal version. *postbit_legacy* Search around in here until you find this: Code:
<div class="postbit" align="left""> <span style="color: #8B9DB0; font-weight: bold">$vbphrase[posts]:</span> $post[posts]</div> Code:
<if condition="$post['X']"><div class="postbit" align="left"><span style="color: #8B9DB0; font-weight: bold">$vbphrase[xx]:</span> $post[XXX]</div></if> X = field # (it'll say this when you go to the "User Profile Field Manager" option on the right towards the dropdown box, ex. field6, field7, field9, etc.) XX = the varname of the vbphrase you added first (movie, anime, book, etc.) XXX = same as X *postbit* This is pretty much the same, but search around for this code: Code:
<div> $vbphrase[posts]: $post[posts] </div> Code:
<if condition="$post['X']"><div>$vbphrase[XX]: $post[XXX]</div></if> XX = Phrase varname XXX = same as X The location of the added code might not look perfect to you, so just move it around and customize it for your forum's style or whatnot. And there you have it! Should be working for everyone, but if you need more help, just reply! ^_^ |
#94
|
||||
|
||||
I think this hack will do what I want, but I'm not sure. Will it let you add a separate category to the Profile area?
Basically, I want the UserCP -> Edit Profile to have a new category (e.g. Registration Required Information, Optional Information, Additional Information, etc.) and its own fields below that. Also, does anyone have a site with this hack running so I can see it in action? |
#95
|
||||
|
||||
Im going to rehack this for 3.5.0 when I get a chance
|
#96
|
||||
|
||||
Ummmm.... does the current hack let you create categories?
|
#97
|
||||
|
||||
Quote:
|
#98
|
||||
|
||||
A whole new page for the UserCP, correct? On the last example pic, it's just showing up under the rest of the fields, as if it was just a field made by the vB Admin Panel Profile Manager. Can it be separated into its own box with this hack, or does further hacking have to take place for that to happen?
Just to clarify, what I'm looking to do is to add a section to the profile for PC specs. The specs will also be shown in posts. May just hack an option to have a radio button if they want the specs in the sig, and it formats and inserts it accordingly, or have some type of hack for the sidebar (Name, pic, join date, etc.) where it pops out in a menu, or expands down like the AdminCP options. As an example of how another site uses system specs in posts (soooo not how I want, IMHO this way is ugly): http://forums.guru3d.com/showthread....hreadid=137963 (look on the right side of a post) In that site, they're just added fields, looks ugly when you check out someone's profile. |
#99
|
|||
|
|||
Can these fields be available for selected usergroups only?
|
#100
|
||||
|
||||
can someone pleae provide updated/better instructions for this hack? It starts off with
Code:
Open profile.php Goto Line 2418 Add above Code:
if (($perm & CANVIEW) AND ($perm & CANGETATTACHMENT)) |
#101
|
|||
|
|||
thanks this would be good, as I can create a field for 'Computer Exp' and disable features based on the selection.. thnks
|
#102
|
||||
|
||||
Quote:
Use these Instructions at Your OWN Risk |
#103
|
||||
|
||||
any chance this will be updated for 3.5?
|
#104
|
|||
|
|||
this is the only hack I am waiting for an update for
|
#105
|
||||
|
||||
Anyone is free to port this to 3.5 just a little credit for the idea would be nice.
|
#106
|
||||
|
||||
I think I may take a crack at it this weekend then, esp. since my profile mod needs this to work!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|