cycas
Forum Replies Created
-
Forum: Plugins
In reply to: Slider plus image mapI noted that there seem to be a few issues reported by some people in the wp-cycle support thread, but I’ve just installed that plugin on a new site running the latest WP, and it’s working fine, so I’m guessing that the people who are having problems may have a plugin conflict with another plugin I’m not using.
If you do have problems, http://wordpress.org/extend/plugins/jj-nextgen-jquery-cycle/ may also be worth a try. I didn’t test that as I didn’t have any particular need to install NextGen gallery: my slideshow is quite simple and there is only one of it, so I was fine just uploading the images and embedding them as shown.
Forum: Plugins
In reply to: Slider plus image mapI just spent some time working out how to do this so although this thread is a bit old, I thought I’d add to it and just note how I did it for the benefit of others.
I used this plugin to do the slider : http://wordpress.org/extend/plugins/wp-cycle/
That plugin gives you a shortcode, but you need to be able to modify the image code in your slideshow to call the imagemaps, so I didn’t use the shortcode, I put the code into my template direct.
So, in my new template used just for my slider page, I put in
<div id="rotator">
<img src="/wp-content/uploads/2012/07/ham.jpg" width="1000" height="460" class="20120710130219" alt="Ham" usemap="#ham" />
<img src="/wp-content/uploads/2012/07/eggs.jpg" width="1000" height="460" class="20120710130018" alt="Eggs" usemap="#eggs"/>
</div>
(the rotator ID is the default one that wp-cycle plugin looks for, but you can rename it in the plugin settings if you want. )
And then my imagemap:
<map id="ham" name="ham"><area shape="rect" coords="1,1,1000,460" href="/2013-ham/"></map>
<map id="eggs" name="eggs">
<area shape="rect" coords="1,1,300,460" href="/2013-hen/">
<area shape="rect" coords="300,1,700,460" href="/2013-duck/">
<area shape="rect" coords="700,1,1000,460" href="/2013-quail/">
</map>
Yes, I know name= is deprecated, but you need to specify a name in imagemap if it’s going to work in Safari or Chrome.
This example shows the first slideshow image as one big link, and then the second with three links. You need to set the transition so it’s not too long, otherwise it gets confusing when it flips from one imagemap to the next.
I actually tried doing this with the Wowslider plugin first, but imagemaps don’t work with that slider script.
I just came here to report the same thing.
I don’t see this behaviour if I only change the file category or edit any other field.
I only see it if I upload a new version of the file – then I lose the custom thumbnail. (It is convenient to reupload to correct a typo or something, rather than copy and paste all my custom fields to make a new record)
It looks to me as though the contents of the file_thumbnail field is dropped, and the thumbnail file is deleted when a new main file is uploaded. Presumably it should just be the main file and filename that is dropped, not the custom thumbnail file and filename as well.
You can, as Tom says, re-upload a new thumbnail, but it’s a bit annoying to have to do this every time you need to make a tiny change to a file, so it would be nice if the plugin could retain the thumbnail when a new file is uploaded.
Forum: Fixing WordPress
In reply to: Copying theme options from test to live databasesNo answers to this, so I think I’m going to wimp out and just hardcode everything into my child theme rather than using widgets and database theme options.
I can always stick a widget section in later if I need it I suppose.
Yes, you should be able to limit access to content by group.
For example, I have a staff group and a reseller group, and I can specify that my stafflist page is only available to staff, and that my reseller forum is available to both staff and resellers (by editing the relebant page, and ticking the ‘group’ boxes). I can also set posts to be visible to only one group, by editing the category and ticking the group boxes in there.
What I mean about the wordpress roles is that if I create a user, put him in the Reseller group, and leave his WordPress Role set to Subscriber, then he can see the reseller pages, but not create posts, because he’s still only a subscriber and subscribers can’t make posts.
If I change his role to contributor, without changing his group, he can now create posts, view content set as accessible to the reseller group, but not publish posts. To allow him to publish posts, I’d need to change his role to Author.
I am wondering if you haven’t done the ‘tick the boxes on the category/post/page’ step?
If all the group boxes are unticked, then the post, category, or page is open access. To use this plugin to block access, you have to create at least one group, then tick the box to give access to that group (and not to anyone else) HTH.
Do you have the user’s WordPress role (not UAM role) set to ‘subscriber’ rather than ‘contributor’ or ‘author’?
If you have a look at http://codex.wordpress.org/Roles_and_Capabilities
you can see that subscribers don’t have access to edit content.
So if you set up a UAM group and put people in it that only have WordPress role subscriber, they still won’t be able to edit. You need to set the role affiliation in UAM to something that allows them access to edit the page.
Does that help?
Forum: Fixing WordPress
In reply to: Bulk delete all images associated with a post?I’ve currently got ‘attached to’ shown as a column heading but I can’t filter on it.
Will doublecheck those plugins and hope an update to latest build will do the job.
Forum: Fixing WordPress
In reply to: Media library has disappeared.Can you see the images on the public website? Did you change permissions on any directories?
Forum: Fixing WordPress
In reply to: adding my logoThat is probably going to depend on which theme you are using – wordpress has lots of different ways to do this.
If you post a link to your site then someone may be able to spot what theme you are using and advise.
Forum: Fixing WordPress
In reply to: Bulk delete all images associated with a post?Oh can you? Is that a new 3.2 feature, I can’t spot it?
I have rather a bunch of plugins on this install and some of them are not yet 3.2 ready so had been deferring the update for a little while.
I do have rather a lot of images per post on this site though, some of them more than 30.
Forum: Fixing WordPress
In reply to: Cannot find correct .css to changeI think you probably want the theme template file, rather than the css file? Css tends to be for things like ‘that box is in the wrong place / wrongly italicised’ – if stuff is not appearing at all, more likely the code is not in the right spot in your theme?
Since this page http://www.lynnkjones.com/category/newsbreak/ seems to be a category page, you might want to look in your theme directory for something like index.php or archives.php depending on how your theme is structured.
If http://www.lynnkjones.com/leaders-library/ is a page rather than a post, you could compare with the theme’s page.php file, or perhaps single.php ?
Forum: Fixing WordPress
In reply to: Using WordPress on http:// only (not www.)It used to be handy for Twitter to use a shorter URL, because Twitter used to post URLs and only display the first X number of characters, so people would copy and paste them and end up with a broken address.
However, Twitter has changed the way it handles URLs recently so that this is less of an issue.
If you tell people a URL without a www in it, a lot of them will put it in anyway, so I would make sure that both work!
Forum: Fixing WordPress
In reply to: More custom registration fieldsI’ve just tried Pie register on a 3.0 site and it seems to be working now – worth giving it another go?
Forum: Fixing WordPress
In reply to: Lightbox 2 doesn’t always workI think I had this same problem.
On the site I was looking at the lightboxed images perform normally on all pages except one, where they appear on their own in the window rather than in a lightbox. Originally they appeared normally, then without any change of theme, wordpress version, or plugin, the lightbox stopped working after a page edit.
When the link is clicked, the page starts to be be darkened as if a lightbox was starting, but then instead of the image appearing in the middle of the page, it flicks over as if an ordinary link had been triggered.
The site I looked at had:
Lightbox 2.92
Wordpress 2.91
Custom theme (but WordPress Default 1.6 did exactly the same)Freesouldesign, no, it’s not a page load issue in this case. You can load the page and leave it for 5 mins before you try the links, and they still won’t work. Different browsers and different machines all show exactly the same behaviour.
I went through the code of the page carefully, and discovered that there was a place where an image had been deleted. The img tag had been removed, but the a href tags around the image were still lurking invisibly in the HTML. I assume that the WYSIWYG editor that the site owner was using did this accidentally when he tried to remove a photo by selecting it and pressing ‘delete’: it didn’t delete all the code.
My guess is that this confused the javascript: it was trying to automagically amend the link to make a lightbox, but the image it was supposed to work on wasn’t there. So, the script simply fell over and refused to lightbox any of the images in the page. (same would happen with posts, I think but as it happens I was working with pages).
Removing the
<a href=""...></a>from the code fixed the problem on the site I was looking at. So if you have this issue, may be worth zapping the images in your post, then go into HTML view on your editor and remove any links that they may have left behind, then re-add the pics.