The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Adminbit Question
Code:
<tr> <td bgcolor="$backcolor" nowrap><normalfont> $onlinestatus</normalfont></td> <td bgcolor="$backcolor" nowrap width=100%><normalfont><b> <a href="member.php?s=$session[sessionhash]&action= getinfo&userid=$user[userid]">$user[username] </a></b><br>$user[avatar]</normalfont></td> <td bgcolor="$backcolor" nowrap><normalfont>$user[location] </normalfont></td> <td bgcolor="$backcolor"nowrap><normalfont> $sendpmlink</normalfont></td> </tr> where its says $ user [userid ] how can I substitute this for a $ userinfo [ field x ] and get the information to show up? |
#2
|
|||
|
|||
Ok I sorta figured out my own answer my next question would be this instead of the one previous. where it says [ location ] for the user how do i define the fields in the addtional fields area. Better yet what template are the default field names like location, intrests etc on.
See what I did was edit a few templates to get to this point now the problem is getting the information there that I want. The additonal information like in the mod I undertook relies on the additonal profile fields you make yourself for the user. Ive tried simply putting in $ userinfo [ field 1 ] but it doesnt work. Look at the attached image and youll see what Im looking for. Instead of the "username" I want to show a field called "Main" for the username currently there. Then I want to add in other fields as you can tell. If I cant get a direct link using the profile field parameters is there a way to have them included? I have papi installed also so is there a way use papi to do what Im wanting? Please any insight would be greatly appreciated. By the way this is the "groups" template area Im editing. |
#3
|
|||
|
|||
anyone?
|
#4
|
|||
|
|||
How do I include the "commands" so That I can use the $userinfo[field x] includes on the groups area of the forums. Please look at the pic. I have been able to use [user] [location] etc but not the field paramters HELP PLEASE
|
#5
|
||||
|
||||
i have no clue...thats why im not responding....ask filbie - he night know
|
#6
|
|||
|
|||
i belive it requires hacking showgroups.php or some code in the phpinclude template to show custom feilds on that page.
|
#7
|
|||
|
|||
Hmm I dont think it requires hacking any php code. Papi helps bypass alot of that. What I was thinking is finding out exactly which template defines the default [user][username][location] fields and changing / redefining them. If I can do that I can post to here what the php is. OR I can just add the [field x] parameters.
|
#8
|
|||
|
|||
shameless bump for a reply
|
#9
|
|||
|
|||
well doesnt matter i abandoned the idea. no way to figure it out
|
#10
|
|||
|
|||
Editing bits almost always requires hacking.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|