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


- ServerSage - 11-18-2026

Always call rebuild_settings() after changing settings programmatically.


- PatchPat - 11-18-2026

Always call rebuild_settings() after changing settings programmatically.

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


- EchoEzra - 11-18-2026

(11-18-2026, 06:32 AM)PatchPat Wrote: Always call rebuild_settings() after changing settings programmatically.
Whitelist-based hooks debugging in class_plugins.php helped me a lot.

Bumping this because I ran into the same thing today.

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


- ByteBruce - 11-18-2026

(11-18-2026, 07:02 AM)EchoEzra Wrote:
(11-18-2026, 06:32 AM)PatchPat Wrote: Always call rebuild_settings() after changing settings programmatically.
Whitelist-based hooks debugging in class_plugins.php helped me a lot.

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


- MovieMaven - 11-18-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.

Thanks for sharing, saved me a lot of time.


- RetroRex - 11-18-2026

Always call rebuild_settings() after changing settings programmatically.

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

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


- SonicSam - 11-18-2026

Always call rebuild_settings() after changing settings programmatically.

That has been my experience as well.


- CraftyCathy - 11-18-2026

That hooks explanation finally made it click for me.

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

That has been my experience as well.


- NeonNia - 11-18-2026

That hooks explanation finally made it click for me.

Always call rebuild_settings() after changing settings programmatically.

Nice thread, following for the replies.


- LunarLily - 11-18-2026

Always call rebuild_settings() after changing settings programmatically.

That has been my experience as well.