The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi,
I need to know the variable to call a profile FIELD of a user e.g. Location or Interest is it e.g. $userid[field3]? |
#2
|
|||
|
|||
![]()
Look in your postbit/legacy_postbit template for that code.
|
#3
|
|||
|
|||
![]()
Do a search in future this is asked some many times here. Anyway:
In Templates: $bbuserinfo[fieldX] In PHP: $vbulletin->userinfo['fieldX'] X being the fieldid number. |
#4
|
|||
|
|||
![]()
I did some search but I was actually looking for this:
I have vBlog installed and I want to get a field of a member who is the owner of a Blog. I know that $blog[userid] gives me the User ID number but how can I get from there to a Specific Field number of the Blog Owner? |
#5
|
|||
|
|||
![]()
You have to post in the thread from which you downloaded the modification, for the best advice. You can try $blog[fieldX] but it might not work depending on vBlog. (vBlog might fetch the field or it might not, if it doesn't you will need to ask in that thread on how you can do fetch the field you need.)
|
#6
|
|||
|
|||
![]()
Actually, I do not have any modification, I try to program something by myself, but I need to know how to call this field variable...
|
#7
|
||||
|
||||
![]()
In the postbit, you would use:
$post[fieldxx] (xx being the fieldid number.) |
#8
|
|||
|
|||
![]()
$post[field1];
or $blog[field1]; doesnt work ![]() Any other ideas??? |
#9
|
||||
|
||||
![]()
Location is $post[field2] and where exactly are you using this?
|
#10
|
|||
|
|||
![]()
I want to use it in my Blog. If somebody is watching the blog of a member, I want to get e.g. field2 of the members profile which blog is currently viewed by somebody.
(The field entry of the blogger and not of the viewer) |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|