Points of Required Attention™
Join MineConst! Vanilla 1.11.2 co-op survival server. Have fun and don't be a jerk. mc.mineconst.com
Acmlmboard 2 Released
Bitbucket/GIT | @acmlmboard | IRC: #abdev
Affiliates
Super Mario Bros. X | Kuribo64
Views: 4,411,592
Main | FAQ | IRC chat | Memberlist | Active users | Latest posts | Calendar | Stats | Ranks | Online users | Search
10-19-17 12:31 PM
Guest: Register | Login

0 users currently in AcmlmBoard Developer Zone | 1 guest

Main - AcmlmBoard Developer Zone - BoardC - Another Acmlmboard Clone
Next newer thread | Next older thread

Pages: 1 2

Schezo
Posted on 07-26-16 08:02 PM (rev. 8 of 10-13-16 08:06 AM by Schezo) Link | ID: 91220
Local Moderator

Red Koopa
GOT'EM
Level: 109


Posts: 4658/5126
EXP: 13528332
Next: 431313

Since: 01-29-14
From: ???

Last post: 15 hours
Last view: 15 hours
KLayout 4.0

BoardC

This is a little project I've been working on and off since early January that basically attempts to clone the Jul codebase. The original plan was to port the actual Jul in PDO but it failed pretty badly, so I ended up creating this for whatever reason.

The current version (1.0d) is finally "finished" and it's pretty much complete.
well, complete for what can go in a distributable release

Current list of distributed versions:
0.06 - Link
0.15 - Link
1.0 - Link
1.0a - Link (fixes username related issues and a broken query)
1.0b - Link
1.0d - Link (more bugfixes)

Some notes you may want to read:

  • I have tested this under PHP 5.6.15 and MySQL 5.0.11. It should work with later 5.x versions. I'm not sure about PHP 7.x since I've never tested it on that (I assume some features like error reporting won't work properly), but it won't run on anything earlier than PHP 5.5 as it uses functions like password_hash
  • The majority of the settings are stored in lib/config.php. While the installer creates this file, the "supported" way to edit this file is to... edit it yourself. I hope you like using text editors :v
  • Various default strings are stored at the beginning of lib/layout.php (ie: ""user groups"", post syndromes). Again, I hope you like using text editors.
  • To install this you launch install.php and follow the instructions. It's recommended to delete it after a successful install. You should do the same with sandbox.php, (which I use on my local test board for my own convenience - if you have a local test board you really do want to keep it in case of stuff accidentaly blowing up).
  • By default, the installer options are in "AB1.x Compatiblity" mode, which (lazily) recreates register_globals and tccell declarations for AB1.92 porting convenience. I'm not going to change this as clicking on a radio box isn't hard.
  • While this is inspired and is meant to look like Jul, it's not an *exact* clone. There are some... various differences on the way it works.
  • Some of the features, such as the Log, Denied Requests, ipinfo flags and the news engine either do not work or have been removed from the distributable releases, depending on version.

This thread is mostly for feature suggestion and/or to help spot possible bugs in the codebase.

You may or may not be able to recognize where I stole this grid background from.
Stats
Kak
Red Koopa
aka Schezo
Level:109
Days:1358
Ranked:6
Links
???
Twitter
YouTube
Website

StapleButter
Posted on 08-02-16 11:29 AM Link | ID: 91541
Developer
Acmlmboard has... side effects
Level: 68


Posts: 1081/1491
EXP: 2646989
Next: 81811

Since: 01-05-12
From: France

Last post: 3 hours
Last view: 3 hours
I saw that it keeps you IP-banned when you change IPs, that's interesting.


no bonus for global $_POST escaping though -- better escape things whenever they need escaped.

____________________
Kuribo64 - we hack shit

Schezo
Posted on 08-02-16 11:41 AM (rev. 2 of 08-02-16 11:42 AM by Schezo) Link | ID: 91542
Local Moderator

Red Koopa
GOT'EM
Level: 109


Posts: 4706/5126
EXP: 13528332
Next: 431313

Since: 01-29-14
From: ???

Last post: 15 hours
Last view: 15 hours
KLayout 4.0
that escaping is used mostly to remove ascii and unicode control codes. that bit can't be touched, especially since other parts of the board (mis)use the null value (ie: the unconventional way poll data is stored)

I assume it's the other part (entities removal) the problem. I put it there to block people who use certain entities to get around the JS filter, but as a downside, well, it disallows entities. I'm not entirely sure how to fix that.

Originally it was worse, as it did all of that to _GET and _COOKIE :P

You may or may not be able to recognize where I stole this grid background from.
Stats
Kak
Red Koopa
aka Schezo
Level:109
Days:1358
Ranked:6
Links
???
Twitter
YouTube
Website

flashy2k
Posted on 08-26-16 12:21 AM Link | ID: 92216

Bio Spark
It's time
no fun zone
Level: 42


Posts: 340/799
EXP: 512256
Next: 9106

Since: 05-23-16
From: Atlanta
ID: 308

Last post: 114 days
Last view: 113 days
more of an annoyance than a bug, but why only alpha-numerical characters in usernames? at least include dashes and underscores, since a lot of people use those :P

Schezo
Posted on 08-26-16 12:00 PM Link | ID: 92220
Local Moderator

Red Koopa
GOT'EM
Level: 109


Posts: 4812/5126
EXP: 13528332
Next: 431313

Since: 01-29-14
From: ???

Last post: 15 hours
Last view: 15 hours
KLayout 4.0
Posted by skyu
more of an annoyance than a bug, but why only alpha-numerical characters in usernames? at least include dashes and underscores, since a lot of people use those :P
I think I put it like that so I could use the username directly without having to use a prepared query for everything that required the username.

The idea was that you should use the display name for more complex usernames.

That said, I can add spaces and dashes with no problems, but for everything else nope.

Unrelated, I've been quite slow for the next update, mostly because I'm going through all the files in the attempt to replace dumb shit (see XSS filter or how poll data is stored) and generally have a cleaner formatting.

You may or may not be able to recognize where I stole this grid background from.
Stats
Kak
Red Koopa
aka Schezo
Level:109
Days:1358
Ranked:6
Links
???
Twitter
YouTube
Website

flashy2k
Posted on 08-26-16 02:54 PM Link | ID: 92222

Bio Spark
It's time
no fun zone
Level: 42


Posts: 341/799
EXP: 512256
Next: 9106

Since: 05-23-16
From: Atlanta
ID: 308

Last post: 114 days
Last view: 113 days
oh, yeah, I was mostly referring to spaces and dashes/underscores.

also, I think I noted this at Jul, but was deleting/erasing posts that weren't on the first page fixed? :P

Schezo
Posted on 09-13-16 01:12 PM Link | ID: 92514
Local Moderator

Red Koopa
GOT'EM
Level: 109


Posts: 4843/5126
EXP: 13528332
Next: 431313

Since: 01-29-14
From: ???

Last post: 15 hours
Last view: 15 hours
KLayout 4.0
I finally got to release v0.30. That certainly took a while

Featuring:

- A lot of bugfixes
- A new installer
- RPG System lifted directly from AB 1.92 (which was a pretty painful experience due to code differences)
- Things that look more like what you'd see on Jul.
- XSS Protection that isn't an absolute joke
- more misc stuff

If it weren't for the lack of certain details, I'd have considered this v1.0. It's getting closer though.

You may or may not be able to recognize where I stole this grid background from.
Stats
Kak
Red Koopa
aka Schezo
Level:109
Days:1358
Ranked:6
Links
???
Twitter
YouTube
Website

Schezo
Posted on 09-15-16 11:31 PM (rev. 2 of 09-16-16 11:44 AM by Schezo) Link | ID: 92574
Local Moderator

Red Koopa
GOT'EM
Level: 109


Posts: 4853/5126
EXP: 13528332
Next: 431313

Since: 01-29-14
From: ???

Last post: 15 hours
Last view: 15 hours
KLayout 4.0
oh dear it happened

I actually replaced the horrible, horrible poll format with something that makes more sense (and, unrelated, I fixed the broken thread trash function in the way)

Previously the thread title, briefing, multivote flag and all the choices were serialized in the title field using NULL values. While it worked it would have made adding extra options a pain.

Now the polls and the poll choices have their own tables in the database.

(this is the SQL update for the extra tables)

CREATE TABLE `poll_choices` (
`id` int(11) NOT NULL PRIMARY KEY AUTO_INCREMENT,
`thread` int(32) NOT NULL,
`name` text NOT NULL,
`color` varchar(30) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
CREATE TABLE `polls` (
`id` int(11) NOT NULL PRIMARY KEY AUTO_INCREMENT,
`thread` int(32) NOT NULL,
`question` text NOT NULL,
`briefing` text NOT NULL,
`multivote` tinyint(1) NOT NULL DEFAULT '0',
`closed` tinyint(1) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
ALTER TABLE `polls` ADD UNIQUE KEY `thread` (`thread`);


This also means that now thread title and poll question are two different things.

EDIT: And I accidentaly left the debug redirect on in this version. whoops.

You may or may not be able to recognize where I stole this grid background from.
Stats
Kak
Red Koopa
aka Schezo
Level:109
Days:1358
Ranked:6
Links
???
Twitter
YouTube
Website

flashy2k
Posted on 09-16-16 01:06 AM Link | ID: 92584

Bio Spark
It's time
no fun zone
Level: 42


Posts: 454/799
EXP: 512256
Next: 9106

Since: 05-23-16
From: Atlanta
ID: 308

Last post: 114 days
Last view: 113 days
yay more bug reports (you should maybe make a devboard for this :P)

bug #1: Birthdays show up one day off. If I input my birthday as 1/1/2000, it will appear on the header on 1/2/2000.

bug #2: The firewall was a tiny bit trigger happy, my thread was blocked for having
<a href=sadhads>blah</a>
in it. It's trigger happy either way, but BBcode support would be nice. :P

Schezo
Posted on 09-16-16 08:52 AM Link | ID: 92612
Local Moderator

Red Koopa
GOT'EM
Level: 109


Posts: 4855/5126
EXP: 13528332
Next: 431313

Since: 01-29-14
From: ???

Last post: 15 hours
Last view: 15 hours
KLayout 4.0
1 - I tried doing that in my local copy and the date was correct. Are you sure you haven't edited the default time zone offset? (I think that has a tendency to break stuff, you should always leave it to 0)

2 - There is no firewall in the github version. I tried it in my local copy which has it, but it didn't trigger anything. (though I did notice problems when putting that link as thread name).

3 - BBCode was implemented in v0.30a

You may or may not be able to recognize where I stole this grid background from.
Stats
Kak
Red Koopa
aka Schezo
Level:109
Days:1358
Ranked:6
Links
???
Twitter
YouTube
Website

flashy2k
Posted on 09-16-16 11:32 AM Link | ID: 92614

Bio Spark
It's time
no fun zone
Level: 42


Posts: 467/799
EXP: 512256
Next: 9106

Since: 05-23-16
From: Atlanta
ID: 308

Last post: 114 days
Last view: 113 days
What I changed was d/m/y to m/d/y, so that could have something to do with it

anyway, I'll go update my copy and see if that fixes issues :P

Schezo
Posted on 09-16-16 11:48 AM Link | ID: 92615
Local Moderator

Red Koopa
GOT'EM
Level: 109


Posts: 4856/5126
EXP: 13528332
Next: 431313

Since: 01-29-14
From: ???

Last post: 15 hours
Last view: 15 hours
KLayout 4.0
I don't think it's that, as the unix timestamp is identical regardless of date / time format

I did try anyway just to make sure, and it gives me correct results

You may or may not be able to recognize where I stole this grid background from.
Stats
Kak
Red Koopa
aka Schezo
Level:109
Days:1358
Ranked:6
Links
???
Twitter
YouTube
Website

EzioisAwesome56
Posted on 10-04-16 09:41 PM (rev. 2 of 10-04-16 09:56 PM by EzioisAwesome56) Link | ID: 92997
Newcomer

Level: 5


Posts: 1/6
EXP: 302
Next: 227

Since: 08-21-16

Last post: 377 days
Last view: 316 days
So I found this bug with the item shop
for some reason you can buy items when you don't even have enough coins to buy it. I even took away all my green coins and it still happens.

This happened in 0.30 and 1.0b
EDIT- forgot to say that after doing said action, you end up with negative coins, with which the issue is still active and you can just keep digging yourself a hole

____________________
Dont you hate it when something does not give you an error?

Schezo
Posted on 10-05-16 06:31 PM Link | ID: 93034
Local Moderator

Red Koopa
GOT'EM
Level: 109


Posts: 4895/5126
EXP: 13528332
Next: 431313

Since: 01-29-14
From: ???

Last post: 15 hours
Last view: 15 hours
KLayout 4.0
well, I couldn't recreate the bug (checked both on the local copy and on a clean install).

what you said also shouldn't happen, as the item shop checks the correct amount of money before showing the Buy option.

You may or may not be able to recognize where I stole this grid background from.
Stats
Kak
Red Koopa
aka Schezo
Level:109
Days:1358
Ranked:6
Links
???
Twitter
YouTube
Website

Super-toad 65
Posted on 10-05-16 07:25 PM Link | ID: 93035
Moonlight-based capitalism is better -.-
Level: 18


Posts: 36/116
EXP: 29053
Next: 844

Since: 04-26-16
From: Italy

Last post: 189 days
Last view: 38 days
Maybe youh broke something in the sql. Have you tried to reinstall the board?

flashy2k
Posted on 10-05-16 09:33 PM Link | ID: 93043

Bio Spark
It's time
no fun zone
Level: 42


Posts: 578/799
EXP: 512256
Next: 9106

Since: 05-23-16
From: Atlanta
ID: 308

Last post: 114 days
Last view: 113 days
It's probably to,do with green coins being weird when there's also a coin value - I was only able to get negative gree coins, not normal coins. Odd.

either way you may want to stop having lots of green coin items :P

EzioisAwesome56
Posted on 10-05-16 11:09 PM Link | ID: 93058
Newcomer

Level: 5


Posts: 3/6
EXP: 302
Next: 227

Since: 08-21-16

Last post: 377 days
Last view: 316 days
Posted by xkitten
It's probably to,do with green coins being weird when there's also a coin value - I was only able to get negative gree coins, not normal coins. Odd.

either way you may want to stop having lots of green coin items :P


I might have to do that. Would I have to remove all user's green coins?

____________________
Dont you hate it when something does not give you an error?

Schezo
Posted on 10-05-16 11:16 PM Link | ID: 93059
Local Moderator

Red Koopa
GOT'EM
Level: 109


Posts: 4896/5126
EXP: 13528332
Next: 431313

Since: 01-29-14
From: ???

Last post: 15 hours
Last view: 15 hours
KLayout 4.0
Posted by xkitten
It's probably to,do with green coins being weird when there's also a coin value
excuse me? (both normal and green coins are checked)

unless you can tell me how to reproduce the bug, I have no idea where the problem is.

You may or may not be able to recognize where I stole this grid background from.
Stats
Kak
Red Koopa
aka Schezo
Level:109
Days:1358
Ranked:6
Links
???
Twitter
YouTube
Website

EzioisAwesome56
Posted on 10-05-16 11:33 PM Link | ID: 93060
Newcomer

Level: 5


Posts: 4/6
EXP: 302
Next: 227

Since: 08-21-16

Last post: 377 days
Last view: 316 days
Posted by Kak
Posted by xkitten
It's probably to,do with green coins being weird when there's also a coin value
excuse me? (both normal and green coins are checked)

unless you can tell me how to reproduce the bug, I have no idea where the problem is.


Well them IDK, if you want a live demo (Plz dont destory my board), pm me and I'll give you a link to the board where it happens

____________________
Dont you hate it when something does not give you an error?

flashy2k
Posted on 10-05-16 11:52 PM Link | ID: 93061

Bio Spark
It's time
no fun zone
Level: 42


Posts: 588/799
EXP: 512256
Next: 9106

Since: 05-23-16
From: Atlanta
ID: 308

Last post: 114 days
Last view: 113 days
guess not, the board did keep bugging letting me achieve negative green coins (now it let's me have negative normal coins now, looks like my theory was wrong, heh)
Pages: 1 2


Next newer thread | Next older thread
Main - AcmlmBoard Developer Zone - BoardC - Another Acmlmboard Clone


Acmlmboard v2.5.3pre Development (4/08/2015)
© 2005-2015 Acmlm, Emuz, et al.

Page rendered in 0.094 seconds. (714KB of memory used)
MySQL - queries: 201, rows: 596/620, time: 0.020 seconds.