Jump to content

Recommended Posts

Posted (edited)

I installed it correctly but when I click to fluxbb on the menu the fluxbb doesnt show up and its doesnt load the footer of the page

Edited by Thanna
  • 2 months later...
Posted (edited)

I can open my fluxbb but, when i tried to open flux cp again, this error show up ! help pls.

Catchable fatal error: Argument 1 passed to Flux::parseConfig() must be an array, integer given, called in /usr/html/cp/lib/Flux.php on line 272 and defined in /usr/html/cp/lib/Flux.php on line 245

Followed your instructions from this link

 

things i did:

• made a folder name fluxbb inside cp/ , so it looks like cp/fluxbb, then copied all the files inside the downloaded fluxbb 1.5.zip after extracting it to the new folder i made cp/fluxbb

• made a folder named "fluxbb" inside cp/addons, so it looks like cp/addons/fluxbb/  Then copied all the files from the downloaded addons to that folder.

• created a database named fluxbb in mysql.

• and followed step 4 : in index.php

 

Find:

define('FLUX_LANG_DIR', 'lang');

 

Add below:

define('PUN_ROOT', 'fluxbb/');

 

 

Find:

require_once 'markdown/markdown.php';

 

 

Add below:

 

/* START FLUXBB INTEGRATION :: FLUXBB VARIABLES - JTQ */
if (is_dir('fluxbb')) {
    if ( file_exists('fluxbb/config.php') ) {
        include 'addons/fluxbb/data/fluxbb/common.php';
        include 'addons/fluxbb/data/fluxbb/common_admin.php';

        $_COOKIE['punuser'] = $pun_user;
        $_COOKIE['db'] = $db;
        $_COOKIE['punconfig'] = $pun_config;
        $_COOKIE['langcommon'] = $lang_common;
        $_COOKIE['langprofile'] = $lang_profile;
        $_COOKIE['langmisc'] = $lang_misc;
        $_COOKIE['forum_time_formats'] = $forum_time_formats;
        $_COOKIE['forum_date_formats'] = $forum_date_formats;
        $_COOKIE['adminlanguage'] = $admin_language;
        $_COOKIE['langadmincommon'] = $lang_admin_common;
        $_COOKIE['punbans'] = $pun_bans;
    }
}
/* END FLUXBB INTEGRATION :: FLUXBB VARIABLES - JTQ */

 

 

• then i cant open my cp (192.**.***.**/cp ) now because the above error shows up, but when i access 192.**.***.**/cp/fluxbb folder, install.php shows up, and i finished my installation.

 

the problem is just i cant access the CP itself.

Edited by Honesto
Posted (edited)

fluxbb already override my fluxcp...now i only can access fluxbb without fluxcp

 

 

i find out how to fix my problem...

 

 

root

--addons

--config

--fluxbb

--lang

--and more

Edited by lengchaileo
  • 8 months later...
Posted

Hi,

I have added this plugin and added fluxbb. The BB works and the integration works for logging in and out on NEW accounts but not EXISTING accounts. Any idea why; anything I can do to fix this?

  • 2 months later...
  • 9 months later...
  • 4 months later...
Posted (edited)

I try my own.

why this happen, the button missing.llKtUCb.png

eDcOvOr.png

also after post new  reply in forum. then redirect this error happen.

8VYU1Mh.png

and its work in some . 

Av0Lp2e.png

Edited by mrlongshen
  • 8 months later...
  • 2 weeks later...
Posted

Sorry to bump this, but I've already updated the link to a new repository hosted in GitLab together with a new documentation on how to install this addon.

 

https://gitlab.com/carloquilala/fluxbb

 

NOTE: Some of the functions are not yet stable. I still need to look through the whole process, please bare with me :D

there is a bug when you click the Administration on your fluxcp you will get this error. "Unauthorized" and it will redirect you to home. but when you view this Administration via fluxbb link you can access it. only on fluxcp

Posted

 

Sorry to bump this, but I've already updated the link to a new repository hosted in GitLab together with a new documentation on how to install this addon.

 

https://gitlab.com/carloquilala/fluxbb

 

NOTE: Some of the functions are not yet stable. I still need to look through the whole process, please bare with me :D

there is a bug when you click the Administration on your fluxcp you will get this error. "Unauthorized" and it will redirect you to home. but when you view this Administration via fluxbb link you can access it. only on fluxcp

 

Kindly please report it? i also follow this thread and so on with Hercules. i need this FluxBBCP badly.

Posted

 

 

Sorry to bump this, but I've already updated the link to a new repository hosted in GitLab together with a new documentation on how to install this addon.

 

https://gitlab.com/carloquilala/fluxbb

 

NOTE: Some of the functions are not yet stable. I still need to look through the whole process, please bare with me :D

there is a bug when you click the Administration on your fluxcp you will get this error. "Unauthorized" and it will redirect you to home. but when you view this Administration via fluxbb link you can access it. only on fluxcp

 

Kindly please report it? i also follow this thread and so on with Hercules. i need this FluxBBCP badly.

 

FluxBB works fine using the old method that we use before.

Posted

 

Sorry to bump this, but I've already updated the link to a new repository hosted in GitLab together with a new documentation on how to install this addon.

 

https://gitlab.com/carloquilala/fluxbb

 

NOTE: Some of the functions are not yet stable. I still need to look through the whole process, please bare with me  :D

there is a bug when you click the Administration on your fluxcp you will get this error. "Unauthorized" and it will redirect you to home. but when you view this Administration via fluxbb link you can access it. only on fluxcp

 

It is not a bug, please make sure that you've set the correct access level for this page

 

'fluxbb' => array(
            'admin_bans'  => AccountLevel::ADMIN,
            'admin_categories' => AccountLevel::ADMIN,
            'admin_censoring' => AccountLevel::ADMIN,
            'admin_forums' => AccountLevel::ADMIN,
            'admin_groups' => AccountLevel::ADMIN,
            'admin_index' => AccountLevel::ADMIN,
            'admin_loader' => AccountLevel::ADMIN,
            'admin_maintenance' => AccountLevel::ADMIN,
            'admin_options' => AccountLevel::ADMIN,
            'admin_permissions' => AccountLevel::ADMIN,
            'admin_reports' => AccountLevel::ADMIN,
            'admin_statistics' => AccountLevel::ADMIN,
            'admin_users' => AccountLevel::ADMIN,
            'db_update'         => AccountLevel::ADMIN,
            'index'  => AccountLevel::ANYONE,
            'install'  => AccountLevel::ADMIN,
),

and the access level of the currently logged in user

Posted

 

 

Sorry to bump this, but I've already updated the link to a new repository hosted in GitLab together with a new documentation on how to install this addon.

 

https://gitlab.com/carloquilala/fluxbb

 

NOTE: Some of the functions are not yet stable. I still need to look through the whole process, please bare with me  :D

there is a bug when you click the Administration on your fluxcp you will get this error. "Unauthorized" and it will redirect you to home. but when you view this Administration via fluxbb link you can access it. only on fluxcp

 

It is not a bug, please make sure that you've set the correct access level for this page

 

'fluxbb' => array(
            'admin_bans'  => AccountLevel::ADMIN,
            'admin_categories' => AccountLevel::ADMIN,
            'admin_censoring' => AccountLevel::ADMIN,
            'admin_forums' => AccountLevel::ADMIN,
            'admin_groups' => AccountLevel::ADMIN,
            'admin_index' => AccountLevel::ADMIN,
            'admin_loader' => AccountLevel::ADMIN,
            'admin_maintenance' => AccountLevel::ADMIN,
            'admin_options' => AccountLevel::ADMIN,
            'admin_permissions' => AccountLevel::ADMIN,
            'admin_reports' => AccountLevel::ADMIN,
            'admin_statistics' => AccountLevel::ADMIN,
            'admin_users' => AccountLevel::ADMIN,
            'db_update'         => AccountLevel::ADMIN,
            'index'  => AccountLevel::ANYONE,
            'install'  => AccountLevel::ADMIN,
),

and the access level of the currently logged in user

 

i think it is a bug because on the default fluxbb addons config is.

	#======================================
	# ADDON USER ACCESS
	#======================================
	# * Users with this level or above can
	# * only access this addon.
	# * 
	# * see config/levels.php
	#======================================
	
	'modules' => array(
		'fluxbb' => array(
            'admin_bans' 			=> AccountLevel::ADMIN,
            'admin_categories'		=> AccountLevel::ADMIN,
            'admin_censoring'		=> AccountLevel::ADMIN,
            'admin_forums'			=> AccountLevel::ADMIN,
            'admin_groups'			=> AccountLevel::ADMIN,
            'admin_index'			=> AccountLevel::ADMIN,
            'admin_loader'			=> AccountLevel::ADMIN,
            'admin_maintenance'		=> AccountLevel::ADMIN,
            'admin_options'			=> AccountLevel::ADMIN,
            'admin_permissions'		=> AccountLevel::ADMIN,
            'admin_reports'			=> AccountLevel::ADMIN,
            'admin_statistics'		=> AccountLevel::ADMIN,
            'admin_users'			=> AccountLevel::ADMIN,
            'index' 				=> AccountLevel::ANYONE,
            'install' 				=> AccountLevel::ADMIN,
		),
	),
)

and also the one that you posted is different from your repository

  • 4 months later...
Posted

Hi, i'm hoping i can get some help with the integration.
Now i have installed it correctly, and the functionality is working but integrating it with the cp itself seems to get me nowhere.
I tried including the index.php of the FluxBB addon in my forums module so i can load it inside FluxCP but that doesn't load it.
There is no documentation regarding how i can get it working with the actual module system of FluxCP.
Aside from that, after editing the core files just like explained in https://gitlab.com/carloquilala/fluxbb/wikis/fluxbb-integration-changes it breaks on language retrieved from $pun_user['language'].
It is always empty regardless of being logged in or not, so i can't view the register page, use the login etc etc, anything basically where the integration changes have been made.

  • Upvote 1
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...