__global.php not working after update 5.90

Got something cool to share with AppGini users? Feel free to post it here!
Post Reply
nycwebmaster
Veteran Member
Posts: 80
Joined: 2015-11-23 01:02

__global.php not working after update 5.90

Post by nycwebmaster » 2020-10-26 20:03

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?

SkayyHH
Veteran Member
Posts: 213
Joined: 2015-04-27 21:18
Location: Germany

Re: __global.php not working after update 5.90

Post by SkayyHH » 2020-10-27 14:16

Hi,

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

Regards,

nycwebmaster
Veteran Member
Posts: 80
Joined: 2015-11-23 01:02

Re: __global.php not working after update 5.90

Post by nycwebmaster » 2020-10-29 18:54

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?

User avatar
ronwill
Veteran Member
Posts: 179
Joined: 2015-08-08 10:12
Location: Cheltenham UK +Weatherford USA

Re: __global.php not working after update 5.90

Post by ronwill » 2020-10-30 17:40

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?
Ron - AppGini Pro V 5.92 Rev 1126 - LOVING IT!
Plugins: Mass Update + Search Page Maker + Summary Reports + Calendar + AppGiniHelper + Inline Detail View + Udemy Course
Gloucestershire, UK

User avatar
aarlauskas
Veteran Member
Posts: 74
Joined: 2019-04-28 18:03
Location: Medway, UK

Re: __global.php not working after update 5.90

Post by aarlauskas » 2020-10-30 20:55

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..

User avatar
ronwill
Veteran Member
Posts: 179
Joined: 2015-08-08 10:12
Location: Cheltenham UK +Weatherford USA

Re: __global.php not working after update 5.90

Post by ronwill » 2020-11-04 22:33

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
Ron - AppGini Pro V 5.92 Rev 1126 - LOVING IT!
Plugins: Mass Update + Search Page Maker + Summary Reports + Calendar + AppGiniHelper + Inline Detail View + Udemy Course
Gloucestershire, UK

User avatar
zibrahim
Veteran Member
Posts: 62
Joined: 2020-01-28 18:30
Location: Malaysia

Re: __global.php not working after update 5.90

Post by zibrahim » 2020-11-05 02:41

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.
Zala.
Appgini 5.92, MacOS Big Sur 11.0.1 running Windows 10 on Parallels.

User avatar
jsetzer
AppGini Super Hero
AppGini Super Hero
Posts: 815
Joined: 2018-07-06 06:03
Location: Kiel, Germany
Contact:

Re: __global.php not working after update 5.90

Post by jsetzer » 2020-11-05 07:31

... 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!
Kind regards,
<js />

User avatar
zibrahim
Veteran Member
Posts: 62
Joined: 2020-01-28 18:30
Location: Malaysia

Re: __global.php not working after update 5.90

Post by zibrahim » 2020-11-05 10:27

My bad...
I am sorry Jan for misquoting you.
Zala.
Appgini 5.92, MacOS Big Sur 11.0.1 running Windows 10 on Parallels.

User avatar
jsetzer
AppGini Super Hero
AppGini Super Hero
Posts: 815
Joined: 2018-07-06 06:03
Location: Kiel, Germany
Contact:

Re: __global.php not working after update 5.90

Post by jsetzer » 2020-11-05 13:41

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!
Kind regards,
<js />

Post Reply