PDA

View Full Version : profile feild? how do i do it?


rocket
12-18-2003, 01:20 PM
how do i creat a new profile feild?

is that in the ftp or the admin panel?

explain it to me pls

thanks....

MindTrix
12-18-2003, 01:23 PM
It's in the admin control panel down the left hand side. Not having a board installed myself i cant be 100% sure what it is called but i believe it is under the heading "Profile Fields" and under that just click Add.

rocket
12-18-2003, 02:18 PM
yo take this hack off the Site it ++++s up ur board!

Glow User Names

take it off ur board asap!! it ++++e dup my site now i cant get it to work!

MindTrix
12-18-2003, 02:43 PM
Language ;)

The hack does not mess up your board, you mess up your board ;)

I'm sure there are alot of people who have it installed fine, so therfor it cannot be a problem with the hack, and remember you install hacks at your own risk ;)

rocket
12-18-2003, 02:52 PM
well can u help me fix my board then this is the error

Fatal error: Call to undefined function: getuserinfo() in /home/rocket2/public_html/forums/admin/sessions.php on line 372


do u have msn or yahoo?

MindTrix
12-18-2003, 02:55 PM
Post that line from the file, and the code around it.

rocket
12-18-2003, 04:04 PM
its done now wat do u want me to do with it?

MindTrix
12-18-2003, 04:07 PM
Erm no :p go to line 372 of your Session.php file and post that bit of code, but post the 5 lines above and bellow at the same time.

So you should end up posting 11 lines of code here ;)

rocket
12-18-2003, 06:36 PM
ight i will do... do u have msn or yahooo

MindTrix
12-18-2003, 06:37 PM
Erm yes but i dont see why you would need me on there when you can post the lines here :)

rocket
12-18-2003, 06:58 PM
// set cookie
if ($action!="login" and $action!="logout") {
vbsetcookie("sessionhash",$session['sessionhash'],0);
}

} else { */
// no session exists for this user. create a new one

// don't keep any redundant sessions
if ($session['userid']==0) {
if ($noshutdownfunc) {
$DB_site->query("DELETE FROM session WHERE sessionhash='".addslashes($session['sessionhash'])."'");
} else {
$shutdownqueries[]="DELETE FROM session WHERE sessionhash='".addslashes($session['sessionhash'])."'";
}
}

//get rid of old session data
unset($session);

$session['sessionhash']=md5(uniqid(microtime()));
$session['host']=$REMOTE_ADDR;
$session['useragent']=$HTTP_USER_AGENT;
$session['userid']=$bbuserinfo['userid'];
if ( isset($styleid) ) {
$session['styleid'] = intval($styleid);
} else {
$session['styleid'] = 0;
}

// check not too busy

rocket
12-18-2003, 06:59 PM
well i just wanna talk too u ;)

MindTrix
12-18-2003, 07:03 PM
lol sounds dirty :p my msn should be in my profile i think

rocket
12-18-2003, 07:10 PM
its not in ur profile u wanna drop it here pls... also take alook at that code pls

MindTrix
12-18-2003, 07:14 PM
Hmm i looked at the code and couldnt see anything wrong with it personally, you could pm me your FTP info and ill take a closer look if you like.

rocket
12-18-2003, 07:41 PM
welll its fixed but can i still have ur msn pls?

MindTrix
12-18-2003, 07:46 PM
lol guess so, slimshadyandd12@hotmail.com

rocket
12-23-2003, 05:49 PM
i justed added u