The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Stupid Question from New Guy
Im very new at this, so please be kind.
I have just started to customize my application. Which template do i make changes to if i want to show different user info on every post. Current setting has it showing when the user registered, and how many posts they have.. I want to use more/different user fields. thanks JP |
#2
|
||||
|
||||
postbit
also next time post into right section: it's a template question, ... |
#3
|
||||
|
||||
Jeez, he asked u to be nice.
I'm inexperienced, but I've been hacking for a while. Seems to me you are asking about custom user fields; additional things people can enter when they're registering, and edit afterwards. If that sounds right, do this: Go to your admin cp (http://yoursite.com/vb/admin/) edit: that's not a link, i'm just showin where the cp is, relative to ur site and scroll down on the left until you see User Profile Fields Add Modify Click on Add, and you'll be given the option to add a new profile field (wow, duh) Once there, chose a title, which will label the field for users. Then, you can enter a description, with any suggestions for the field, limits, restirictions, warnings, etc. Maximum input is the total number of characters in the field, so if you put "8" then "the cat " would be all you could type; 2 would yield "th" Generally, set this around 100 for things like biographies (short ones) addresses, favorite things, and shorter, maybe 25-50 for short answers, like, "number of fingers" (lol.. bad example) The last three things are pretty self-explanatory. Hope that helps. edit: Just re-read your post, and realized that all of the above may not be pertinent. in which case, Xenon's right, the postbit: Go to your templates, and scroll until you find the bold title "Postbit Templates" and choose the one that's called "Postbit" You'll have to know the php variable names of the stuff you want to show, but that's not too hard. Here's how: Keep this in mind: $post[fieldX] You'll replace the fieldX with the corresponding number for the field. So, in simple terms, go to the user profile fields page in the admin cp, (choose modify) and hold the mouse over the "edit" link for the field you want to stick in. PC: Right-click, and choose "properties" and note the number at the end of the address shown. Mac: Outta luck then, go to the postbit template, find where you want to stick that in, and put $post[fieldX] where X is the number you just spotted. edit: Sorry, Xenon, I didn't mean to insult or offend you. |
#4
|
||||
|
||||
gengar i was nice, i gave him the information he needed
the templatename he asked for was postbit |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|