Forum Replies Created

Viewing 15 replies - 286 through 300 (of 596 total)
  • Forum: Plugins
    In reply to: archive hacking…

    OK, I am going to have to leave the sort by category off for now. The multiple categories really make sorting by category a pain and would reauire a little more work than is already done on this hack. For now, narchives will not have sort by category, but might in the future.
    Sorry for that everyone. 🙁

    Thread Starter Laughinglizard

    (@laughinglizard)

    You might have the same problem as some of the other people on this thread (exec, system diabled for security reasons)
    Please wait for another update (soon…within a couple of weeks)

    Forum: Plugins
    In reply to: archive hacking…

    Very good catches anavy. I fixed number one. The second will have to wait till I find some time. 🙂

    Thread Starter Laughinglizard

    (@laughinglizard)

    @alexkingorg: I am looking into that.
    @anavy: Wait for the next version, that should have the workaround.
    @martin: you can change permissions either through your ftp client (look for a right click menu or a button, I am not sure what you use and thus am no help) you could also ask your web provider for instructions.

    Thread Starter Laughinglizard

    (@laughinglizard)

    I agree with you David. As a matter of fact, I was working on the php walkthrough of the databases to produce an sql export for an upcoming release. If you already have that done (or some part of it) we should collaborate.
    The only issue is that the export has to be mysql import compatible. (or we can write a custom import script as well) The wonder of mysqldump is that the tables and all columns (and their features) are created automatically. However, considering the fact that a restore would be done after a vanilla install of wordpress, that is a non-issue.

    Thread Starter Laughinglizard

    (@laughinglizard)

    Thanks david. Appreciate it!

    Forum: Fixing WordPress
    In reply to: blog to the future

    🙂 Glad it worked for you! If I remember, I will try to create the little checkbox for posts so you can pick which ones should appeara head of time.

    Thread Starter Laughinglizard

    (@laughinglizard)

    If you have the hack installed correctly, only those comments that match the words/phrases/domains in the blacklist will be tagged for moderation. In your case, either you have an error, or the comments are somehow matching something in the list.

    Forum: Plugins
    In reply to: archive hacking…

    Any one. It works with 0.72 and 1.0+

    Forum: Plugins
    In reply to: archive hacking…

    Yes and no.
    That would be one heck of a long page with very large load times. In my opinion, archives are better off left one their own page. However, if you copy and paste the code to the main index page (within the CSS tags), they will show up correctly. You might have to mess with it a bit. I would create a temporary indextest.php or something, copy your index contents and the narchives contents and play with it from there.

    Forum: Plugins
    In reply to: archive hacking…

    How about these archives?
    http://dinki.mine.nu/weblog/narchives.php
    If you like them, you can download the source from:
    http://dinki.mine.nu/weblog/b2-img/narchives.phps

    Forum: Fixing WordPress
    In reply to: blog to the future

    Relatively simple fix Mr X, find this line in your wp-blog-header.php:
    if ($pagenow != ‘post.php’ && $pagenow != ‘edit.php’) {
    if ((empty($poststart)) || (empty($postend)) || !($postend > $poststart)) {
    $where .= ‘ AND post_date <= \”.$now.’\”;
    }
    and replace with:
    if ($pagenow != ‘post.php’ && $pagenow != ‘edit.php’) {
    if ((empty($poststart)) || (empty($postend)) || !($postend > $poststart)) {
    //$where .= ‘ AND post_date <= \”.$now.’\”;
    }
    That way, everything will get posted (according to posts per page) irrespective of the “future” thing.

    Thread Starter Laughinglizard

    (@laughinglizard)

    @gamerz: passthru (and other system exec commands) will not work when php is running in safe mode. The command will only execute programs which are physically located in the folder specified by the safe_mode_exec_dir directive.
    If your server is running in safe mode, you could try to make a folder in your web directory and put all the mysql binaries into it. Then add this line to your .htaccess:
    php_value safe_mode_exec_dir “/folder/where/mysqldump/is/localted”
    However, I checked with your server and it is not running in safe mode. So, if you are still with me, find this line in your backupRestore.php:
    echo passthru(“mysqldump –opt -h$server -u$loginsql -p$passsql $base >$file_name”);
    and replace it with this one. Let me know if it works and I will fix the hack to reflect all of the passthru functions.
    system(“mysqldump –opt -h$server -u$loginsql -p$passsql $base >$file_name”, $retval);
    echo $retval;

    Forum: Fixing WordPress
    In reply to: Template Error

    <?php //comments_popup_script();>
    You forgot the ‘?’
    Replace with:
    <?php //comments_popup_script(); ?>

    Thread Starter Laughinglizard

    (@laughinglizard)

    @gamerz: I am sorry, I should have said:
    <?php
    echo passthru(“whereis mysqldump”);
    ?>
    Normally mysqldump is in the same search path as mysql. Try running the which mysqldump or whereis mysqldump.

Viewing 15 replies - 286 through 300 (of 596 total)