Staredit Network > Forums > Staredit Network > Topic: List of Known Bugs/Needed Features
List of Known Bugs/Needed Features
This topic is locked. You can no longer write replies here.
Mar 24 2008, 1:13 am
By: DevliN
Pages: < 1 « 67 68 69 70 7190 >
 

Dec 27 2010, 8:47 am DavidJCobb Post #1361



It's because Chrome is being a jackass, and blatantly ignoring a snippet of code that tells browsers not to submit a form. A piece of code, mind you, that is valid, standard, and that works in every other browser. (To make it possible to close the modals using the "Enter" button, I had to use a cheap hack and turn the body of the modal into a form, and the "OK" button into a form submit button.) The fact that Chrome's debugger is a crappy third-rate Firebug knockoff does not help.

In any case, I found the problem on Google. You need to add an "onsubmit" attribute to the form -- the ugly, obtrusive, not-recommended way of listening for events -- and prefix the handler with "javascript:" -- a URL protocol in an attribute that definitely is not a URL. And you can't even set this particular attribute with jQuery, for some undoubtedly-idiotic Chrome-only reason.

Devlin, find line 257 in /support/global.js; it should look like this:
Code
                             $(this.node).submit(function(e) { e.preventDefault(); e.stopPropagation(); return false }).attr("onsubmit", "return false"); // attr() brought to you courtesy of the incompetent WebKit engine.


Replace it with this line, and pray that it doesn't break for some idiotic, Chrome-exclusive reasoning.
Code
                             $(this.node)[0].setAttribute("onsubmit", "javascript:return false"); // Google Chrome blocks "polite" (non-attribute-based) event listening for "submit", and you can't use jQuery to set the attribute. Broken browser...


At least IE's bugs make sense. Internet Explorer's just a complete idiot; Chrome is a mental patient. Both of those browsers need to die.

EDIT: It's the exact same fix I implemented earlier. I added the attribute manually in Chrome's fail of a debugger, it worked, so I wrote a snippet to do that automatically using jQuery. I figured it would work because no browser so broken that $(node).attr("attribute","value") wouldn't work... Or so I thought.

Post has been edited 1 time(s), last time on Dec 27 2010, 8:59 am by DavidJCobb.



None.

Dec 27 2010, 9:25 am poison_us Post #1362

Back* from the grave

If it's the same exact fix, why would you need to redo it, hmm? :kame:




Dec 27 2010, 9:37 am DavidJCobb Post #1363



Quote from poison_us
If it's the same exact fix, why would you need to redo it, hmm? :kame:
Because Chrome is an asshat.



None.

Dec 27 2010, 8:13 pm Derqua Post #1364



Well, I know that on Moose's list i says that clans are in severe need of everything but here is what happened:
Aristocrat recently sent me an invite and I got this error:
Code
Warning: require(scripts/response/response.php) [function.require]: failed to open stream: No such file or directory in /home/starlite/public_html/index.php on line 475

Fatal error: require() [function.require]: Failed opening required 'scripts/response/response.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/starlite/public_html/index.php on line 475




None.

Dec 29 2010, 12:35 am Dem0n Post #1365

ᕕ( ᐛ )ᕗ

I'm having the same problem that Roy had. I deleted all the PMs in my inbox and sent folders, but when I click on inbox, it says I have 83 messages in the inbox folder and 0 in the sent folder. When I click on sent, it says I have like 33 in the sent folder and 0 in the inbox folder. It says that I have 151 out 150 total messages, and I can't receive or send PMs. I need space for mafia (I don't wanna die :P).




Dec 29 2010, 8:48 am Roy Post #1366

An artist's depiction of an Extended Unit Death

Quote from name:Dem0nS1ayer
I need space for mafia (I don't wanna die :P).
Think about the poor game host.




Dec 29 2010, 8:49 am DevliN Post #1367

OVERWATCH STATUS GO

I gave the game host a Christmas present to offset this bug.



\:devlin\: Currently Working On: \:devlin\:
My Overwatch addiction.

Dec 29 2010, 9:13 am DavidJCobb Post #1368



Quote from DevliN
I gave the game host a Christmas present to offset this bug.
I should note that while the count doesn't go down, deleting messages does seem to free up space. Of course, I haven't checked it very closely, so I could be wrong on this.

Yo, Dev, didja implement the Chrome fix in my last post?



None.

Dec 29 2010, 9:22 am DevliN Post #1369

OVERWATCH STATUS GO

No, I'll get on that tomorrow. Today has been hectic (birthday stuff) so I haven't had much time to deal with SEN stuffs.



\:devlin\: Currently Working On: \:devlin\:
My Overwatch addiction.

Dec 29 2010, 9:45 am DavidJCobb Post #1370



Quote from DevliN
No, I'll get on that tomorrow. Today has been hectic (birthday stuff) so I haven't had much time to deal with SEN stuffs.
Today's your birthday?

Well, happy birthday, then, dude. :)



None.

Dec 29 2010, 7:35 pm poison_us Post #1371

Back* from the grave

I just noticed that since I didn't ever clear out my PMs from the last game, I have 76 messages in my box...but the count is messed up. When not viewing the inbox, I have 42, when viewing, 40, and my sentbox is 6 when not viewing, and 34 when viewing. SEN adds it up as 48 in the message center, since its 42 and 6...so this actually benefits me. Keep it this way, pl0x.




Dec 31 2010, 2:31 am DavidJCobb Post #1372



Quote from poison_us
I just noticed that since I didn't ever clear out my PMs from the last game, I have 76 messages in my box...but the count is messed up. When not viewing the inbox, I have 42, when viewing, 40, and my sentbox is 6 when not viewing, and 34 when viewing. SEN adds it up as 48 in the message center, since its 42 and 6...so this actually benefits me. Keep it this way, pl0x.
Are you saying that the counts on Settings don't match with the counts seen when actually browsing through Messages?



None.

Dec 31 2010, 2:45 am poison_us Post #1373

Back* from the grave

Yes. The correct count of messages was displayed when viewing each individual box, but upon navigation away it displayed false numbers.


Also, I noticed that you've tried to incorporate alt + <letter> as hotkeys for code, such as alt + a and alt + c. However, on Chrome it does this:
Code
[align=/align]
[color=/color]


Maybe having defaults, such as "Center" for align and "My color" for color based on which ones are the most often used. (or maybe user-defined defaults). Also closing tags automatically might be in order :P





Jan 2 2011, 4:00 am DavidJCobb Post #1374



Quote from poison_us
Yes. The correct count of messages was displayed when viewing each individual box, but upon navigation away it displayed false numbers.
Also, I noticed that you've tried to incorporate alt + <letter> as hotkeys for code, such as alt + a and alt + c. However, on Chrome it does this:
Code
[align=/align]
[color=/color]


Maybe having defaults, such as "Center" for align and "My color" for color based on which ones are the most often used. (or maybe user-defined defaults). Also closing tags automatically might be in order :P
That requires modification of a PHP file and hence is out of my control.

However, alt-codes for things like ALIGN and COLOR can't be identified by hovering over the controls, effectively making them "secret" button combos. Furthermore, use of the "accesskey" attribute is inconsistent; some browsers use ALT as the modifier, some use ALT + SHIFT, some use CTRL + SHIFT... I'd recommend just doing away with it entirely. Besides, it can't be that hard to type out [b][/b].

In any case, that fix is in Devlin's hands.



None.

Jan 2 2011, 4:49 am DavidJCobb Post #1375



Saved shouts aren't displayed. When viewing a link to a specific saved shout, nothing is written to the page. This affects the HTML source in all skins, and is hence a server-side bug.

DOUBLE-POST BECAUSE THIS IS IMPORTANT



None.

Jan 2 2011, 5:33 am poison_us Post #1376

Back* from the grave

Yes they are. Old ones are not, because they were deleted.





Jan 2 2011, 6:01 am DavidJCobb Post #1377



Quote from poison_us
Yes they are. Old ones are not, because they were deleted.
WHAAAAAAAAAAAAAAAAAAAAT?! Can they be restored someday?!



None.

Jan 3 2011, 1:12 am Ahli Post #1378

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.

I've the impression that the "get user's posts" function in the profiles tend to kill the sqlServer (or timeout it).
At least the error is only appearing when I'm pressing that button and then the page doesn't load.
But when the server is back, the loading time is super fast. :S




Jan 3 2011, 3:57 am DavidJCobb Post #1379



Quote from Ahli
I've the impression that the "get user's posts" function in the profiles tend to kill the sqlServer (or timeout it).
At least the error is only appearing when I'm pressing that button and then the page doesn't load.
But when the server is back, the loading time is super fast. :S
I'm guessing that it's searching through every single post in the database, rather than, say, searching until it finds one page of posts, and stopping. And then if you go to another page, it didn't remember where it found the end of the last page, so it has to go back over the posts it already read through when retrieving page 1, and then read more to find page 2.



None.

Jan 3 2011, 6:51 am DevliN Post #1380

OVERWATCH STATUS GO

Quote from DavidJCobb
It's because Chrome is being a jackass, and blatantly ignoring a snippet of code that tells browsers not to submit a form. A piece of code, mind you, that is valid, standard, and that works in every other browser. (To make it possible to close the modals using the "Enter" button, I had to use a cheap hack and turn the body of the modal into a form, and the "OK" button into a form submit button.) The fact that Chrome's debugger is a crappy third-rate Firebug knockoff does not help.

In any case, I found the problem on Google. You need to add an "onsubmit" attribute to the form -- the ugly, obtrusive, not-recommended way of listening for events -- and prefix the handler with "javascript:" -- a URL protocol in an attribute that definitely is not a URL. And you can't even set this particular attribute with jQuery, for some undoubtedly-idiotic Chrome-only reason.

Devlin, find line 257 in /support/global.js; it should look like this:
Code
                             $(this.node).submit(function(e) { e.preventDefault(); e.stopPropagation(); return false }).attr("onsubmit", "return false"); // attr() brought to you courtesy of the incompetent WebKit engine.


Replace it with this line, and pray that it doesn't break for some idiotic, Chrome-exclusive reasoning.
Code
                             $(this.node)[0].setAttribute("onsubmit", "javascript:return false"); // Google Chrome blocks "polite" (non-attribute-based) event listening for "submit", and you can't use jQuery to set the attribute. Broken browser...


At least IE's bugs make sense. Internet Explorer's just a complete idiot; Chrome is a mental patient. Both of those browsers need to die.

EDIT: It's the exact same fix I implemented earlier. I added the attribute manually in Chrome's fail of a debugger, it worked, so I wrote a snippet to do that automatically using jQuery. I figured it would work because no browser so broken that $(node).attr("attribute","value") wouldn't work... Or so I thought.
Changed.


Quote from DavidJCobb
WHAAAAAAAAAAAAAAAAAAAAT?! Can they be restored someday?!
IP made a backup of them, so it would be up to him.

EDIT:
And middle-clicking a forum still opens the forum in the _self window and a new tab.



\:devlin\: Currently Working On: \:devlin\:
My Overwatch addiction.

Options
Pages: < 1 « 67 68 69 70 7190 >
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[11:05 pm]
Ultraviolet -- :wob:
[03:55 pm]
Zoan -- :wob:
[10:34 am]
NudeRaider -- SEN doesn't rely on spammers initiate its sleep cycle. It hat fully automated rest and clean-up phases. Please understand that this is necessary for the smooth operation of the site. Thank you.
[2024-5-18. : 3:45 am]
Sylph-Of-Space -- Does the shoutbox get disabled when there's spammers?
[2024-5-17. : 6:47 am]
NudeRaider -- lil-Inferno
lil-Inferno shouted: nah
strong
[2024-5-17. : 5:41 am]
Ultraviolet -- 🤔 so inf is in you?
[2024-5-17. : 4:57 am]
O)FaRTy1billion[MM] -- my name is mud
[2024-5-17. : 4:35 am]
Ultraviolet -- mud, meet my friend, the stick
[2024-5-16. : 10:07 pm]
lil-Inferno -- nah
[2024-5-16. : 8:36 pm]
Ultraviolet -- Inf, we've got a job for you. ASUS has been very naughty and we need our lil guy to go do their mom's to teach them if they fuck around, they gon' find out
Please log in to shout.


Members Online: Roy, O)FaRTy1billion[MM]