Code Monkey home page Code Monkey logo

wp-oer's People

Contributors

bmccarthynn avatar hathawayjess avatar joehobson avatar johnpaulbalagolan avatar josepheneldas avatar navnorth-deploy avatar tomozaidem avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wp-oer's Issues

Resources archive

I was trying to use this plugin and when I click on View all resources link, I get a white screen.
The url I get is for the archive page is 'mysite.com/resource/'

I disabled all the other plugins, but the problem still remains.

since getScreenshotFile function

there are currently two functions for getScreenshotFile - one in init.php and another in resource-importer.php. Obviously not best practice, so please consolidate them to one core function.

Having issues getting plugin to work.

There isn't much documentation I can find on how to implement this plugin. It seems to not be playing nicely with any caching plugins, including WP super cache which is the most widely used cache plugin on wordpress. I also can't figure out how to use SiteOrigin Page builder within the resource posts. Any help or pointing to any official documentation would be awesome.

add a static variable for $version - display it on settings

I'd like to try out a new method for tracking and displaying the plugin version number. It's mainly needed on other OET plugins where we can't directly see the version number on the main WP Admin Plugins page, but need to know what version of our plugin is deployed. Could be helpful here as well.

I noticed how the Boonstra Slideshow plugin did it with this commit (bottom of the page):
Boonstra/Slideshow@783328d

That way we update it on the main script at the top in comments and in the variable, and then it's the same throughout the plugin.

Then add a footer to the Settings page displaying the plugin name and version and a link to more info - http://navigationnorth.com/wordpress/oer-management

move readme.txt into ReadMe.md

merge the readme.txt text into README.md so we have just one file

outline any additional steps for setting up the plugin based on your testing

check for XSS vulnerabilities

this should be a fairly simple check since there aren't really any places where user input is displayed on the screen (other than basic WP search), but it would be good to learn what to look out for and ways to test for vulnerabilities.

stop using timthumb for image resize

The plugin currently uses timthumb for image resizing on the single-resource and resource-category pages. We need to remove that and just use WordPress's functions for image resizing. TimThumb has too many security issues and doesn't do caching as well as other options.

(Adding a separate issue on the FREE theme to cover use of timthumb there)

debug mode

Add a global debug mode, with a checkbox in the Settings page, similar to how we did it with the OII content-mirror plugin. Then put some debug on the screenshot feature so we can see what's going on there. I removed the comments on the xvfb portion on the test server (see #17) but it's still not getting screenshots correctly. Need better debug so we know what's going on.

It would also be helpful to add some debug on standards, category, and resource imports if those fail.

add imagick to install if necessary

I was trying to figure out why this resource has a featured image when I edit it, but doesn't display it on the resource page. Looks like it might have something to do with the use of image_editor, which fails quietly. I installed imagick on the wp-test server (http://php.net/manual/en/imagick.setup.php) and then tried again but still ran into some issues. I don't know that the file URL is getting parsed properly.

To fix this, please add debug log to the use of image_editor, logging if that template is unable to resize the image.

Then test whether we should explicitly require install of imagick and add to the ReadMe if necessary with install instructions. My guess is that we do. You can uninstall imagick on the test server and run with debug to see if it's necessary, then reinstall.

And of course if the image display isn't working due to other issues, get those resolved as well.

ability to turn off Screenshot as a configurable option

Add a setting for “Enable Screenshots” with default to “off” so that the plugin does not try to take web screenshots when the server is not capable. Currently when your server can't handle the feature the code will stall while adding a new resource as it tries to get a screenshot. Just trying to avoid that for now.

Better search of resource data

Would be nice if we could find resources by domain, author/publisher, etc, while continuing to use the default WP search functions. I don't know what it takes to make metadata for custom post types indexed, but we need to figure it out, for this plugin and other projects.

Date import and display

Date’s do not seem to be displaying correctly, or maybe are not imported correctly from the spreadsheet. Should be displayed as MM/DD/YYYY

Would also be nice if there was some data validation when adding/editing/importing resources. For now, if the data submitted is not a date, leave it null on the resource.

xvfb usage as a setting

I found the problem with screenshots on our test server... xvfb is commented out in resources-importer.php (and init, but i covered that in #16). Please add an option in the Settings for "use xvfb" and only include these params in the array if it's on...

'xvfb-run',
'--auto-servernum',
'--server-num=1',

make sense? I know I have to turn it off when i'm developing and turn it on for the server, probably due to the Mac vs Ubuntu environment change

You could also separate the Settings page so that the screenshot settings are grouped in a fieldset separate from the other settings.

test with WordPress 4.2

I heard reports from another developer that the latest WP update changes the way it handles taxonomies, likely breaking this plugin and maybe some others we have. Please test it on WP 4.2 and report back any issues or workarounds.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.