News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

TinyPortal

Started by lurkalot, February 12, 2005, 04:43:00 AM

Previous topic - Next topic

Dave J

If you're in a hurry then you could also just try to replace each table on it's own, I would start with the 'settings' table first as that's where it's more likely to be
If you want quizzes to add to the new SMF2.1 quiz mod go here . There are also walkthroughs in the forum to explain how to install them and other tips.

@rjen

Quote from: Aizenplaysgames on July 10, 2024, 02:51:12 AMI was dumb and clicked away the "hide shoutbox on admin", now the entire forum gives ERR_TOO_MANY_REDIRECTS. That includes any admin parts so I cant remove the package.

Only got access to the FTP, anyone know anything about what "file" to edit or remove?.

Kind of desperate here.

Mmm, that is not a known issue, wondering what setting you actually set...

FYI: as far as I know ther IS no "hide shoutbox on admin" setting in Tinyportal, so you may have set something, but I do not know what...

All settings are definately in the table _tp_settings, now If I knew what setting you actually changed I can tell you what to change...

Running SMF 2.1 with latest TinyPortal at www.fjr-club.nl

Aizenplaysgames

Quote from: @rjen on July 10, 2024, 04:31:46 AM
Quote from: Aizenplaysgames on July 10, 2024, 02:51:12 AMI was dumb and clicked away the "hide shoutbox on admin", now the entire forum gives ERR_TOO_MANY_REDIRECTS. That includes any admin parts so I cant remove the package.

Only got access to the FTP, anyone know anything about what "file" to edit or remove?.

Kind of desperate here.

Mmm, that is not a known issue, wondering what setting you actually set...

FYI: as far as I know ther IS no "hide shoutbox on admin" setting in Tinyportal, so you may have set something, but I do not know what...

All settings are definately in the table _tp_settings, now If I knew what setting you actually changed I can tell you what to change...



Hi, once im back from work I will 100% get on this. thx for the replies btw everyone :D

@rjen

FYI , just thought it may be a block setting... those are in _tp_blocks table
Running SMF 2.1 with latest TinyPortal at www.fjr-club.nl

Aizenplaysgames

TLDR had to replace entire Tinyportals folder to get site up again. thx for the tips.

@rjen

Still not clear what setting caused this?
Running SMF 2.1 with latest TinyPortal at www.fjr-club.nl

Antechinus

I'm thinking it sounds like a corrupted file rather than a setting. Replacing the "TP folder" would only replace files, not db settings.

@rjen

The TinyPortal Team is pleased to announce the release of TinyPortal 3.0.1

TinyPortal 3.0.1 can be used on SMF 2.1 and should also work on SMF 3.0
Minimum required PHP version : 7.0.0
Highest supported PHP version (tested): 8.3.1

This includes the following updates and fixes:

Functional changes:
- added more clear control for allowing standalone mode
- new setting to hide the TinyPortal menu options from user profiles
- added block setting to control block behaviour based on screen width
- added block setting to allow custom style per block
- block title maintenance update. This now follows forum language instead of user language
- added new blockcode files for stats such as most liked users and most likes messages
- added options in the article settings to set the headerstyle and body style for articles
- added article setting to set the max image size for uploading to the quick-list

Technical changes and Bugfixes:
- reworked the panel layouts to all use flex: the minimum width that the panelblock layout switches to vertical is now set to 600px
- cleanup in all templates
- fixed standalone mode not working in version 3.0.0
- fixed a bug in the shoutbox that showed when smileys in the forum were missing
- fixed the encoding / decoding of poster names in shoutbox
- fixed search results not being highlighted
- removed error Attempt to specify a non-integer value! from errorlog
- fixed 8: Undefined index: cannot_tp_can_shout
- fixed 8: Undefined index: cannot_tp_artcomment

Notes:
Support for SMF2.0.x has been dropped starting TinyPortal version 3.0.0.
SMF2.0.x is still supported by TinyPortal, but only up to TinyPortal version 2.3.1.

Note that SMF3.0 is under development, we cannot guarantee stable support for 3.0 untill a Final version is released.
Running SMF 2.1 with latest TinyPortal at www.fjr-club.nl

@rjen

Found a small bug in the package causing the timestamps to be missing in the shoutbox. Package is updated with a fix,,,
Running SMF 2.1 with latest TinyPortal at www.fjr-club.nl

Aizenplaysgames

Quote from: @rjen on July 11, 2024, 08:47:17 AMStill not clear what setting caused this?

Sadly no. whenever i now try to install TP it messes it up the same way.

@rjen

Curious to know: are the TinyPortal tables still in the database? If so you can try dropping the tables that start with smf_tp_ and reinstall: still believe that it is a setting issue, and the settings are in the database tables : a new install does not replace the settings from the database that are left from a previous install
Running SMF 2.1 with latest TinyPortal at www.fjr-club.nl

erich199

I'm wondering if I might make a suggestion?

Please forgive me if this is a feature I've overlooked.

I was wondering if it were possible to allow a topic creation on a "per category" basis.

For example:
Article Category A -> New Topic In Forum C
Article Category B -> New Topic In Forum A

hustreamload

We are using SMF 2.1.4 with hungarian language (hungarian-utf8). Language files were downloaded from the official DL page of this forum, and all TP*****.hungarian-utf8.php files are correcly in public_html/Themes/default/languages folder. TP  version: 3.0.1. However the forum works correctly in hungarian, the TP menu and admin remained in english. How to force TP to use rhe hungarian php files?

@rjen

First of all: SMF2.1.4 does not consider -utf8 files: it expects the standard files to be UTF8

Secondly: TinyPortal has it's own language files, for as far as these are available.
You can find the available TinyPortal files here: https://www.tinyportal.net/index.php?action=tportal;sa=download;dl=cat1

BUT,
the most recent Hungarian translation files or for TinyPortal 1.0 and more than 12 years old, so they are incomplete

We do have an active Crowdin Project for translations here: https://crowdin.com/project/tinyportal

At this time there are no translators for Hungarian, but if you want to contribute I can create the Hungarian branch in Crowdin for you to contribute translations..


Running SMF 2.1 with latest TinyPortal at www.fjr-club.nl

@rjen

Just added Hungarian to Crowdin and updated the packages.

https://www.tinyportal.net/index.php?action=tportal;sa=download;dl=item203

*** Note": this translation is at this time 46% percent complete ***
You are invited to contribute translations for TinyPortal at Crowdin:

https://crowdin.com/project/tinyportal
Running SMF 2.1 with latest TinyPortal at www.fjr-club.nl

Plus

hello i install tinyportal fresh installation but my site crash

giving 500 error.

[21-Oct-2024 14:09:48 America/New_York] PHP Fatal error:  Uncaught Error: Undefined constant "TP_BLOCK_ARTICLEBOX" in /home/tshkk/public_html/Sources/TPBlock.php:85
Stack trace:
#0 /home/tshkk/public_html/Sources/Subs.php(5766): getBlocks()
#1 /home/tshkk/public_html/Sources/TPortal.php(176): call_integration_hook()
#2 /home/tshkk/public_html/TinyPortal/Integrate.php(811): TPortal_init()
#3 /home/tshkk/public_html/Sources/Subs.php(5766): TinyPortal\Integrate::hookLoadTheme()
#4 /home/tshkk/public_html/Sources/Load.php(2674): call_integration_hook()
#5 /home/tshkk/public_html/index.php(227): loadTheme()
#6 /home/tshkk/public_html/index.php(184): smf_main()
#7 {main}
  thrown in /home/tshkk/public_html/Sources/TPBlock.php on line 85
[21-Oct-2024 14:09:59 America/New_York] PHP Fatal error:  Uncaught Error: Undefined constant "TP_BLOCK_ARTICLEBOX" in /home/tshkk/public_html/Sources/TPBlock.php:85
Stack trace:
#0 /home/tshkk/public_html/Sources/Subs.php(5766): getBlocks()
#1 /home/tshkk/public_html/Sources/TPortal.php(176): call_integration_hook()
#2 /home/tshkk/public_html/TinyPortal/Integrate.php(811): TPortal_init()
#3 /home/tshkk/public_html/Sources/Subs.php(5766): TinyPortal\Integrate::hookLoadTheme()
#4 /home/tshkk/public_html/Sources/Load.php(2674): call_integration_hook()
#5 /home/tshkk/public_html/index.php(227): loadTheme()
#6 /home/tshkk/public_html/index.php(184): smf_main()
#7 {main}
  thrown in /home/tshkk/public_html/Sources/TPBlock.php on line 85
[21-Oct-2024 14:10:34 America/New_York] PHP Fatal error:  Uncaught Error: Undefined constant "TP_BLOCK_ARTICLEBOX" in /home/tshkk/public_html/Sources/TPBlock.php:85
Stack trace:
#0 /home/tshkk/public_html/Sources/Subs.php(5766): getBlocks()
#1 /home/tshkk/public_html/Sources/TPortal.php(176): call_integration_hook()
#2 /home/tshkk/public_html/TinyPortal/Integrate.php(811): TPortal_init()
#3 /home/tshkk/public_html/Sources/Subs.php(5766): TinyPortal\Integrate::hookLoadTheme()
#4 /home/tshkk/public_html/Sources/Load.php(2674): call_integration_hook()
#5 /home/tshkk/public_html/index.php(227): loadTheme()
#6 /home/tshkk/public_html/index.php(184): smf_main()
#7 {main}
  thrown in /home/tshkk/public_html/Sources/TPBlock.php on line 85

@rjen

Some details please?

SMF version?
TinyPortal version?
PHP version?
Running SMF 2.1 with latest TinyPortal at www.fjr-club.nl

PoML

Has anybody any experience on using TP together with the Custom Form Mod ?
https://custom.simplemachines.org/index.php?mod=1279

Is that a good combo or would it be better to do it directly in a bloc when all we need is a way to sign up for a list of volunteers?

jsx

I moved the forum to a new hosting and I have errors, how to change to the correct paths?



I am using TP 3.0.0. I know there is version 3.0.1 available and I should update.

@rjen

Uninstall and reinstall: the blockcode path will be corrected. The image file path must be corrected manually in the settings
Running SMF 2.1 with latest TinyPortal at www.fjr-club.nl

Advertisement: