TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Recent posts

#1
Support / Re: Center and Front panels no...
Last post by @rjen - February 11, 2026, 09:16:37 AM
Quote from: stylix on February 11, 2026, 01:21:43 AMTurning off a custom block fixed it, I'll try to see what's causing the issue in it. Thank you!

Look for divs that are not properly closed: that is usually the cause.
#2
Support / Re: Center and Front panels no...
Last post by stylix - February 11, 2026, 01:21:43 AM
Quote from: lurkalot on February 10, 2026, 03:38:53 PMI suspect you have another block with some broken code in it causing the issue.  Try temporarily turning off the left panel (in Panels) Then the right panel and see if the center and front panels work.

Or you could turn off your custom blocks one at a time and see if you have one causing the issue.
Turning off a custom block fixed it, I'll try to see what's causing the issue in it. Thank you!

@rjen, thank you for your cooperation as well!
#3
Support / Re: Center and Front panels no...
Last post by @rjen - February 10, 2026, 06:37:57 PM
I registered under @rjen
#4
Support / Re: Center and Front panels no...
Last post by lurkalot - February 10, 2026, 03:38:53 PM
I suspect you have another block with some broken code in it causing the issue.  Try temporarily turning off the left panel (in Panels) Then the right panel and see if the center and front panels work.

Or you could turn off your custom blocks one at a time and see if you have one causing the issue.
#5
Support / Re: Center and Front panels no...
Last post by stylix - February 10, 2026, 12:19:14 PM
Hello!

I tried both creating a new block and adding it to center or front panels. Both of wish didn't work, and the block kept being displayed on the right panel.

Tried to do it through "move block" buttons, didn't work.
The blocks in front and central are visible to users, however, they're always displayed on the right side panel.
Blocks does indeed show in the tinyportal block admin page and in the correct panel (on the page, not while being displayed).
I didn't try to make it in the default theme cause it was already working before but something happened. I just tried now, it's the same error.

If you can please create a user and tell me what's the username I'll approve it and give you tp access for assistance, maybe there is something I'm missing.

Here are screenshots:
#6
Support / Re: Center and Front panels no...
Last post by @rjen - February 10, 2026, 07:17:18 AM
Hi, need a bit more information on this.

Can you describe how you are making the changes?
I assume you change a block to display in another panel?

How do you make the change?
Does the block that you change indeed show in the Tinyportal block admin page in the correct panel?
Did you try to make the change in the default Theme?

Without more details it is very hard to troubleshoot this
The forum you link to is closed for guests, if you can provide me with a user and indicate what block is giving the issue that may help
#7
Support / Center and Front panels not wo...
Last post by stylix - February 10, 2026, 03:38:04 AM

Link to my forum: forum.uzsgaming.com
SMF version: SMF 2.1.6
TP version: TP ver 3.0.2
Default Forum Language: English
Theme name and version: blindspot
Browser Name and Version: Chrome
Mods installed: SMF Staff Page, Country Flags, Member Color, Tenor, Additional Membergroups on Profile, Discord who's online
Related Error messages: whenever i put any block in front or center, it's still displayed on the right panel i don't know why
#8
Block Codes / Re: Automated Blocks
Last post by Sledge - February 09, 2026, 06:04:59 PM
YES!! That works perfectly! Thank you  :)

You're brilliant!
#9
Block Codes / Re: Automated Blocks
Last post by lurkalot - February 09, 2026, 03:39:28 PM
You could try this in a PHP block.  Set block to "Do not use title/frame styles" and "Do not allow block to collapse"

I've set the day and time for you, but you'll need to add your image link at the bottom.

// --- SETTINGS ---
$target_day = 1;   // 0=Sunday, 1=Monday, 2=Tuesday... 6=Saturday
$start_time = "19:00";
$end_time   = "23:00";

// --- CURRENT DATE/TIME ---
$now = new DateTime("now", new DateTimeZone("Europe/London"));
$current_day = (int)$now->format("w");
$current_time = $now->format("H:i");

// --- CHECK ---
if ($current_day === $target_day && $current_time >= $start_time && $current_time < $end_time) {
    echo '<img src="https://your-image-url-here.jpg" alt="Scheduled Image">';
}

#10
Block Codes / Automated Blocks
Last post by Sledge - February 08, 2026, 10:15:41 PM
Hi. I'm not a html/php coder so I thought I'd ask here.

Is there a way to code a block so that it's contents only show in a specific time frame? I have a banner, but I'd only like it to show on Mondays between 7pm and 11pm. Is this possible? Here's what I have now (BBC block).

[center][color=red][size=3][b]Itchdog is currently live on the air!![/b][/size][/color][/center]
[center][url="http://www.southbayradio.org/"]Click here to tune in![/url][/center]

[center][url="http://www.southbayradio.org/"][img]https://evolvedones.net/gallery/1_02_02_26_8_09_39.png[/img][/url][/center]

I don't mean recoding Tinyportal, but making a html/php script in the actual block that will ignore the contents unless it's during that time frame.

<html>If the time date is outside (time/date) then ignore the rest of this block</html>

This website is proudly hosted on Crocweb Cloud Website Hosting.