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: A couple more questions (s...
Last post by @rjen - Today at 06:16:00 PM
I do not understand what you are asking. TinyPortal generates urls for Articles and Categories. Those you can add to a sitemap.

If you see an edit somewhere to do it, please link to the resource, I cannot read minds...
#2
Support / Re: A couple more questions (s...
Last post by [chrisB] - Today at 06:03:49 PM
Does TinyPortal generate any URL outputs, such as an RSS feed? I have read that there's an edit that does it for articles.

This would help me and vbgamer to automatically add URLs to the sitemap his mod generates.

I completely understand that it's not something you will look into yourself, but it sounds like my code would be almost functional if TinyPortal had something like this.
#3
Support / Re: Render1 block
Last post by @rjen - Today at 04:58:45 PM
If you go to Article settings and deselect the options Display edit link in articles and Display print link in articles yopu will remove most of the 'block'

If you want to get rid of the horizontal line as well, that can only be done by changing css.
The line is actually the top border of this class...

.tp_article_inner {
    line-height: 1.4em;
    overflow-wrap: anywhere;
    border-top: 1px solid var(--tp_article-border);
    padding: 1em 0 0 0;
#4
Support / Re: Squished Avatars, Missing ...
Last post by @rjen - Today at 03:30:59 PM
I found a problem with the menu button highlighting, so I replaced the attachments with updated versions

This will fix the Home menu not being highlighted when using TPStandalone.
#5
Support / Re: Squished Avatars, Missing ...
Last post by @rjen - Today at 08:30:44 AM
Fixes in attached files

Integrate.php goes in \TinyPortal
TPortal.php goes in \Sources

#6
Support / Re: Squished Avatars, Missing ...
Last post by @rjen - Today at 06:44:54 AM
I did not check the breadcrumbs, did you check the standard menu option (the one in your theme)? That should work now.
#7
Support / Re: Squished Avatars, Missing ...
Last post by Senkusha - Today at 12:07:37 AM
Okay.  I did some things.

I upgraded my TP to 3.0.2.
I replaced the code you suggested above.
I altered my forum menu button link to read:  https://forum.animerpgscom/index.php?action=forum.

But, when clicking on the breadcrumb, I still experience the error.  That link still reads https://forum.animerpgs.com/index.php

You cannot view this attachment.
#8
Support / Re: Squished Avatars, Missing ...
Last post by @rjen - March 24, 2025, 08:45:11 PM
Quote from: Senkusha on March 24, 2025, 11:59:40 AMYes.  I think there may be something else going on here because, after reviewing my settings, the topics aren't displaying either:

You cannot view this attachment.

That is not due to this issue: if you want forum topics to show, you should select one of these two options for the frontpage
#9
Support / Re: Squished Avatars, Missing ...
Last post by @rjen - March 24, 2025, 08:24:53 PM
I have a fix, it is actually rewriting the 'Forum' address correctly when using TPStandalone

In the file Integrate.php you need to update this one line

From this
// Add the forum button
$buttons = array_merge(
array_slice($buttons, 0, array_search('home', array_keys($buttons), true) + 1),
[
'forum' => [
'title' => isset($txt['tp-forum']) ? $txt['tp-forum'] : 'Forum',
'href' => ($context['TPortal']['front_placement'] == 'boardindex') ? $scripturl . '?action=forum' : $scripturl,
'show' => true,
'icon' => 'menu_tpforum',
],
],
$buttons

To this
// Add the forum button
$buttons = array_merge(
array_slice($buttons, 0, array_search('home', array_keys($buttons), true) + 1),
[
'forum' => [
'title' => isset($txt['tp-forum']) ? $txt['tp-forum'] : 'Forum',
'href' => ($context['TPortal']['front_placement'] == 'boardindex' || 'standalone') ? $scripturl . '?action=forum' : $scripturl,
'show' => true,
'icon' => 'menu_tpforum',
],
],
$buttons
#10
Support / Re: Squished Avatars, Missing ...
Last post by @rjen - March 24, 2025, 07:27:58 PM
Managed to reproduce it: the 'Forum' menu option is directing to this address: https://forum.animerpgs.com/index.php

The expected link for the boardindex address is : https://forum.animerpgs.com/index.php?action=forum
That is the address we expect for the board index and because the action= forum is missing that is why the block is not showing on the board index.

Checking how to fix it