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

Recent

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

June 16, 2021, 07:57:28 PM

Login with username, password and session length
Members
Stats
  • Total Posts: 192302
  • Total Topics: 20974
  • Online Today: 76
  • Online Ever: 1035
  • (November 26, 2020, 04:45:12 AM)
Users Online
Users: 0
Guests: 60
Total: 60

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

0 Members and 1 Guest are viewing this topic.

Offline Mike Vail

  • Jr. Member
  • **
  • Posts: 10
    • 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: 2364
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: 2892
    • FJR-club Nederland
It works for me too..
Running TP2.0.1 on SMF2.0 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