|
||||||
Views:
11,030,494 |
Main | FAQ | IRC chat | Memberlist | Active users | Latest posts | Stats | Ranks | Online users | Search | 11-21-24 12:16 PM |
||||
Guest: Register | Login |
Main - Posts by Arisotura |
Arisotura |
| ||
Developer
pancakes Level: 84 Posts: 241/1870 EXP: 5546104 Next: 115848 Since: 01-05-12 From: France Last post: 37 days Last view: 37 days |
Arisotura |
| ||
Developer
pancakes Level: 84 Posts: 242/1870 EXP: 5546104 Next: 115848 Since: 01-05-12 From: France Last post: 37 days Last view: 37 days |
Arisotura |
| ||
Developer
pancakes Level: 84 Posts: 243/1870 EXP: 5546104 Next: 115848 Since: 01-05-12 From: France Last post: 37 days Last view: 37 days |
Looks like we got duplicate users:
Gohan - Finops Apparently the two requests have been processed at the same time, and the 'username already taken' check missed it. Adding a UNIQUE index to users.name would prevent that (and potentially speed up certain parts of the board). Similarly, the register process could be optimized a little bit: * I'm for removing chkproxy(). Does it provide any benefit that outbalances the time it takes to complete? (not to mention that it could be a vector for DoS attacks) * the 'username already taken' check could be optimized too. The str_replace() part can be ported to SQL. Also is there a reason that all str_replace()s there are done twice? ____________________ Kuribo64 - melonDS want some revolution in your coffee? |
Arisotura |
| ||
Developer
pancakes Level: 84 Posts: 244/1870 EXP: 5546104 Next: 115848 Since: 01-05-12 From: France Last post: 37 days Last view: 37 days |
Nah, about the double str_replace() thing, I meant:
Any reason it's done twice? Also, if we go for cleaning register.php up, I'm also for removing all those old hacks (SamuraiHax, pass=='asdf', pass='itsatest'...). Edit- oh right, I get it. The second pass replaces character 0xA0 (unbreakable space). Hmm... I wonder if \s in a regexp would match that space... ____________________ Kuribo64 - melonDS want some revolution in your coffee? |
Arisotura |
| ||
Developer
pancakes Level: 84 Posts: 245/1870 EXP: 5546104 Next: 115848 Since: 01-05-12 From: France Last post: 37 days Last view: 37 days |
Not broken. Rydia most likely hit Register twice, probably because that proxy check takes ages to complete.
The two requests arrived to the server at the same time, and have been processed parallely. The first instance checked that the username Rydia was not taken, and passed. The second instance performed the same check, but before the first instance had time to insert Rydia into the database. As a result, the second instance, thinking everything was alright, inserted Rydia in the database. Again. This is not a glitch in our checks. However I have a few ideas how to prevent that: * time limit: only allow one request to register.php per second per IP * adding a UNIQUE index on database field users.name. For those who don't know about database crap, that means if such a thing was to happen again, MySQL would refuse to insert Rydia a second time. It would throw a huge MySQL error but atleast no duplicate accounts. I think registration can be reopened. It'll also be getting a few fixes, namely, removing that silly open proxy check that takes ages to complete. ____________________ Kuribo64 - melonDS want some revolution in your coffee? |
Arisotura |
| ||
Developer
pancakes Level: 84 Posts: 246/1870 EXP: 5546104 Next: 115848 Since: 01-05-12 From: France Last post: 37 days Last view: 37 days |
Ah, I see. Kinda like you did on the ABXD dev board...
This board supports post box customization in a fashion similar to ABXD. However, no layout maker, so you'll need to get your hands dirty and craft the CSS yourself. Here are the classes of the four cells of a post box: * topbarXX_1 - the cell that holds your username * topbarXX_2 - the bar above your post, with 'Posted on blahblah' and so * sidebarXX - the sidebar (not including the username part) * mainbarXX - the post box (where XX is your user ID) (besides that should be described somewhere in a sticky) ____________________ Kuribo64 - melonDS want some revolution in your coffee? |
Arisotura |
| ||
Developer
pancakes Level: 84 Posts: 247/1870 EXP: 5546104 Next: 115848 Since: 01-05-12 From: France Last post: 37 days Last view: 37 days |
Arisotura |
| ||
Developer
pancakes Level: 84 Posts: 248/1870 EXP: 5546104 Next: 115848 Since: 01-05-12 From: France Last post: 37 days Last view: 37 days |
I don't know if this one has been suggested already, but editprofile needs proper error handling, instead of always applying the changes and discarding whatever is wrong (especially wiping layouts!!).
I might take care of that sometimes soon... but uh I really need to get editperms.php to a somewhat usable state. ____________________ Kuribo64 - melonDS want some revolution in your coffee? |
Arisotura |
| ||
Developer
pancakes Level: 84 Posts: 249/1870 EXP: 5546105 Next: 115847 Since: 01-05-12 From: France Last post: 37 days Last view: 37 days |
Posted by RydiaPosted by Trelior This is not Board2 Aside from that, welcome to the board, enjoy your stay. But wait, which Rydia am I welcoming? The first or the second? ____________________ Kuribo64 - melonDS want some revolution in your coffee? |
Arisotura |
| ||
Developer
pancakes Level: 84 Posts: 250/1870 EXP: 5546105 Next: 115847 Since: 01-05-12 From: France Last post: 37 days Last view: 37 days |
Arisotura |
| ||
Developer
pancakes Level: 84 Posts: 251/1870 EXP: 5546105 Next: 115847 Since: 01-05-12 From: France Last post: 37 days Last view: 37 days |
Arisotura |
| ||
Developer
pancakes Level: 84 Posts: 252/1870 EXP: 5546105 Next: 115847 Since: 01-05-12 From: France Last post: 37 days Last view: 37 days |
Arisotura |
| ||
Developer
pancakes Level: 84 Posts: 253/1870 EXP: 5546105 Next: 115847 Since: 01-05-12 From: France Last post: 37 days Last view: 37 days |
Arisotura |
| ||
Developer
pancakes Level: 84 Posts: 254/1870 EXP: 5546105 Next: 115847 Since: 01-05-12 From: France Last post: 37 days Last view: 37 days |
Arisotura |
| ||
Developer
pancakes Level: 84 Posts: 255/1870 EXP: 5546105 Next: 115847 Since: 01-05-12 From: France Last post: 37 days Last view: 37 days |
Arisotura |
| ||
Developer
pancakes Level: 84 Posts: 256/1870 EXP: 5546105 Next: 115847 Since: 01-05-12 From: France Last post: 37 days Last view: 37 days |
There's no Plumber group there. That's because the board's plumbers are behind-the-scenes workers noone notices, but without them your board wouldn't be functioning smoothly. So many daily posts, pipes get clogged insanely fast. Also, did you not see my avatar?
Otherwise, do you have any pipe you would want fixed, or anything you would want developed? ____________________ Kuribo64 - melonDS want some revolution in your coffee? |
Arisotura |
| ||
Developer
pancakes Level: 84 Posts: 257/1870 EXP: 5546105 Next: 115847 Since: 01-05-12 From: France Last post: 37 days Last view: 37 days |
Arisotura |
| ||
Developer
pancakes Level: 84 Posts: 258/1870 EXP: 5546105 Next: 115847 Since: 01-05-12 From: France Last post: 37 days Last view: 37 days |
Arisotura |
| ||
Developer
pancakes Level: 84 Posts: 259/1870 EXP: 5546105 Next: 115847 Since: 01-05-12 From: France Last post: 37 days Last view: 37 days |
<usernametag style="font-size:normal!important;"> or something, idk...
As far as !important goes, a possibility is to include !important CSS rules at the end of the <body> tag. That's not valid HTML but I guess it'd work well. ____________________ Kuribo64 - melonDS want some revolution in your coffee? |
Arisotura |
| ||
Developer
pancakes Level: 84 Posts: 260/1870 EXP: 5546105 Next: 115847 Since: 01-05-12 From: France Last post: 37 days Last view: 37 days |
Main - Posts by Arisotura |
Acmlmboard v2.5.6 (06/11/2024) © 2005-2024 Acmlm, Emuz, et al. |
MySQL - queries: 215, rows: 520/550, time: 9.503 seconds. |