FluxBB Forums
Unfortunately no one can be told what FluxBB is - you have to see it for yourself.
You are not logged in.
Announcement
FluxBB 1.4.2 and FluxBB 1.2.23 are released, fixing a critical vulnerability in PHP's unserialize() function. Please upgrade ASAP.
Pages: 1
#1 2009-07-03 10:29:42
- JAcky
- Member
- Registered: 2009-06-09
- Posts: 20
Way to detect FluxBB?
Hello,
I am currently writing an installer for my CAPTCHAv2 mod/plugin and I need to process FluxBB's config file but first I need to know for sure that the installed forum really is FluxBB.
Is there a file somewhere I can use to tell if the forum is PunBB or FluxBB?
I found the constant PUN but I guess that it is used by both.
I have considered looking for the string fluxbb.org in footer.php but I am sure some have removed it....
So what is a good way to know?
Thanks.
Offline
#2 2009-07-03 13:27:28
- Smartys
- Former developer
- Registered: 2008-04-27
- Posts: 2,878
- Website
Re: Way to detect FluxBB?
Why does it matter if it works with PunBB as well?
Offline
#3 2009-07-03 15:19:16
- JAcky
- Member
- Registered: 2009-06-09
- Posts: 20
Re: Way to detect FluxBB?
Why does it matter if it works with PunBB as well?
Well it does right now but I don't know what future changes may implement.
Like PunBB 1.3 is not compatible but the config file is in the same place. FluxBB 1.4 on the other hand is compatible so it would be nice to know....
Last edited by JAcky (2009-07-03 15:20:30)
Offline
#4 2009-07-03 16:53:51
- Smartys
- Former developer
- Registered: 2008-04-27
- Posts: 2,878
- Website
Re: Way to detect FluxBB?
I still don't see the issue. If you say it's a FluxBB 1.4 download, of course it's incompatible with PunBB 1.3. Why would someone try installing it in the first place? I just don't see why you want to detect PunBB versus FluxBB as opposed to, say, 1.4 versus 1.3.
Offline
#5 2009-07-05 22:12:31
- JAcky
- Member
- Registered: 2009-06-09
- Posts: 20
Re: Way to detect FluxBB?
I still don't see the issue. If you say it's a FluxBB 1.4 download, of course it's incompatible with PunBB 1.3. Why would someone try installing it in the first place?
You place too much faith into users. Why would we need input validation if people do what they are supposed to do?
Anyway, thanks for your reply, I'll add a big fat WARNING to the top of the page.
Offline
#6 2009-07-06 01:48:15
- Smartys
- Former developer
- Registered: 2008-04-27
- Posts: 2,878
- Website
Re: Way to detect FluxBB?
Input validation is about security more than anything else: in this case, the issue is more centered around the ability to read ![]()
Offline
#7 2009-07-06 14:37:30
- Franz
- aka lie2815 (Developer)

- From: Germany
- Registered: 2008-05-13
- Posts: 2,545
- Website
Re: Way to detect FluxBB?
You place too much faith into users. Why would we need input validation if people do what they are supposed to do?
Anyway, thanks for your reply, I'll add a big fat WARNING to the top of the page.
Well, not quite. This is affecting administrators only and they really should be able to read...
http://www.fluxbb.de - Deutschsprachiges FluxBB-Supportforum
http://www.develophp.org - My thoughts, ideas and notes about PHP web development.
"As code is more often read than written it's really important to write clean code."
Offline
Pages: 1
