Search found 4 matches

by BoaConstrictor
Wed Oct 24, 2007 11:02 pm
Forum: [3.0/Olympus] Discussion
Topic: phpbb3 >RC4, db connect issues.
Replies: 7
Views: 10065

Re: phpbb3 >RC4, db connect issues.

Now, here's how the code to instance the DB object could have been written:

$db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, $dbport, (isset($db_persistency)?$db_persistency:false),(isset($db_newlink)?$db_newlink:false));


Now it works exactly like now, setting persistency to false and new ...
by BoaConstrictor
Wed Oct 24, 2007 10:51 pm
Forum: [3.0/Olympus] Discussion
Topic: phpbb3 >RC4, db connect issues.
Replies: 7
Views: 10065

Re: phpbb3 >RC4, db connect issues.

I'm afraid you're missing the point here.

The point is: To fix this, I have to change phpbb3 files.

What happens when the user upgrades their installation to RC8 then?
The fix will be gone and have to be implemented again.

A small change in phpbb3 code, to make phpbb3 accept config setting for ...
by BoaConstrictor
Tue Oct 23, 2007 3:01 pm
Forum: [3.0/Olympus] Discussion
Topic: phpbb3 >RC4, db connect issues.
Replies: 7
Views: 10065

Re: phpbb3 >RC4, db connect issues.

That's true, but most users of products that integrate with phpbb isn't advanced users.
I'm helping out with the http://www.phpraider.com project. We have made an authentication module that uses phpbb3 for authentication.

In cases like that it's alot easier to tell users to just change this setting ...
by BoaConstrictor
Mon Oct 22, 2007 10:59 am
Forum: [3.0/Olympus] Discussion
Topic: phpbb3 >RC4, db connect issues.
Replies: 7
Views: 10065

phpbb3 >RC4, db connect issues.

Any reason why you changed the initiation of the db object to:

$db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, $dbport, false, false);

from:

$db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, $dbport, true, true);
[code]
?

Setting the newlink to false, kind of ruins integration ...