Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Group php script
#1
Hello

Can anybody code me a script & tell me how to use it.
The script should be something like :
http://mysite.com/userinfo.php?username=SergeMorel

If you navigate to that, I want it to give this info :
UserID :
Usertitle :
Group :
Postcount :
The most important is group atm.

Thanks in advance
#2
I don't think this is in any way related to MyBB. Correct me if i was wrong.
#3
I know, I posted it wrong, I think
Can somebody move it to here : http://community.mybb.com/forum-65.html
#4
someone ?
#5
How much are you going to pay?
#6
You do know that all of that information is available in a user's profile, right?
#7
This is for a visual basic program, a loader.
I need it as simple as possible, not in a user profile, it's to hard to get.
& I pay nothing :s
#8
Could be improved, but this is the general idea.

<?php
define("IN_MYBB", 1);
require_once "./global.php";

if($mybb->input['uid']) {

$user = get_user(intval($mybb->input['uid']));

echo $user['usergroup'];

}

?>
No longer involved in the MyBB project.
#9
(2011-07-07, 08:55 PM)SergeMorel Wrote: & I pay nothing :s

*snort*
-Paul H.

Cogisne lingua latina?
#10
http://myforum.com/userinfo.php?uid=1

Gives me : "4"

I made userinfo.php & inserted your text & uploaded it to my root folder.
btw, can you do it with username please?


Forum Jump:


Users browsing this thread: 1 Guest(s)