MyStudio Free demo
AJAX in plugins via xmlhttp.php — follow-up - 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: AJAX in plugins via xmlhttp.php — follow-up (/thread-129.html)

Pages: 1 2 3 4 5 6


- SpammySteve - 11-16-2026

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

Always call rebuild_settings() after changing settings programmatically.

Could not agree more.


- KernelKate - 11-16-2026

Always call rebuild_settings() after changing settings programmatically.

Interesting — I will have to try that.


- SonicSam - 11-17-2026

(11-16-2026, 11:01 PM)KernelKate Wrote: Always call rebuild_settings() after changing settings programmatically.
Always call rebuild_settings() after changing settings programmatically.

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

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


- EchoEzra - 11-17-2026

(11-17-2026, 12:32 AM)SonicSam Wrote:
(11-16-2026, 11:01 PM)KernelKate Wrote: Always call rebuild_settings() after changing settings programmatically.
Always call rebuild_settings() after changing settings programmatically.

That hooks explanation finally made it click for me.


- ServerSage - 11-17-2026

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

Interesting — I will have to try that.


- NimbleNora - 11-17-2026

(11-17-2026, 03:42 AM)ServerSage Wrote: Whitelist-based hooks debugging in class_plugins.php helped me a lot.
Always call rebuild_settings() after changing settings programmatically.

Nice plugin, testing it on my dev board now.


- PixelatedPaul - 11-17-2026

Always call rebuild_settings() after changing settings programmatically.


- KernelKate - 11-17-2026

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


- WidgetWill - 11-17-2026

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

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


- PatchPat - 11-17-2026

(11-17-2026, 06:47 AM)WidgetWill Wrote: The gid=0 trick keeps plugin settings out of the ACP — neat.
Whitelist-based hooks debugging in class_plugins.php helped me a lot.

Always call rebuild_settings() after changing settings programmatically.

Nice thread, following for the replies.

Bumping this because I ran into the same thing today.