* User

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

12 Mar 10, 00:29:33

Login with username, password and session length

Select language:

* Recent Topics



Donate

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

* Stats

  • *Total Members: 1973
  • *Latest: jimpacgr

  • *Total Posts: 9044
  • *Total Topics: 1317
  • *Online Today: 18
  • *Most Online: 157
(27 Aug 09, 03:54:53)
  • *Users: 0
  • *Guests: 12
  • *Spiders: 0
  • *Total: 12

* Themes

*

Author Topic: Shoutbox  (Read 3331 times)

0 Members and 1 Guest are viewing this topic.

simply sibyl

  • Guest
Shoutbox
« on: 22 May 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: 2772
  • Gender: Female
Re: Shoutbox
« Reply #1 on: 22 May 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 May 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: 2772
  • Gender: Female
Re: Shoutbox
« Reply #3 on: 26 May 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 May 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: 2772
  • Gender: Female
Re: Shoutbox
« Reply #5 on: 26 May 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 May 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: 20
  • Gender: Male
    • The Jeuno Sky
Re: Shoutbox
« Reply #7 on: 12 Jun 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 Jun 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
  • Charter Member
  • *
  • Posts: 568
  • Gender: Male
  • I Hate Chinas Authority
Re: Shoutbox
« Reply #9 on: 13 Jun 09, 08:10:09 »
i think the only problem is that users misuse the shoutbox as a chatbox.
Site:FikaGuide(Sv)|I Use:V0.971-2|SMF 2.0 RC2
Q: What do you do when you see a bear in the woods?
A: Play Dead!

EEE-PC:1000H-1TB_WD-2GB-Xp&Win7-BT_Gps-BT_Mouse-USB_Huawei_Hsdp

Offline skary

  • Newbie
  • *
  • Posts: 3
  • Gender: Male
    • Digital Demonz
Re: Shoutbox
« Reply #10 on: 29 Sep 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: 2772
  • Gender: Female
Re: Shoutbox
« Reply #11 on: 29 Sep 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.