PDA

View Full Version : user profile


007asom
05-10-2014, 09:09 AM
Hi
I create a portal for my forum.
how i can put user profile in this portal.
If i want to call some tables from database to show it in portal, how i can make it.?

I use vbulletin 5.1.0

Thank you.

Lynne
05-10-2014, 04:39 PM
If you want to query the database to show some information, then you would need to add a PHP module to the page and put your queries in there. http://www.vbulletin.com/docs/html/sitebuilder_modules_PHP?manualversion=50100500

007asom
05-11-2014, 09:09 AM
thank you (F)
....
I create a HTML page, it look like the new Facebook.

I divide the page to several sections.
One of these sections I would like to show user Profile.
And another section the replay on user posts.
How can i call this information to an external page

--------------- Added 1399808052 at 1399808052 ---------------

back
I found many files with name user.php, in many folders in my vb5 folder.
which one of them i can put it in my HTML index page?

Lynne
05-11-2014, 03:58 PM
Did you look at the item I linked to that shows how to use the user information in a PHP module? vB5_User::get('username') is the username.... and I believe vB5_User::get('userid') is the userid and vB5_User::get('usergroupid') is the usergroupid, etc.