alydhiends
Occasional poster
Offline
 United States
Posts: 9
[= Simple =]
|
 |
« 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 
|
|
|
|
|
Logged
|
|
|
|
alydhiends
Occasional poster
Offline
 United States
Posts: 9
[= Simple =]
|
 |
« 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 
|
|
|
|
|
Logged
|
|
|
|
|
TSG
|
 |
« 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
 Italy
Posts: 11829
|
 |
« 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
|
 |
« 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  it will be stable.
|
|
|
|
|
Logged
|
|
|
|
|
Giant Eagle
|
 |
« 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  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  
|
|
|
|
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
 Italy
Posts: 11829
|
 |
« 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
|
 |
« 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  i cant really release till rejetto releases a beta, I guess people wont trust mars link.
|
|
|
|
|
Logged
|
|
|
|
rejetto
Administrator
Insane programmer
Online
 Italy
Posts: 11829
|
 |
« Reply #8 on: March 06, 2008, 05:07:00 AM » |
|
what's the point in moving posts between folders?
|
|
|
|
|
Logged
|
|
|
|
|
TSG
|
 |
« 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
 United States
Posts: 9
[= Simple =]
|
 |
« 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
|
 |
« 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
|
 |
« 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
|
 |
« 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
|
 |
« 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
|
|
|
|
|