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

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,947
  • Latest: sgm09
Stats
  • Total Posts: 195,765
  • Total Topics: 21,279
  • Online today: 436
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 52
  • Total: 52

Squished Avatars, Missing Blocks, & Emojis

Started by Senkusha, March 21, 2025, 01:31:20 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

@rjen

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
Running Latest TP on SMF2.1 at: www.fjr-club.nl

@rjen

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
Running Latest TP on SMF2.1 at: www.fjr-club.nl

Senkusha

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.
--Senkusha
Check out my Anime Role Playing website!

@rjen

I did not check the breadcrumbs, did you check the standard menu option (the one in your theme)? That should work now.
Running Latest TP on SMF2.1 at: www.fjr-club.nl

@rjen

#24
Fixes in attached files

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

Running Latest TP on SMF2.1 at: www.fjr-club.nl

@rjen

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.
Running Latest TP on SMF2.1 at: www.fjr-club.nl

Senkusha

--Senkusha
Check out my Anime Role Playing website!

@rjen

I see it is working now  O0

Then I noticed something else that is happening on you site, but not on any of mine... on TinyPortal pages the linktree seems to be missing?

Is that on purpose?
Running Latest TP on SMF2.1 at: www.fjr-club.nl

Senkusha

Thank you!

I didn't even notice that I had turned off the Breadcrumb Navigation.
You cannot view this attachment.
--Senkusha
Check out my Anime Role Playing website!

This website is proudly hosted on Crocweb Cloud Website Hosting.