garvinhicking wrote:Hi!
Hm, can you modify it to:> Tried, no good.
And see with which message it dies?Code: Select all
if ((int)$phpbb_mirror === 3) { $phpbb_mirror = 3; die('3!'); } elseif ((int)$phpbb_mirror === 2) { $phpbb_mirror = 2; die('2a!'); } elseif (serendipity_db_bool($phpbb_mirror)) { $phpbb_mirror = 2; die('2b!'); } else { $phpbb_mirror = false; die('0!'); }
>it dies with 0!
Would be nice if you could test it. It's really required to not use a fixed username.Anonymous posting from the webinterface without registration is disabled at my phpbb forum. (who ever has that still turned on?), that might be it.
That would be a new feature of phpb3 then, which I don't think is really useful in our usage scenario. There must be a way to circumvent that, or else you would never know who commented what on your phpbb forum!but as these are direct db inserts thats not prevented. I guess there is a double post-rights lookup making sure non registered users can not show posts even if they hack direct into the db.
Fixed if you change the -1 on line 2757 to 1. The the name is also the one entered in the comment form.
They changed the numbering in the users table., anonymous is now poster_id 1 (I do wonder if this only appies for new phpbb3 setups and what happens to upgraded ones).
The -1 in the old script was converted to 0 every time on insert.
--
2 issues remain now:
1- phpbb version detection (bug)
2- comments added in phpbb - show in s9y as 'anonymous' posts. (Feature ?)