You are not logged in.
- Topics: Active | Unanswered
#51 Re: FluxBB discussion » FluxBB SEO » 2012-01-08 22:49:35
- Franz
I have never heard of anyone saying that H1, H2 etc. are regarded as bad and should be replaced - much more the opposite.
Do you have any sources?
#52 Re: Core development » Spontaneous developer meeting tomorrow? » 2012-01-08 19:51:24
- Franz
I'll probably run late, sorry. Stupid homework...
#53 Core development » Spontaneous developer meeting tomorrow? » 2012-01-07 16:23:02
- Franz
- Replies: 3
Hey guys,
do you have some time tomorrow (Sunday) evening (~9 or 10 P.M. GMT) for a spontaneous meeting so that we can talk through a few things?
That would be great.
#54 Re: General discussion » Easy BBCode user javascript » 2012-01-07 10:04:13
- Franz
Can you describe the problem?
I have no clue about Greasemonkey scripts, but maybe somebody else can then help.
#55 Re: Programming » login using fluxbb in my site » 2012-01-04 20:46:07
- Franz
You have to do two things in your site's PHP files:
First, point PUN_ROOT to the directory where FluxBB is installed:
define('PUN_ROOT', dirname(__FILE__).'/forum/');Then, include FluxBB's common.php:
include PUN_ROOT.'include/common.php';After that, you have access to FluxBB's user variable $pun_user.
For example, you can check whether the current user is logged in with this piece of code:
if (!$pun_user['is_guest'])
{
// do something...
}UPDATE: Fixed definition of PUN_ROOT.
#56 Re: General support (1.4) » Unable to connect to MySQL » 2012-01-03 11:20:53
- Franz
Where and when is that error displayed?
If config.php does not exist, you should be able to run install.php again (with the correct database information).
#57 Re: FluxBB discussion » Moderating all posts by users » 2011-12-27 10:12:29
- Franz
Would you please refrain from double-posting? One post is enough, you will be noticed. It's holiday time right now...
What you want is a moderation queue, apparently. I cannot remember seeing a modification like this yet. It will definitely be one I will create as extension in 2.0, though. If you can wait that long. ![]()
Let's see if others found something.
#58 Re: General support (1.4) » Upload Avatar Error. » 2011-12-23 12:15:23
- Franz
@Visman: ah, that means we really ought to release 1.4.8 with ticket #540 being fixed, no?
#59 Re: Feature requests » Contact Page ? and improve help page ? on 2.0 » 2011-12-23 09:23:05
- Franz
I think contact pages are a very good example for an extension in 2.0. ![]()
And don't worry, there will be plenty of new features in 2.0. Plenty.
#60 Re: Core development » 2.0 Coding Conventions » 2011-12-21 17:11:05
- Franz
Okay, good point, let's stay with Allman then.
I've updated the coding conventions for 2.0, please add anything you still think is missing.
#61 Re: Core development » 2.0 Coding Conventions » 2011-12-21 16:27:32
- Franz
So what about braces, guys?
I really like braces on the same line for one-line conditionals, but for long blocks it can be a little confusing in some cases...
I suppose mixing them (same line for one-line conditionals and separate line for all other cases) would be stupid. So how should we proceed?
#62 Re: General support (1.4) » Database or migration problem... ? » 2011-12-21 01:06:01
- Franz
Actually, I do feel stupid now. I can't see any problems with our code (don't know what I saw earlier). I suggest you just remove the duplicate ones by hand.
Can somebody else please check?
#63 Re: Programming » Replace comma[,] with space[''] » 2011-12-20 11:19:16
- Franz
Moved to programming.
#64 Re: General support (1.4) » Database or migration problem... ? » 2011-12-18 15:59:01
- Franz
Yes, an upgrade path from 1.4.* to 2.0 will be provided.
#65 Re: Core development » 2.0 Coding Conventions » 2011-12-17 10:23:26
- Franz
but changing the modules to rely on a loader function to include internal files adds a dependency on that function, which is bad.
That's not what I meant. And you're right. Only autoloading in FluxBB's core, of course the modules would work without it.
#66 Re: Core development » 2.0 Coding Conventions » 2011-12-17 01:28:13
- Franz
@Reines: Why and how does an autoloader (in FluxBB's core) make the modules dependent? You simply load files based on certain rules...
I guess we don't really need one for all the basic classes, but it could come very handy for things like subclassing core classes in extensions. That way, extension folders can simply be added to the autoloader - that way, the extension could keep things like a new database adapter in its own directory.
#67 Re: Core development » 2.0 Coding Conventions » 2011-12-16 09:21:43
- Franz
Hi,
Why simple when you can make it complicated.
Which part do you mean?
#68 Re: General support (1.4) » Can't Prevent Guest Posting » 2011-12-15 17:30:19
- Franz
Did you ever change that yourself? Or did you have any modifications installed on that old forum that might have changed those things?
I hope it's not the fault of our migration script... ![]()
#69 Re: FluxBB discussion » Integrating flux into existing page issues » 2011-12-15 15:48:06
- Franz
Assuming that your site is constructed from static HTML files only, you will need to copy forum.html, split it into two files (header.html and footer.html), which contain the parts before (header.html) and after (footer.html) the "UNDER CONSTRUCTION" text.
Place those files in your forum's include/user/ directory (create if it does not exist) and come back for more instructions. ![]()
P.S.: Sorry for taking so long.
#70 Re: Core development » 2.0 Coding Conventions » 2011-12-15 12:39:50
- Franz
Yes, the directory structure should reflect the class names.
#71 Re: Core development » 2.0 Coding Conventions » 2011-12-15 12:34:46
- Franz
Yes, we should do it just like how it's done in the database module. That will also mean that the file (and class) names will have to be upper-cased.
#72 Re: Core development » SQL: Inserting multiple rows with prepared statements » 2011-12-15 07:48:59
- Franz
Yes, exactly, that's what we can do. But it's not as fast, obviously.
#73 Core development » SQL: Inserting multiple rows with prepared statements » 2011-12-14 22:39:26
- Franz
- Replies: 3
With some SQL dialects, it is possible to insert multiple rows at once.
This would clash a little bit with our concept of prepared statements in 2.0. Should we find a workaround to optimize these rare cases for some databases or just ignore this (and be done with it
)?
#74 Re: General support (1.4) » Database or migration problem... ? » 2011-12-14 22:08:24
- Franz
Ah, yes. It looks like in some cases we forget to check whether the index already exists.
Do you happen to remember what version you had installed before you updated to 1.4.7? My guess is it wasn't 1.4.6...
#75 Re: General support (1.4) » Can't Prevent Guest Posting » 2011-12-14 20:46:34
- Franz
Did you install any modifications?
