Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?
You are not logged in.
The "Post a reply" button at the top-right. You can post a reply or quote someone without seeing the red.
:O
Lame. That's not supposed to happen. *cracks open Firebug*
Edit:
Well, that was fast. Here's the first part of the problem. In "viewtopic.php" (the page you're on right now), which is where the Double Post caution does work, here's the HTML output:
<span style="display:none" id="latestReplyUsername">jakery</span>
<span style="display:none" id="latestReplyPosted">Today 00:10:50</span>
<span style="display:none" id="latestReplyId">199911</span>
"latestReplyUsername" is "jakery", so the Double Post caution will trigger properly if I try to post a second time.
In "post.php" (the "post reply" page), where it doesn't work, the HTML output is empty.
<span style='display:none' id='latestReplyUsername'></span>
<span style='display:none' id='latestReplyPosted'>Never</span>
<span style='display:none' id='latestReplyId'></span>
"latestReplyUsername" is completely empty, so the Double Post caution won't trigger. Fail.
Now, to figure out why the fields aren't getting populated on post.php.... I don't know why, but we can rule out Javascript as the cause. It's definitely a PHP/Server-Side issue. When I know moar, so will you.
Last edited by jakery (Aug 22 2011 9:19:03 pm)
:O
Lame. That's not supposed to happen. *cracks open Firebug*Edit:
Well, that was fast. Here's the first part of the problem. In "viewtopic.php" (the page you're on right now), which is where the Double Post caution does work, here's the HTML output:<span style="display:none" id="latestReplyUsername">jakery</span>
<span style="display:none" id="latestReplyPosted">Today 00:10:50</span>
<span style="display:none" id="latestReplyId">199911</span>"latestReplyUsername" is "jakery", so the Double Post caution will trigger properly if I try to post a second time.
In "post.php" (the "post reply" page), where it doesn't work, the HTML output is empty.
<span style='display:none' id='latestReplyUsername'></span>
<span style='display:none' id='latestReplyPosted'>Never</span>
<span style='display:none' id='latestReplyId'></span>"latestReplyUsername" is completely empty, so the Double Post caution won't trigger. Fail.
Now, to figure out why the fields aren't getting populated on post.php.... I don't know why, but we can rule out Javascript as the cause. It's definitely a PHP/Server-Side issue. When I know moar, so will you.
What the hell just happened to my brain?
Do people use that button?
I haven't noticed it before.
Offline
Do people use that button?
I haven't noticed it before.
I think some do, thought the reply pages the same jake.
But I use Quick post.
Offline
He said "or quote someone" for a reason.
And yes, people do press "post reply". It's useful in some cases.
I hate tall signatures.
Offline
Like to see more of a long post at one time.
:O
Lame. That's not supposed to happen. *cracks open Firebug*Edit:
Well, that was fast. Here's the first part of the problem. In "viewtopic.php" (the page you're on right now), which is where the Double Post caution does work, here's the HTML output:<span style="display:none" id="latestReplyUsername">jakery</span>
<span style="display:none" id="latestReplyPosted">Today 00:10:50</span>
<span style="display:none" id="latestReplyId">199911</span>"latestReplyUsername" is "jakery", so the Double Post caution will trigger properly if I try to post a second time.
In "post.php" (the "post reply" page), where it doesn't work, the HTML output is empty.
<span style='display:none' id='latestReplyUsername'></span>
<span style='display:none' id='latestReplyPosted'>Never</span>
<span style='display:none' id='latestReplyId'></span>"latestReplyUsername" is completely empty, so the Double Post caution won't trigger. Fail.
Now, to figure out why the fields aren't getting populated on post.php.... I don't know why, but we can rule out Javascript as the cause. It's definitely a PHP/Server-Side issue. When I know moar, so will you.
I understood that(or at least part of it).
Like to see more of a long post at one time.
jakery wrote::O
Lame. That's not supposed to happen. *cracks open Firebug*Edit:
Well, that was fast. Here's the first part of the problem. In "viewtopic.php" (the page you're on right now), which is where the Double Post caution does work, here's the HTML output:<span style="display:none" id="latestReplyUsername">jakery</span>
<span style="display:none" id="latestReplyPosted">Today 00:10:50</span>
<span style="display:none" id="latestReplyId">199911</span>"latestReplyUsername" is "jakery", so the Double Post caution will trigger properly if I try to post a second time.
In "post.php" (the "post reply" page), where it doesn't work, the HTML output is empty.
<span style='display:none' id='latestReplyUsername'></span>
<span style='display:none' id='latestReplyPosted'>Never</span>
<span style='display:none' id='latestReplyId'></span>"latestReplyUsername" is completely empty, so the Double Post caution won't trigger. Fail.
Now, to figure out why the fields aren't getting populated on post.php.... I don't know why, but we can rule out Javascript as the cause. It's definitely a PHP/Server-Side issue. When I know moar, so will you.
I understood that(or at least part of it).
Just a bit I was a bit unsure about, but I understood most of it.
Well now I can code HTML^ lolno.
Last edited by Greenzoid2 (Aug 31 2011 1:20:46 am)
[ Started around 1739223110.2851 - Generated in 0.064 seconds, 13 queries executed - Memory usage: 1.51 MiB (Peak: 1.66 MiB) ]