Points of Required Attention™
Acmlmboard 2 Released
Bitbucket/GIT | @acmlmboard | IRC: #abdev
Affiliates
Super Mario Bros. X | Kuribo64
Views: 4,616,476
Main | FAQ | IRC chat | Memberlist | Active users | Latest posts | Calendar | Stats | Ranks | Online users | Search
12-17-17 04:06 AM
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
Global Moderator

Red Cheep-cheep
GOT'EM
Level: 110


Posts: 4658/5207
EXP: 14146002
Next: 262884

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

Last post: 2 days
Last view: 2 days
Post #4658

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 Cheep-cheep
aka Schezo
Level:110
Days:1417
Ranked:6
Links
???
Twitter
YouTube
Website

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


Posts: 1081/1523
EXP: 2770310
Next: 99433

Since: 01-05-12
From: France

Last post: 7 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
Global Moderator

Red Cheep-cheep
GOT'EM
Level: 110


Posts: 4706/5207
EXP: 14146002
Next: 262884

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

Last post: 2 days
Last view: 2 days
Post #4706
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 Cheep-cheep
aka Schezo
Level:110
Days:1417
Ranked:6
Links
???
Twitter
YouTube
Website

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

Birdon
Affected by 'Reinfors Syndrome' +
Affected by 'Catgirl Syndrome' +++!!!
Football Enthusiast
Level: 47


Posts: 340/971
EXP: 724335
Next: 41868

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

Last post: 49 min.
Last view: 9 min.
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
Global Moderator

Red Cheep-cheep
GOT'EM
Level: 110


Posts: 4812/5207
EXP: 14146002
Next: 262884

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

Last post: 2 days
Last view: 2 days
Post #4812
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 Cheep-cheep
aka Schezo
Level:110
Days:1417
Ranked:6
Links
???
Twitter
YouTube
Website

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

Birdon
Affected by 'Reinfors Syndrome' +
Affected by 'Catgirl Syndrome' +++!!!
Football Enthusiast
Level: 47


Posts: 341/971
EXP: 724335
Next: 41868

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

Last post: 49 min.
Last view: 9 min.
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
Global Moderator

Red Cheep-cheep
GOT'EM
Level: 110


Posts: 4843/5207
EXP: 14146002
Next: 262884

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

Last post: 2 days
Last view: 2 days
Post #4843
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 Cheep-cheep
aka Schezo
Level:110
Days:1417
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
Global Moderator

Red Cheep-cheep
GOT'EM
Level: 110


Posts: 4853/5207
EXP: 14146002
Next: 262884

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

Last post: 2 days
Last view: 2 days
Post #4853
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 Cheep-cheep
aka Schezo
Level:110
Days:1417
Ranked:6
Links
???
Twitter
YouTube
Website

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

Birdon
Affected by 'Reinfors Syndrome' +
Affected by 'Catgirl Syndrome' +++!!!
Football Enthusiast
Level: 47


Posts: 454/971
EXP: 724335
Next: 41868

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

Last post: 49 min.
Last view: 9 min.
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
Global Moderator

Red Cheep-cheep
GOT'EM
Level: 110


Posts: 4855/5207
EXP: 14146002
Next: 262884

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

Last post: 2 days
Last view: 2 days
Post #4855
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 Cheep-cheep
aka Schezo
Level:110
Days:1417
Ranked:6
Links
???
Twitter
YouTube
Website

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

Birdon
Affected by 'Reinfors Syndrome' +
Affected by 'Catgirl Syndrome' +++!!!
Football Enthusiast
Level: 47


Posts: 467/971
EXP: 724335
Next: 41868

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

Last post: 49 min.
Last view: 9 min.
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
Global Moderator

Red Cheep-cheep
GOT'EM
Level: 110


Posts: 4856/5207
EXP: 14146002
Next: 262884

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

Last post: 2 days
Last view: 2 days
Post #4856
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 Cheep-cheep
aka Schezo
Level:110
Days:1417
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: 323
Next: 206

Since: 08-21-16

Last post: 436 days
Last view: 375 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
Global Moderator

Red Cheep-cheep
GOT'EM
Level: 110


Posts: 4895/5207
EXP: 14146002
Next: 262884

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

Last post: 2 days
Last view: 2 days
Post #4895
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 Cheep-cheep
aka Schezo
Level:110
Days:1417
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: 19


Posts: 36/117
EXP: 30985
Next: 4792

Since: 04-26-16
From: Italy

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

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

Birdon
Affected by 'Reinfors Syndrome' +
Affected by 'Catgirl Syndrome' +++!!!
Football Enthusiast
Level: 47


Posts: 578/971
EXP: 724335
Next: 41868

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

Last post: 49 min.
Last view: 9 min.
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: 323
Next: 206

Since: 08-21-16

Last post: 436 days
Last view: 375 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
Global Moderator

Red Cheep-cheep
GOT'EM
Level: 110


Posts: 4896/5207
EXP: 14146002
Next: 262884

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

Last post: 2 days
Last view: 2 days
Post #4896
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 Cheep-cheep
aka Schezo
Level:110
Days:1417
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: 323
Next: 206

Since: 08-21-16

Last post: 436 days
Last view: 375 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?

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

Birdon
Affected by 'Reinfors Syndrome' +
Affected by 'Catgirl Syndrome' +++!!!
Football Enthusiast
Level: 47


Posts: 588/971
EXP: 724335
Next: 41868

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

Last post: 49 min.
Last view: 9 min.
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.100 seconds. (714KB of memory used)
MySQL - queries: 201, rows: 596/620, time: 0.022 seconds.