blitz999
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Exclude post formats from categories archiveThis simple question is actually a good one. The posts and there now myriad complicated formats seem to be a hack to allow different sections – especially in the home page. However, I have yet to find one client that can adequately get their head around the formats and use them. No one I know uses them – too complicated and unwieldy. I don’t think post formats are going to last in there present form much longer.
How I get around the issue you are raising is by having a separate category for this (gallery, aside) content. That way, when you enter the category archive, it does not show.
Forum: Plugins
In reply to: [WordPress Easy Login] easy login is just html template!It doesn’t! Haha.
Forum: Plugins
In reply to: [WordPress Easy Login] easy login is just html template!Good point. I DID read that however (and proceeded anyway admittedly…) and only ever try an unknown plugin on a local test site.
But my point was really that this is a plugin that would not be compatible on anything as it is and shouldn’t really be in the repository.
This seems perhaps beyond the scope of the plugin intention – to provide a simple image management solution – which it does brilliantly.
Currently, there is no way for NGG to ‘know’ which post an image should correlate to. It would make more sense to me to use the post thumbnail feature of WP for this feature, as these are ‘connected’ to the post. You can then call the posts, by category, but only display the thumbnails rather than the post or excerpt in a template.
I did this here:
https://australianburlesquefest.com/category/the-stars-2011/
This is a category template showing just post thumbnails (and an overlayed title in this instance). When clicked, you get the full post – which seems to be roughly what you are trying to achieve?
You can still manage the images via NGG, and choose which pic from the gallery you want to use as the featured image in each post (in the post edit page itself).
Hope that helps!
Forum: Fixing WordPress
In reply to: Can't drag and drop menu items with 3.1It is a javascript conflict. It is unusual to be happening on the default theme with no plugins though. Perhaps a script was cached somehow – or still active in some way as Esmi says?
Look for multiple Jquery files in the header – this is often a giveaway.
However, I have noticed this happening fairly randomly. I had a perfectly working drag and drop menu. I deleted it and added a new menu and this issue started.
Using a Google Library plugin can help. This is probably more to do with it using the noconflict code, which can help – or removing duplicated Jquery files.
That’s the quick lazy possible fix, if that fails, do what Esmi says! ??
I don’t think they can easily, but if you have FTP access it is easy to move/copy them into wp-content/gallery/your-new-album
Then, in the WP admin, go to Gallery/Manage Gallery/Your new album and press scan folder for images.
I’m sure a propellerhead could come up with a MySQL export script, but the above is probably quicker! ??
Forum: Plugins
In reply to: [Flipping Team] [Plugin: Flipping Team] Activation errorHi Abhishek,
Did you manage to fix the css and the js problem? It loads prior to the doctype declaration.
Forum: Plugins
In reply to: [Flipping Team] [Plugin: Flipping Team] Activation errorHi there, yes, I hadn’t thought of that echo code.
The css and js still loads onto the top of the html before the doctype. All the other plugins load their link files after the main theme css in the <head>
Forum: Plugins
In reply to: [Flipping Team] [Plugin: Flipping Team] Activation errorBecause you can’t call this file from the page header:
wp-content/plugins/myplugin/myfile.css
it has to be:
https://mysite.com/wp-content/plugins/myplugin/myfile.css
Hence the use of <?php echo THEME_URL; ?>, or something like <?php echo PLUGIN_URL; ?> to call that part of the path and create the full path in the page header.
So, as an example, if I was calling a file that was in my theme folder, I can write it like this:
<link rel="stylesheet" type="text/css" href="<?php echo THEME_URL; ?>/sponsor.css" />
This will output the link in the page header as:
https://mysite.com/wp-content/mytheme/sponsor.css
I just don’t know (yet) the echo for a plugin path…
Forum: Plugins
In reply to: [Flipping Team] [Plugin: Flipping Team] Activation errorNo, the transitions are not loading. I believe this is because the js files are called before the doctype and <head> tag – as the above code shows.
These lines in team.php is missing the absolute path call:
12: <link rel="stylesheet" type="text/css" href="wp-content/plugins/flipping-team/styles.css" />
and
18: <script type="text/javascript" src="wp-content/plugins/flipping-team/script.js"></script>
I know that when you call a theme style you use:
src'"<?php echo THEME_URL; ?>/my.css"
I’ve been looking at the Codex for the plugin URL call of this. I’m a bit new to making plugins, so I don’t yet know what the code equivalent is.
Forum: Plugins
In reply to: [Flipping Team] [Plugin: Flipping Team] Activation errorOK… nearly there…
The styles and js are loading in BEFORE the doctype and the flip.min.js still needs and absolute path to the file. This is what my header looks like from the very top:
<link rel=”stylesheet” type=”text/css” href=”wp-content/plugins/flipping-team/styles.css” />
<script type=”text/javascript” src=”https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js”></script>
<script type=”text/javascript” src=”https://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js”></script>
<script type=”text/javascript” src=”wp-content/plugins/flipping-team/jquery.flip.min.js”></script><script type=”text/javascript” src=”wp-content/plugins/flipping-team/script.js”></script>
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
Forum: Plugins
In reply to: [Flipping Team] [Plugin: Flipping Team] Activation errorYour page template calls the JS and stylesheets, but does not (and I think cannot) place them in the header.
I checked the WP Codex, and the best way to do this would be from the admin (flipping_team.php), with a call like:
<?php function writeCSS() {
echo ( ‘<link rel=”stylesheet” type=”text/css” href=”‘. $x . ‘flipping_team/styles.css”>’ );
}
add_action(‘wp_head’, ‘writeCSS’);Forum: Plugins
In reply to: [Flipping Team] [Plugin: Flipping Team] Activation errorIt is nearly there… the error messages are all gone now!
I am using the 1.2 version. There are a couple of minor things still! :-0
The plugin is not calling the complete path to some resources:
wp-content/plugins/flipping_team/jquery.flip.min.js
rather than:
https://mysite.com/wp-content/plugins/flipping_team/jquery.flip.min.js
I think there is a a bit if WP php code that you put in to give the full path.
Also, the style sheets and JS files are loading into the <body> and not into the header.
Last thing for me is a theme issue. Your team.php calls the sidebar, but some themes do not call it from the page template. I removed it by hand and the layout came back the way it should have been ?? Just thought you’d like to know!
Forum: Plugins
In reply to: [Flipping Team] [Plugin: Flipping Team] Activation errorHi there,
Thanks for the swift response.
I deleted the old plugin and downloaded again from the plugin directory (1.0)
I got this error on activation:
The plugin generated 17 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.
However, the header error noted previously is now gone.
It is conflicting with Super Cache in some way it seems, but even when I deactivate that plugin, it is not saving new team members.
The live site shows this error message at the top of the page with Super Cache activated:
Warning: Cannot modify header information – headers already sent by (output started at /xxxl/wp-content/plugins/flipping-team/flipping_team.php:109) in /xxx/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 77
Forum: Plugins
In reply to: Are there iphoto plugins for uploading to WordPess?I concur. It is really inelegant exporting to the desktop, then having to FTP or login online.
My only suggestion is that you CAN do this more elegantly using the WP email post facility. You use iPhoto email export, and then email the pic (and complete post if you like).
I should also add that this works in pretty much any iPhoto up to ’09. the newest ’11 version will not work as the email facility has been completely ruined as an ugly ‘theme’ is added to your email, and this is then sent to the recipient as a jpeg! No good for anything, let alone WordPress use.