News:

Wondering if this will always be free?  See why free is better.

Main Menu

TinyPortal

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

Previous topic - Next topic

@rjen

Interesting: that layout does NOT have the timestamp on separate lines...

What setting are you using in the shoutbox settings? Can you post a screenprint like the one below?

You cannot view this attachment.


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

@rjen

Quote from: tinoest on October 12, 2022, 11:14:14 AMDo you have a link to your site? I am going to have a guess it's down to the resolution you are viewing it in, or some other CSS change on the site which is pushing the div outside the normal size.

I know the site address, but the Shoutbox is not showing there... (or at least not to guests)
Running SMF 2.1 with latest TinyPortal at www.fjr-club.nl

jsx

@tinoest

I sent you a private message.

@rjen

It is currently available to guests.

Settings:


tinoest

You are missing some CSS in tp-shout.css

Can you make sure it matches the latest one here; https://github.com/Tinyportal/TinyPortal/blob/master/Themes/default/css/tp-shout.css

.shoutbox_time {
display: block;
float: right;
padding-left: 5px;
}

Is one thing, I am not sure about anything else.

jsx

Right this code is missing. I removed this code when I was using SMFPacks Shoutbox because this code broke the date displayed in SMFPacks Shoutbox.

@rjen

yep, that's it: the settings are fine, but that code you removed is causing your issue... put it back.
Running SMF 2.1 with latest TinyPortal at www.fjr-club.nl

@rjen

there you go... $50,- please...  ;)
Running SMF 2.1 with latest TinyPortal at www.fjr-club.nl

jsx

Okay, I restored it.

Why not €50? 8)

Steve

If you want to pay him more by using euros, knock yourself out.  :P
DO NOT pm me for support!

-Rock Lee-

Well, I was also in a hurry when I was traveling and I couldn't explain so much. Now at home I'll try to express myself more.

Quote from: @rjen on October 12, 2022, 10:53:01 AMSuggestion 1: Quick access to the setting for the shoutbox next to history/update?
I assume you want that for admins only? And what link to go to?
There is a link to the block settings on all blocks: that's where you maintain the block-spocific shoutbox settings as well

You cannot view this attachment.

We could include a link to this page, is that it?

You cannot view this attachment.

It is correct only for administrators since users do not have much to modify in themselves, it does not appear above me although the one I would refer to is the one below

You cannot view this attachment.

That redirects directly to the chat settings in www.myweb.com/index.php?action=tpshout;shout=admin;settings

Quote from: @rjen on October 12, 2022, 10:53:01 AMSuggestion 2: icons larger on mobile phones?

Please be specific: what Icons exactly?

exactly these

Quote from: @rjen on October 12, 2022, 10:53:01 AMSuggestion 3: system to silence users?

That sounds like you want to mute users that are annoying you?
That does not exist: if you want users to not use the shouts, do not give them permission via the member group. That is not sufficient?

It is not the idea to take away that benefit from everyone, only those who bother, a more direct way of doing it. Now what I did was create 2 user groups depending on what I need in one I remove permissions from the same SMF but I would like the same TP to handle it...

Quote from: @rjen on October 12, 2022, 10:53:01 AMSuggestion 4: layout on 1 side?

Tinyportal offers 4 different layouts, suitable for portrait or landscape blocks. You have the flexibility to put the shoutbox to the side, the top, bottom, where you want...

I was not referring to the position of the chat itself (sorry, I won my Spanish on that) but that you can manage everything related to the chat such as permissions, avatars, bbc, icons, etc. in one place, for example, go to www.myweb.com/index.php?action=tpshout;shout=admin;settings and not have to go anywhere else, can I explain? It's the only thing I see in the smfpacks chatbox and it's what jsx is looking for (or so I understand) although TP brings everything, it's just distributed in a different way.


Regards!
¡Regresando como cual Fenix! ~ Bomber Code
Ayudas - Aportes - Tutoriales - Y mucho mas!!!

jsx

Quote from: @rjen on October 11, 2022, 11:53:05 AMWould you mind to elaborate a bit more what it is that is missing? Not having invision we can only guess what it is that you feel is missing.

It may be that we can include some of that in a next release...

Thank you @@rjen, @lurkalot and @tinoest for creating TinyPortal and the Shoutbox add-on in it.

These are just suggestions, I wanted to write them and maybe one day one of them will be implemented.

Suggestions for expanding this shoutbox:

1. Adding the ability to set newer entries to be displayed at the bottom. Currently, the new entry is displayed at the top.

2. Adding the function "Enable display avatars", I mean to display, for example, a round avatar of a user next to his entry. Avatars of users beautify the shoutbox window. Currently it is so empty.





3. Adding the ability to ban a user in the shoutbox for a few minutes, a few hours, a few days, forever.

4. Adding Who's Chatting

5. Adding a function (icon) to go to shoutbox settings, there next to the history icon.

6. Adding the ability for more emoticons to appear in [more].

7. Adding the ability to enter a date like on the forum:

%d %B %Y, %H:%M

Currently the date is:

d M Y H:i:s

Can you explain the difference?

8. Change the date display in this layout so that the date is displayed before these buttons:



As here:



It is possible that then it will not affect the flicker.

9. Ability to enable notifications from the forum in the shoutbox. From any board in the forum. What I mean is that the shoutbox will display a notification that a new topic has been created. Example: "Shoutbox: User created What is your favorite movie?". It would be nice if there was a choice of setting; notification of a new thread or notification of a new reply to a thread.

10. Adding sound function, when adding a message in shoutbox. Enable/Disable sound.

11. Adding the ability to insert an image as img

12. Adding the ability for a pasted link to e.g. youtube to turn into an embedded video.

13. Adding the ability to quote an entry.

The mChat from phpBB has such a function:

https://www.phpbb.com/customise/db/extension/mchat_extension

14. Ability to mention user in shoutbox

Steve

Quote from: jsx on October 13, 2022, 05:54:17 AM1. Adding the ability to set newer entries to be displayed at the bottom. Currently, the new entry is displayed at the top.
+1

There are a couple of others that would be nice to have but especially that one in particular.
DO NOT pm me for support!

@rjen

Thanks,

nice to get some suggestions, will need to review them one by one: not everyting you are asking will be implemented, but lts have a look what is possible / feasible..
initial comments:

Quote from: jsx on October 13, 2022, 05:54:17 AMSuggestions for expanding this shoutbox:

1. Adding the ability to set newer entries to be displayed at the bottom. Currently, the new entry is displayed at the top.

That should not be too difficult

2. Adding the function "Enable display avatars", I mean to display, for example, a round avatar of a user next to his entry. Avatars of users beautify the shoutbox window. Currently it is so empty.

Possible.  Mind you: 'emptyness' is often caused by short shouts in a wide panel. You may want to consider using a side panel instead...

3. Adding the ability to ban a user in the shoutbox for a few minutes, a few hours, a few days, forever.

I like the idea, but it may be rather complex to implement, beacuse of all the 'side stuff' that it involves...

4. Adding Who's Chatting

That will be very hard to impossible to do: how do we know if someone 'is chatting'? The shoutbox is often showing on a page with topics or on the board index: having that page open does not mean the user is even looking at the shoutbox

5. Adding a function (icon) to go to shoutbox settings, there next to the history icon.

That is easy to do, just need to make sure not to 'overcrowd'  the shoutbox with icons

6. Adding the ability for more emoticons to appear in [more].

To be checked

7. Adding the ability to enter a date like on the forum:

%d %B %Y, %H:%M
Currently the date is:

d M Y H:i:s
Can you explain the difference?

I actually noticed that recently: will be changed in 2.2.3 to adhere to SMF approach.
For now: explanation of DateTime parameters can be found here: https://www.php.net/manual/en/datetime.format.php


8. Change the date display in this layout so that the date is displayed before these buttons:
It is possible that then it will not affect the flicker.

To be checked, not sure if that will be changed though

9. Ability to enable notifications from the forum in the shoutbox. From any board in the forum. What I mean is that the shoutbox will display a notification that a new topic has been created. Example: "Shoutbox: User created What is your favorite movie?". It would be nice if there was a choice of setting; notification of a new thread or notification of a new reply to a thread.

To be checked, sounds rather complex tbh

10. Adding sound function, when adding a message in shoutbox. Enable/Disable sound.

Urr, tbh I HATED that in the other shoutboxes, but hey, that's just me...

11. Adding the ability to insert an image as img

To be checked

12. Adding the ability for a pasted link to e.g. youtube to turn into an embedded video.

Nope, that really is not what a shoutbox should be for IMO...(by the way that is not even SMF stadard functionality)

13. Adding the ability to quote an entry.

To be checked

14. Ability to mention user in shoutbox

That functionality is already available
Running SMF 2.1 with latest TinyPortal at www.fjr-club.nl

tinoest

Quote from: Steve on October 13, 2022, 07:30:39 AM
Quote from: jsx on October 13, 2022, 05:54:17 AM1. Adding the ability to set newer entries to be displayed at the bottom. Currently, the new entry is displayed at the top.
+1

There are a couple of others that would be nice to have but especially that one in particular.

That should be as simple as adding
$ns = array_reverse($ns); before this line https://github.com/Tinyportal/TinyPortal/blob/7aba4662d7f2ef97e88be8b8e206ff1a902b289d/Sources/TPShout.php#L332


jsx

Quote1. That should not be too difficult

It would be nice to see such a feature in the shoutbox settings, for better convenience. @tinoest thank you very much for providing this code. Now new entries appear at the end. :)

Quote2. Possible. Mind you: 'emptyness' is often caused by short shouts in a wide panel. You may want to consider using a side panel instead...

I like this standard layout, just an avatar in this place will beautify the shoutbox, it's just like an avatar on a user's profile in a post.

Quote3. I like the idea, but it may be rather complex to implement, beacuse of all the 'side stuff' that it involves...

I understand.

Quote4. That will be very hard to impossible to do: how do we know if someone 'is chatting'? The shoutbox is often showing on a page with topics or on the board index: having that page open does not mean the user is even looking at the shoutbox

I understand.

Quote5. That is easy to do, just need to make sure not to 'overcrowd'  the shoutbox with icons

I think that such an icon (settings) will be a plus.

Quote6. To be checked

Thanks. And what do you think about moving the set of emoticons to the right side? And bbcode.

Quote7. I actually noticed that recently: will be changed in 2.2.3 to adhere to SMF approach.

Great. :)

Quote8. To be checked, not sure if that will be changed though

I understand, thanks for checking it out.

Quote9. To be checked, sounds rather complex tbh

I understand, thanks for checking it out.

Quote10. Urr, tbh I HATED that in the other shoutboxes, but hey, that's just me...

If the sound is ugly it might be annoying as a notification of a new entry, but if the notification sound is nice it's nice to hear it. In my opinion, Invison has a nice notification sound for a new entry.

Quote11. To be checked

Thanks.

Quote12. Nope, that really is not what a shoutbox should be for IMO...(by the way that is not even SMF stadard functionality)

I understand.

Quote13. To be checked

I understand, thanks for checking it out.

Quote14. Ability to mention user in shoutbox

That functionality is already available

How do I turn on this feature?

@rjen

Mention is on by default. Just type @jsx in a shout and the user will get a notification
Running SMF 2.1 with latest TinyPortal at www.fjr-club.nl

jsx

@@rjen thanks for the clarification. I didn't know that because @ name does not change into a user's clickable link when the user is mentioned.

When I add a new entry then the shoutbox automatically scrolls to the top. I think the focus should remain on my entry. Is this a bug?

I am using Simple Audio Video Embedder modification on the forum and when youtube link is added in the entry then the video will automatically display as embedded. I like it, but the video window is too big for the shoutbox because the video window size is set to display like this in the post. I know, I can set a smaller window in the modification settings and in the post and in shoutbox it will be displayed the same.

@rjen

Quote from: jsx on October 14, 2022, 04:28:53 AM@@rjen thanks for the clarification. I didn't know that because @ name does not change into a user's clickable link when the user is mentioned.

When I add a new entry then the shoutbox automatically scrolls to the top. I think the focus should remain on my entry. Is this a bug?

I am using Simple Audio Video Embedder modification on the forum and when youtube link is added in the entry then the video will automatically display as embedded. I like it, but the video window is too big for the shoutbox because the video window size is set to display like this in the post. I know, I can set a smaller window in the modification settings and in the post and in shoutbox it will be displayed the same.

The scrolling is not a bug: you changed the order manually: the shoutbox is no designed for that.

As for the embedded video: that's tough. If I recall correctly the mod applies a style element width and height .
That we cannot override simply in css
Running SMF 2.1 with latest TinyPortal at www.fjr-club.nl

jsx

Quote from: @rjen on October 14, 2022, 07:19:01 AMThe scrolling is not a bug: you changed the order manually: the shoutbox is no designed for that.

Can it be changed?

@rjen

Don't know. If I can change the tp functionality I will need to look into that...
Running SMF 2.1 with latest TinyPortal at www.fjr-club.nl

Advertisement: