Bluetrait

Loading
search


Posts:
Comments:

Popular posts

Click here if you are looking for Bluetrait, the weblog software.

Login:

Username:

Password:

Progress on the admin panel

Posted by Michael Dale on Sat, 03 Jul 2004 9:27 AM

Progress on the admin panel has been very good. So far I can:
*Add news (enable/disable commenting)
*Add content (eg ?page=links)
*Edit Content

Things to do include:
*Delete Content
*Delete comments
*Delete news
*Add links
*Edit links
*Delete links.

EDIT: ooooo I can edit stuff now. w00ty. As you can see I've added the news edit option.
EDIT2: Admin panel now allows you add links and quick links with a position.

List now is:
*Delete Content
*Delete comments
*Delete news
*Edit links
*Delete links.
*Combine addnews.php and editnews.php

On Thu, 01 Jan 1970 at 11:00 AM, Anonymous wrote:

lalalalala


On Thu, 01 Jan 1970 at 11:00 AM, Anonymous wrote:

wow


On Thu, 01 Jan 1970 at 11:00 AM, Michael Dale wrote:

Okay. Addnews + Editnews now = news.php (content admin site of things). Which is nice. I'll need to add deletenews sometime.


On Thu, 01 Jan 1970 at 11:00 AM, Anonymous wrote:

You might want to do something about the whole "Posted by " thing when users don't specify a name... just out of curiousity (i'm trying with this post), what does it do when an email but not a name is entered?


On Thu, 01 Jan 1970 at 11:00 AM, J. wrote:

Hmmm okay.

if (!empty($email)&&!empty($author)){
echo "$author";
}
elseif(empty($email)&&!empty($author))
{echo "$author";
}
else{
echo "Anonymous";}

Or something to that effect. I wonder what HTML removal will do to this message...?


On Thu, 01 Jan 1970 at 11:00 AM, J. wrote:

Oh. Another thing - replace newlines with tags...


On Thu, 01 Jan 1970 at 11:00 AM, Michael Dale wrote:

The html thing runs as the code is being read out of the database and therefore is killing the replace . So I've made it so some html works (unsure how much). But new lines work now.
Lets see:

Email
WWW


On Thu, 01 Jan 1970 at 11:00 AM, Anonymous wrote:


On Thu, 01 Jan 1970 at 11:00 AM, Anonymous wrote:

meh


On Thu, 01 Jan 1970 at 11:00 AM, Anonymous wrote:

*This comment was deleted*


On Thu, 01 Jan 1970 at 11:00 AM, Michael Dale wrote:

mmm I'll let is strip all html atm. Going to try something if people don't enter their name ;)


On Thu, 01 Jan 1970 at 11:00 AM, Michael Dale wrote:

heh the other n00b who posted here is a tool. You're not going to be posting crap on my comments section. I don't want your crappy "goat" images thankyou :)

EDIT: Also all connections to this server are logged. I have your IP address.