rejetto forum
May 25, 2012, 03:46:42 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: This forum is free, you do NOT need to register to post. But you may.
PROBLEMS? QUESTIONS? CLICK HERE!
Fill the survey!
 
   Home   Help Search Login Register  
Pages: [1] 2  All
  Print  
Author Topic: Shoutbox bug?  (Read 4505 times)
0 Members and 1 Guest are viewing this topic.
alydhiends
Occasional poster
*
Offline Offline

United States United States

Posts: 9


[= Simple =]


View Profile WWW
« on: March 04, 2008, 11:31:45 PM »

I'm using RAWR Template. Whenever i post a shout and refreshes the page or visit another directory, my post duplicates...
Now i got too many shouts of the same. o.O  Shocked
Logged

alydhiends
Occasional poster
*
Offline Offline

United States United States

Posts: 9


[= Simple =]


View Profile WWW
« Reply #1 on: March 05, 2008, 12:08:07 AM »

well, i was only experiencing it on beta 180.
Now it works fine with beta 2.3 181 Cheesy
Logged

TSG
Moderator
Insane poster
*****
Offline Offline

Australia Australia

Posts: 1919



View Profile WWW
« Reply #2 on: March 05, 2008, 05:16:42 AM »

This has nothing to do with HFS. The bug is with post data and the shoutbox. I cant fix it.
Logged

rejetto
Administrator
Insane programmer
*
Online Online

Italy Italy

Posts: 11829


View Profile
« Reply #3 on: March 05, 2008, 05:21:03 AM »

is the shoutbox in an iframe?
if yes, you can workaround this problem by having an intermediate page between the submit and the displaying of messages.

submit -> message accepted, immediate redirect -> display messages

so you have 2 moves, and the post data is only in the first move, while the refresh is only about the second (harmless)
Logged
TSG
Moderator
Insane poster
*****
Offline Offline

Australia Australia

Posts: 1919



View Profile WWW
« Reply #4 on: March 05, 2008, 06:15:41 AM »

Ok... how to do this using hfs.diff.tpl, uno if this bug gets fixed i can get rid of BETA in the titles Tongue it will be stable.
Logged

Giant Eagle
Moderator
Insane poster
*****
Offline Offline

Netherlands Netherlands

Posts: 533


>=3 RAWR!

no.body056@gmail.com
View Profile WWW
« Reply #5 on: March 05, 2008, 09:26:24 AM »

is the shoutbox in an iframe?
if yes, you can workaround this problem by having an intermediate page between the submit and the displaying of messages.

submit -> message accepted, immediate redirect -> display messages

so you have 2 moves, and the post data is only in the first move, while the refresh is only about the second (harmless)

Purge the post data, i told him that before Tongue the poor guy just doesnt listen

in php you use header("Location: blabla"); for this, can you set the header tags using macro's aswell?
« Last Edit: March 05, 2008, 09:28:30 AM by Giant Eagle » Logged

Rest in peace 500mhz server, you served me well...
New 1500mhz server DOA'ed on me >_>
New 2400mhz server up and running again Grin

rejetto forum
« Reply #5 on: March 05, 2008, 09:26:24 AM »

Do you like this software? Consider even $2
 Logged
rejetto
Administrator
Insane programmer
*
Online Online

Italy Italy

Posts: 11829


View Profile
« Reply #6 on: March 05, 2008, 10:40:09 AM »

not for now, but what you do with header, you can do it with javascript or with meta tags
Logged
TSG
Moderator
Insane poster
*****
Offline Offline

Australia Australia

Posts: 1919



View Profile WWW
« Reply #7 on: March 06, 2008, 03:21:00 AM »

fixed in next builds, I used meta and a new folder system.

Posts are now found in /template/rawr_default/shoutbox/display_posts/
Processing takes place in /template/rawr_default/shoutbox/process_posts/
And smileys are now stored in /template/rawr_default/shoutbox/smileys/

I am releasing as soon as hfs works again Tongue i cant really release till rejetto releases a beta, I guess people wont trust mars link.
Logged

rejetto
Administrator
Insane programmer
*
Online Online

Italy Italy

Posts: 11829


View Profile
« Reply #8 on: March 06, 2008, 05:07:00 AM »

what's the point in moving posts between folders?
Logged
TSG
Moderator
Insane poster
*****
Offline Offline

Australia Australia

Posts: 1919



View Profile WWW
« Reply #9 on: March 06, 2008, 06:05:01 AM »

Doesn't, just prevents the post script from running in the display folder, processing basically posts the post in the display_post folder. So that if the user refreshes the display_post folder there is no duplication of the posts.
Logged

alydhiends
Occasional poster
*
Offline Offline

United States United States

Posts: 9


[= Simple =]


View Profile WWW
« Reply #10 on: March 06, 2008, 08:56:08 AM »

...as i posted above, it got fixed already after the update of build 181 =P
Logged

TSG
Moderator
Insane poster
*****
Offline Offline

Australia Australia

Posts: 1919



View Profile WWW
« Reply #11 on: March 06, 2008, 02:17:23 PM »

Not from hitting Home/ though. Hitting that link would duplicate in every browser all the time.
Logged

Andrew-Sirius
Regular poster
**
Offline Offline

Ukraine Ukraine

Posts: 16


View Profile Email
« Reply #12 on: March 09, 2008, 06:00:16 PM »

Help me, please... ShoutBox it does not reflect messages. In folder [Template\rawr_default\shoutbox\display_posts] do be present text files with the messages, but in the browser messages are not reflected... What to make?
Logged
TSG
Moderator
Insane poster
*****
Offline Offline

Australia Australia

Posts: 1919



View Profile WWW
« Reply #13 on: March 10, 2008, 12:32:39 AM »

Do you have the template folder beside HFS... that shouldn't effect it anymore though... latest build of HFS?
Logged

Andrew-Sirius
Regular poster
**
Offline Offline

Ukraine Ukraine

Posts: 16


View Profile Email
« Reply #14 on: March 10, 2008, 02:58:34 AM »

Do you have the template folder beside HFS...

Yes, that full path: [c:\Program Files\Hfs\Template\rawr_default\shoutbox\display_posts\]

latest build of HFS?

Yes, build is 183
Logged
Pages: [1] 2  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!


Google visited last this page May 23, 2012, 06:51:37 AM