Giter Site home page Giter Site logo

Comments (8)

 avatar commented on July 1, 2024

It actually screws up the View Details.. for all other plugins.

Also - when you add more than one plugin to a site using the updater - only one appears in the Updates tab although the numeric counter on the Updates tab says "2".

from automatic-theme-plugin-update.

mommaroodles avatar mommaroodles commented on July 1, 2024

I have mine working perfectly for multiple plugins and on a multisite too - you must be doing something wrong

from automatic-theme-plugin-update.

jeremyclark13 avatar jeremyclark13 commented on July 1, 2024

If you still have the testing code uncommented at the top of the update
code this will happen. Once its commented back out the plugin screens
should go back to normal.

--Jeremy Clark
Clark Tech Services
http://clark-technet.com
On Feb 18, 2013 8:26 AM, "Melanie Shepherd" [email protected]
wrote:

I have mine working perfectly for multiple plugins and on a multisite too

  • you must be doing something wrong


Reply to this email directly or view it on GitHubhttps://github.com//issues/20#issuecomment-13721744.

from automatic-theme-plugin-update.

 avatar commented on July 1, 2024

Thanks for the replies guys.

I created an empty plugin to test this but I just can't get it to show the info or download the new file.

I did re-comment out that testing code Jeremy but it didn't do anything.

Here's the plugin code:
http://pastebin.com/ik2mh64M

and here's the package details:
http://pastebin.com/cUBkQWF8

I have the updater under the /api/ root folder of the remote site

Thanks,
Wil.

from automatic-theme-plugin-update.

mommaroodles avatar mommaroodles commented on July 1, 2024

in your packages.php file - i think you should have the following line:

'package' => 'http://www.limecanvas.com/download.php?key=' . md5('lime-canvas-support-plugin-v1.1.zip' . mktime(0,0,0,date("m"),date("d"),date("Y"))),

AS

'package' => 'http://www.limecanvas.com/api/download.php?key=' . md5('lime-canvas-support-plugin-v1.1.zip' . mktime(0,0,0,date("m"),date("d"),date("Y"))),

your download.php and packages.php + the update folder to add the zip files in - or whatever you've called it should be in the api folder.

from automatic-theme-plugin-update.

 avatar commented on July 1, 2024

Thanks @mommaroodles- I'll make that change

from automatic-theme-plugin-update.

turtlepod avatar turtlepod commented on July 1, 2024

just try to add underscore in all section id:
other notes to other_notes

from automatic-theme-plugin-update.

 avatar commented on July 1, 2024

Found the issue - I was wrongly applying the filter
add_filter('plugins_api', array( &$this, 'lcsup_plugin_api_call', 10, 3 ) );
Should have been
add_filter('plugins_api', array( &$this, 'lcsup_plugin_api_call'), 10, 3 );

All working now.

Thanks for both of your help.

Awesome code!

from automatic-theme-plugin-update.

Related Issues (20)

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.