collapse

* Simple Portal Archived Forum

This is an Archive Forum.

The content in this forum may be out-of-date or have been superseded by newer information, and links in forum pages to other sites may not work.
This forum contains archives for future reference.

Visit our thread at Simple Machines Forum for current support.

SMF 2.1 users: EhPortal is a ported version of Simple Portal specifically designed for the SMF 2.1 branch.
Please visit web-develop.ca to download EhPortal and for its support.

* User Info

 
 
Welcome, Guest. Please login or register.

* Who's Online

  • Dot Guests: 339
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • {OCS}MasterSeal: Yup, Still adore SP
    April 21, 2019, 07:08:06 PM
  • {OCS}MasterSeal: STILL love SP :)
    November 24, 2018, 05:05:50 AM
  • ♦ Ninja ZX-10RR ♦: <3 aegersz
    September 13, 2018, 03:36:09 PM
  • aegersz: I STILL <3 LOVE SimplePortal
    September 13, 2018, 07:11:39 AM
  • aegersz: o LOVE you guys - Simple Portal rocks !
    May 09, 2018, 05:18:59 AM
  • Chen Zhen: our apologies for the site being down.. please read server issues topic
    March 22, 2018, 05:32:38 AM
  • {OCS}MasterSeal: LOL PLEASE forget I just posted that. I found the answer in my own dang post back in 2015. lol sorry!
    July 04, 2017, 10:47:55 PM
  • {OCS}MasterSeal: I know this SB isnt' for support, but I just have a general question. Who would I contact to find out where SP stores its block info? Is it DB driven or files? I searched the site but came up with nothing. probably my fault any insight is appreciated.
    July 04, 2017, 10:43:36 PM
  • ♦ Ninja ZX-10RR ♦: Excuse me but what does Simpleportal have to deal with that?
    February 05, 2017, 08:21:14 PM
  • WhiteEagle: of course IMHO that site appears to be dead :(
    February 04, 2017, 01:08:05 PM
  • WhiteEagle: If I can get that, then I'll use it for that site...
    February 04, 2017, 01:07:35 PM
  • WhiteEagle: decided to not use SMF for any projects, unless I can get a copy of the premium version of the fanfiction archive plugin
    February 04, 2017, 01:06:54 PM
  • expertdecisions: cloudflare
    January 28, 2017, 08:01:47 AM
  • aegersz: SM release 2.0.13 !
    January 12, 2017, 06:00:13 AM
  • raffo: Tks Emanuele, even if I didn't understand the fix :D
    November 07, 2016, 02:01:20 AM
  • emanuele: [link]
    November 01, 2016, 12:43:50 PM
  • emanuele: raffo: the English support board is a good place. ;)
    November 01, 2016, 12:43:38 PM
  • raffo: Where can I find the fix for the shoutbox?
    November 01, 2016, 05:06:09 AM
  • {OCS}MasterSeal: To the SP team, I make a point to come here and thank you as much as possible for your work.  so again, THANK YOU!
    October 28, 2016, 10:38:05 AM
  • emanuele: That's indeed funny, the limit is present only in the patch and not the full install.
    October 22, 2016, 06:14:58 PM

* Recent Posts

Adding Forums Button to Nav bar by jirapon
[August 01, 2019, 09:07:12 AM]


Re: Board Icons by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 04:03:41 PM]


MOVED: Czech translation???? by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 03:04:51 PM]


Board Icons by jirapon
[July 30, 2019, 07:28:44 AM]


Re: Thankyou Simpleportal, by ♦ Ninja ZX-10RR ♦
[July 29, 2019, 09:41:29 AM]

Welcome to SimplePortal.net! You can download SimplePortal from the Downloads Area!

Author Topic: Shoutbox refresh and page reload discrepancy  (Read 103369 times)

0 Members and 1 Guest are viewing this topic.

Offline andy

  • On Leave
  • *
  • Posts: 861
  • Gender: Male
    • Outdoor Club Japan (OCJ) アウトドア・クラブ・ジャパン
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
  • Elkarte Version: None
Shoutbox refresh and page reload discrepancy
« on: December 09, 2011, 02:05:17 AM »
Not sure if this is a bug or odd behaviour (works as designed, not as expected).

When a message is added to the shoutbox it doesn't display with refresh (not within a minute anyway). But is does immediately show if the page is reloaded...

If it shows on page reload immediately why doesn't it show on refresh?
Same thing happens when moderator deletes a message.


Everyone is a volunteer here so please try and make a small donation to keep the Simple Portal website running


Offline ccbtimewiz

  • Hero Member
  • *****
  • Posts: 2185
  • Gender: Male
  • $("div.content:dd").hide();
  • SMF Version: None
  • SP Version: None
  • Elkarte Version: None
  • EhPortal Version: None
Re: Shoutbox refresh and page reload discrepancy
« Reply #1 on: December 09, 2011, 02:06:30 AM »
Can I see a live test?

Offline andy

  • On Leave
  • *
  • Posts: 861
  • Gender: Male
    • Outdoor Club Japan (OCJ) アウトドア・クラブ・ジャパン
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
  • Elkarte Version: None
Re: Shoutbox refresh and page reload discrepancy
« Reply #2 on: December 09, 2011, 02:14:11 AM »
Try it on your site ... 2 user accounts. I would have to register you on my site ...uhmmm  :O

Think it was using chrome and firefox 8 but i wouldnt blame them for it .
Everyone is a volunteer here so please try and make a small donation to keep the Simple Portal website running


Offline andy

  • On Leave
  • *
  • Posts: 861
  • Gender: Male
    • Outdoor Club Japan (OCJ) アウトドア・クラブ・ジャパン
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
  • Elkarte Version: None
Re: Shoutbox refresh and page reload discrepancy
« Reply #3 on: December 09, 2011, 02:18:00 AM »
BTW... i just saw your signature - i was looking for a custom mod - no takers yet.

http://www.simplemachines.org/community/index.php?topic=459028.0

Would really like to improve smf user search to include custom fields that are not text/textbox.
Even if it were a custom block ok.
« Last Edit: December 09, 2011, 02:31:29 AM by igirisjin »
Everyone is a volunteer here so please try and make a small donation to keep the Simple Portal website running


Offline andy

  • On Leave
  • *
  • Posts: 861
  • Gender: Male
    • Outdoor Club Japan (OCJ) アウトドア・クラブ・ジャパン
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
  • Elkarte Version: None
Re: Shoutbox refresh and page reload discrepancy
« Reply #4 on: December 09, 2011, 02:28:41 AM »
Strange...

Admin using firefox adds to shoutbox - displays to self.

Register user with chrome refreshes - displays.


Register user using chrome adds to shoutbox - displays to self.

Admin using firefox refreshes (manual) - no update (several times). Page reload displays new shout.

Seems like refresh doesnt work after ordinary user shouts.

Im getting the same effect from registered user to registered user (with firefox). Refresh isnt showing new shouts immediately ...until page is reloaded.
Everyone is a volunteer here so please try and make a small donation to keep the Simple Portal website running


Offline ccbtimewiz

  • Hero Member
  • *****
  • Posts: 2185
  • Gender: Male
  • $("div.content:dd").hide();
  • SMF Version: None
  • SP Version: None
  • Elkarte Version: None
  • EhPortal Version: None
Re: Shoutbox refresh and page reload discrepancy
« Reply #5 on: December 09, 2011, 03:34:38 AM »
I don't get these problems on my site with Firefox, so it might be the Javascript or other things running on your site, which is why I asked for a link.

About your custom search-- I don't know what you mean by it entirely, but it's possible to just adapt the current search index to include more fields, it's actually easy as long as you follow SMF's way of doing it.

Offline tomeh

  • Full Member
  • ***
  • Posts: 113
    • infomiasto.eu
  • SMF Version: 2.0.10
  • SP Version: 2.3.6
Re: Shoutbox refresh and page reload discrepancy
« Reply #6 on: December 12, 2011, 09:04:14 AM »
I have the same problem with shoutbox
Serwis infomiasto.eu - poradniki i przewodniki tematyczne

Offline andy

  • On Leave
  • *
  • Posts: 861
  • Gender: Male
    • Outdoor Club Japan (OCJ) アウトドア・クラブ・ジャパン
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
  • Elkarte Version: None
Re: Shoutbox refresh and page reload discrepancy
« Reply #7 on: December 12, 2011, 07:03:19 PM »
One site giving trouble is on Bluehost shared hosting plan. I cant remember having problems before with the refresh - a month ago or so.
I tested different accounts and different browsers ... there might be something related to firefox 8 but I'm still having problems with Chrome and Opera. It often displays shouts after the first one with refresh, then it doesn't work until the page is reloaded. After a reload the refresh 'usually' works 1 more time before it stops working until another page reload.

I've spent too much time on this already so its a closed topic for me now.
Everyone is a volunteer here so please try and make a small donation to keep the Simple Portal website running


Offline Chen Zhen

  • The Underdog
  • Operations Manager
  • *
  • Posts: 1350
  • Gender: Male
  • Kinesis
    • WebDev
  • SMF Version: 2.1
  • EhPortal Version: 1.22
Re: Shoutbox refresh and page reload discrepancy
« Reply #8 on: December 12, 2011, 09:37:19 PM »

Navigate to: Admin -> SimplePortal -> Shoutbox

Modify the shoutbox you are using (wrench).

  • Enable Caching
  • Set auto-refresh to 10 seconds

Test it after adjusting the above settings.

Offline andy

  • On Leave
  • *
  • Posts: 861
  • Gender: Male
    • Outdoor Club Japan (OCJ) アウトドア・クラブ・ジャパン
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
  • Elkarte Version: None
Re: Shoutbox refresh and page reload discrepancy
« Reply #9 on: December 13, 2011, 07:15:28 AM »
With all the other scripts running there is no way I would set the refresh to 10 seconds on a shared hosting plan - probably the script would be automatically restricted within hours of doing that... used to be Bluehosts answer to overuse!
Everyone is a volunteer here so please try and make a small donation to keep the Simple Portal website running


Offline andy

  • On Leave
  • *
  • Posts: 861
  • Gender: Male
    • Outdoor Club Japan (OCJ) アウトドア・クラブ・ジャパン
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
  • Elkarte Version: None
Re: Shoutbox refresh and page reload discrepancy
« Reply #10 on: December 13, 2011, 07:17:37 AM »
Cache was already enabled so that isnt the answer ...
Everyone is a volunteer here so please try and make a small donation to keep the Simple Portal website running


Offline tomeh

  • Full Member
  • ***
  • Posts: 113
    • infomiasto.eu
  • SMF Version: 2.0.10
  • SP Version: 2.3.6
Re: Shoutbox refresh and page reload discrepancy
« Reply #11 on: December 13, 2011, 07:17:56 AM »
Just as no cache - that does not work well
Serwis infomiasto.eu - poradniki i przewodniki tematyczne

Offline andy

  • On Leave
  • *
  • Posts: 861
  • Gender: Male
    • Outdoor Club Japan (OCJ) アウトドア・クラブ・ジャパン
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
  • Elkarte Version: None
Re: Shoutbox refresh and page reload discrepancy
« Reply #12 on: December 13, 2011, 07:21:20 AM »
Setting to 10 seconds and testing - same problem ... first 2 shouts came through then nothing after that for the third.
So its doing it on manual refresh most of the time and also an auto refresh.

PS
Not just users - admin also not working properly.

« Last Edit: December 14, 2011, 02:57:44 PM by igirisjin »
Everyone is a volunteer here so please try and make a small donation to keep the Simple Portal website running


Offline tomeh

  • Full Member
  • ***
  • Posts: 113
    • infomiasto.eu
  • SMF Version: 2.0.10
  • SP Version: 2.3.6
Re: Shoutbox refresh and page reload discrepancy
« Reply #13 on: December 13, 2011, 08:45:47 AM »
The key is that it probably works well as an administrator, member is not working - no refresh
Serwis infomiasto.eu - poradniki i przewodniki tematyczne

Offline Johny

  • Newbie
  • Posts: 2
  • SMF Version: 2.0.1
  • SP Version: 2.3.4
Re: Shoutbox refresh and page reload discrepancy
« Reply #14 on: January 03, 2012, 09:46:28 AM »
I have a problem with a shoutbox too. As admin sometimes I can shout sometimes I can`t. Members don`t complain so much, but I see sometimes  shoutbox display same msg 3x in a row.
When I enable auto refresh every 10 sec members sayin it`s working but for me seems like little "refresh circle" is turning all the time (and I can`t shout).  Is there any hope for fix?

Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Shoutbox refresh and page reload discrepancy
« Reply #15 on: January 06, 2012, 02:24:10 PM »
Here's a crazy idea. Another user reports relief from this problem by changing some seemingly-unrelated settings.  Your case is sufficiently different that this may not help at all. Still -- worth a try:

http://simpleportal.net/index.php?topic=8657.msg54159#msg54159

I have no idea what is causing these shoutbox problems, and I apologize in advance for suggesting crazy-sounding "solutions".
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Offline tomeh

  • Full Member
  • ***
  • Posts: 113
    • infomiasto.eu
  • SMF Version: 2.0.10
  • SP Version: 2.3.6
Re: Shoutbox refresh and page reload discrepancy
« Reply #16 on: January 07, 2012, 05:07:58 AM »
A similar but different problem is there because I have no mods prety url
Serwis infomiasto.eu - poradniki i przewodniki tematyczne

Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Shoutbox refresh and page reload discrepancy
« Reply #17 on: January 19, 2012, 10:59:40 PM »
I'm sorry.  I wish I knew the answer to this problem. But I do not.
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Offline tomeh

  • Full Member
  • ***
  • Posts: 113
    • infomiasto.eu
  • SMF Version: 2.0.10
  • SP Version: 2.3.6
Re: Shoutbox refresh and page reload discrepancy
« Reply #18 on: May 13, 2012, 03:43:46 AM »
Unfortunately, the installation is still the same problem in SimplePortal 2.3.5. Zmianiłem anywhere in the database encoding into the local language, and nothing helped.
Serwis infomiasto.eu - poradniki i przewodniki tematyczne

Offline andy

  • On Leave
  • *
  • Posts: 861
  • Gender: Male
    • Outdoor Club Japan (OCJ) アウトドア・クラブ・ジャパン
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
  • Elkarte Version: None
Re: Shoutbox refresh and page reload discrepancy
« Reply #19 on: August 11, 2012, 07:54:47 AM »
Im still getting this on 2.3.5 and smf 2.0.2.

Just set up a new shoutbox to discuss a dinner party but doesnt show shouts after auto refresh. Even manual refresh doesnt work many times. The only sure way to see new comments is a page reload.

One day I will test it on an unmodified board.
Everyone is a volunteer here so please try and make a small donation to keep the Simple Portal website running