Forums

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

You are not logged in.

#1 Re: FluxBB discussion » Are the devs working on a new theme system? » 2008-06-25 22:11:55

Devon

I take it they mean something like phpBB3; where you can completely control the layout of the forum. Using a bunch of replaces and whatnot..

#2 Re: Programming » MySQL Error » 2008-06-25 13:21:07

Devon

And of course, after I post it, I find out the error.

For anyone interested, you have to put a space before AND in $query['WHERE'].. Hurray for stupidity on my part big_smile

#3 Programming » MySQL Error » 2008-06-25 13:12:42

Devon
Replies: 1

I'm making an extension to fluxBB and I keep getting this error:

Database reported: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'u.email_update=1' at line 1 (Errno: 1064).

This is my hook:

<hook id="fn_qr_get_users_to_notify"><![CDATA[
        $query['SELECT'] .= ',u.email_update';
        $query['WHERE'] .= 'AND u.email_update=1';
    ]]></hook>

(The hook is at includes/functions.php @ line 1441)

If anyone has any ideas, please push them by me, this is what is stopping me from finishing this extension haha... Sorry if this is in the wrong section, it was either here or extensions, figured here would be more organized... Who knows big_smile

Board footer

Powered by FluxBB 1.4.8