• This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

TaigaChat - AJAX shoutbox

Status
Not open for further replies.

Brogan

XenForo moderator
Staff member
Ah yes, that did it.
Weird that I needed to do a forced refresh as that's the first time I've viewed the page.

Anyway, looks good from what I can see. Good job!
 

Peggy

Well-known member
I placed the code below the sidebar_online_users. I didn't like it placed above my staff online and members online information, and imo, it looks better there.
See screenie below -
 

Attachments

  • sb.jpg
    sb.jpg
    43.7 KB · Views: 64

Brogan

XenForo moderator
Staff member

Jamie

Well-known member
Hey Darkimmortal,

Can you tell me where the Shoutbox tab is being called from? I am trying to wrap that in a conditional so Guest users won't even see that tab instead of getting a permission denied message.

Thanks!
Jamie
 

CFodder

Well-known member
Dark, this is brilliant, a simple shoutbox was all we were looking for and you've done it :D.

Just be one thing on our like list, that would be the ability to have the shout input area at the top of the shouts. If you could either incorporate that or tell me where I can edit it that'd be brilliant :).

**Edit** - No worries, figured out how to do it meself :).
 

Luke F

Well-known member
I placed the code below the sidebar_online_users. I didn't like it placed above my staff online and members online information, and imo, it looks better there.

See screenie below -


You've got a point there actually... I may just have to alter the install instructions :p

Hey Darkimmortal,


Can you tell me where the Shoutbox tab is being called from? I am trying to wrap that in a conditional so Guest users won't even see that tab instead of getting a permission denied message.


Thanks!

Jamie


It's in library/Dark/TaigaChat/EventListener/NavigationTabs.php, though you could just wait for the next release (which will be later today) as I stupidly forgot to check the view permission before displaying the tab >.>

I just tried embedding an image and only the URL is displayed.


Code:
[IMG]http://www.f1fanatic.co.uk/wp-content/uploads/2009/02/mclaren_mp4-24_2009-8.jpg[/IMG]


It would be great if you could automatically resize images and enable zoom on click.

I did a thread here explaining how to do it: http://xenforo.com/community/thread...omatically-resize-and-zoom-when-clicked.7412/

Showing the URL in place of images was intentional, but I think I'll swap that out for a thumbnail based system instead. I'll also give the zoom on click system a try, but I doubt it will suit a shoutbox very well.

YouTube works though :D

Oops, forgot about that :p
 

Brogan

XenForo moderator
Staff member
Showing the URL in place of images was intentional, but I think I'll swap that out for a thumbnail based system instead. I'll also give the zoom on click system a try, but I doubt it will suit a shoutbox very well.
Why not just use the autosize and zoom code?
If you do a thumbnail then clicking it will open it in a new tab.

Granted images won't work well in the very small box on forum home but if chat is on its own page then images will work fine.

The other thing that would be great, would be some kind of editor on the full page version so BBCode buttons and smilies can be clicked.
This is how I have my current chat set up:

cta_chat.PNG

Looking forward to getting this installed on my site thumbsup.gif
 

Luke F

Well-known member
Why not just use the autosize and zoom code?
If you do a thumbnail then clicking it will open it in a new tab.

Granted images won't work well in the very small box on forum home but if chat is on its own page then images will work fine.

I'll give it a try, but surely even in the full shoutbox images would fill up nearly the whole view, even before zooming in?

The other thing that would be great, would be some kind of editor on the full page version so BBCode buttons and smilies can be clicked.
This is how I have my current chat set up:

View attachment 5340

Looking forward to getting this installed on my site View attachment 5341

I've been meaning to add some editor controls - is there anything important besides bold, italic, image and dropdowns for colour and smilies?
 

Brogan

XenForo moderator
Staff member
I'll give it a try, but surely even in the full shoutbox images would expand to fill up nearly the whole view?
You're probably right. My current chat window is quite narrow so images don't look so big.
Maybe a max width then, configurable?

I've been meaning to add some editor controls - is there anything important besides bold, italic, images (maybe) and dropdowns for colour and smilies?
Personally we use B, I, U, S, font size, IMG, URL, Media, Color, Quote, Spoiler and smilies :)
 

Luke F

Well-known member
You're probably right. My current chat window is quite narrow so images don't look so big.
Maybe a max width then, configurable?

Good idea :)

Personally we use B, I, U, S, font size, IMG, URL, Media, Color, Quote, Spoiler and smilies :)

I can't see font size, media, quote, spoiler etc. being very suitable for a shoutbox to be honest. I think I'll probably end up leaving those out initially and then adding an option later on.
 

Brogan

XenForo moderator
Staff member
No worries, I'll probably just add them in myself then, which is what I had to do with my current chat :D

Unlike most sites, our chat is actually used for 2 hourly sessions when grands prix are on so we can talk about the race in real time.
 

Luke F

Well-known member
Can you set the chat up that the newest messages are at the bottom and not at the top?

It's in the admin options ;)

kmm6.png
 

Allan

Well-known member
It would be nice to add a function to determine where the shout be appears, as above and below the forums.
 
Status
Not open for further replies.
Top