News:

Pretty crazy that we're closer to 2030, than we are 2005. Where did the time go!

Main Menu

Digital Text CMS

Started by Warrior, December 04, 2005, 05:03:08 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Sidoh

Quote from: Warriorx86] link=topic=4009.msg43663#msg43663 date=1134112545]
I might try it again later and see if I get any problems, it certainly is cleaner.

Alright, let me know.  :)

I'm planning on starting on something like this soon, so your experience will be useful! :)

Warrior

Small updates:
        Fixed a goof in the news module (Why the hell did I put LIMIT 1 !?)
        Added the ability for templates to know if you are logged in or not ({if $User_Login == true}... {/if})
        Fixed a small error in the Authentication class which wouldn't save cookies right
One must ask oneself: "do I will trolling to become a universal law?" And then when one realizes "yes, I do will it to be such," one feels completely justified.
-- from Groundwork for the Metaphysics of Trolling

rabbit

Is there a beta yet?  I feel like trying some things...

Warrior

No not yet, I just coded all this. Unless you'd like to write a few modules and test it for bugs but I'm still in the "Developing" stage as opposed to the "Bug Fixing" stage.
One must ask oneself: "do I will trolling to become a universal law?" And then when one realizes "yes, I do will it to be such," one feels completely justified.
-- from Groundwork for the Metaphysics of Trolling

Furious

When you get a beta version completed, PM me and I will give it a try :P
Quote[23:04:34] <deadly7[x86]> Newby[x86]
[23:04:35] <deadly7[x86]> YOU ARE AN EMO
[23:04:39] <Newby[x86]> shush it woman

Quote[17:53:31] InsaneJoey[e2] was banned by x86 (GO EAT A BAG OF FUCK ASSHOLE (randomban)).

Quote from: ErgotPut it this way Joe... you're on my Buddy List... if there's no one else on an you're the only one, I'd rather talk to myself.

Warrior

Okay man. I've been taking a look @ some Admin features and how I will implement them. There is also the question of which I should integrate user permissions into the core or make that a module but that would also raise the issue of having module dependant on other modules. Maybe have a global system define each time a module is loaded that way you can do

define("MYMODULE", "");
Then in each module do an ifdef or something and if it's defined use the functions that the module provides, dunno need more thinking time.

I just implemented placeholders for news administration and ported the login HTML to smarty which reduced it by about 20 lines.

I am cleaning up index.php (Where most of the core is) and considering making it more OO with an entire class dedicated to stuff inside the core. I don't know I'll read some articles on good OO design and then make this decision.

I have decided the core will have built in Page and Module administration (Starting, Stopping, Deleting, Creating, etc)
One must ask oneself: "do I will trolling to become a universal law?" And then when one realizes "yes, I do will it to be such," one feels completely justified.
-- from Groundwork for the Metaphysics of Trolling

Warrior

One must ask oneself: "do I will trolling to become a universal law?" And then when one realizes "yes, I do will it to be such," one feels completely justified.
-- from Groundwork for the Metaphysics of Trolling

Sidoh

Do you really have to define $Auth and $Disp as globals?  My intuitive guess would be no.

Anyway, very nice on making it clean.  Looks good. :)

zorm

"Frustra fit per plura quod potest fieri per pauciora"
- William of Ockham

Warrior

Yea I know, I need to add checking to that. I think I said that before but yea I'll do that now.
One must ask oneself: "do I will trolling to become a universal law?" And then when one realizes "yes, I do will it to be such," one feels completely justified.
-- from Groundwork for the Metaphysics of Trolling

Warrior

One must ask oneself: "do I will trolling to become a universal law?" And then when one realizes "yes, I do will it to be such," one feels completely justified.
-- from Groundwork for the Metaphysics of Trolling

zorm

Also unless im missing something it looks like just about all of your SQL queries are open to injection?
"Frustra fit per plura quod potest fieri per pauciora"
- William of Ockham

Warrior

Yea they are, trying to code it first, bugfixing and security are later. No sense in securing something that doesn't work.

btw Sidoh I implemented modules with classes just now. Working perfectly, reuploading sources. I need to update some of the modules but yea they work great :)
One must ask oneself: "do I will trolling to become a universal law?" And then when one realizes "yes, I do will it to be such," one feels completely justified.
-- from Groundwork for the Metaphysics of Trolling

Warrior

Okay reuploaded sources and ported the remaining modules over.
One must ask oneself: "do I will trolling to become a universal law?" And then when one realizes "yes, I do will it to be such," one feels completely justified.
-- from Groundwork for the Metaphysics of Trolling

Warrior

One must ask oneself: "do I will trolling to become a universal law?" And then when one realizes "yes, I do will it to be such," one feels completely justified.
-- from Groundwork for the Metaphysics of Trolling