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,966
  • Latest: safir45
Stats
  • Total Posts: 195,990
  • Total Topics: 21,323
  • Online today: 1,579
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 425
  • Total: 426
  • @rjen

built in shoutbox question

Started by lakelady, March 12, 2007, 12:21:46 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

lakelady

is there a way to reverse how shouts appear in the shoutbox? I find that having the entry box on the bottom and the new shouts at the top rather annoying, not to mention backwards of how we read in real life. Is there a way to change this? Easily? :)


oh, and another question.....is it possible to have the shoutbox entry posted when a user hits return, instead of having to hit the shout button?

thanks

G6Cad

This question have been coverd a few times.
If you try and search for "shoutbox reverse" or "shoutbox order" it might come up.

Make sure you eather do the search from the advansed search page, or from the forum index page so the search works through all the forums and topics.

lakelady

I had searched using a few different terms and hadn't found any answers before posting my question. Thank you for suggesting some different terms. I used them as well just now and still haven't found an answer.

are there known conflicts with other chat boxes that are available out there? Are there other shoutboxes that have proven to work well in TP that have this modification?

G6Cad

Strange you didnt find that with the first suggestion i made, perhaps you didnt search from the advansed search page ?

Anyway, here is the topic that will give you what you want.
http://www.tinyportal.net/index.php?topic=5481.0

lakelady

I read that thread and it looks to me there are still problems with the code to get it to do what we're looking for. Perhaps I'm missing something here (highly possible since I'm new to this)


Last two posts in that thread....


Jr. Member
**
Offline Offline

Posts: 17


View Profile WWW Personal Message (Offline)
   
   
Re: Change the order of posts in Shoutbox?
Ã,« Reply #8 on: August 23, 2006, 06:41 Ã,»
   Reply with quoteQuote
That's all well and good but if I make the change as above and I have it set to show just the last 8 shouts I end up with the Shouts the wrong way round. So although it now scrolls the correct way it shows the first 8 shouts not the last 8. Anyone have an idea how to change that round?
   Report to moderator   Logged
Tank
Sr. Member
****
Offline Offline

Posts: 355


Danish Dude


View Profile WWW Email Personal Message (Offline)
   
   
Re: Change the order of posts in Shoutbox?
Ã,« Reply #9 on: September 10, 2006, 03:43 Ã,»
   Reply with quoteQuote
I could also use a solution for this..  Roll Eyes

brianjw

There really shouldnt be a problem if the conversations are backwords because it's for shouting a message and not having conversations like a chat room ;)

lakelady

I'm sorry, I don't understand the distinction. In my experience people use the terms shoutbox and chatbox interchangeably.

IchBin

Looking at this I'm not sure how it can work. Still being a beginner coder myself I can't figure it out. The LIMIT retrieves the limit you set in the shoutbox settings. So when you change the ORDER BY to reverse the order your grabbing the earliest shouts instead of the latest shouts. I'll keep looking at it, but I'm unsure how it can work without sorting or ordering it by another column.

brianjw

What I mean...
Shoutbox = you post one thing and say like hey and a little story or goodnight :)

Chat = you talk to people either with autorefreshing equipment or flashchat and history is not saved in this.

The differences are bigger than you think ;)

lakelady

Quote from: Brianjw on March 13, 2007, 01:58:06 AM
What I mean...
Shoutbox = you post one thing and say like hey and a little story or goodnight :)

Chat = you talk to people either with autorefreshing equipment or flashchat and history is not saved in this.

The differences are bigger than you think ;)

well, the built-in shoutbox in TP auto-refreshes and there is a history kept (at least the admin has access to it). soooooo....like I said, in my experience they are used interchangeably

This website is proudly hosted on Crocweb Cloud Website Hosting.