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

Recent

Welcome to TinyPortal. Please login or sign up.

Recent posts

#91
Support / Re: Render1 block
Last post by @rjen - March 25, 2025, 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;
#92
Support / Re: Squished Avatars, Missing ...
Last post by @rjen - March 25, 2025, 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.
#93
Support / Re: Squished Avatars, Missing ...
Last post by @rjen - March 25, 2025, 08:30:44 AM
Fixes in attached files

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

#94
Support / Re: Squished Avatars, Missing ...
Last post by @rjen - March 25, 2025, 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.
#95
Support / Re: Squished Avatars, Missing ...
Last post by Senkusha - March 25, 2025, 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.
#96
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
#97
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
#98
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
#99
Support / Re: A couple more questions (s...
Last post by @rjen - March 24, 2025, 05:00:50 PM
I did edit my post... do not worry about it
#100
Support / Re: A couple more questions (s...
Last post by [chrisB] - March 24, 2025, 04:59:05 PM
Quote from: @rjen on March 24, 2025, 04:44:23 PMI already said it...

look in TPortal.php, look for $context['page_title'].

I am guessing you want line 740

Thanks rjen.

I didn't notice any references before. However, looking back now, I can see them. I am not suggesting that you edited your post, as I fully acknowledge that I may have simply missed it. If it was edited, that would explain why.

The code I seeked, is this.
$context['page_title'] = $context['TPortal']['article']['subject'];

This website is proudly hosted on Crocweb Cloud Website Hosting.