The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Custom Profile fields and calling them
so i want to create links in a profile to basically submit a query that will compare lists of 2 members [for a trading website]
the url link will basically look like: http://www.website.com/search.cgi?us...R2&list2=TRADE and include this in the postbit. can you use vb code to call a user's own (USER1) entry in a custom profile field and then call the poster's (USER2) entry in that same profile field? |
#2
|
||||
|
||||
profile fields are just stored in the database, so you may create a query to call each of them. How you go about comparing the two strings is going to be the interesting part.
|
#3
|
|||
|
|||
Quote:
so basically i want to use like a raw post.fieldX to populate the a URL with user and poster's entries for that field. can i call a user's own entry for a profile field with vb code? i'm using this in a postbit modification. in the template if i use raw post.fieldX it uses the poster's entry, and not hte user. I'd like to use both. |
#4
|
||||
|
||||
In the postbit, post.fieldx is the person who posted and bbuserinfo.fieldx is the person viewing the page.
|
#5
|
|||
|
|||
awesome. thanks!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|