MyStudio Free demo
Datahandlers vs raw queries in plugins - Printable Version

+- MyStudio Free demo (https://demo.mystudio.forumeze.com)
+-- Forum: Products & Services (https://demo.mystudio.forumeze.com/forum-8.html)
+--- Forum: MyBB (https://demo.mystudio.forumeze.com/forum-9.html)
+---- Forum: Plugins (https://demo.mystudio.forumeze.com/forum-11.html)
+---- Thread: Datahandlers vs raw queries in plugins (/thread-106.html)

Pages: 1 2 3 4 5


- VinylVera - 09-07-2026

Whitelist-based hooks debugging in class_plugins.php helped me a lot.

Bumping this because I ran into the same thing today.


- PixelatedPaul - 09-08-2026

(09-07-2026, 11:28 PM)VinylVera Wrote: Whitelist-based hooks debugging in class_plugins.php helped me a lot.
Always call rebuild_settings() after changing settings programmatically.


- ServerSage - 09-08-2026

Whitelist-based hooks debugging in class_plugins.php helped me a lot.


- ZenZara - 09-08-2026

Always call rebuild_settings() after changing settings programmatically.

The gid=0 trick keeps plugin settings out of the ACP — neat.

Thanks for sharing, saved me a lot of time.

Bumping this because I ran into the same thing today.


- CraftyCathy - 09-08-2026

(09-08-2026, 01:44 AM)ZenZara Wrote: Always call rebuild_settings() after changing settings programmatically.
That hooks explanation finally made it click for me.

Always call rebuild_settings() after changing settings programmatically.

Could not agree more.


- KernelKate - 09-08-2026

Always call rebuild_settings() after changing settings programmatically.

That hooks explanation finally made it click for me.

Interesting — I will have to try that.


- KernelKate - 09-08-2026

The gid=0 trick keeps plugin settings out of the ACP — neat.

Whitelist-based hooks debugging in class_plugins.php helped me a lot.

Good point, I had not thought of it that way.


- CraftyCathy - 09-08-2026

(09-08-2026, 03:41 AM)KernelKate Wrote: The gid=0 trick keeps plugin settings out of the ACP — neat.
Always call rebuild_settings() after changing settings programmatically.

Nice thread, following for the replies.


- BinaryBen - 09-08-2026

(09-08-2026, 04:29 AM)CraftyCathy Wrote:
(09-08-2026, 03:41 AM)KernelKate Wrote: The gid=0 trick keeps plugin settings out of the ACP — neat.
The gid=0 trick keeps plugin settings out of the ACP — neat.


- NimbleNora - 09-08-2026

The gid=0 trick keeps plugin settings out of the ACP — neat.

That hooks explanation finally made it click for me.

I disagree slightly, but I can see where you are coming from.