Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Forum: Plugins
    In reply to: Simple Asides Plugin
    Thread Starter mikexstudios

    (@mikexstudios)

    mosaiclife: No, the plugin cannot do that. However, I think there are other plugins available that can exclude a certain category from the main post page.

    WhollyHis: The asides fall in chronological order like all other posts. If the asides plugin is disabled, the asides become normal posts.

    Thread Starter mikexstudios

    (@mikexstudios)

    Nevermind. I decided to take matters in my own hands and track down the bug and write a solution.

    Ticket and solution here:
    https://trac.www.ads-software.com/ticket/1599

    Just upgraded and I have a few things to say:
    class-IXR.php doesn’t seem to be included with this release. Since I upgraded, I can’t tell if it’s a required file in this release.
    Also, in ljsync.config.inc the line:
    //Journals Array
    $journals[‘test’][‘password’] = ‘test’;
    should be replaced like:
    //Journals Array
    $journals[‘username’][‘password’] = ‘password’;
    Is that how it’s supposed to be? The documentation is still reflecting the older release.
    Thanks!

    w00t! Your LJ Plugin is the S&*#! ??
    Thanks for all of your hard work! I really appreciate it.

    For those who receive the error message:
    Fatal error: Cannot redeclare addlinkback() (previously declared in /home2/mike/public_html/wp-content/plugins/ljsynch.config.inc:15) in /home2/mike/public_html/wp-content/plugins/ljsynch.config.inc on line 15
    (This occurs for me when I activate the extras)
    Replace in ljextras.php:
    include(‘ljmoods.config.inc’);
    include(‘ljmusic.config.inc’);
    include(‘ljsynch.config.inc’);
    include(‘ljuserpics.config.inc’);
    with:
    include_once(‘ljmoods.config.inc’);
    include_once(‘ljmusic.config.inc’);
    include_once(‘ljsynch.config.inc’);
    include_once(‘ljuserpics.config.inc’);
    This will make the script check to see if a config.inc file is already loaded.
    mikeXstudios

    Forum: Everything else WordPress
    In reply to: mX theme
    Thread Starter mikexstudios

    (@mikexstudios)

    Thanks Sushubh, I’ll take that into account when the next time I revise the css.

    Ah, good point. I was thinking in terms of the my-hacks.php file. So yeah, if the code goes in index.php, preg_match isn’t needed. In fact, that’s probably a better idea than putting it in my-hacks.php….
    *runs off to ponder*
    Thanks TG for the enlightenment.
    ~mikeXstudios

    Hi skippy,
    Perhaps the only problem I see in using:
    if (empty($_GET['cat'])) $cat = '-6';
    Is that the edit page in administration will also reflect that code and display only one category.
    Fixing that, I added:
    if ((empty($_GET[‘cat’]))&&(!preg_match(‘/wp-admin/’, $_SERVER[‘REQUEST_URI’]))) $cat = ‘1’; //Replace 1 with your category
    By using a match, I am able to exclude the wp-admin folder from applying this hack. However, there is probably a small execution time hit by using the preg_match function. It shouldn’t be anything concerning though.
    ~mikeXstudios

    Hi, I’ve just implemented the hack on my wp, and I found that if you exclude everything except the $cat =1; line, the index page displays only the general category. I’ve also found that this does not affect the other categories. I believe that this is because the REQUEST_URI does not match ‘/’ (perhaps match ‘/’ or ‘/index.php’?). Try leaving off the index.php in your url. It might work. To fix this, either comment out all of the lines except for $cat=1; or change:
    if ('/' == $_SERVER['REQUEST_URI'])
    to:
    if (('/' == $_SERVER['REQUEST_URI'])||('/index.php' == $_SERVER['REQUEST_URI']))
    Hope that helps!
    mikeXstudios

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