vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   can get username from member.php?u=1 ?? (https://vborg.vbsupport.ru/showthread.php?t=252040)

Zet_Ahmad 10-13-2010 01:38 PM

can get username from member.php?u=1 ??
 
Iam trying to get only the User Name using his ID , is that possible to use member.php?u=1 ?

or there is a best way for that ??

please if can you help, because iam new in programming and iam trying to learn some thing new :D

Zet_Ahmad 10-14-2010 02:37 PM

Any idea ???

Zet_Ahmad 10-17-2010 06:42 PM

I don't know why there is some body to help T_T .......

sheppardzwc 10-17-2010 10:21 PM

If you take a look in the member.php page, the $userinfo variable should work for you. When the page gets the user's userid from ?u=1, it gets all the data is commonly needs and stores it into $userinfo, which includes the username. So if you want to use their username, $userinfo['username'] will work.

Zet_Ahmad 10-20-2010 06:49 PM

Thank you very much.. i Will try this one ;)

DJ29Joesph 10-25-2010 09:27 PM

you could also use a bb code to help you with this. Just an FYI. I seem to remember there was a username bbcode a while back, might help you with this.

Zet_Ahmad 10-30-2010 05:46 PM

Thank you all for helping :)

my mood is ready now and I will put it here soon ;)


All times are GMT. The time now is 08:35 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
  • Page Generation 0.00965 seconds
  • Memory Usage 1,709KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete