Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Warning: mysql_connect(): Access denied for user: ‘root@localhost’ (Using password: YES) in D:\websites\test.php on line 3

    This means you used a password when you tried to connect to mysql. Have you set up the tables and permissions?
    The root account might not actually work as it’s probably a linux box (which has a root account) your server runs on. You’ll need to add users to your database too.

    Forum: Your WordPress
    In reply to: Minimalism
    Thread Starter guard952

    (@guard952)

    I’ve got it down to 9656 bytes for the front page and 855 bytes for the css file… 10511 total.
    I’m going for the magical 10k mark (10240 bytes), only 271 more bytes to shead.
    I could just lowed the number of posts on the front page, but I like having at 10 there. 10 is a good number.

    yeah – ouch.
    keep the same feel with the minimalist look, just change the colors to ba a bit darker, try color: navy;

    Here’s an implementation I’m currently running
    <div class="storycontent">
    <?php if (strlen(single_post_title("", false))>0){the_content();}else{the_excerpt();} ?>
    </div>

    If there is not a single post title and there is an excerpt, then it’ll just print the excerpt. In all other cases it will print the entire post.

    Thread Starter guard952

    (@guard952)

    That’s exactly what I was looking for.
    Thanks.

    As far as I can see after scraping through the code (and experimenting on building my own CMS / multi-blogs, there’d need to be a user / blog / permission table or two, associating which users can to what to each tables. This would be similar to the was unix accounts work with their “groups”.
    While not impossible, it’d also mean every post / view / lookup / whatever would need to check this table to see if the logged on user (or anonymous person) has sufficient permissions to allow that action.
    Eg: anonymous users could view, but not post or reply to category x, but can view, reply and post to category y (perhaps a guestbook category?).
    While there are lots of possibilities, there are lots of things that would need to be re-written to accomplish these tasks (read: not available ’til version 2.0). While I would love to have access to these features, I understand that they would require a _great_ ammount of effort to implement.

Viewing 6 replies - 1 through 6 (of 6 total)