Official Everybody Edits Forums

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.

#1 Before February 2015

Krazyman50
Guest

The reason why "noobs" don't see the big red box before double posting

The "Post a reply" button at the top-right. You can post a reply or quote someone without seeing the red.

#2 Before February 2015

jakery
Guest

Re: The reason why "noobs" don't see the big red box before double posting

: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)

#3 Before February 2015

Krazyman50
Guest

Re: The reason why "noobs" don't see the big red box before double posting

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.

What the hell just happened to my brain?

#4 Before February 2015

EDJ
Member
Joined: 2015-08-20
Posts: 2,157

Re: The reason why "noobs" don't see the big red box before double posting

Do people use that button?
I haven't noticed it before.

Offline

#5 Before February 2015

Bimps
Member
Joined: 2015-02-08
Posts: 5,067

Re: The reason why "noobs" don't see the big red box before double posting

EDJ wrote:

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

#6 Before February 2015

JadElClemens
Member
From: Colorado, USA
Joined: 2015-02-15
Posts: 4,559

Re: The reason why "noobs" don't see the big red box before double posting

He said "or quote someone" for a reason.

And yes, people do press "post reply". It's useful in some cases.


4RNmJ.png

I hate tall signatures.

Offline

#7 Before February 2015

calculusguy
Guest

Re: The reason why "noobs" don't see the big red box before double posting

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).

#8 Before February 2015

xputnameherex
Guest

Re: The reason why "noobs" don't see the big red box before double posting

calculusguy wrote:

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.

#9 Before February 2015

Greenzoid2
Guest

Re: The reason why "noobs" don't see the big red box before double posting

Well now I can code HTML^ lolno.

Last edited by Greenzoid2 (Aug 31 2011 1:20:46 am)

Krazyman50 1423705136256296

Board footer

Powered by FluxBB

[ Started around 1714827192.4351 - Generated in 0.081 seconds, 10 queries executed - Memory usage: 1.5 MiB (Peak: 1.65 MiB) ]