Author Topic: Digital Text CMS  (Read 49898 times)

0 Members and 4 Guests are viewing this topic.

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: Digital Text CMS (Continued from AC discussion)
« Reply #45 on: December 09, 2005, 03:05:09 am »
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! :)

Offline Warrior

  • supreme mac daddy of trolls
  • Hero Member
  • *****
  • Posts: 7503
  • One for a Dime two for a Quarter!
    • View Profile
Re: Digital Text CMS (Continued from AC discussion)
« Reply #46 on: December 09, 2005, 05:59:43 am »
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

Offline rabbit

  • x86
  • Hero Member
  • *****
  • Posts: 8092
  • I speak for the entire clan (except Joe)
    • View Profile
Re: Digital Text CMS (Continued from AC discussion)
« Reply #47 on: December 09, 2005, 09:23:24 am »
Is there a beta yet?  I feel like trying some things...

Offline Warrior

  • supreme mac daddy of trolls
  • Hero Member
  • *****
  • Posts: 7503
  • One for a Dime two for a Quarter!
    • View Profile
Re: Digital Text CMS (Continued from AC discussion)
« Reply #48 on: December 09, 2005, 02:16:43 pm »
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

Offline Furious

  • Hero Member
  • *****
  • Posts: 1833
  • I hate rabbits
    • View Profile
Re: Digital Text CMS (Continued from AC discussion)
« Reply #49 on: December 09, 2005, 04:09:15 pm »
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: Ergot
Put 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.

Offline Warrior

  • supreme mac daddy of trolls
  • Hero Member
  • *****
  • Posts: 7503
  • One for a Dime two for a Quarter!
    • View Profile
Re: Digital Text CMS (Continued from AC discussion)
« Reply #50 on: December 09, 2005, 04:58:11 pm »
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

Offline Warrior

  • supreme mac daddy of trolls
  • Hero Member
  • *****
  • Posts: 7503
  • One for a Dime two for a Quarter!
    • View Profile
Re: Digital Text CMS (Continued from AC discussion)
« Reply #51 on: December 09, 2005, 08:31:37 pm »
I have open sourced it (Not licensed yet)
http://www.advancedcontent.net/demo/src/
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

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: Digital Text CMS (Continued from AC discussion)
« Reply #52 on: December 09, 2005, 08:59:00 pm »
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. :)

Offline zorm

  • Hero Member
  • *****
  • Posts: 591
    • View Profile
    • Zorm's Page
Re: Digital Text CMS (Continued from AC discussion)
« Reply #53 on: December 09, 2005, 10:07:02 pm »
See http://www.advancedcontent.net/demo/ for rather clear flaw in the way your code works.
"Frustra fit per plura quod potest fieri per pauciora"
- William of Ockham

Offline Warrior

  • supreme mac daddy of trolls
  • Hero Member
  • *****
  • Posts: 7503
  • One for a Dime two for a Quarter!
    • View Profile
Re: Digital Text CMS (Continued from AC discussion)
« Reply #54 on: December 09, 2005, 10:08:51 pm »
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

Offline Warrior

  • supreme mac daddy of trolls
  • Hero Member
  • *****
  • Posts: 7503
  • One for a Dime two for a Quarter!
    • View Profile
Re: Digital Text CMS (Continued from AC discussion)
« Reply #55 on: December 09, 2005, 10:12:32 pm »
Ok patched.
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

Offline zorm

  • Hero Member
  • *****
  • Posts: 591
    • View Profile
    • Zorm's Page
Re: Digital Text CMS (Continued from AC discussion)
« Reply #56 on: December 09, 2005, 10:18:43 pm »
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

Offline Warrior

  • supreme mac daddy of trolls
  • Hero Member
  • *****
  • Posts: 7503
  • One for a Dime two for a Quarter!
    • View Profile
Re: Digital Text CMS (Continued from AC discussion)
« Reply #57 on: December 09, 2005, 10:42:09 pm »
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

Offline Warrior

  • supreme mac daddy of trolls
  • Hero Member
  • *****
  • Posts: 7503
  • One for a Dime two for a Quarter!
    • View Profile
Re: Digital Text CMS (Continued from AC discussion)
« Reply #58 on: December 09, 2005, 10:46:47 pm »
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

Offline Warrior

  • supreme mac daddy of trolls
  • Hero Member
  • *****
  • Posts: 7503
  • One for a Dime two for a Quarter!
    • View Profile
Re: Digital Text CMS (Continued from AC discussion)
« Reply #59 on: December 09, 2005, 11:21:46 pm »
New Module!
Module Listing
- Lists all modules and information about them.
http://www.advancedcontent.net/demo/index.php?mod=list_mod
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