miniBB ® miniBB®
miniBB Support Forums
 | Forums | Register | Reply | Search | Statistics | Manual |
Specific miniBB Support Forums / Specific /   

Intergrated Anonymous username?

Author Rocky
#1 | Posted: 29 Dec 2006 15:32 
I have almost fully integrated minibb into my site in one hour :)
Only problem when a user posts a message its saved with the name Anonymous. if you hover over Members you can see the correct userID
In the preferences everything is showing correct. Name, password etc...

do i have to get
poster_id int(10) NOT NULL default '0',
poster_name varchar(40) NOT NULL default 'Anonymous',

into my $dbUserSheme=array ?

Could someone please give me a clue???

Author Anonymous
#2 | Posted: 29 Dec 2006 20:03 
I fixed it!!!

This file is part of miniBB. miniBB is free discussion forums/message board software, without any warranty. See COPYING file for more details. Copyright (C) 2004 Paul Puzyrev, Sergei Larionov.
if (!defined('INCLUDED776')) die ('Fatal error.');

//echo $guessurl;


function user_logged_in() {

if(isset($GLOBALS['cook']) and trim($GLOBALS['cook'])!='') { $c=explode('|',$GLOBALS['cook']); }
elseif(isset($_SESSION['user_id'])) $c=explode('|',$_SESSION['name']);
else $c=getMyCookie();

$username=$c[0]; $userpassword=$c[1]; $exptime=$c[2];


if($username=='') { $returned=FALSE; return; }



thanks :)

Specific miniBB Support Forums / Specific / Intergrated Anonymous username? Top

Your Reply Click this icon to move up to the quoted message

 Short link for this topic:

Only registered users are allowed to post here. Please, enter your username/password details upon posting a message, or register first.

Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.
miniBB Support Forums Powered by Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts
Get the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB