Patchesoft supports this item


151 comments found.

Hello again. I want a way to login programmatically users when they login from specific devices via php. Do you have any proposal? Thanks in advance

Ok so you don’t have a dirty solution for that. Thanks. If I need something else I will send. Thanks


jpapan Purchased

I have another question. If I want to embed the login page into another page outside your system do you have some advice on how to do it securely? Thanks in advance


You could try using an iframe of the login page. That would allow you to login to the system securely; the problem is it loads the full layout of the system which might cause design issues for you.


I want to secure my html5 jQuery app with your script. For example, for a membership, I want the homepage after login to display index1.html

Then for another membership, I want the the homepage after login to display index2.html….

Indeed these pages have to be hidden for non connected users.

Is your script can achieve this ?

Best regards


You can create new pages for your app and hide them behind user login. When you say membership, are you referring to Premium Plans?

This is all possible, but it does require coding on your part to implement it. If you have knowledge of PHP it shouldn’t be too difficulty.

I have made a simple tutorial on how to create custom pages with PHP and CodeIgniter in the documentation:

Hi! I need to set default homepage on some simple welcome page. Now the first time visitors go directly to login page, so what should I do in order to first time visitor can see, for example, some welcome page first? Of course without ruining base urls, home controller should stay as default, just some simple redirect to welcome page for not logged in users. Thanks!

Hi RustamU,

Take a look at:


In the constructor, you’ll find this code:

if(!$this->user->loggedin) {

You can change the redirect() method to a page of your choosing.

Let me know if that helps :)

Oh, I’ve overlooked this code somehow :) It helps, thanks a lot!

Hi! Sorry, another question. I made a controller for the welcome page. Now I need to load it in index function $this->template->loadContent("guest/index.php", array()); but the system loads it inside admin template with admin sidebar etc. But I need to load only the welcome page file without header, sidebar and so on. How can I do that?


You can use our “AJAX” loading function which will just load the exact page you put in and not the surrounding layout.


$this->template->loadAjax(“guest/index.php”, array());

Let me know if that helps!

Great! Thanks again :)

Trying to add an avatar for a member but getting an error regarding the dimensions. Can’t find anything in the documentation about the dimensions. Anyone know what size the images need to be?

The size is 80×80. In future update I’ll be either removing this restriction or allowing you to set your own! If you need me to change this, just send me an email and I’ll send you an updated file :)


Thanks, saw the previous comment suggesting it was 150×150 but it didn’t seem to work. Changing it to 80×80 works perfectly.

Also, is there some way to upgrade this to the “Content” version? I didn’t even notice that was available until I scrolled through the comments.


Unfortunately Envato doesn’t provide us with a way to upgrade licenses :( Apologies!

Mobile Layout?I have finally figured out how to get the layout I want, and setup a few custom pages. But, when I change the browser size or switch to a mobile device the original layout is displayed. Any idea where I would make those changes?


Did you remove the responsive.css file from the layout page? This file is responsible for changing the layout in mobile view.

I think I should have been more clear but I have found what I had overlooked already. Posting a response here in case anyone else is having the same problem.

I edited application/layout/layout.php to change the menu sidebar on the left of the dashboard. Works perfectly in standard desktop mode. When I switch to mobile it give me a completely different drop down menu. I see now that there is a separate div in layout.php for the responsive-menu-links. I made the edits to that section and it is working now.

When I did fresh install in localhost, I got this error

A PHP Error was encountered

Severity: Warning

Message: mkdir(): Invalid path

Filename: drivers/Session_files_driver.php

Line Number: 136


File: G:\Ampps\www\application\controllers\Home.php Line: 8 Function: __construct

File: G:\Ampps\www\index.php Line: 315 Function: require_once

An uncaught Exception was encountered

Type: Exception

Message: Session: Configured save path ’’ is not a directory, doesn’t exist or cannot be created.

Filename: G:\Ampps\www\system\libraries\Session\drivers\Session_files_driver.php

Line Number: 138


File: G:\Ampps\www\application\controllers\Home.php Line: 8 Function: __construct

File: G:\Ampps\www\index.php Line: 315 Function: require_once

Please help

It worked on Server. I enabled mod_rewrite. Thanks again for your timely support.

You are missing responsive.css in styles folder. giving an error


The file should be there. Have you checked the styles folder?

You are missing responsive.css in styles folder. gives an error

Fine. Thanks. Will this correct sidebar disappearance in mobile view?


There isn’t a sidebar in the mobile view. Only the dropdown menu which has a list of links for easier navigation in mobile view :)

OK. Got It. Thanks.

This is a prepurchase question but with the premium plans feature are you cinsidering ever adding restriction I.e. Plan 1 20 / logins per month but plan 2 unlimited per month or a way to connect it to an existing code igniter project where you can block modules for certain plans



Currently have no plans for this but I’ll add your feedback to our developer log so that I can consider it for future updates :)


Hello, I just had a client get this script – and when I install it I get = Username must be 3 characters at least!

this is when setting up the admin account


Can you send me an email with your license code please?



I’ve sent the email with my issue and another with the license info.



moveed Purchased

Hello, I can’t add new member.

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: fields

Filename: controllers/Admin.php

Line Number: 1521


File: /Applications/MAMP/htdocs/login/application/controllers/Admin.php Line: 1521 Function: _error_handler

File: /Applications/MAMP/htdocs/login/index.php Line: 315 Function: require_once

Hi Moveed,

Thanks for reporting that. Can you send me an email with your site details so I can investigate it? Let me know the version you’re trying to install and whether you’re upgrading or if it’s a clean installation.