Jump to content

FluxCP Addon :: FluxBB


Jupeto

Recommended Posts


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  225
  • Reputation:   39
  • Joined:  01/20/12
  • Last Seen:  

logo.png

 

FluxBB is an open source addon that integrates FluxCP into FluxBB forum engine by http://fluxbb.org

 

Unlike many forum softwares, FluxBB is designed to be smaller and lighter without many of the less essential features. Often features which aren't included in the core are implemented by the community and released as modifications. The below feature list shows what features are included in a standard install of FluxBB.

 

For more features and what is supports in detail, you may found it at http://fluxbb.org/about/features.html

 


  • Upvote 2
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  1942
  • Reputation:   197
  • Joined:  01/08/12
  • Last Seen:  

logo.png
 
FluxBB is an open source addon that integrates FluxCP into FluxBB forum engine by http://fluxbb.org
 
Unlike many forum softwares, FluxBB is designed to be smaller and lighter without many of the less essential features. Often features which aren't included in the core are implemented by the community and released as modifications. The below feature list shows what features are included in a standard install of FluxBB.
 
For more features and what is supports in detail, you may found it at http://fluxbb.org/about/features.html
 

wow thanks for this.

sir how can i make it just like on yours? the forum was included on your fluxcp not bring you on the page.

sir there is a problem regarding on clicking the login or register.

it redirect me to this none existing page.

 

fluxcp/trunk/?module=account&action=login

 

fluxcp/trunk? this is not the location of my fluxcp

there is a bug sir on your themes\default\fluxbb\header.php

 

if ($pun_user['is_guest'])
{
	$links[] = '<li id="navregister"'.((PUN_ACTIVE_PAGE == 'register') ? ' class="isactive"' : '').'><a href="/fluxcp/trunk/?module=account&action=create">'.$lang_common['Register'].'</a></li>';
	$links[] = '<li id="navlogin"'.((PUN_ACTIVE_PAGE == 'login') ? ' class="isactive"' : '').'><a href="/fluxcp/trunk/?module=account&action=login">'.$lang_common['Login'].'</a></li>';
}
else
{
	$links[] = '<li id="navprofile"'.((PUN_ACTIVE_PAGE == 'profile') ? ' class="isactive"' : '').'><a href="?module=fluxbb&action=profile&id='.$pun_user['id'].'">'.$lang_common['Profile'].'</a></li>';

	if ($pun_user['is_admmod'])
		$links[] = '<li id="navadmin"'.((PUN_ACTIVE_PAGE == 'admin') ? ' class="isactive"' : '').'><a href="?module=fluxbb&action=admin_index">'.$lang_common['Admin'].'</a></li>';

	$links[] = '<li id="navlogout"><a href="/fluxcp/trunk/?module=account&action=logout" onclick="return confirm(\'Are you sure you want to logout?\')">'.$lang_common['Logout'].'</a></li>';
}

 

the /fluxcp/trunk/ should not be included there.

 

and also i've noticed that i cannot login on the forum. i also try it on your sample. same i can't login on the forum.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  225
  • Reputation:   39
  • Joined:  01/20/12
  • Last Seen:  

 

logo.png
 
FluxBB is an open source addon that integrates FluxCP into FluxBB forum engine by http://fluxbb.org
 
Unlike many forum softwares, FluxBB is designed to be smaller and lighter without many of the less essential features. Often features which aren't included in the core are implemented by the community and released as modifications. The below feature list shows what features are included in a standard install of FluxBB.
 
For more features and what is supports in detail, you may found it at http://fluxbb.org/about/features.html
 

wow thanks for this.

sir how can i make it just like on yours? the forum was included on your fluxcp not bring you on the page.

sir there is a problem regarding on clicking the login or register.

it redirect me to this none existing page.

 

fluxcp/trunk/?module=account&action=login

 

fluxcp/trunk? this is not the location of my fluxcp

there is a bug sir on your themes\default\fluxbb\header.php

 

if ($pun_user['is_guest'])
{
	$links[] = '<li id="navregister"'.((PUN_ACTIVE_PAGE == 'register') ? ' class="isactive"' : '').'><a href="/fluxcp/trunk/?module=account&action=create">'.$lang_common['Register'].'</a></li>';
	$links[] = '<li id="navlogin"'.((PUN_ACTIVE_PAGE == 'login') ? ' class="isactive"' : '').'><a href="/fluxcp/trunk/?module=account&action=login">'.$lang_common['Login'].'</a></li>';
}
else
{
	$links[] = '<li id="navprofile"'.((PUN_ACTIVE_PAGE == 'profile') ? ' class="isactive"' : '').'><a href="?module=fluxbb&action=profile&id='.$pun_user['id'].'">'.$lang_common['Profile'].'</a></li>';

	if ($pun_user['is_admmod'])
		$links[] = '<li id="navadmin"'.((PUN_ACTIVE_PAGE == 'admin') ? ' class="isactive"' : '').'><a href="?module=fluxbb&action=admin_index">'.$lang_common['Admin'].'</a></li>';

	$links[] = '<li id="navlogout"><a href="/fluxcp/trunk/?module=account&action=logout" onclick="return confirm(\'Are you sure you want to logout?\')">'.$lang_common['Logout'].'</a></li>';
}

 

the /fluxcp/trunk/ should not be included there.

 

and also i've noticed that i cannot login on the forum. i also try it on your sample. same i can't login on the forum.

 

Register and login links in header already fixed. Thank you

 

In regards to the creation of an account, sorry but I forgot to update the create.php in my live host :D it's already updated now. I'm working now on account sync plugin

 

what do you mean by this?

sir how can i make it just like on yours? the forum was included on your fluxcp not bring you on the page.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  1942
  • Reputation:   197
  • Joined:  01/08/12
  • Last Seen:  

 

 

logo.png
 
FluxBB is an open source addon that integrates FluxCP into FluxBB forum engine by http://fluxbb.org
 
Unlike many forum softwares, FluxBB is designed to be smaller and lighter without many of the less essential features. Often features which aren't included in the core are implemented by the community and released as modifications. The below feature list shows what features are included in a standard install of FluxBB.
 
For more features and what is supports in detail, you may found it at http://fluxbb.org/about/features.html
 

wow thanks for this.

sir how can i make it just like on yours? the forum was included on your fluxcp not bring you on the page.

sir there is a problem regarding on clicking the login or register.

it redirect me to this none existing page.

 

fluxcp/trunk/?module=account&action=login

 

fluxcp/trunk? this is not the location of my fluxcp

there is a bug sir on your themes\default\fluxbb\header.php

 

if ($pun_user['is_guest'])
{
	$links[] = '<li id="navregister"'.((PUN_ACTIVE_PAGE == 'register') ? ' class="isactive"' : '').'><a href="/fluxcp/trunk/?module=account&action=create">'.$lang_common['Register'].'</a></li>';
	$links[] = '<li id="navlogin"'.((PUN_ACTIVE_PAGE == 'login') ? ' class="isactive"' : '').'><a href="/fluxcp/trunk/?module=account&action=login">'.$lang_common['Login'].'</a></li>';
}
else
{
	$links[] = '<li id="navprofile"'.((PUN_ACTIVE_PAGE == 'profile') ? ' class="isactive"' : '').'><a href="?module=fluxbb&action=profile&id='.$pun_user['id'].'">'.$lang_common['Profile'].'</a></li>';

	if ($pun_user['is_admmod'])
		$links[] = '<li id="navadmin"'.((PUN_ACTIVE_PAGE == 'admin') ? ' class="isactive"' : '').'><a href="?module=fluxbb&action=admin_index">'.$lang_common['Admin'].'</a></li>';

	$links[] = '<li id="navlogout"><a href="/fluxcp/trunk/?module=account&action=logout" onclick="return confirm(\'Are you sure you want to logout?\')">'.$lang_common['Logout'].'</a></li>';
}

 

the /fluxcp/trunk/ should not be included there.

 

and also i've noticed that i cannot login on the forum. i also try it on your sample. same i can't login on the forum.

 

Register and login links in header already fixed. Thank you

 

In regards to the creation of an account, sorry but I forgot to update the create.php in my live host :D it's already updated now. I'm working now on account sync plugin

 

what do you mean by this?

 

>sir how can i make it just like on yours? the forum was included on your fluxcp not bring you on the page.

 

sir i'm having a problem on login. i just try same of your. i can login on the fluxcp but on the forum. still not login.

here is my screenshot. this is happen on my fluxcp and your's. i can't login on the forum. :(

sir i figure out something. to make login on forums. you must directly access fluxbb folder.

 

for example.

http://artworx.juplo.com/fluxbb

 

now i can login. but if its directly on

 

http://artworx.juplo.com/?module=fluxbb

it will not let you login on the forum only on the site.

post-1381-0-06292300-1367389356_thumb.jpg

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  225
  • Reputation:   39
  • Joined:  01/20/12
  • Last Seen:  

Try changing your password through flux account page

 

I can login using your account username and password though, try one more time...

Edited by Jupeto
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  1942
  • Reputation:   197
  • Joined:  01/08/12
  • Last Seen:  

why i always got this problem?

 

Info
Bad HTTP_REFERER. You were referred to this page from an unauthorized source. If the problem persists please make sure that 'Base URL' is correctly set in Admin/Options and that you are visiting the forum by navigating to that URL. More information regarding the referrer check can be found in the FluxBB documentation.

 

i test it on my local computer. 



Try changing your password through flux account page

i got error when trying to change password.

 

Server error
The website encountered an error while retrieving http://127.0.0.1/ro/?module=account&action=changepass. It may be down for maintenance or configured incorrectly.
Here are some suggestions:
Reload this webpage later.
HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.


and sir after i login on your demo site. when i close the site and try to visit it again i got Error / FluxBB

 

post-1381-0-72485300-1367390945_thumb.jpg

Edited by Brynner
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  225
  • Reputation:   39
  • Joined:  01/20/12
  • Last Seen:  

Info
Bad HTTP_REFERER. You were referred to this page from an unauthorized source. If the problem persists please make sure that 'Base URL' is correctly set in Admin/Options and that you are visiting the forum by navigating to that URL. More information regarding the referrer check can be found in the FluxBB documentation.



This usually happens when the base URL set in your fluxbb does not match the current http referrer you are accessing.

in my local host I set my fluxbb base URL in administration option page like this http://localhost:8888/fluxcp/trunk/?module=fluxbb, I have a port 8888 and my FluxCP was installed in fluxcp/trunk directory. In your case, try changing the base URL to http://127.0.0.1/ro/?module=fluxbb and access the forum as 127.0.0.1 not localhost

Server error
The website encountered an error while retrieving http://127.0.0.1/ro/?module=account&action=changepass. It may be down for maintenance or configured incorrectly.
Here are some suggestions:
Reload this webpage later.
HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.



I have updated the how to page in my site http://artworx.juplo.com/?module=fluxbb&action=howto
Now do revert all files inside modules/account folder and follow the procedure again

and sir after i login on your demo site. when i close the site and try to visit it again i got Error / FluxBB


It's because of my current host, I noticed that too :(

 

Re-download or svn update your fluxbb addon, I have updates committed on it just now

Edited by Jupeto
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  1942
  • Reputation:   197
  • Joined:  01/08/12
  • Last Seen:  

still having a problem on login sir. but if i access the folder fox fluxbb i can login there using my account. :(



my account on fluxcp is already login but on fluxbb forum You are not logged in.



sir can you make a diff patch for this?



i've notice this problem everytime i login on the forum using the direct path.

 

Page Not Found

The page you have requested was not found on our server. Please check the address and make sure it is correct, and try again.

/fluxcp_location/?module=fluxbb/index.php

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  225
  • Reputation:   39
  • Joined:  01/20/12
  • Last Seen:  

Here you go

 

You may use this diff bu mostly recommended on all fresh install of FluxCP

 

https://github.com/jupeto/fluxbb/tree/master/diff-files

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  1942
  • Reputation:   197
  • Joined:  01/08/12
  • Last Seen:  

Here you go

 

You may use this diff bu mostly recommended on all fresh install of FluxCP

 

https://github.com/jupeto/fluxbb/tree/master/diff-files

thanks it works not the login screen.

this is the last issue that i had.

 

Info

Bad HTTP_REFERER. You were referred to this page from an unauthorized source. If the problem persists please make sure that 'Base URL' is correctly set in Admin/Options and that you are visiting the forum by navigating to that URL. More information regarding the referrer check can be found in the FluxBB documentation.

 

 

post-1381-0-78516900-1367398738_thumb.jpg

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  225
  • Reputation:   39
  • Joined:  01/20/12
  • Last Seen:  

What?

 

it works not the login screen?



Here you go

 

You may use this diff bu mostly recommended on all fresh install of FluxCP

 

https://github.com/jupeto/fluxbb/tree/master/diff-files

thanks it works not the login screen.



this is the last issue that i had.

 

>> 

Info
Bad HTTP_REFERER. You were referred to this page from an unauthorized source. If the problem persists please make sure that 'Base URL' is correctly set in Admin/Options and that you are visiting the forum by navigating to that URL. More information regarding the referrer check can be found in the FluxBB documentation.

 

 

Wrong Base URL you got there... it must be http://127.0.0.1/ro/?module=fluxbb

 

Logout

Update your fluxbb config table's o_base_url, change the value to http://127.0.0.1/ro/?module=fluxbb then delete all .php files inside fluxbb/cache folder

Login using your admin account

Edited by Jupeto
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  1942
  • Reputation:   197
  • Joined:  01/08/12
  • Last Seen:  

What?

 

it works not the login screen?

the login issue is now solve after i apply your diff patch.

the problem now is i cannot change anything on the forum.

 

it gave me this error.

Bad HTTP_REFERER. You were referred to this page from an unauthorized source. If the problem persists please make sure that 'Base URL' is correctly set in Admin/Options and that you are visiting the forum by navigating to that URL. More information regarding the referrer check can be found in the FluxBB documentation.

 

on my screenshot. i set it to http://127.0.0.1/ro/?module=fluxbb

 

when i try to change anything that's the problem i got.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  225
  • Reputation:   39
  • Joined:  01/20/12
  • Last Seen:  

I see http://127.0.0.1/ro?module=fluxbb (missing '/' after ro)

 

change it to http://127.0.0.1/ro/?module=fluxbb

 

One very important thing to remember is that the base URL must be identical on what you see in your browser's address bar

 

if you see http://local_domain.com/ro/?module=fluxbb in your browser's address bar, the base URL must be http://local_domain.com/ro/?module=fluxbb too

but if you see http://local_domain.com/ro/?module=fluxbb in your browser's address bar, and the base URL was set to http://127.0.0.1/ro/?module=fluxbb

 

That bad referrer message will obviously comes out.

Edited by Jupeto
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  1942
  • Reputation:   197
  • Joined:  01/08/12
  • Last Seen:  

I see http://127.0.0.1/ro?module=fluxbb (missing '/' after ro)

 

change it to http://127.0.0.1/ro/?module=fluxbb

finally it's working now. how can i set it automatically to /ro/?module=fluxbb

 

with /

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  225
  • Reputation:   39
  • Joined:  01/20/12
  • Last Seen:  

I see http://127.0.0.1/ro?module=fluxbb (missing '/' after ro)

 

change it to http://127.0.0.1/ro/?module=fluxbb

finally it's working now. how can i set it automatically to /ro/?module=fluxbb

 

with /

 

I don't get your question sorry, please elaborate

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  1942
  • Reputation:   197
  • Joined:  01/08/12
  • Last Seen:  

problem solve. just edit the addons.

 

fluxbb\themes\default\fluxbb\install.php

find

$base_url .= str_replace('\\', '/', dirname($_SERVER['SCRIPT_NAME'])).'?module=fluxbb';   // path

 

just add the /

$base_url .= str_replace('\\', '/', dirname($_SERVER['SCRIPT_NAME'])).'/?module=fluxbb';   // path

 

to avoid any problem.



there is another bug sir.

when you try to look on the user list.

when you click the other page. it will bring you there but user list not changing. 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  225
  • Reputation:   39
  • Joined:  01/20/12
  • Last Seen:  

Thank you for troubleshooting with me, we've solved lots of problem though ^_^

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  1942
  • Reputation:   197
  • Joined:  01/08/12
  • Last Seen:  

Thank you for troubleshooting with me, we've solved lots of problem though ^_^

yah since it was initial testing. expect lots of bug. ill update you if i found another bugs or problems.

quick fix for user list problem when changing page but not updating the user list.

 

on themes

themes\default\fluxbb\userlist.php

 

find

$username = isset($_POST['username']) && $pun_user['g_search_users'] == '1' ? pun_trim($_POST['username']) : '';
$show_group = isset($_POST['show_group']) ? intval($_POST['show_group']) : -1;
$sort_by = isset($_POST['sort_by']) && (in_array($_POST['sort_by'], array('username', 'registered')) || ($_POST['sort_by'] == 'num_posts' && $show_post_count)) ? $_POST['sort_by'] : 'username';
$sort_dir = isset($_POST['sort_dir']) && $_POST['sort_dir'] == 'DESC' ? 'DESC' : 'ASC';

 

replace

$username = isset($_GET['username']) && $pun_user['g_search_users'] == '1' ? pun_trim($_GET['username']) : '';
$show_group = isset($_GET['show_group']) ? intval($_GET['show_group']) : -1;
$sort_by = isset($_GET['sort_by']) && (in_array($_GET['sort_by'], array('username', 'registered')) || ($_GET['sort_by'] == 'num_posts' && $show_post_count)) ? $_GET['sort_by'] : 'username';
$sort_dir = isset($_GET['sort_dir']) && $_GET['sort_dir'] == 'DESC' ? 'DESC' : 'ASC';

 

find

// Determine the user offset (based on $_POST['p'])
$num_pages = ceil($num_users / 50);

$p = (!isset($_POST['p']) || $_POST['p'] <= 1 || $_POST['p'] > $num_pages) ? 1 : intval($_POST['p']);

 

replace

// Determine the user offset (based on $_GET['p'])
$num_pages = ceil($num_users / 50);

$p = (!isset($_GET['p']) || $_GET['p'] <= 1 || $_GET['p'] > $num_pages) ? 1 : intval($_GET['p']);

 

find

<form id="userlist" method="post" action="?module=fluxbb&action=userlist">

 

replace with this.

<form id="userlist" method="get" action="?module=fluxbb&action=userlist">
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  225
  • Reputation:   39
  • Joined:  01/20/12
  • Last Seen:  

I've already updated some theme files. Instead of using $_GET and $_POST I've used FluxCP's $params->get() method

 

r21 is now committed, please update your fluxbb addon https://github.com/jupeto/fluxbb/trunk

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  1942
  • Reputation:   197
  • Joined:  01/08/12
  • Last Seen:  

I've already updated some theme files. Instead of using $_GET and $_POST I've used FluxCP's $params->get() method

 

r21 is now committed, please update your fluxbb addon https://github.com/jupeto/fluxbb/trunk

oh ok thank you. i test it later.

there is a bug. there a no more display on the user list now after updating it.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  225
  • Reputation:   39
  • Joined:  01/20/12
  • Last Seen:  

Fixed on r22

 

 

-$p = (!$params->get('p')) || $params->get('p') <= 1 || $params->get('p') > $num_pages) ? 1 : intval($params->get('p'));
+$p = (!$params->get('p') || $params->get('p') <= 1 || $params->get('p') > $num_pages) ? 1 : intval($params->get('p'));
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  1942
  • Reputation:   197
  • Joined:  01/08/12
  • Last Seen:  

Fixed on r22

 

 

-$p = (!$params->get('p')) || $params->get('p') <= 1 || $params->get('p') > $num_pages) ? 1 : intval($params->get('p'));
+$p = (!$params->get('p') || $params->get('p') <= 1 || $params->get('p') > $num_pages) ? 1 : intval($params->get('p'));

thanks its working now. as of now there are no bugs.

Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  37
  • Reputation:   11
  • Joined:  11/10/11
  • Last Seen:  

<3!! Thanks!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   0
  • Joined:  09/23/12
  • Last Seen:  

i have follow ur instruction at http://artworx.juplo.com/?module=fluxbb&action=howto 
but still have a problem that my account on fluxcp is already login and not on fluxbb forum >>> You are not logged in.

 


can u teach me how to apply diff patch?


 

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  133
  • Reputation:   14
  • Joined:  12/23/11
  • Last Seen:  

https://github.com/jupeto/fluxbb/blob/master/themes/default/fluxbb/footer.php

 

Is this an extra "<?php" at line 159?

 

Edit: There are a lot of open tags o.o

Edited by kenshn111
Link to comment
Share on other sites

×
×
  • Create New...