Notings of Attention™
Acmlmboard 2 Released
Github/GIT | @acmlmboard
Chatting Places
Discord

Affiliates
Super Mario Bros. X | Kuribo64 | NeoRHDN
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

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94

Arisotura
Posted on 06-19-12 05:08 PM, in please don't post here, having such a huge backlog of questions scares me Link | ID: 17274
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
Is this thread the most active thread of the board?

What does 'ylper weN' mean?

____________________
Kuribo64 - melonDS

want some revolution in your coffee?

Arisotura
Posted on 06-19-12 05:26 PM, in please don't post here, having such a huge backlog of questions scares me Link | ID: 17276
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
Considering I don't have 1/10th of the maximum user post count of the board, should I post more?

Do you think that quality is better than quantity, or vice versa?

____________________
Kuribo64 - melonDS

want some revolution in your coffee?

Arisotura
Posted on 06-19-12 07:39 PM, in ABII: Bugfixes and Code Fragments Link | ID: 17284
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
Posted on 06-19-12 10:03 PM, in ABII: Bugfixes and Code Fragments (rev. 2 of 06-19-12 10:06 PM by Arisotura) Link | ID: 17344
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:
$cname=strtolower($name);
$cname=str_replace(' ','',$cname);
$cname=str_replace(' ','',$cname);

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
Posted on 06-19-12 10:16 PM, in No/broken protection against accidental reregging? Link | ID: 17359
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
Posted on 06-19-12 10:31 PM, in Layout thread! Link | ID: 17371
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
Posted on 06-19-12 10:35 PM, in SQL Changes Link | ID: 17377
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
ALTER TABLE `users` ADD UNIQUE (`name`)

Should prevent duplicates the hard way, in case the PHP-side checks fail again for whatever reason.

____________________
Kuribo64 - melonDS

want some revolution in your coffee?

Arisotura
Posted on 06-20-12 12:23 AM, in ABII: Old Todos (Last edit 7/22/2012) Link | ID: 17433
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
Posted on 06-20-12 12:25 AM, in New member introduction thread! (rev. 2 of 06-20-12 12:26 AM by Arisotura) Link | ID: 17435
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 Rydia
Posted by Trelior
Hi, dooder, and welcome to Kafuka.

About your layout... That's kinda strange. Does it work on other Acmlmboards?


It works on Jul, and ABXD boards..but not Board 2.

This is not Board2 :P

Aside from that, welcome to the board, enjoy your stay. But wait, which Rydia am I welcoming? The first or the second? :P

____________________
Kuribo64 - melonDS

want some revolution in your coffee?

Arisotura
Posted on 06-20-12 10:05 AM, in How's the weather today? Link | ID: 17455
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
Looks like a nice, sunny, warm day. Finally, after so much crap weather :)

____________________
Kuribo64 - melonDS

want some revolution in your coffee?

Arisotura
Posted on 06-20-12 10:14 AM, in What'd you do today? Link | ID: 17460
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
Uh I'm not really doing anything since I'm on vacation... fixing the board, coding for other projects... I should get that Whitehole thing to an usable state perhaps.

____________________
Kuribo64 - melonDS

want some revolution in your coffee?

Arisotura
Posted on 06-20-12 03:14 PM, in All your question are belong to Nicole. Ha ha ha. Link | ID: 17499
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
Why is the thread so dark? Is there a power outage or something?

What do you consider the best Acmlmboard? :)

____________________
Kuribo64 - melonDS

want some revolution in your coffee?

Arisotura
Posted on 06-20-12 08:18 PM, in New member introduction thread! Link | ID: 17573
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
Welcome to Kafuka, Mythic_. Enjoy your stay and... there was going to be an original welcoming message here but I fail.

____________________
Kuribo64 - melonDS

want some revolution in your coffee?

Arisotura
Posted on 06-20-12 11:18 PM, in All your question are belong to Nicole. Ha ha ha. Link | ID: 17676
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
If I'm going to rescue you, mind that I wait till that Mega-Mushroom wears out before?

____________________
Kuribo64 - melonDS

want some revolution in your coffee?

Arisotura
Posted on 06-20-12 11:20 PM, in All your question are belong to Nicole. Ha ha ha. Link | ID: 17680
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
/me looks at his sidebar

... what? not a plumber, you dare say?

____________________
Kuribo64 - melonDS

want some revolution in your coffee?

Arisotura
Posted on 06-20-12 11:24 PM, in All your question are belong to Nicole. Ha ha ha. Link | ID: 17684
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
Posted on 06-20-12 11:29 PM, in Time to ask you a question: Why does no one want to ask Marzen questions? ): Link | ID: 17690
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
Um, isn't asking questions the main activity on this board?

Should I jump on the bandwagon?

____________________
Kuribo64 - melonDS

want some revolution in your coffee?

Arisotura
Posted on 06-20-12 11:51 PM, in Testing the new Dynamic Poll Interface Link | ID: 17710
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
Those have been fixed. Another detail with Touch of Purples is that it sets an opaque dark background image for input fields. That would block the color background of color fields.

____________________
Kuribo64 - melonDS

want some revolution in your coffee?

Arisotura
Posted on 06-21-12 10:41 AM, in CSS leakage to the "current users reading forum" Link | ID: 17919
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
Posted on 06-21-12 11:36 AM, in CSS leakage to the "current users reading forum" Link | ID: 17934
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
Another possibility would be, once the page is loaded, run some Javascript that removes unwanted CSS from usernames.

____________________
Kuribo64 - melonDS

want some revolution in your coffee?
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94


Main - Posts by Arisotura


Acmlmboard v2.5.6 (06/11/2024)
© 2005-2024 Acmlm, Emuz, et al.

Page rendered in 9.551 seconds. (854KB of memory used)
MySQL - queries: 215, rows: 520/550, time: 9.503 seconds.