Forums

Unfortunately no one can be told what FluxBB is - you have to see it for yourself.

You are not logged in.

#1 2013-12-05 20:03:37

Studio384
Developer
From: Belgium
Registered: 2012-04-11
Posts: 680
Website

Round up #9 - Another 12 months

Haa... the holiday season has started once again. 2013 is almost over. A year ago, people thought the world would end, and look where we are now! 5 versions of FluxBB and over 140 000 downloads later (13 000 in the past month). 1.5.5 will probably be the last release this year, except if we might do a hotfix, but for now, it doesn't look like it. Meanwhile, development of FluxBB 1.5.6 and 2.0-alpha2 continuous (yes, we're still working on that).

Plugin: Another Private Messaging - Topic System For FluxBB 1.5.4 and 1.5.5
One of the most requested features for FluxBB (lets be clear: it will never make it to the core), is a PM system. Since it won't get in the core, there are a lot of plugins for that. Another Private Messaging is one of them, perhaps even the best one (it's the most downloaded plugin and Adaur isn't unknown here). Anyway, if you're searching for a PM system, the search has ended. Of course, there are more plugins to this, just check out the Resources page.

Download from FluxBB.org

Style: Midnight For FluxBB 1.4 and 1.5
Midnight was the very first style to appear in the style repository on this website, after being part of the plugin repository for a long time. Anyway, it's a dark version of the default Air styles. Nice for Halloween (yes, I'm a little late to say that, next year better). sadly enough, it uses some CSS3 that only works in Firefox and Chrome, while there is no standard-compliant replacement for other browsers (not sure if -moz-border-radius is still supported by Firefox anyway). Also, you can't download this style from FluxBB.org, it's listed in the repository, but the download link will give you a nice 404 error. So:

Download from GitHub.com

Just something else: FluxBB 1.5.6
I can't find a good website to show you this time, yes there is still 1, but I'm going to keep that one fore #10. So, let's write something down about FluxBB (I hope Franz or one of the other developers don't mind). It's perhaps a good moment to say this: FluxBB 1.5.6 seems to become a nice release. Yes yes, SQLite 3 support is still coming and meant to hit the core in this version. We're also getting rid of the annoying fact that you have to change a new forum's name after you created it, that won't happen anymore! So, FluxBB 1.5.6 is going to add some (small) and nice features, because of the SQLite 3 driver, people that would like to use it with SQLite 3, it might be a good idea to beta-test it, as soon as that feature is finished.

Last edited by Studio384 (2013-12-05 20:07:44)

Offline

#2 2013-12-05 22:49:21

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 6,384
Website

Re: Round up #9 - Another 12 months

SQLite3 will be really hard, because it does not support a certain feature that our adapters need (num_rows).


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#3 2013-12-06 10:04:35

123
Member
From: Poland
Registered: 2012-07-24
Posts: 332

Re: Round up #9 - Another 12 months

FluxBB 2 is too distant future, and it should be robinoy the touch screens, because come for 2/3 years. A GUI muis be tested on the touch screen is not made on pc. The finger is not a mouse, works differently. Too slow it goes. A theme which give is 3 years old. - When was last updated. It shows where now stands FluxBB in the past.

Adding to FluxBB 1.5 is pointless, better to take the time to fluxBB2, and only fluxBB1.5 patch.
Subscription topics in my opinion is illogical,'s better to have the function keys available.

Nor is there any platform, even for wordpress, and this you should care that the bridge was. In a matter of bridges is they do not. You have to do it yourself and worry about August or upgrade does not leak. Could August in fluxBB2 is at the core of such bridge.php of a Church universal platform.

Sorry for my english. heh

Creating themes is without sesnu, since our original has bugs. I really do not see sesnu report fixów that and so are not added to the style and further has bugs.

With the new designs will wait for FluxBB 2 I miss the demo on FluxBB along with the demo themes.

There's a lot of web hosts which Opensources projects are for free, so it's not a problem.

If someone says that something is for was thoroughly and not in the post editor buttons to format it contradicts itself.


Solidarity = compensation for war. Time to pay.
[img]http://imagizer.imageshack.com/img633/7813/XjQh8f.png[/img]
Ach, lekceważyłaś wolę króla
a w nocy naszego spotkania, śmiałaś się do łez

Offline

#4 2013-12-06 10:06:22

Askelon
Developer
From: Bretagne − France
Registered: 2010-06-09
Posts: 202
Website

Re: Round up #9 - Another 12 months

Franz wrote:

SQLite3 will be really hard, because it does not support a certain feature that our adapters need (num_rows).

I thought it does, except only in recent versions, doesn't it? → http://php.net/sqlite-num-rows "PHP 5 < 5.4.0, PECL sqlite >= 1.0.0"

Last edited by Askelon (2013-12-06 10:06:56)

Offline

#5 2013-12-06 11:33:26

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 6,384
Website

Re: Round up #9 - Another 12 months

Askelon wrote:
Franz wrote:

SQLite3 will be really hard, because it does not support a certain feature that our adapters need (num_rows).

I thought it does, except only in recent versions, doesn't it? → http://php.net/sqlite-num-rows "PHP 5 < 5.4.0, PECL sqlite >= 1.0.0"

Oh interesting, I did not know that. Was also playing with the PDO extension. PHP 5 up to 5.4.0 is strange, though, that means it does not work in the recent versions? (PHP 5.3 is already out of date.) That would suck.


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#6 2013-12-06 12:08:30

Askelon
Developer
From: Bretagne − France
Registered: 2010-06-09
Posts: 202
Website

Re: Round up #9 - Another 12 months

My bad, it seems that SQLite < 3 is not supported anymore, that function doesn't seem to be SQLite 3: https://bugs.php.net/bug.php?id=49303

Anyway, couldn't the num_rows be soved by a simple SELECT COUNT(*) query?

Last edited by Askelon (2013-12-06 12:11:14)

Offline

#7 2013-12-06 13:16:59

123
Member
From: Poland
Registered: 2012-07-24
Posts: 332

Re: Round up #9 - Another 12 months

Wait your reply. sorry for my english heh


Solidarity = compensation for war. Time to pay.
[img]http://imagizer.imageshack.com/img633/7813/XjQh8f.png[/img]
Ach, lekceważyłaś wolę króla
a w nocy naszego spotkania, śmiałaś się do łez

Offline

#8 2013-12-06 13:29:13

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 6,384
Website

Re: Round up #9 - Another 12 months

Yes, but we'd have to change the entire core to do so. We currently rely on the adapter being able to execute something like num_rows.


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#9 2013-12-06 16:19:50

123
Member
From: Poland
Registered: 2012-07-24
Posts: 332

Re: Round up #9 - Another 12 months

You know I'd rather by FluxBB 2 was written not for now, but for five years forward, must be written into touch screens.

Well, we have one problem, I would prefer that on windows, also gave the could launch fluxBB2 no download Vagrant only normally for example, WebServ or Wamp.
what to FluxBB 1.5 to rewrite the css to view posts could make them RWD is not difficult. Plus a combination of size classes in the css of their color, because the jumping is annoying, it would also effective in postacji smaller size style.


Solidarity = compensation for war. Time to pay.
[img]http://imagizer.imageshack.com/img633/7813/XjQh8f.png[/img]
Ach, lekceważyłaś wolę króla
a w nocy naszego spotkania, śmiałaś się do łez

Offline

#10 2013-12-06 17:35:15

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 6,384
Website

Re: Round up #9 - Another 12 months

You can install v2-dev without Vagrant, too. Instructions are in the README.


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#11 2013-12-06 18:25:34

123
Member
From: Poland
Registered: 2012-07-24
Posts: 332

Re: Round up #9 - Another 12 months

Yes, you can in linux, not in windows, there in August I did not, and you will probably continue to write that we can and then stop and write about blow over, see how many you have testers


Solidarity = compensation for war. Time to pay.
[img]http://imagizer.imageshack.com/img633/7813/XjQh8f.png[/img]
Ach, lekceważyłaś wolę króla
a w nocy naszego spotkania, śmiałaś się do łez

Offline

#12 2013-12-07 09:51:54

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 6,384
Website

Re: Round up #9 - Another 12 months

I have it running on a Windows machine without Vagrant. smile


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#13 2013-12-10 17:38:35

Koos
Member
Registered: 2008-05-09
Posts: 106
Website

Re: Round up #9 - Another 12 months

Franz wrote:

Yes, but we'd have to change the entire core to do so. We currently rely on the adapter being able to execute something like num_rows.

There is actually a way around having to change all the core files. I've been playing a bit with PunBB 1.4's SQLite3 DB layer. They also didn't implement num_rows as mentioned here. Here is what I did to implement the num_rows method:

--- C:\punbb-1.4.2\include\dblayer\sqlite3.php	2012-02-09 20:42:20.000000000 +0200
+++ C:\punbb-1.4.2-update\include\dblayer\sqlite3.php	2013-12-10 18:34:34.000000000 +0200
@@ -17,12 +17,13 @@
 {
 	var $prefix;
 	var $link_id;
 	var $query_result;
 	var $in_transaction = 0;
 
+	var $last_query;
 	var $saved_queries = array();
 	var $num_queries = 0;
 
 	var $error_no = false;
 	var $error_msg = 'Unknown';
 
@@ -86,12 +87,14 @@
 
 
 	function query($sql, $unbuffered = false)
 	{
 		if (strlen($sql) > 140000)
 			exit('Insane query. Aborting.');
+
+		$this->last_query = $sql;
 
 		if (defined('FORUM_SHOW_QUERIES') || defined('FORUM_DEBUG'))
 			$q_start = forum_microtime();
 
 		$this->query_result = $this->link_id->query($sql);
 
@@ -269,13 +272,21 @@
 		return ($query_id) ? @/**/$query_id->fetchArray(SQLITE3_NUM) : false;
 	}
 
 
 	function num_rows($query_id = 0)
 	{
-		return false;
+		if ($query_id && preg_match ('/\bSELECT\b/i', $this->last_query))
+		{
+			$num_rows_query = preg_replace ('/\bSELECT\b(.*)\bFROM\b/imsU', 'SELECT COUNT(*) FROM', $this->last_query);
+			$result = $this->query($num_rows_query);
+
+			return intval($this->result($result));
+		}
+		else
+			return false; 
 	}
 
 
 	function affected_rows()
 	{
 		return ($this->query_result) ? $this->link_id->changes() : false;

I also adapted their SQLite3 DB layer a bit for FluxBB, and so far it seems to be working quite well (although I haven't tested it very thoroughly yet). See my GitHub repository for more details: https://github.com/Koos10/fluxbb/commits/master

Last edited by Koos (2013-12-10 17:43:23)

Offline

#14 2013-12-10 21:16:45

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 6,384
Website

Re: Round up #9 - Another 12 months

I'll probably go that way, yes. It's a hack, but since num_rows isn't used that often in FluxBB's core, it might be stable enough...


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#15 2013-12-11 12:47:31

123
Member
From: Poland
Registered: 2012-07-24
Posts: 332

Re: Round up #9 - Another 12 months

Franz wrote:

I have it running on a Windows machine without Vagrant.

How ?


Vagrant takes up too much, I'm sorry but development tools for programming in the Modern UI occupy less and give more. It was to be straight and so he did not want me to even download, I think it is lost, a lot of testers.


Solidarity = compensation for war. Time to pay.
[img]http://imagizer.imageshack.com/img633/7813/XjQh8f.png[/img]
Ach, lekceważyłaś wolę króla
a w nocy naszego spotkania, śmiałaś się do łez

Offline

#16 2013-12-17 19:56:34

Koos
Member
Registered: 2008-05-09
Posts: 106
Website

Re: Round up #9 - Another 12 months

Franz wrote:

It's a hack, but since num_rows isn't used that often in FluxBB's core, it might be stable enough...

Not used that often? I counted 131 times. It's used almost everywhere. extern, edit, delete, login, misc, moderate, post, profile, register, search, userlist, viewtopic, viewforum

Offline

#17 2013-12-17 23:02:57

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 6,384
Website

Re: Round up #9 - Another 12 months

Oh wow, looks like I messed up. I counted 120 times, that's still a lot. Ugh.


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

Board footer

Powered by FluxBB