vBulletin Modifications

how can i get the user id and username just with PHP?

Welcome to vBHackers.com! - vBHackers Updates:

Go Back   vBulletin Modifications > General vBulletin Section > General vBulletin Support

Reply
 
LinkBack Thread Tools
Old 02-02-2006, 09:50 AM   #1
Junior Member
Join Date: Jan 2006
AnoxiA is on a distinguished road

Default how can i get the user id and username just with PHP?

ok, i'm doing a new hack and i want to know how can i get the user ID and Username only in PHP without templets or other ****, just php..

thank you all.

Edit:

ok i find a way to get UserID And Username:

You must first be a registered member to view any code.
But
this isnt gets the IP Address...
why?

Last edited by AnoxiA; 02-02-2006 at 10:01 AM.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 02-02-2006, 10:12 AM   #2
Coder
Join Date: Jun 2005
harmor is on a distinguished road

Default

Check the user's table and see if vbulletin subsitute "ipaddress" with another word.


You could re-write the output with one "echo"
You must first be a registered member to view any code.
But use whatever you feel comfortable with.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-02-2006, 10:17 AM   #3
Junior Member
Join Date: Jan 2006
AnoxiA is on a distinguished road

Default

in the database its called "ipaddress"
see:
You must first be a registered member to view any code.
what can that be?
i using vBulletin 3.5.0.
plz help me.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-02-2006, 10:22 AM   #4
Coder
Join Date: Jun 2005
harmor is on a distinguished road

Default

You could do this.


I'm using "Pseudo-code" because I'm on a diffrent PC.

You must first be a registered member to view any code.
I think only a few words (username, userid) are defined in the class, so "ipaddress" doesn't work

Last edited by harmor; 02-02-2006 at 10:25 AM.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-02-2006, 10:24 AM   #5
Junior Member
Join Date: Jan 2006
AnoxiA is on a distinguished road

Default

ohhhhhhh..
thanks you very much brother..you rocks




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-03-2006, 03:58 AM   #6
Junior Member
Join Date: Jan 2006
AnoxiA is on a distinguished road

Default

hey bro..
its me agian
this thing dont work to me also..
how can it be?




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-03-2006, 08:24 AM   #7
Coder
Join Date: Jun 2005
harmor is on a distinguished road

Default

PM me your whole code and I'll play with it.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-03-2006, 09:37 AM   #8
Coder
Maxx's Avatar
Join Date: Sep 2004
Location: U.K
Maxx is on a distinguished road

Default

$ip = $_SERVER['REMOTE_ADDR'];

that works ;)




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-04-2006, 02:11 PM   #9
Junior Member
Join Date: Jan 2006
AnoxiA is on a distinguished road

Default

Mad_Max ..haha...
that not what i think about..but TNX anyway
and harmor
i sloved this ****.
Thank You ALL..
[Can Be Close]




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-04-2006, 02:15 PM   #10
Coder
Join Date: Jun 2005
harmor is on a distinguished road

Default

Well how did you solve it?




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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
Forum Jump


All times are GMT -3. The time now is 09:44 PM.


SEO by vBSEO 3.2.0 RC8 ©2008, Crawlability, Inc. (Patent Pending)