Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome, Guest. Please login or register.
Did you miss your activation email?

August 12, 2022, 03:17:52 AM

Login with username, password and session length
Members
  • Total Members: 3842
  • Latest: Kokoro
Stats
  • Total Posts: 193479
  • Total Topics: 21088
  • Online today: 50
  • Online ever: 1035
  • (November 26, 2020, 04:45:12 AM)
Users Online
Users: 0
Guests: 47
Total: 47

Author Topic: TP function call?  (Read 509 times)

0 Members and 1 Guest are viewing this topic.

Offline davejo

  • Jr. Member
  • **
  • Posts: 27
TP function call?
« on: April 18, 2022, 09:24:21 AM »
Hi,

SMF2.1.1
TP2.2.1

I am trying to get the SMFShoutbox to be hidden from the TP frontpage. I have tried all manner of function calls to insert into the box in the shoutbox settings, but it still shows no matter what I do. A list of what I've tried is

tp
tportal
portal
tinyportal
index
main

I've even tried the full site address.

Has anyone any idea what I can use please?

Oh in case your wondering, I am using the TP shoutbox on the frontpage already but want the SMFshoutbox in the forum only.

Below is a screenshot of the box


Offline @rjen

  • Support Team
  • *
  • Posts: 3285
    • FJR-club Nederland
Re: TP function call?
« Reply #1 on: April 18, 2022, 09:51:50 AM »
What mod is that exactly? And I am not sure is we can help you since the issue is with another MoD (not tp)

Why are you using two different shoutboxes anyway?
Running Latest TP on SMF2.1 at: www.fjr-club.nl

Testing TP on SMF2.0
Testing TP on SMF2.1 (latest Github)
Want to check what php version I am testing on? See: PHP Info

Offline tino

  • Developer
  • *
  • Posts: 2613
Re: TP function call?
« Reply #2 on: April 18, 2022, 10:07:42 AM »
boardindex might work, but technically it’s the main page so I doubt you can specify that as it’s “” i.e. nothing.

Offline davejo

  • Jr. Member
  • **
  • Posts: 27
Re: TP function call?
« Reply #3 on: April 18, 2022, 10:27:31 AM »
boardindex might work, but technically it’s the main page so I doubt you can specify that as it’s “” i.e. nothing.

Yes boardindex if the 'Forum' and TP is the index/main as you say. I didn't think of "" but I did use main.

My thoughts on asking here is that you might know what function call SMF would use for the frontpage.

Thanks for the reply guys

Offline lurkalot

  • Administrator
  • *
  • Posts: 7409
    • Camera Craniums
Re: TP function call?
« Reply #4 on: April 18, 2022, 11:09:24 AM »
What mod is that exactly? And I am not sure is we can help you since the issue is with another MoD (not tp)

Why are you using two different shoutboxes anyway?

Would be nice to get the answer to those questions.  I was assuming it was the Arcade shoutbox.  Either way I'd have thought the mod author would be able to advise you on what to use and where, if it's possible etc. 

Offline tino

  • Developer
  • *
  • Posts: 2613
Re: TP function call?
« Reply #5 on: April 18, 2022, 11:19:28 AM »
This might work TPortalMain

As that what we set it to.

Offline davejo

  • Jr. Member
  • **
  • Posts: 27
Re: TP function call?
« Reply #6 on: April 18, 2022, 03:09:01 PM »
What mod is that exactly? And I am not sure is we can help you since the issue is with another MoD (not tp)

Why are you using two different shoutboxes anyway?

Would be nice to get the answer to those questions.  I was assuming it was the Arcade shoutbox.  Either way I'd have thought the mod author would be able to advise you on what to use and where, if it's possible etc.

Guys,

I did tell you in the first post the name of the mod I was using. I want another shoutbox besides yours because yours is being used in a minimal way but the SMFShoutbox has more functionality, i.e I can have more smileys from the group I use, my members and I can whisper to each other and various other functions that yours doesn't do.

There is nothing wrong with either mod I just wanted to know what the function call was to stop the SMFShoutbox from working on TP.

If I go to the mod writer all they will say is they know nothing about TP and probably leave me to my own devices or tell me to talk to you.

I will check out Tino's idea.

Thanks for the replies

Regards

Dave

Offline tino

  • Developer
  • *
  • Posts: 2613
Re: TP function call?
« Reply #7 on: April 18, 2022, 03:31:17 PM »
To avoid confusion can you confirm you mean this shoutbox https://www.simplemachines.org/community/index.php?topic=76344.0

Offline @rjen

  • Support Team
  • *
  • Posts: 3285
    • FJR-club Nederland
Re: TP function call?
« Reply #8 on: April 18, 2022, 11:06:54 PM »
That shoutbox is published as being for SMF 1.
I find it not very likely that it is indeed that Mod.

Just an fyi: if I was sure what mod it is I would be willing to install it and see if I can help you.
But I will not start guessing therefor I asked …

On another note: if you want to use another shoutbox or even another portal , that’s fine. Just wanted to know the why for two reasons:
1. You may not be aware that it is technically possible to have shoutboxes with different Shoutbox-IDS (different content) in TP
2. Perhaps we can improve the shoutbox in future

But since you are happy with Tino’s idea I will not need to spend any time on this..

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

Testing TP on SMF2.0
Testing TP on SMF2.1 (latest Github)
Want to check what php version I am testing on? See: PHP Info

Offline davejo

  • Jr. Member
  • **
  • Posts: 27
Re: TP function call?
« Reply #9 on: April 19, 2022, 12:02:37 AM »
That shoutbox is published as being for SMF 1.
I find it not very likely that it is indeed that Mod.

Just an fyi: if I was sure what mod it is I would be willing to install it and see if I can help you.
But I will not start guessing therefor I asked …

On another note: if you want to use another shoutbox or even another portal , that’s fine. Just wanted to know the why for two reasons:
1. You may not be aware that it is technically possible to have shoutboxes with different Shoutbox-IDS (different content) in TP
2. Perhaps we can improve the shoutbox in future

But since you are happy with Tino’s idea I will not need to spend any time on this..

Sorry for the delay in replying I was asleep

Unfortunately, Tino's idea didn't work.

The confusion here is that the file says 'Shoutbox_v1-4-7', so I said it was SMFShoutbox. I have the pro version of https://custom.simplemachines.org/index.php?mod=1295 which I purchased from SMFPacks.

The free SMF2.0 version, that the above link refers to has the same option in it and as, looking at the files etc, very little has changed for the 2.1.1. Pro version, so a solution for the free version should work on 2.1.1..hopefully.

I did ask for the TP shoutbox to have improvements made quite some while ago, as it seemed good to me that you can have multiple shoutboxs on the same site.

I really like the TP and don't want to change it, as it does everything I want it to do.

regards

Dave