You are not logged in.
- Topics: Active | Unanswered
Pages: 1
#1 2009-07-03 09:29:42
- JAcky
- Member
- Registered: 2009-06-09
- Posts: 26
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 12:27:28
- Smartys
- Former Developer
- Registered: 2008-04-27
- Posts: 3,117
- Website
Re: Way to detect FluxBB?
Why does it matter if it works with PunBB as well?
Offline
#3 2009-07-03 14:19:16
- JAcky
- Member
- Registered: 2009-06-09
- Posts: 26
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 14:20:30)
Offline
#4 2009-07-03 15:53:51
- Smartys
- Former Developer
- Registered: 2008-04-27
- Posts: 3,117
- 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 21:12:31
- JAcky
- Member
- Registered: 2009-06-09
- Posts: 26
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 00:48:15
- Smartys
- Former Developer
- Registered: 2008-04-27
- Posts: 3,117
- 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 13:37:30
- Franz
- Lead developer

- From: Germany
- Registered: 2008-05-13
- Posts: 3,755
- 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...
Offline
Pages: 1
