Next-Prev Toolbar

Post plugins and custom CSS snippets here
User avatar
sleeper_service
Bear Rating Overlord
Bear Rating Overlord
Posts: 884
Joined: 30 Mar 2013, 23:50
Location: Dallas, Texas

Re: Next-Prev Toolbar

Postby sleeper_service » 20 Apr 2013, 23:46

Larrypoppins wrote:Thanks!

This is weird but when I dropped your folder into plugins (via ftp), it doesn't show up in my tt-rrss plugins list (yes, I did a forced refresh of Chrome mac). And when I added your folder without first disabling the regular next-prev toolbar my plugin list is completely blank. Any idea why?


check this: viewtopic.php?f=1&t=1859

deckyon
Bear Rating Trainee
Bear Rating Trainee
Posts: 42
Joined: 10 Apr 2013, 00:40
Location: Louisville, KY - USA
Contact:

Re: Next-Prev Toolbar

Postby deckyon » 21 Apr 2013, 16:46

Larrypoppins wrote:Thanks!

This is weird but when I dropped your folder into plugins (via ftp), it doesn't show up in my tt-rrss plugins list (yes, I did a forced refresh of Chrome mac). And when I added your folder without first disabling the regular next-prev toolbar my plugin list is completely blank. Any idea why?


Having the same issue as well - across FF, Chrome, Safari and IE.

User avatar
erikbennett
Bear Rating Trainee
Bear Rating Trainee
Posts: 20
Joined: 17 Mar 2013, 03:08
Location: Seattle, WA

Re: Next-Prev Toolbar

Postby erikbennett » 14 May 2013, 02:39

Just a quick blurb... I had to add

Code: Select all

function api_version() {
      return 2;
   }

to init.php for this to work, as per the previous commenter (with the link to fox's post).

Larrypoppins
Bear Rating Trainee
Bear Rating Trainee
Posts: 26
Joined: 13 Apr 2013, 08:55

Re: Next-Prev Toolbar

Postby Larrypoppins » 14 May 2013, 06:49

It'd be awesome if someone could post the entire php.ini of the plugin. I'm having trouble getting it to work (ie. show up in my plugins list in 1.7.9). :oops:

User avatar
id242
Bear Rating Trainee
Bear Rating Trainee
Posts: 16
Joined: 25 Mar 2013, 14:04
Location: Los Angeles, CA
Contact:

Re: Next-Prev Toolbar

Postby id242 » 14 May 2013, 07:45

Larry...

Code: Select all

<?php
class article_toolbar extends Plugin {

   private $host;

   function about() {
      return array(1.1,
         "Toolbar for easy access to feed functions",
         "idoxlr8", false);
   }

   function init($host) {
      $this->host = $host;

      $host->add_hook($host::HOOK_TOOLBAR_BUTTON, $this);
   }

   function get_js() {
      return file_get_contents(dirname(__FILE__) . "/toolbar.js");
   }

   function HOOK_TOOLBAR_BUTTON() {
      require_once dirname(__FILE__) . "/toolbar_body.php";
   }

    function api_version() {
          return 2;
    }
}
?>

Larrypoppins
Bear Rating Trainee
Bear Rating Trainee
Posts: 26
Joined: 13 Apr 2013, 08:55

Re: Next-Prev Toolbar

Postby Larrypoppins » 14 May 2013, 10:11

Thanks!

Still effed up, though. the reg toolbar works, but no dice on grauer. Probably something simple.

deckyon
Bear Rating Trainee
Bear Rating Trainee
Posts: 42
Joined: 10 Apr 2013, 00:40
Location: Louisville, KY - USA
Contact:

Re: Next-Prev Toolbar

Postby deckyon » 14 May 2013, 18:58

Get the new Grauer skin that was just put up. Everything works beautifully. I am probably going to customize the buttons to be a little larger for use on my iPad, but the combo is awesome for tablets.

User avatar
idoxlr8
Bear Rating Trainee
Bear Rating Trainee
Posts: 46
Joined: 25 Mar 2013, 20:04
Location: Texas, USA
Contact:

Re: Next-Prev Toolbar

Postby idoxlr8 » 16 May 2013, 20:40

Been away for a bit.
Code has been updated and now working properly
article_toolbar.zip
(35.38 KiB) Downloaded 354 times

article_toolbar_small.zip
(15.56 KiB) Downloaded 440 times

ydzoggn
Bear Rating Trainee
Bear Rating Trainee
Posts: 7
Joined: 26 Jun 2013, 20:57

Re: Next-Prev Toolbar

Postby ydzoggn » 28 Jun 2013, 18:48

deleted


Return to “Themes and plugins”

Who is online

Users browsing this forum: No registered users and 2 guests