Quote
Goldenhawk2011 wrote:
Hi.
dont worry, i've done [as suggested by lelebart] as shown:Code Download source//if(acl_check($userdata['user_id'])===false){
if(iMEMBER)
{
if(acl_check($userdata['user_id'])===false) {
header("location:".INFUSIONS."acl/blocked.php");
}
//header("location:".INFUSIONS."acl/blocked.php");
}
say me if this is wrong, or i must mod with your suggestions above.
Thanks
//if(acl_check($userdata['user_id'])===false){
if(iMEMBER)
{
if(acl_check($userdata['user_id'])===false) {
header("location:".INFUSIONS."acl/blocked.php");
}
//header("location:".INFUSIONS."acl/blocked.php");
}
Quote
Goldenhawk2011 wrote:
Hi,
I've installed ACL v.1.01
I've done exactly shown in readme file.
When i tried to retrieve TESTING page (as suggested in readme) (as admin) the page is shown.
When i go in Homepage as visitor (not logged in) at acl_panel place is shown this message:
Notice: Undefined index: user_id in /web/xxx/xxxx/xxxx/home/infusions/acl/acl_panel.php on line 25
as shown in attached screenshot.
Where i've done mistakes?
if(acl_check($userdata['user_id'])===false){
if(!iMEMBER || (acl_check($userdata['user_id'])===false)){
+-------------------------------------------------------+
| Filename: theme.php |
| Author: Harly Petersen |
| Homepage: http://php-fusion.openworld.dk/ |
+-------------------------------------------------------+
| This theme is released under the terms and conditions |
| of the GNU Affero GPL v3. |
+------------------------------------------------------*/
if (!defined("IN_FUSION")) { die("Access Denied"); }
/* original theme copyright by fildelare.org */
/* converted by StarglowOne @ www.starglowone.com */
define("THEME_WIDTH", "85%");
define("THEME_BULLET", "<img src='".THEME."images/bullet.gif' alt='bullet.gif' style='border:0' />");
define("THEME_BULLET2", "<span class='bullet2'>·</span>");
require_once INCLUDES."theme_functions_include.php";
function render_page($license=false) {
global $settings, $main_style, $locale, $aidlink, $userdata, $msg_count;
Quote
Ypsilon wrote:
Looks interesting.
Category Forum
Official releases [Infusions]Labels
None yet
Statistics
0 participants
Notifications
You are not receiving notifications from this thread.
Related Questions