HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media


Welcome to TinyPortal. Please login or sign up.

June 05, 2023, 10:48:51 AM

Login with username, password and session length
  • Total Members: 3,864
  • Latest: Joonoz
  • Total Posts: 194,365
  • Total Topics: 21,157
  • Online today: 110
  • Online ever: 3,540
  • (September 03, 2022, 01:38:54 AM)
Users Online
Users: 0
Guests: 99
Total: 99

Tiny Portal Block Activate Buttons Won't Turn Green Without Page Refresh

Started by Michael Vail, May 05, 2021, 07:20:06 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Michael Vail

Link to my forum:
SMF version: SMF ver. 2.0.18
TP version: TP ver. 2.0.1 (with TPsubs.php RSS patch installed)
Default Forum Language: English
Theme name and version: Default (Curve)
Browser Name and Version: Chrome, Firefox, Edge - All Current Versions
Mods installed: See attached image of package manager
Related Error messages: None

Hello and thank you for reading my post.

While working with some portal blocks troubleshooting some things, I discovered the following issue when activating and deactivating portal blocks using the red and green Activate buttons in the Tiny Portal Admin 'Block' Area.

Steps to repeat issue:

1. Access Tiny Portal Admin menu
2. Select 'Blocks'
3. Click a green block of an active block in the 'Activate' column to disable the block. This should cause the activate column button to turn red.
4. Now click this or any other red block to activate the block and it should turn green, but the button remains red. However, the block is actually activated and if you refresh the page, it does turn green showing the block is activated again.

This is a minor thing and knowing what I know now about refreshing the page makes it easy to get around, but I'm sure people will wonder what's going on if it's not corrected.

Thank you for Tiny Portal!
Mike Vail


If you open up the console log in your browser of choice and look at the http request when performing that Ajax action. What response do you get?

I can't replicate it here so it's something to do with your config and I'm guessing the 200 OK response being blocked.


Running Latest TP on SMF2.1 at:

Michael Vail

Upgrading to TP 2.1.0 from 2.0.1 fixed whatever the issue was. My apologies for not replying sooner. I totally missed the earlier messages left here.

Happy New Year!