help the code for profile username variable in phpnuk

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   help the code for profile username variable in phpnuk
dlcpsycho
CZ Newbie
dlcpsycho has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Jun 19, 2005
0.00 posts per day
Posts: 2
Points: 89
   
whats the code to call for the variable when being used in a person profile to get the users name ur looking at



Back to top Reply with quote
#2   re: quick question with a very easy question i bet
Kelly_Hero
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif southcarolina.gif
Occupation: Web Developer
Age: 59
Gender: Female
Website:
Status: Offline
Joined: Aug 20, 2003
0.49 posts per day
Posts: 3765
Points: 351,412
   
Please change the title of your question to be more specific. Problem specific titles help other people who may have the same question as you find the answer easier.



1. Use the search tool first before you post your question. Many times the question has already been asked/answered and can get your problem fixed quicker.


2. Leave a link to your site, your Nuke version and your forum version if needed and the errors you get. For Myleagues, leave a link to your page and leave the codes in tact so we can see where the problem is.


3. Do not use general titles for your posts. Be specific. 'Help!' , 'I was wondering' and 'How do you do this' are bad examples of general titles. Be precise it helps get your post answered faster.


4. Abide by the Forum Rules and limit your image sizes to the forum specifications. Sigs=400x100 Avs=100x100 maximum sizes


5. Above all, Please be patient. We will answer your posts just as soon as we can and don't forget to read the Forum Rules.


Topics with titles that are not specific are usually deleted.

Thanks,
Kelly



Back to top Reply with quote
#3   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,430
   
You cant use a variable to view someone elses information. You would need to do a sql query to get it or add it to the query that is already there. What page is this for?




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#4   re: help the code for profile username variable in phpnuk
dlcpsycho
CZ Newbie
dlcpsycho has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Jun 19, 2005
0.00 posts per day
Posts: 2
Points: 89
   
i am adding code to the view profile page. the page you get after you click on a name in the members list module....

well in this page i am using a code that will get stats info for the user you are viewing in the profile. but i cant get the $username to work.. so i figure its not the right code.


example:

echo "htpp://www.example.com/stats.php?username=$username";

i tried something simple like that in the profile page but i aint getting the username to actually work.

i edited usercp_viewprofile.php page in the includes folder cause I cant seem to find the actually page that displays all the users info.

thanks



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum