Forum Replies Created

Viewing 15 replies - 451 through 465 (of 596 total)
  • Forum: Fixing WordPress
    In reply to: Comments off error

    SG,
    I dont think it would be related. Could you please explain how it was linked or maybe turn the comments off for the day?

    You should not have to mess with anything to get the posts per page to work. You could type in something like
    echo “posts_per_page = “.$posts_per_page;
    somewhere inside your blog.header.php and it will tell you the value it should be using. It is stored in the database and retrieved by blog.header.php

    After you reset the category with $cat=” (and page variables in your case), another access is made from the database. blog.header.php sets up the Mysql queries for the database access and then creates the list of posts for the index.php. As long as you are wanting to create a page inside WP (a single post, category, date, search form etc) you will have to call blog.header.php again or make the MySql queries yourself.

    Here is something you could try.
    In your blog.header.php (in the root of your WordPress folder) find the line below:
    $posts = $wpdb->get_results($request);
    Add this just below that line:
    if ($posts == ”) {
    $cat = ”;
    include($abspath . ‘blog.header.php’);
    }
    This way, every errant request coming to your blog will be greeted with the default blog template with all posts from all categories.You could modify this to get other output.
    PS: Those are two single quotes, not a double quote.

    Very touchy subject, this is…yes.
    Come back to this, we will…after release of 1.0
    May the Force with the dev team.
    Peace 😛

    Forum: Plugins
    In reply to: WordPress One Click Backup
    Thread Starter Laughinglizard

    (@laughinglizard)

    That directory does not have view permissions. When you changed the permissions of the backup folder, did you also assign read permissions to it? I would think that is the problem.

    Thread Starter Laughinglizard

    (@laughinglizard)

    LOL…i am starting to love this thread and the people contributing to it. All of our discussion is worth nothing without some input from the dev team. Would allusion, Mike, Mike, Alex or any of the others like to provide some input?

    Forum: Plugins
    In reply to: WordPress One Click Backup
    Thread Starter Laughinglizard

    (@laughinglizard)

    I will be working on the restore script as soon as I get my workstation upgrade done. 😛
    I am also thinking of writing another script which backs up the wordpress folder and provides a link for download of the zipped file for local backup.

    Thread Starter Laughinglizard

    (@laughinglizard)

    @zeno: I (somewhat) see what you mean. There is a lot of legacy code in the commenting system from the old b2 (and much of it is being weeded out as new features such as moderation is added to the system) and much of the redundancy is due to the ability of the blog to have comment pop-ups as well as comments on the main blog. The comments are pre-processed as you already figured out. I am still confused about how you thought that they were post-processed in your first comment.
    There are a couple of threads on getting more developmental feedback from the user community as well as further code sharing mechanisms among would-be developers. Yours best bet is the dev blog to be found at http://wordpress.org/development/
    I personally have never been approached with any access or role in development activity so I really could not answer you with any confidence.

    Thread Starter Laughinglizard

    (@laughinglizard)

    Look at my website. I have the alternating colors somewhat implemented. If you like it I could share the code changes. I have left it up to the person using this hack to make those changes

    Thread Starter Laughinglizard

    (@laughinglizard)

    @gfmorris:
    I spend enough time on promoting WP that I would help in any way for the wp-mods effort. I dont think I am good enough to be a developer, but I do hack away a lot! 😛
    Peace

    Thread Starter Laughinglizard

    (@laughinglizard)

    Danielle,
    In all the cases that you have mentioned above, albeit even for MT, plug-ins are additions (or modules like the NetFlix Plug-in which shows a persons’ rental cue) to the final html file that is rendered. In the case of WP, hacks are changes to the code base which can not only add features, but can also change the output of the base template. I believe that this was the reason that they were called “hacks” in the first place. The ability of a programmer to change even the nitty gritty details of the final blog page is very useful and is not provided by the plug-in system. So if WordPress hacks were completely limited to being implemented through a unified system of folders or a single file, it could lead to one of two problems:
    1) If the system allowed for the kind of hacks we have seen so far, it would be slow to render because of the parsing taking place
    2) The system would not allow some of the hacks we have for WP already.
    If I misunderstood your point, please correct me. I vote for ‘mods’. I dont know if any discussion in this forum is going to change the minds of the developers, but I do think that the hack terminology could be a hinderance to the growing popularity of WP.

    Thread Starter Laughinglizard

    (@laughinglizard)

    Very sweet! Thanks sisob, good job!
    I have a somewhat comprehensive list of all hacks I know about on my weblog tools collection blog. I will try to collate the information to the best of my knowledge.

    Forum: Plugins
    In reply to: WordPress One Click Backup
    Thread Starter Laughinglizard

    (@laughinglizard)

    That looks perfect. All you really need is the wp-config.php. I have added the others in case people want to configure it to their blog template. You said that it does not work for you in 0.72 either, which is really strange. Does anyone else have this problem? Cena, could you please email me the source of dump.php?
    Thanks for playing along!

    Thread Starter Laughinglizard

    (@laughinglizard)

    Look at the CSS modification towards the end of the tutorial. It reads:
    #commentswithin {
    min-width: 100px;
    margin-left: 10px;
    }
    Increase the margin-left to anything you think is fit. And thanks again for your positive feedback!

Viewing 15 replies - 451 through 465 (of 596 total)