Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media


Welcome, Guest. Please login or register.
Did you miss your activation email?

May 24, 2022, 01:50:00 PM

Login with username, password and session length
  • Total Posts: 193371
  • Total Topics: 21076
  • Online today: 58
  • Online ever: 1035
  • (November 26, 2020, 04:45:12 AM)
Users Online
Users: 0
Guests: 44
Total: 44

Author Topic: Tiny Portal Block Activate Buttons Won't Turn Green Without Page Refresh  (Read 2364 times)

0 Members and 1 Guest are viewing this topic.

Offline Michael Vail

  • Jr. Member
  • **
  • Posts: 36
    • Sonoma County DSA
Link to my forum: https://sonomacountydsa.org/forums
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

Offline tino

  • Developer
  • *
  • Posts: 2594
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.

Offline @rjen

  • Support Team
  • *
  • Posts: 3236
    • FJR-club Nederland
It works for me too..
Running Latest TP on SMF2.1 at: www.fjr-club.nl

Testing TP on SMF2.0
Testing TP on SMF2.1 (latest Github)
Want to check what php version I am testing on? See: PHP Info

Offline Michael Vail

  • Jr. Member
  • **
  • Posts: 36
    • Sonoma County DSA
Re: Tiny Portal Block Activate Buttons Won't Turn Green Without Page Refresh
« Reply #3 on: January 02, 2022, 08:07:30 PM »
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!