Posted by Tom
2014-06-14
Hi Arie,
>Is there a way of removing the login screen or bypassing the security?
Open web/staff/app/cls_sys_base.inc.php, and find $spec_sys_base array. It looks like this:
Next, replace $spec_sys_base with the following code:
Now, you can see polls without logging in.
>Is there a way of removing the login screen or bypassing the security?
Open web/staff/app/cls_sys_base.inc.php, and find $spec_sys_base array. It looks like this:
$spec_sys_base = array(( Note (--your-table-name--) varies from a script to another. )
XA_CLASS=>'cls_sys_base',
XA_AUTH=>true,
XA_DEFAULT_PAGESET=>'frame',
XA_FRAME_FIELDSET=>'staff',
XA_FRAME_FIELDSET_ID=>'staff_id',
XA_START_PAGE=>'(--your-table-name--)/_def'
);
Next, replace $spec_sys_base with the following code:
$spec_sys_base = array(Note (--your-table-name--) should be the same as (--your-table-name--) in the first snippet.
XA_CLASS=>'cls_sys_base',
XA_DEFAULT_PAGESET=>'(--your-table-name--)',
);
Now, you can see polls without logging in.
This is truly an awesome script. It has saved me mountains of headaches, thanks a lot.
Is there a way of removing the login screen or bypassing the security? I am using this script in another app which already takes care of the security and I don't want the users to login in again.
Thanks for your help.