Language: 
To browser these website, it's necessary to store cookies on your computer.
The cookies contain no personal information, they are required for program control.
  the storage of cookies while browsing this website, on Login and Register.
Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Select language:

Community



Donate

Donate for PortaMx !
Your donation is safe and helps support the issues and causes you care most about.

Stats

  • *Total Members: 4319
  • *Latest: thygrim

  • *Total Posts: 15779
  • *Total Topics: 2382
  • *Online Today: 4
  • *Most Online: 157
(27.08.09, 03:54:53)
  • *Users: 0
  • *Guests: 2
  • *Total: 2

Author Topic: Shoutbox  (Read 14366 times)

0 Members and 0 Guests are viewing this topic.

simply sibyl

  • Guest
Shoutbox
« on: 22.05.09, 04:58:07 »
Not sure where to post this.. hope this spot is okay.

Is it possible to recode the shoutbox so that it has a refresh button on it so that you can refresh only the shoutbox instead of having to refresh the entire page?

Offline feline

  • CO PortaMx corp.
  • Administrator
  • *
  • Posts: 5586
  • Gender: Female
Re: Shoutbox
« Reply #1 on: 22.05.09, 21:43:12 »
I don't understand for what you need this?

Fel
Many are stubborn in relation to the path, a few in relation to the target.

simply sibyl

  • Guest
Re: Shoutbox
« Reply #2 on: 26.05.09, 19:45:09 »
I don't understand for what you need this?

Fel

Im not asking for auto-refresh - that puts too much of a load on the server. 

Many shoutboxs have a refresh button on them.
When you press it it refreshs ONLY the shoutbox.
You dont have to sit and wait for the entire page the shoutbox is to load.
Only the shoutbox would refresh.
Since there are dozens of shoutboxs that have this ability it feels like it would be possilbe for you to do this?

As it is now you have to refresh the entire page - which means refreshing everything on the page.
It would be MUCH faster when people are using it for them to be able to refresh ONLY the shoutbox.

 

Offline feline

  • CO PortaMx corp.
  • Administrator
  • *
  • Posts: 5586
  • Gender: Female
Re: Shoutbox
« Reply #3 on: 26.05.09, 20:11:11 »
If you add a new shout (or edit one), the same procedures runs as you add a new post and the page is reloaded. So I see no necessity for a separate shoutbox reload.

Fel
Many are stubborn in relation to the path, a few in relation to the target.

simply sibyl

  • Guest
Re: Shoutbox
« Reply #4 on: 26.05.09, 20:14:17 »
If you add a new shout (or edit one), the same procedures runs as you add a new post and the page is reloaded. So I see no necessity for a separate shoutbox reload.

Fel

I realize that.  But that is my point. It refreshs the entire page when it could refresh only the shoutbox window.
I know for a fact this is possible with many shoutboxs, which is why I asked if you would consider doing so so we do not have to wait for the entire browser window to reload to see the new posts in it.   

Offline feline

  • CO PortaMx corp.
  • Administrator
  • *
  • Posts: 5586
  • Gender: Female
Re: Shoutbox
« Reply #5 on: 26.05.09, 20:27:37 »
Each block is a php Object, that is loaded and initiated at the page load time. Only the Contructor can read all the values (show or not, the viewmode and the content) and can prepare the content for the view methode.
If you don't like this, you have to use a other shoutbox (or a faster server).

Fel

Many are stubborn in relation to the path, a few in relation to the target.

simply sibyl

  • Guest
Re: Shoutbox
« Reply #6 on: 27.05.09, 00:23:29 »
Each block is a php Object, that is loaded and initiated at the page load time. Only the Contructor can read all the values (show or not, the viewmode and the content) and can prepare the content for the view methode.
If you don't like this, you have to use a other shoutbox (or a faster server).

Fel

My server is extremely fast actually.  Im thinking of members who have slow connections, and slower pcs, etc.

If it cannot be done, it cannot be done.. it was only a question

Offline ccbtimewiz

  • Newbie
  • *
  • Posts: 21
  • Gender: Male
    • The Jeuno Sky
Re: Shoutbox
« Reply #7 on: 12.06.09, 18:10:50 »
An easier method would be to create a PHP block with an HTML frame, and then call the shoutbox and have the frame itself refresh every-so-seconds.

simply sibyl

  • Guest
Re: Shoutbox
« Reply #8 on: 12.06.09, 19:00:33 »
An easier method would be to create a PHP block with an HTML frame, and then call the shoutbox and have the frame itself refresh every-so-seconds.

yeah that would work -  except for when you are in the middle of typing a post in the shoutbox and it refreshs on you LOL

For lack of knowing what else to do about this for now I put a refresh button on the shoutbox for her - all it does is use the Home link so that when it reloads its not reloading like it does with a page refresh/reload and all the images on the page dont have to reload along with it.   

Offline Cool

  • Free Tibet
  • PortaMx Supporter
  • *
  • Posts: 743
  • Gender: Male
  • I Hate Chinas Authority
Re: Shoutbox
« Reply #9 on: 13.06.09, 08:10:09 »
i think the only problem is that users misuse the shoutbox as a chatbox.
|I Use: SMF 2.0.4 | PortaMx 1.5.1
Q: What do you do when you see a bear in the woods?
A: Play Dead!

H-A-H-L = Happy Admins Have Linux

Offline skary

  • Newbie
  • *
  • Posts: 6
  • Gender: Male
    • Digital Demonz
Re: Shoutbox
« Reply #10 on: 29.09.09, 16:56:09 »
sorry to interject but if i'm not mistaken the shoutboxes you're referring to are ran my other sites and you're just putting the HTML code on your page. the actual shouts are stored on their servers and the refreshing is probably being done there too.

Offline feline

  • CO PortaMx corp.
  • Administrator
  • *
  • Posts: 5586
  • Gender: Female
Re: Shoutbox
« Reply #11 on: 29.09.09, 20:14:08 »
A shoutbox is as shoutbox .. not a CHATbox, so for what you need a refresh?
The shoutbox ix refreshed on each pageload .. I think, that's enough ...

Fel
Many are stubborn in relation to the path, a few in relation to the target.

star24

  • Guest
Re: Shoutbox
« Reply #12 on: 29.12.11, 13:52:47 »
I understand that.  But that is my factor. It refreshs the complete website when it could invigorate only the shoutbox screen.
I know for a reality this is possible with many shoutboxs, which is why I requested if you would consider doing so so we do not have to delay for the complete technique screen to load to see the new content in it. 

Offline feline

  • CO PortaMx corp.
  • Administrator
  • *
  • Posts: 5586
  • Gender: Female
Re: Shoutbox
« Reply #13 on: 29.12.11, 14:05:03 »
I know for a reality this is possible with many shoutboxs
Then install a other .. we see no necessity to change the shoutbox.
Many are stubborn in relation to the path, a few in relation to the target.