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

Affiliates
Super Mario Bros. X | Kuribo64 | NeoRHDN
Views: 11,030,828
Main | FAQ | IRC chat | Memberlist | Active users | Latest posts | Stats | Ranks | Online users | Search
11-21-24 08:01 PM
Guest: Register | Login

0 users currently in msg db 'Computer Address',0xa | 5 bots

Main - msg db 'Computer Address',0xa - ABΔ, or Delta, an OOP messageboard attempt
Next newer thread | Next older thread

Pages: 1 2

Kawa
Posted on 01-11-12 02:36 PM, in (rev. 2 of 01-22-12 01:49 PM by Kawa) Link | ID: 2474
Retired Staff

Not okay
Prophet of Celestia
Level: 94


Posts: 114/2423
EXP: 8183613
Next: 173044

Since: 01-01-12
From: The Netherlands

Last post: 2238 days
Last view: 553 days
Ever since I first used PHP, I've done so in a procedural manner. But I thought to myself, gee I've been writing in an object-oriented manner in C# for a while now - why not give it a try in PHP?

Mostly spurred on by a thread @Mega-Mario made on Nikoboard when he got scared.

http://helmet.kafuka.org/abdelta/

Source: http://helmet.kafuka.org/abdelta.rar

It's hooked up to the Nikoboard database since it's just guest-level browsing for now. When I get to logging in and replying, I'll probably set up a new one with a minimum of tables and fields.

And no, that thread I mentioned is not in guestspace. Don't bother looking for it.


Kawa
Posted on 01-12-12 08:37 PM, in Link | ID: 2697
Retired Staff

Not okay
Prophet of Celestia
Level: 94


Posts: 137/2423
EXP: 8183613
Next: 173044

Since: 01-01-12
From: The Netherlands

Last post: 2238 days
Last view: 553 days
Being somewhat close to getting registration and hopefully posting in soon, I've switched to a new testing database. Also added a header, of sorts.

The beauty of it is that it could be made to look any which way, because the theme engine is supposed to handle the actual HTML output. Some debug data notwithstanding...


Arisotura
Posted on 01-12-12 11:38 PM, in Link | ID: 2711
Developer
pancakes
Level: 84


Posts: 33/1870
EXP: 5546295
Next: 115657

Since: 01-05-12
From: France

Last post: 38 days
Last view: 38 days
This is a nice project. An Acmlmboard-like software with clean OOP code would be a nice thing. I mean, ABXD is already a nice thing, but this would be even nicer. Heck, it could be the next ABXD version, or something...

I'll be sure to help with it where possible. Of course, doing so will be easier when a repo is set up (if this is planned).

____________________
Kuribo64 - melonDS

want some revolution in your coffee?

Kawa
Posted on 01-13-12 04:11 PM, in (rev. 2 of 01-13-12 10:18 PM by Kawa) Link | ID: 2753
Retired Staff

Not okay
Prophet of Celestia
Level: 94


Posts: 139/2423
EXP: 8183613
Next: 173044

Since: 01-01-12
From: The Netherlands

Last post: 2238 days
Last view: 553 days
Just uploaded more progress. I've started on Form and FormElement, and will probably do HeaderedList later... and added a theme I call "ABDX" that demonstrates how the utter data/presentation split can affect things.

I mean, imagine if you will, a mobile version. Instead of rewriting half the board (like abxd/lofi/), startup.php can detect that it's a phone, and switch to MobileTheme... which completely changes the very nature of the HTML output, removing anything that wouldn't work on mobile without a single change in the board code itself!


Edit: added quoting to insert/update queries. I should've done so immediately, but whateffs.


Kawa
Posted on 01-14-12 03:41 PM, in Link | ID: 2858
Retired Staff

Not okay
Prophet of Celestia
Level: 94


Posts: 147/2423
EXP: 8183613
Next: 173044

Since: 01-01-12
From: The Netherlands

Last post: 2238 days
Last view: 553 days
Now with newreply functionality. Only available in Warp Whistle slash Quick-E-Post™ style, and it doesn't properly update the thread info yet, but you can't see that info at this time anyway so it's not exactly high priority.


Trelior
Posted on 01-20-12 03:33 AM, in Link | ID: 3507
Normal User

Level: 128


Posts: 161/4986
EXP: 24155246
Next: 226454

Since: 01-02-12

Last post: 1471 days
Last view: 1471 days
Dumb question: Will your OOPboard stand in as a mobile version of the board when it's finished?

I ask because trying to load the board proper from my phone causes a lot of memory overflow problems.

Kiyoshi
Posted on 01-20-12 11:28 AM, in Link | ID: 3525
Normal User
HEY HEY HEY STAY OUTTA MAH SHED
Level: 65


Posts: 277/1016
EXP: 2221811
Next: 113817

Since: 01-02-12

Last post: 4594 days
Last view: 4565 days
Posted by Trelior
Dumb question: Will your OOPboard stand in as a mobile version of the board when it's finished?

I ask because trying to load the board proper from my phone causes a lot of memory overflow problems.
AB2 should have a Lo-Fi mode.
Lo-Fi for threads is basically just printable view, but with CSS enabled, and an existant but reduced top menu. So printable view could be easily implemented as well.

____________________
I don't give a flying feather

Kawa
Posted on 01-20-12 04:14 PM, in Link | ID: 3551
Retired Staff

Not okay
Prophet of Celestia
Level: 94


Posts: 185/2423
EXP: 8183613
Next: 173044

Since: 01-01-12
From: The Netherlands

Last post: 2238 days
Last view: 553 days
Delta's theme engine allows me to detect that it's a cellphone and switch to a more suitable theme that has only the minimal requirements.

I just don't have that theme yet. Just the possibility to do it.

And yes, the project is renamed to ABΔ.


CyclopsCaveman
Posted on 01-20-12 04:18 PM, in Link | ID: 3552
Normal User
Makes posts in a span of time which may or may not be considerable as a term most commonly known as "legendary".
Level: 25


Posts: 74/119
EXP: 89042
Next: 578

Since: 01-04-12

Last post: 3430 days
Last view: 2534 days


dude what

____________________
havin' a ball

board2: board harder|KAFUKA - Got post?|Opera - Try it today!
Lapfox Trax - Musical!|MSPaintAdventures - Groups of childern threaten the lives of entire worlds by playing the Sims.
Trolls trolling trolls trolling trolls.|SonicRetro - Talk about the latest changes to that mole on Sonic's left buttcheek.|Valve Software - Description coming soon.

Kawa
Posted on 01-20-12 04:35 PM, in Link | ID: 3556
Retired Staff

Not okay
Prophet of Celestia
Level: 94


Posts: 187/2423
EXP: 8183613
Next: 173044

Since: 01-01-12
From: The Netherlands

Last post: 2238 days
Last view: 553 days
Hahayeah that's right. I'll have to look into that.

I was thinking of having the theme's header function only work once at any time -- that'd fix it good, but that's not what it's meant for. This is just a stupid little mistake.

Also, just uploaded today's changes, including a memberlist. No sorting or filtering yet.


Kawa
Posted on 01-22-12 01:03 PM, in Link | ID: 3684
Retired Staff

Not okay
Prophet of Celestia
Level: 94


Posts: 193/2423
EXP: 8183613
Next: 173044

Since: 01-01-12
From: The Netherlands

Last post: 2238 days
Last view: 553 days
Forums, threads, and users no longer have the number of threads and posts as database fields.
$request = Database::Query("SELECT *, (SELECT COUNT(*) FROM threads WHERE threads.parent_forum = ".$id.") num_threads FROM forums WHERE id=".$id);
Therefore, no need to update these fields when making a new post.


Arisotura
Posted on 01-22-12 01:08 PM, in Link | ID: 3685
Developer
pancakes
Level: 84


Posts: 62/1870
EXP: 5546295
Next: 115657

Since: 01-05-12
From: France

Last post: 38 days
Last view: 38 days
Though, that method may be more expensive for MySQL as you're selecting from more tables, and having a subquery (though perhaps that can be rewritten as a GROUP BY or something).

____________________
Kuribo64 - melonDS

want some revolution in your coffee?

Kawa
Posted on 01-22-12 01:48 PM, in (rev. 2 of 01-22-12 01:49 PM by Kawa) Link | ID: 3687
Retired Staff

Not okay
Prophet of Celestia
Level: 94


Posts: 194/2423
EXP: 8183613
Next: 173044

Since: 01-01-12
From: The Netherlands

Last post: 2238 days
Last view: 553 days
Woops, that was supposed to be an edit, not a reply. Whatever. First post's had the links updated.


Kawa
Posted on 01-25-12 01:39 PM, in Link | ID: 3899
Retired Staff

Not okay
Prophet of Celestia
Level: 94


Posts: 210/2423
EXP: 8183613
Next: 173044

Since: 01-01-12
From: The Netherlands

Last post: 2238 days
Last view: 553 days
Delta now supports ABXD themes. Here's Zenburn.. And here's the file I made to support it:
<?php

/* META
Zenburn -- ~calm yo tits~
By Kawa
*/

include_once("ABXD.php"); //sneaky. That's some sort of compatibility layer.

class ZenburnTheme extends ABXDTheme
{
public $cssFile = "theme/abxd/zenburn.css";
public $logoFile = "theme/img/themes/zenburn/logo.png"; //remove to use the default logo.
//public $rounded = true; //set to false by ABXDTheme, initially.
}

?>



Kawa
Posted on 01-25-12 05:40 PM, in Link | ID: 3944
Retired Staff

Not okay
Prophet of Celestia
Level: 94


Posts: 229/2423
EXP: 8183613
Next: 173044

Since: 01-01-12
From: The Netherlands

Last post: 2238 days
Last view: 553 days
There was a bug in the guest user's setup where the threads and posts per page setting would be undefined, causing broken queries. This has been fixed. As usual, the rarchive has been updated accordingly.


Kiyoshi
Posted on 01-25-12 11:20 PM, in Link | ID: 3965
Normal User
HEY HEY HEY STAY OUTTA MAH SHED
Level: 65


Posts: 317/1016
EXP: 2221811
Next: 113817

Since: 01-02-12

Last post: 4594 days
Last view: 4565 days
Posted by Kawa
Delta now supports ABXD themes. Here's Zenburn.. And here's the file I made to support it:
<?php

/* META
Zenburn -- ~calm yo tits~
By Kawa
*/

include_once("ABXD.php"); //sneaky. That's some sort of compatibility layer.

class ZenburnTheme extends ABXDTheme
{
public $cssFile = "theme/abxd/zenburn.css";
public $logoFile = "theme/img/themes/zenburn/logo.png"; //remove to use the default logo.
//public $rounded = true; //set to false by ABXDTheme, initially.
}

?>

Adapt ALL the themes! :D

____________________
I don't give a flying feather

Kawa
Posted on 01-26-12 04:16 PM, in (rev. 2 of 01-26-12 06:00 PM by Kawa) Link | ID: 4002
Retired Staff

Not okay
Prophet of Celestia
Level: 94


Posts: 234/2423
EXP: 8183613
Next: 173044

Since: 01-01-12
From: The Netherlands

Last post: 2238 days
Last view: 553 days
I could script it out. All you'd need then is to go through and adjust the rounded bool.

Here's a bunch of other themes I prepared earlier. Don't bother trying to use them on the live board -- it won't work.


Arisotura
Posted on 01-26-12 05:45 PM, in Link | ID: 4012
Developer
pancakes
Level: 84


Posts: 67/1870
EXP: 5546295
Next: 115657

Since: 01-05-12
From: France

Last post: 38 days
Last view: 38 days
You've got a quote in your link-- [url] tags don't take quotes.

Also, why is it needed to have that $rounded variable when the theme can control border-radius and such by CSS?

____________________
Kuribo64 - melonDS

want some revolution in your coffee?

Kawa
Posted on 01-26-12 05:59 PM, in Link | ID: 4015
Retired Staff

Not okay
Prophet of Celestia
Level: 94


Posts: 242/2423
EXP: 8183613
Next: 173044

Since: 01-01-12
From: The Netherlands

Last post: 2238 days
Last view: 553 days
It's a nicety I thought would be nice.


Kawa
Posted on 01-30-12 06:25 PM, in Link | ID: 4386
Retired Staff

Not okay
Prophet of Celestia
Level: 94


Posts: 302/2423
EXP: 8183613
Next: 173044

Since: 01-01-12
From: The Netherlands

Last post: 2238 days
Last view: 553 days
In more theme-related news, there is now a mobile theme. Try it on a mobile phone!

Yes, phone. Not Nintendo. I'll add support for Nintendo later.

Pages: 1 2


Next newer thread | Next older thread
Main - msg db 'Computer Address',0xa - ABΔ, or Delta, an OOP messageboard attempt


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

Page rendered in 0.102 seconds. (832KB of memory used)
MySQL - queries: 216, rows: 569/602, time: 0.075 seconds.