Addon Inspector

Open to all! Ask other shopowners for help.
User avatar
burt
Core Team
Posts: 4546
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 412 times

Addon Inspector

Post by burt »

Any feedback/thoughts/opinions etc welcome.

The general idea is;

1. show what addons are uploaded to a shop
2. show compatibility
3. allow user to contact creator of addon easily

What's missing?

ai.png
You do not have the required permissions to view the files attached to this post.
I am not here to build for you.
I am here to build with you. Let's help each other.


Join The Code Co-op to get access to your library in the Code Co-op Forum
puddlec
Member
Posts: 31
Joined: Mon Dec 07, 2020 3:11 pm
Phoenix Version:
Has thanked: 1 time
Been thanked: 7 times

Re: Addon Inspector

Post by puddlec »

could it check if an update is available?
with possibly limiting the answer to ones compactable with installed Phoenix version?
i know you could see from latest addons, but if you don't have it installed or its addon number 6. you would of course wont see it
User avatar
burt
Core Team
Posts: 4546
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 412 times

Re: Addon Inspector

Post by burt »

Honestly, that would be difficult.

The best I could do, I think, is link to each Addon within that card.
That link might be to the addons area, to a commercial website or whatever the addon maker defines the URL as.
That link already shows as the "globe" icon in the Footer.
I am not here to build for you.
I am here to build with you. Let's help each other.
azpro
Contributor
Posts: 177
Joined: Fri Nov 06, 2020 8:25 am
Phoenix Version: v1.1.0.6
Has thanked: 30 times
Been thanked: 34 times

Re: Addon Inspector

Post by azpro »

What's missing?
What I have missed - playing arond with Phoenix ... for any add-ons / modulse etc.etc. is a simple switch on/off ....

I In the past I have installed some add-ons and after 30 minutes playing around with it I decided "not good enough" ... so I want to switch off ... But that's not possible (especially for hooks) ... You need to delete files from server ... But than I week later - for some reason - I thought "maybe that was ok" (with tweeks) and want to switch it on ....

But this idea is allready vere helpfull! Thanks!

Arjan
User avatar
burt
Core Team
Posts: 4546
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 412 times

Re: Addon Inspector

Post by burt »

Yeah, hooks are considered "always on". It might be possible to uprate the Hook system to allow the possibility of turning off & on (eg the red/green selector), I've never looked into it. Has anyone else ever looked into this area?
I am not here to build for you.
I am here to build with you. Let's help each other.
ecartz
Core Team
Posts: 3084
Joined: Tue Nov 05, 2019 6:02 pm
Phoenix Version:
Has thanked: 4 times
Been thanked: 208 times

Re: Addon Inspector

Post by ecartz »

You can turn database hooks on and off (by inserting or deleting the database entry). You could conceivably insert a no-op database hook where a file-based hook was and override it.
azpro
Contributor
Posts: 177
Joined: Fri Nov 06, 2020 8:25 am
Phoenix Version: v1.1.0.6
Has thanked: 30 times
Been thanked: 34 times

Re: Addon Inspector

Post by azpro »

burt wrote: Fri Jul 18, 2025 5:00 pm Yeah, hooks are considered "always on". It might be possible to uprate the Hook system to allow the possibility of turning off & on (eg the red/green selector), I've never looked into it. Has anyone else ever looked into this area?
Yeah - I have tried last year. Not to difficult as I remember but needs core adjustment (if I remember well). I am terrible at documenting so can't find the code I used.

But for Matt this probably is peace-of-cake IMHO.
azpro
Contributor
Posts: 177
Joined: Fri Nov 06, 2020 8:25 am
Phoenix Version: v1.1.0.6
Has thanked: 30 times
Been thanked: 34 times

Re: Addon Inspector

Post by azpro »

ecartz wrote: Fri Jul 18, 2025 5:08 pm You can turn database hooks on and off (by inserting or deleting the database entry). You could conceivably insert a no-op database hook where a file-based hook was and override it.
I would prefer database setting off/on .... which brings me to another point of attention (you guys can always ignore me - no offence taken ;) ) ... but why not have a configuration table for only admin settings .. (to bring back Table configuration load for every shopsite click) ... off-couse some settings are ambigious (both shop and admin) ..

Arjan
ecartz
Core Team
Posts: 3084
Joined: Tue Nov 05, 2019 6:02 pm
Phoenix Version:
Has thanked: 4 times
Been thanked: 208 times

Re: Addon Inspector

Post by ecartz »

azpro wrote: Fri Jul 18, 2025 6:30 pm some settings are ambigious (both shop and admin) ..
Since you set the shop settings in admin, pretty much all shop settings are ambiguous that way. There aren't that many admin-only settings. Not really enough to justify a second table that might have conflicts with the first. The problems that would arise outweigh the benefits.
frankl
Builder
Posts: 159
Joined: Tue Feb 23, 2021 8:39 pm
Phoenix Version: v1.1.0.4
Has thanked: 17 times
Been thanked: 25 times

Re: Addon Inspector

Post by frankl »

burt wrote: Fri Jul 18, 2025 9:39 am Any feedback/thoughts/opinions etc welcome.

The general idea is;

1. show what addons are uploaded to a shop
2. show compatibility
3. allow user to contact creator of addon easily

What's missing?
I think this is a must have. But where is the information for the cards being drawn from? Also a great suggestion to be able to turn addons off/on with a click. Been thinking about that for ages.


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply