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

Recent

Welcome to TinyPortal. Please login or sign up.

Recent posts

#1
Chit chat / Block Scheduling
Last post by Sledge - October 28, 2025, 05:35:44 PM
Hi. I have a forum using TP for an Undernet IRC channel. The channel has a radio station with DJs almost nightly. I have several blocks that advertise the current DJ, but I have to manually turn them on and off. I know there is no feature or mod for TP that allows blocks to be scheduled, but I was wondering if there was a way to script in each block whether or not it displays the content.

My idea is to use a HTML or PHP block with the contents I want displayed, but add some code at the top of each block that if requirements for a certain day/time aren't met, it will ignore the rest of the block (and not show the contents). This way I can leave the blocks on, but the contents won't display except in the prescribed time frame.

Does anyone know if this is possible, and how to code it?

https://acrossthemiles.net/
SMF 2.1.6
TP 3.0.2
#2
Chit chat / Re: Happy Birthday, Lurkalot!
Last post by Replayuk - October 10, 2025, 07:45:36 AM
 ;)  Yeah me too i hope he had the best day ever !!!!  O0
#3
Chit chat / Happy Birthday, Lurkalot!
Last post by Skhilled - September 23, 2025, 01:28:26 AM
I hope that you enjoyed your day!!!  :D
#4
Fixed Bugs / Re: Unable to delete article c...
Last post by @rjen - August 25, 2025, 06:15:48 PM
And it is fixed in version 3.0.3
#5
Fixed Bugs / Re: Unable to delete article c...
Last post by @rjen - August 25, 2025, 06:09:46 PM
Looking at your screenshots I noticed that you deleted ALL articles. This is a situation that does not happen very often. After I removed every single article in my test forum I managed to reproduce the issue..

It is a bug
#6
Fixed Bugs / Re: Unable to delete article c...
Last post by @rjen - August 23, 2025, 10:34:56 PM
Well, since we do not have the issue it will be hard to solve.
#7
Fixed Bugs / Re: Unable to delete article c...
Last post by davejo - August 23, 2025, 10:21:40 PM
Quote from: @rjen on August 23, 2025, 04:19:04 PMI suspect there is something wrong with the article categories in the TinyPortal table.

This does not happen normally, and I have never seen this. Also does not happen in a clean install for me.

I started from scratch @rjen so I cannot understand why it would give that error. I'll uninstall 3.0.2 and install 3.0.1 on the test site ensuring that all the tables and files are gone and see if it happens with that.

I installed 3.0.1 on the same test site and the same error happens, but when I install 3.0.0 it doesn't, so something in the later versions are causing it.

I'll leave it with you guyys
#8
Fixed Bugs / Re: Unable to delete article c...
Last post by @rjen - August 23, 2025, 04:19:04 PM
I suspect there is something wrong with the article categories in the TinyPortal table.

This does not happen normally, and I have never seen this. Also does not happen in a clean install for me.
#9
Fixed Bugs / Re: Unable to delete article c...
Last post by davejo - August 23, 2025, 03:06:41 PM
Quote from: lurkalot on August 23, 2025, 02:45:22 PMYou're on the articles page, not the categories page.

Click TinyPortal admin and then click the categories icon.

I've managed to delete it Mick through the database, but whenever I go to the 'Categories' page I get the errors as I posted in the first post. It happens with the SMF default curve so it's not theme related


UPDATE:

I have just installed TP 3.0.2 on a fresh SMF2.1.6 install and the error happens in that also. I have also reduced the PHP from 8.3 to 8.0 and the error is still there.

This isn't a big deal as I'm not using that part of the portal but I thought you guys should know abut it
#10
Fixed Bugs / Re: Unable to delete article c...
Last post by lurkalot - August 23, 2025, 02:45:22 PM
You're on the articles page, not the categories page.

Click TinyPortal admin and then click the categories icon.

This website is proudly hosted on Crocweb Cloud Website Hosting.