Forums

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

You are not logged in.

#1 Re: General support (1.4) » how to unban user? » 2010-04-08 15:49:02

kierownik

I think it is at the users profile page.

#2 Re: Announcements » FluxBB-1.4-RC1 released » 2010-01-07 20:08:18

kierownik

Look in the release folder in Reines his post.

#4 Re: General support (1.4) » Question About Look And Feel » 2009-09-16 23:28:55

kierownik

It is because 1.4 is continued from 1.2.

#5 Re: General support (1.4) » Add "current class" in brdmenu » 2009-07-19 10:07:12

kierownik

I would rather see a define like:

define('FORUM_PAGE', 'index');

just like in fluxbb 1.3

#6 Re: General support (1.2) » Site integration issues » 2009-07-10 12:50:58

kierownik
define('PUN_ROOT', './flux/');
require PUN_ROOT.'include/common.php';

#7 Re: Announcements » FluxBB 1.4-beta1 released » 2009-06-21 10:12:40

kierownik

That was also what I thought, It comes from 1.2 and that has been stable for ever so....

#8 Re: Announcements » FluxBB 1.4-beta1 released » 2009-06-21 09:08:52

kierownik

I know, I just take the chance smile

#9 Re: Announcements » FluxBB 1.4-beta1 released » 2009-06-21 07:58:12

kierownik

V1.4 comes from 1.2 so there cannot be much wrong smile
But bugs may always exist but not noticed

#10 Re: Announcements » FluxBB 1.4-beta1 released » 2009-06-21 06:28:14

kierownik

bugs is not so bad as sql injections smile

#11 Re: Announcements » FluxBB 1.4-beta1 released » 2009-06-20 20:00:13

kierownik

Is it fairly safe to use the 1.4 beta in a production site?

#13 Re: General support (1.4) » Random Style switcher » 2009-06-16 17:24:56

kierownik

Thanks MattF

Do you mean like this:

$pun_user['style'] = basename($_COOKIE['kierownik_style']);

What topic do you mean about Smarty?

#14 General support (1.4) » Random Style switcher » 2009-06-16 16:04:57

kierownik
Replies: 4

I just made this for my site but I am wondering if it is secure enough!

Can someone check my code and if something is wrong please tell me.

function RemoveExtension($strName)
{
    $ext = strrchr($strName, '.');
    if($ext !== false)
        $strName = substr($strName, 0, -strlen($ext));

    return $strName;
}
if ($pun_user['is_guest'])
{
    if (isset($_COOKIE['kierownik_style']))
    {
        if (file_exists(PUN_ROOT.'/style/'.$_COOKIE['kierownik_style'].'.css'))
            $pun_user['style'] = $_COOKIE['kierownik_style'];
    }
    else
    {
        if ($dir = opendir(PUN_ROOT.'style'))
        {
            $files = array();
            while (false !== ($file = readdir($dir)))
            {
                if ($file != "." && $file != ".." && $file != "index.html" && $file != "imports")
                    $files[] = $file;
            }

            $random_file = array_rand($files, 2);
            $pun_user['style'] = RemoveExtension($files[$random_file[0]]);
            closedir($dir);
        }
        setcookie("kierownik_style", $pun_user['style']);
    }
}

// Load the template
if (defined('PUN_ADMIN_CONSOLE'))
      $tpl_main = file_get_contents(PUN_ROOT.'include/template/'.$pun_user['style'].'/admin.tpl');
    else if (defined('PUN_HELP'))
      $tpl_main = file_get_contents(PUN_ROOT.'include/template/'.$pun_user['style'].'/help.tpl');
    else if (defined('toernooi'))
      $tpl_main = file_get_contents(PUN_ROOT.'include/template/'.$pun_user['style'].'/toernooi.tpl');
    else if (defined('INDEX'))
        $tpl_main = file_get_contents(PUN_ROOT.'include/template/'.$pun_user['style'].'/home.tpl');
    else
        $tpl_main = file_get_contents(PUN_ROOT.'include/template/'.$pun_user['style'].'/main.tpl');

#15 Re: Announcements » FluxBB 1.4-beta1 released » 2009-05-31 20:07:00

kierownik

that is from 1.2.20 to 1.4 but not from 1.2.21 to 1.4 wink

#16 Re: Announcements » FluxBB 1.4-beta1 released » 2009-05-27 20:28:51

kierownik

Flux 1.4 is continued from Flux 1.2.21 So the plugins should work.

#17 Re: Announcements » FluxBB 1.4-beta1 released » 2009-05-27 08:31:37

kierownik

when I tried to update and run db_update.php I get this message:

An error was encountered
File: C:\Users\kierownik\Downloads\UsbWebserver-fluxbb-14\Root\db_update.php
Line: 899

FluxBB reported: Unable to fetch posts

Database reported: Unknown column 'message' in 'field list' (Errno: 1054)

#18 Re: Programming » How do you set the chmod to 0777? » 2009-05-25 18:42:38

kierownik

Normaly in a ftp-program you can richt-click on the directory or file and choose file permissions.

Then there comes a window where you can enter 0777 or just 777.

#20 General discussion » Warning: Unknown: failed to open stream: Permission denied in Unknown » 2009-01-26 16:20:42

kierownik
Replies: 1

I wanted to update my local fluxdemo but something went wrong now I got this error:

Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0

Fatal error: Unknown: Failed opening required '/Applications/xampp/xamppfiles/htdocs/fluxdemo1/index.php' (include_path='.:/Applications/xampp/xamppfiles/lib/php') in Unknown on line 0

Other local sites run with no problem and index.php does excists.
Can anyone tell me what is wrong?

Thanks

#22 Re: General discussion » Merry Christmas » 2008-12-24 20:24:47

kierownik

Prettige kerst iedereen.

Merry christmas smile

#23 Re: FluxBB discussion » Translation portal » 2008-11-20 16:01:22

kierownik

I think it is a great idea. This way alot of people have a look at the files and we get the best of the best translations.

#24 Re: Programming » regular expression » 2008-11-13 18:25:33

kierownik

thanks ridgerunner, when I continue to work on my kgallery I will try this smile

#25 Re: General support (1.2) » Had to post my new site in here » 2008-11-12 20:55:50

kierownik

Looks nice very good job, only the sad part is that if you are going to search then the sidebar is gone wink

Board footer

Powered by FluxBB 1.4.8