![]() |
PHP code to get user info from my database
I was wondering what's the vbulletin code for fetching the user avatar and his/her user name.
|
PHP Code:
|
thanks Dismounted, I wondering how to do this:
i want to make a kind of user avatar gallery, but i don't want it to show all my users but just the ones that want to be shown, any idea how to make this (even if just prototype) Thanks for quick help :) |
You'd have to create user CP permissions so they can select if to show or not. Then you'd have to grab each user's avatar and place them in the gallery.
|
what about if i let them join a user group and only show pictures for this user group but how can i just show the pictures from a certain user group
--------------- Added [DATE]1248979590[/DATE] at [TIME]1248979590[/TIME] --------------- guys how should i enter the code? should i put it in template or php file for the custom vb page |
any help here please?
|
php page. templates won't accept php.
|
but where should i put it and then what should i put in the template here is the code of the page:
Code:
<?php |
Quote:
|
Quote:
thanks |
All times are GMT. The time now is 04:47 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|