Eric Mann
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Publication Archive] [Plugin: WP Publication Archive] change urlWhat exact changes did you make? Walk me through what you did – step by step, what you expected to happen, and what you’re currently seeing.
Forum: Fixing WordPress
In reply to: Mapping subdomains with SSLIt is shared hosting … but it’s been sufficient for this particular client up ’til now. We’re considering moving to a VPS elsewhere.
A temporary solution was to turn off domain mapping on the sites that needed SSL to meet Facebook’s tab requirements (btw, all apps will need SSL by Oct 1).
The downside, this turns friendly links like http://fb.ghmedicalhome.org/app1/ into http://dashboard.ghmedicalhome.org/fb/app1. Not too bad, but still annoying … particularly if we ever want to use it for something facing the public (FB app urls are embedded within the site, so no one but me ever sees them).
That shortcode *should* work. In the past, the problem has been that a particular category has been added, but none of the publications have been put into that category. If there are no publications in a category, the category query will return all publications by default.
Without actually seeing your system, the only advice I can give is to double check in the admin whether or not there are actually publications inside the “slug” category.
@iandav: I’d need to see the shortcode you’re using and the site you’re using it on to be able to tell you for sure.
Forum: Plugins
In reply to: How to hard code a folder name@steven.wright
1. No. The current plugin pulls from the collection of attachments in the database, not from a certain file or folder on the server. That will be coming in a future version.
2. There’s no way to control this just yet. But if you want, you can edit the code directly. The speed of the rotation is controlled in
riw.json line three. You’ll see this line:setInterval( "slideSwitch()", 5000 );5000 in this case means 5 seconds. You can change that to whatever you want. 10 seconds would be 10000, for example.
Forum: Plugins
In reply to: [WP Publication Archive] [Plugin: WP Publication Archive] change urlAll attachments are stored in the
wp_poststable withpost_typeset to “attachment.” The GUID for each attachment is set to the original URL when it was inserted – don’t change this! GUIDs are meant to be used for identification and shouldn’t be changed, they aren’t used for permalinks.The URLs you want to change are actually in the
wp_post_metatable. Whenever you create a new publication in WordPress, you add an absolute URI reference to a custom post type. This reference is stored in a custom meta field for that post – the field is calledwpa_upload_doc.So just look in your
wp_post_metatable for any entry with a key ofwpa_upload_docand change the value to match the new URL.Forum: Plugins
In reply to: [WP Publication Archive] [Plugin: WP Publication Archive] change urlYou’ll need to go in and change each one … Publications are handled the same as any other attachment in WordPress (i.e. Images), the URL is hard-coded into the database and needs to be changed if you want to migrate the site from one domain to another.
@wolf99 – You aren’t the only one who’s reported this issue now, though. It looks like it might be an issue related to the way the plugin works with WordPress 3.2.X, and I’m looking into it.
Forum: Plugins
In reply to: [JS Banner Rotate] [Plugin: JS Banner Rotate] script errorThis is expected, and a known issue that will be fixed in an upcoming version. IE in particular complains when you try to run
getElementById()and the element you’re trying to select don’t exist. Other browsers just return eithernullorundefinedand let you go on your merry way.This error won’t actually affect the performance of your site but will display an error message at the bottom of the page for users who have debugging turned on.
It will also be fixed in the next version.
Forum: Plugins
In reply to: [WP Publication Archive] pdf-document can not openI’m aware of the more tag issue and working on a fix for that. Thanks for bringing it up! 🙂
Sorry, still working on it. Got sidetracked with a temporarily heavy workload.
When you posted, you said this was occurring in WP 3.1.2. Is it still a factor in WP 3.2.1?
I am aware of the issue and working on a fix. Something changed in WP 3.2 that caused this and I’m not sure what it was at the moment.
@rlmohsen – Please don’t hijack other people’s threads. If you have a new question, open a new thread in the forums.
To answer your question, your code is wrong. You should be using “images=”, not “image=”. Plural, not singular.
Forum: Plugins
In reply to: js-banner-rotate undefined link errorsI’m thinking that might have something to do with it, yes. Basically, the plugin builds a large HTML element of stacked
<img>tags and fades them in and out in order. The element itself, though, has a background set to be the same as the first image.So if you’re seeing the first image, then the background is being set right and it’s a rotation problem.
The “undefined index” problem is likely because you’re running in debug mode for development. It’s an issue that will be fixed in the next version (I was unaware of debug mode when I first release the plugin a couple of years ago, and never went back to clear out the notices).
The lack of rotation is also related to the path issue (localhost versus IP) above:
You’ve opened
http://220.233.7.100/wordpress/as the site so that I can view things. That works fine, buthttp://localhost/wordpress/doesn’t work from this end (because localhost points elsewhere).When I looked at the source of the page, all of your JavaScript is being enqueued from
http://192.168.1.20/wordpress/. I assume this is the local IP of the server … but in a browser it won’t work. So in your header, all of your scripts, styles, and even feed links are pointing to 192.168.1.20 rather than a domain. This will happen if you have that coded as the site URL for WordPress, so you should really look at doing things differently.When I develop locally, I set my Windows hosts file to point the domain at the appropriate server. Let’s say http://www.mysite.com is parked at a “coming soon” page at 1.0.0.1. My server address is actually 1.0.0.2. I’ll set my hosts file to point http://www.mysite.com to 1.0.0.2 and then set things up as if the server were live for production.
The advantage of this is that all I need to do when I’m finished is repoint http://www.mysite.com at the appropriate server. Until I do that, everyone sees the parked page and only my machine sees the real site.
Not 100% sure, but this might help in your situation …
Forum: Plugins
In reply to: js-banner-rotate undefined link errorsThis is a new one … can you provide a link to your site?
Also, what versions of WordPress and PHP are you running?