mikexstudios
Forum Replies Created
-
Forum: Plugins
In reply to: Simple Asides Pluginmosaiclife: 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.
Forum: Fixing WordPress
In reply to: Plugin: Adding Top-level menu inside folder errorsNevermind. 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/1599Forum: Plugins
In reply to: Live Journal Plugin Pack Release 3Just 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!Forum: Plugins
In reply to: Live Journal Plugin Pack Release 3w00t! Your LJ Plugin is the S&*#! ??
Thanks for all of your hard work! I really appreciate it.Forum: Plugins
In reply to: Live Journal Plugin Pack Release 0For 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.
mikeXstudiosForum: Everything else WordPress
In reply to: mX themeThanks Sushubh, I’ll take that into account when the next time I revise the css.
Forum: Plugins
In reply to: Show One Category Hack – Not workingAh, 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.
~mikeXstudiosForum: Plugins
In reply to: Show One Category Hack – Not workingHi 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.
~mikeXstudiosForum: Fixing WordPress
In reply to: How to query specific categoriesHi, 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