Go Back   vBulletin Setup > vBulletinSetup Information > vBulletin Questions


Please Register to get full access to the forums.
Post New Thread  Reply



#1   12-10-2007, 10:36 AM
Jhonnyf will become famous soon enough Join Date: Dec 2007 Posts: 6
I need create a New page with user info


,

I need to create a newpage.php with some field of the current user

I included the GLOBAL.PHP but i don't know how to show the fields that I want

Thank You
Quote   |  



#2   12-10-2007, 10:38 AM
Michael Biddle is just really niceMichael Biddle is just really nice Join Date: Aug 2006 Posts: 1,620 Location: Anaheim, CA
Re: I need create a New page with user info


That helps in no way at all. Be more specific of what you need
--------------------
Do NOT PM me for Support!
Michael Biddle / vBulletin Setup Staff
Check out our Newsletter for the latest vB and SEO news.
Are you looking for vBulletin work to be done on your forums ?
Would you like to Help Support vBulletin Setup.
Be sure to check out our latest Contest for a Custom Style.
Quote   |  



#3   12-10-2007, 10:49 AM
Jhonnyf will become famous soon enough Join Date: Dec 2007 Posts: 6
Re: I need create a New page with user info


I want to show in a popup windows the name, id, etc of current user

In other words, a newpage.php on the Hosting that show me only some fields of the user table

Thank You
Quote   |  



#4   12-10-2007, 11:24 AM
Michael Biddle is just really niceMichael Biddle is just really nice Join Date: Aug 2006 Posts: 1,620 Location: Anaheim, CA
Re: I need create a New page with user info


and what query are you running to get the information?
--------------------
Do NOT PM me for Support!
Michael Biddle / vBulletin Setup Staff
Check out our Newsletter for the latest vB and SEO news.
Are you looking for vBulletin work to be done on your forums ?
Would you like to Help Support vBulletin Setup.
Be sure to check out our latest Contest for a Custom Style.
Quote   |  



#5   12-10-2007, 11:43 AM
Jhonnyf will become famous soon enough Join Date: Dec 2007 Posts: 6
Re: I need create a New page with user info


Quote:
Originally Posted by whitemike View Post
and what query are you running to get the information?
T_T any.....

I only have this
Quote:
<?php

// ####################### SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE);

// #################### DEFINE IMPORTANT CONSTANTS #######################
define('THIS_SCRIPT', 'Prueba1');



require_once('./global.php');
require_once(DIR . '/includes/functions_bigthree.php');
require_once(DIR . '/includes/class_postbit.php');

echo "";
$ bbuserinfo[username];
echo $ bbuserinfo[username];
?>
(the space after $ not exist)

I thought that these data were already in variabls global

T_T

I do it!

<?php

// ####################### SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE);

// #################### DEFINE IMPORTANT CONSTANTS #######################
define('THIS_SCRIPT', 'Prueba1');



require_once('./global.php');

$post = $db->query_first_slave("select * from user where userid=1");
echo $post['username'];
echo $post['mood'];
?>



I want only this

Last edited by Jhonnyf; 12-10-2007 at 06:33 PM. Reason: Automerged Doublepost
Quote   |  
Post New Thread  Reply
vBulletin Setup > vBulletinSetup Information > vBulletin Questions


Thread Tools
Display Modes

 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
popup window time,size,enable control from all page for user loka vBulletin Questions 0 11-25-2007 07:47 PM
Create a new variable -- where? aragorn vBulletin Questions 0 11-25-2007 03:23 PM
User info charlesa6 vBulletin Questions 1 10-15-2007 11:03 PM
Create a Google Friendly Page,Search Engine Boost Video News Forum Archives 0 01-06-2007 01:42 AM


All times are GMT -6. The time now is 10:25 PM.

vBulletin Setup, vBulletin Setup Forums, vBulletin Services, vBulletin Blogs, vBulletin SEO, vBulletin Questions, vBulletin Skins, Styles, Templates
vBulletin Hacks / Modifications, vBulletin Monetization, Blogs, vBulletin Link Directory,Quality Link Directory