Samutz
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: The Events Calendar] CSS template overrideWhat I did was copy events.css to my theme’s folder, then added this after <?php wp_head(); ?>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/events.css" type="text/css" media="screen" />It’s a little bit of a waste of resources because you’re loading the original css first, then loading the override one. But you don’t have to edit the original this way.
Edit: Also make sure you copy the images to your theme folder, or fix the paths in your override css to point to them.
Forum: Plugins
In reply to: [Plugin: NextGEN Gallery] singlepic tag stopped workingI found the problem. And I feel so stupid now.
One of the plugins I rely on had extra line breaks in it. Four to be exact.
What happened is that the main file of plugin (that eventually gets inluded by WP scripts) had places like this in it:
?> <?phpOnce I removed those, everything start working fine again.
Forum: Plugins
In reply to: [Plugin: NextGEN Gallery] singlepic tag stopped workingAfter a lot of screwing around and digging through the code. I found that the problem isn’t actually with NGG, but with wordpress itself.
The reason the images aren’t properly displayed is that something is puting four extra bytes at the beginning of the nggshow.php file when it tries to generate an image. These bytes are OA OA OA OA. Without these bytes the image displays fine.After more digging, I found that including wp-config.php at the beginning of nggshop.php is what’s causing this. If I navigate to wp-config.php in my browser, I get a blank page of course, but when I save this blank page and open it in a hex editor, it get those four bytes by themselves.
I removed the trailing line break at the bottom of wp-config’s code, but it still outputs the four bytes. So I looked at the wp-settings.php file it includes and it also had a trailing line break, which I removed. But wp-settings.php also includes/requires other files, and those files include/require other files, etc.
So I’m basically stuck combing through every single file until I find out which file is causing the four bytes.Forum: Plugins
In reply to: [Plugin: NextGEN Gallery] singlepic tag stopped workingJPG and PNG don’t work either:
Here’s a page with all three: JPG, GIF, PNG
http://www.samutz.com/blargh/dumpster/test-page/
Each one using [singlepic=id]Forum: Plugins
In reply to: [Plugin: NextGEN Gallery] singlepic tag stopped workingYea, it loads fine for the direct image. I also checked all the permissions for the folder, sub-folders, and files that I keep the images in.
Here’s the one from my first post:
http://www.samutz.com/blargh/wp-content/dumpster/gtaforums/gtasa_steveo.gif
It also appears fine in the thickbox popup.Thumbnails in other places are working fine too.
Like here for example (a gallery page):
http://www.samutz.com/blargh/dumpster/?album=1&gallery=7
The 4th pic from the left is the one from the page in my first post.It’s only the singlepic ones that don’t work.
Forum: Plugins
In reply to: [Plugin: NextGEN Gallery] singlepic tag stopped workingI just tried deleting the plugin then reinstalling it from the download on alexrabe.boelinger.com, but it still doesn’t work.