smartredfox
Forum Replies Created
-
Forum: Plugins
In reply to: [Pretty file list] Doesn't workHello Grant,
What goes wrong, do you get any error messages etc? Can you post up a url to your page so I can see what’s happening?
Thanks,
JamesForum: Plugins
In reply to: [Simple Paginated Posts] Match by heading not shortcodeHello,
Me again. I’ve spotted and fixed a bug where it looks like the auto/manual option wasn’t saving on the settings page.
When the settings page saves it overwrites the tla_spp_options setting in the database that holds the version number. This means that the version number always shows as 0 after save, which then makes the version check code fire and update the auto/manual as auto again!
Adding the version number in as a hidden field fixes this (added in /includes/class-spp-admin.php on line 145):
echo "<input type='hidden' name='tla_spp_options[version]' value='" . $options['version'] . "'>";
Thanks again,
JamesForum: Plugins
In reply to: [Pretty file list] Pretty File List plugin not working in WP 3.5?No worries. Apologies for the delay in getting back to you – This support forum didn’t notify me of new posts for some reason.
Thanks,
JAmesForum: Plugins
In reply to: [Pretty file list] Pretty File List plugin not working in WP 3.5?Hello,
What’s not working for you? Does it not show at all etc…
Thanks,
JamesForum: Plugins
In reply to: [Pretty file links] [Plugin: Pretty file links] Preloader???Hello Ben,
Sorry, I need a bit more detail from you… What do you mean by preloader?
Do you already have the file opening with FancyBox, and just want a loading icon to show until the pdf is ready to go? or do you want the file to be ready the instant the link is clicked?
Thanks,
JamesForum: Plugins
In reply to: [Embed Login] [Plugin: Embed Login] Causes Fatal ErrorSame as above. Stops access to admin – you have to delete the plugin to get back in.
James
Thanks Matt.
I think I can see what’s happening. The doc option in the filter matches for both docx and doc files as they are styled and filtered the same. Because of this docx in the shortcode isn’t recognised at all.
I should probably add a catch so that if someone add docx into the shortcode manually the system treats it the same as doc files.
Does this make sense?
James
Hello Matt,
Pretty File List actually picks up the file type from the WordPress Mime type not the file extension, and I have added mime types for docx and xslx files in already. So this should have worked.
Can you take a look at one of the files that wasn’t working and tell me what WordPress lists as the filetype (you can see this in the media library or gallery tab on the media uploader).
Thanks,
JamesForum: Plugins
In reply to: [Pretty file links] [Plugin: Pretty file links] Links WindowHello Leodev,
You can make a links open in a new window by adding
newwindow=”true”
to the shortcode.E.g. [prettyfilelink src=”https://www.example.com/thefile.pdf” type=”pdf” newwindow=”true”]Open the pdf[/prettyfilelink]
Thanks,
JamesForum: Plugins
In reply to: [Pretty file list] [Plugin: Pretty file list] Sorting File ListHello Frederik,
Thanks for using the plugin, and I’m glad you like it.
Currently there is no sorting option in the free version of the plugin (I’m working on a more fully featured pro version), but I will try to filter this down into the free version as soon as the Pro version is complete.
Thanks again,
JamesForum: Plugins
In reply to: [Pretty file links] [Plugin: Pretty file links] No fully inline style ?Hello Li-An,
That was a style I was using on my own site. I didn’t think anyone would really be interested in it. Obviously, I was wrong. I’ll add it back in to the plugin in the next update. For now you can download it here:
Forum: Plugins
In reply to: [Pretty file links] [Plugin: Pretty file links] Broken or nothing to see ?I’m glad it works. Thanks for letting me know about the problem.
Forum: Plugins
In reply to: [Pretty file links] [Plugin: Pretty file links] Broken or nothing to see ?I’ve spotted the problem and released an update to the plugin (v0.6) that should get it working for you. Please give it a go and let me know if you still have problems.
Thanks,
JamesForum: Plugins
In reply to: [Pretty file links] [Plugin: Pretty file links] Broken or nothing to see ?Hello Li-An,
You should see an extra option on the media uploader labelled “make pretty link”. There should also be 3 stylesheets to choose from in the dropdown list in the settings page. Are you not seeing these?
Thanks,
JamesHello Marko,
This isn’t something that my plugin is doing – it’s a WordPress thing.
When I look at the links on my sites I see:
/wp-content/plugins/pretty-file-links//styles/prettylinks.css?ver=3.3.1The current WP version number is appended – this shouldn’t change on each page load so the files should be cached ok. I did find this site that shows you how to remove the version for all js and css files if you want to:
If your problem is different to this let me know what your site url is and I’ll take a look.
Thanks,
James