The Arcive of vBulletin Modifications Site. |
|
Using Custom filed information etc Details »»
|
|||||||||||||||||||||||||
i wish to use the $customfields on a page which does not use them
what do i need to add to the page so that i can use the $customfields in the template :squareeyed: Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
$customfields=$DB_site->query_first("SELECT * FROM userfields WHERE userid=xx");
|
|
#3
|
||||
|
||||
|
when i add this to the code and upload it the page goes blank
the page im trying to do this to is http://www.manutdchat.com/the_team.php the thing is that i would need to use many members customfields on the one page - im not sure how or if this can be done
|
|
#4
|
||||
|
||||
|
Code:
$customfields = $DB_site->query_first("SELECT * FROM userfields WHERE userid=$userid")
|
|
#5
|
||||
|
||||
|
add an "E" to WHER chen
|
|
#6
|
||||
|
||||
|
thanks xenon and chen
but i still cant get it to work i apologise because my coding skills are not the best this is my original code PHP Code:
|
|
#7
|
||||
|
||||
|
What are mainfile.php, header.php and footer.php?
|
|
#8
|
||||
|
||||
|
sorry firefly
my site uses vbportal its ok if you cannot help me though i thought that this was a general vb type question which is why i posted here i asked in vbulletin and they pointed me here, i originally asked in vbportals forum but as my fellow vbportalers will know, the support is non existant right now thanks anyway chen
|
![]() |
|
|