Page 1 of 1

__global.php not working after update 5.90

Posted: 2020-10-26 20:03
by nycwebmaster
Hi,

I have several redirections on my __global.php that redirects the user depending on their group:


if($memberInfo['group']=="Contractor")

return 'dashboard-screeners-operations.php ';
else

Since I upgraded when the user logins he gets to the mobile menu, I need to be able to redirect users to specific pages depending on their group. Is that option now changed with the 5.90 version?

Re: __global.php not working after update 5.90

Posted: 2020-10-27 14:16
by SkayyHH
Hi,

I can confirm that. __global.php is no longer executed it seems.

Regards,

Re: __global.php not working after update 5.90

Posted: 2020-10-29 18:54
by nycwebmaster
That's a bummer! Honestly that's the only way I know how to do it in appgini. Any ideas on how to tackle the re-directions of users to specific pages depending on their member level?

Re: __global.php not working after update 5.90

Posted: 2020-10-30 17:40
by ronwill
Would also like an answer to this!

Is it confirmed global.php does not form part of version 5.90 - would have thought if that were the case it would show in changelog?

Re: __global.php not working after update 5.90

Posted: 2020-10-30 20:55
by aarlauskas
I agree, some really drastic changes on this version. I did not update when I saw the log about joining both language files, that would screw my projects. Looks like I'll get stuck with my 5.84 for long now..

Re: __global.php not working after update 5.90

Posted: 2020-11-04 22:33
by ronwill
I've not seen any notices on the forum yet but found this on Google:

https://www.softpedia.com/progChangelog ... -2652.html

What's new in AppGini 5.91 Revision 1122
November 1, 2020
Usability enhancement: In detail view pages where both 'Save changes' and 'Save as copy' are enabled, add a lock button to 'Save changes' that allows user to disable 'Save changes' button to avoid clicking it by mistake when they actually mean 'Save as copy'.
Performance improvement: combine all calculated field ajax calls of TV and child tables into a single call rather than one call per record.
Display a link to keyboard shortcuts reference page in the keyboard reference modal.
Fix DV layout bug for fields that have the option 'Column width' checked (introduced after adding .tablename-fieldname CSS class to DV inputs).
Fix guest navigation and signup issue.
Fix bug in admin/pageEditMember.php that prevents saving changes.
Fix bug where __global.php hook functions were not executed properly.
Fix disappearing .warning class issue in TV rows when added programatically.
pageBackupRestore.php: Show mysqldump command on error (redacting db password)
CSV preview page: prevent new lines in field separator and wrapper.

Don't know why not on forum yet?
Cheers,
Ron

Re: __global.php not working after update 5.90

Posted: 2020-11-05 02:41
by zibrahim
Hi Ron,
I saw that too. However, version 5.92 is coming soon as well as mentioned in Jan's posting.
https://appgini.bizzworxx.de/appgini-he ... ini-v5-9x/
Stay Safe and Have a nice day.

Re: __global.php not working after update 5.90

Posted: 2020-11-05 07:31
by jsetzer
... 5.92 is coming soon ...
Thanks for your support and patience!
Everything written above is correct, except that I did not say the new version will be released "soon".
I simply do not know.

Take care, everyone!

Re: __global.php not working after update 5.90

Posted: 2020-11-05 10:27
by zibrahim
My bad...
I am sorry Jan for misquoting you.

Re: __global.php not working after update 5.90

Posted: 2020-11-05 13:41
by jsetzer
No problem, Zala, really no problem!

I just wanted to make sure that no one has false hopes for a soon version. I really do not know.

Thanks for allo your contributions here in the forum!