Objavljen Technorati Rank WordPress dodatak verzija 2!

Vruće za petama prvog Technorati Rank dodatka, redizajnirao sam izlazni sadržaj kako bih ga napravio CSS vođen (ispod je snimak zaslona, ​​možete komunicirati s onim na bočnoj traci moje web lokacije):

Technorati Rank WordPress dodatak verzija 2

Ovaj je bio prilično izazovniji za proizvodnju, ali je izlaz mnogo ljepši. Prvo, iskoristio sam ono na čemu sam učio bitbox za izradu svakog od izlaznih gumba na slici u Illustratoru.

Sljedeći korak bio je korištenje stilova za stvarno stvaranje nekoga od mapa slika osim što zapravo postoji nema mape! Zapravo je prilično cool. Možete postaviti ukupnu div pozadinu, a zatim stvoriti svaku od 'žarišnih točaka' koristeći apsolutno pozicioniranje i CSS. Pogledajte izlazni CSS.

Takođe sam dodao vezu na Technoratijev novi WTF stranicu i RSS adresu web lokacije. Nadam se da voliš ga! Mislim da je to veliko poboljšanje u odnosu na prvu verziju! Postoji i link u donjem desnom uglu koji promovira i dodatak.

Trenutni Technorati Rank WordPress dodatak verzija 2.0.4

23 Komentari

  1. 1
  2. 3

    I tried to install the newest and greatest following your directions to the “letter” 🙂

    but I got the following error

    Fatal error: Cannot instantiate non-existent class: simplexmlelement in /home/winex4/public_html/wp-content/plugins/technorati-rank/technorati-rank.php on line 64

    any suggestions?

    • 4
      • 5
        • 6

          I hope they do! But I also hope your host upgrades. PHP5 really brings some much better performance improvements, as well as some better tools for consuming APIs. I utilize Jumpline, you’ll see a link in my sponsor list on my home page. I also believe Dotster has some good VDS hosting with the latest and greatest.

      • 7

        Doug,
        Imam isti problem
        I called my host and they said my server has PHP 4 and PHP 5, but if i want to run a file using PHP 5, the script has to have .php5 file extension.

        So… I changed the file extensions, and it disappears from the plugins in wordpress.

        Any Ideas?

  3. 10

    Awesome Plugin, Excellent styling! Thanks Doug, and great work. I never even knew about the first one, but this is going in my sidebar pronto.

    It’s REALLY Rewarding to see that my Illustrator tips helped you make your buttons!!!!!

    hvala još jednom,

    ~BittBox

    • 11

      Thank-you, BittBox! I think I’ve got a good eye for style, but I never seem to get it right most of the time. Being able to actually download your samples and dissect them is what makes the difference. I’m able to actually execute on those ideas now. 🙂

      I’m toying with some thoughts on my blog’s header and background next.

  4. 12

    Well, Doug, it seems that the version 2 plugin hates me. I get error messages:

    Warning: fopen(/technorati-rank.html) [function.fopen]: failed to open stream: Permission denied in /..../wp-content/plugins/technorati-rank/technorati-rank.php on line 121
    Warning: fwrite(): supplied argument is not a valid stream resource in /..../wp-content/plugins/technorati-rank/technorati-rank.php on line 122
    Warning: fclose(): supplied argument is not a valid stream resource in /..../wp-content/plugins/technorati-rank/technorati-rank.php on line 123

    Despite the error messages, it also shows my Technorati rank (~26.5k :D). I’m not knowledgeable enough about PHP to know why it’s crying over that one file.
    Interestingly enough, on our server, we use SuPHP, so everything runs as us (so chmod requirements no longer require world-writable files, and php scripts will not execute if chmod’ed too high, for example).

    All php for this subdomain runs as php5.

    Ima li ideja?

    • 13

      Do you have a wp-content/cache directory Xial? I thought it would be a good idea to utilize the same cache directory as WP-Cache. In hindsight, perhaps it was not a good idea! That line is definitely to write to the cache file.

      • 14

        I certainly do, Doug. I’ve been running WP-Cache for quite a while. 🙂

        I was a little curious, too, as to why it’d complain about this, since I do have the necessary directory, but I’m guessing it’s something else altogether.

      • 15

        Interesting bit of info to add:

        $ pwd
        /..../wp-content/cache
        $ ls -l tech*
        -rw-r--r-- 1 meeeeeeee meeeeeeee 1.1K Mar 12 11:47 technorati-rank.html

        It still returns the errors.

    • 16

      Just want to chime in with having the same error. Site runs php5, and the button displays.
      I tried commenting out lines 121-123, and the plug works fine. Can I put it live, or will the lack of those lines cause trouble in the longer run?

  5. 17

    I’m getting the same errors as above, I also thought it was my cache dir but I have one and also made sure write rights were correct.
    In the side bar it will show the plugin (with rank) but with those errors above it.

    • 18

      Hi Richard,

      Can you check to see that you have PHP version 5+ and CURL is enabled? You can do this by building a page on your site with <?php phpinfo(); ?> in a page. Then open that page. The top of the page will have your version of PHP and you can do a search for CURL to ensure it’s enabled.

      Hvala!
      Doug

      • 19

        Well, Doug, I double-checked my PHP version.
        I am running PHP5, and cURL is compiled in (one of my usual three requests to my host, for things to be compiled into PHP).

        Everything else works fine, but I’m not entirely sure why this plugin is choking, unless it’s the version of cURL compiled in to PHP (We’re at 7.15.4, and latest appears to be 7.16.1). However, I don’t want to pester my host to compile php5 again just for that, if I can help it. <:3

        • 20

          I’m going to take a deeper look this weekend. It’s running without any problems on a few sites – so it’s one of 3 things: 1. Cache, 2. cURL or 3. PHP Version.

          I can utilize older PHP 4 functionality to pull and parse the XML but it may slow it down quite a bit – I’m going to test this weekend. I appreciate all the input. “Houston, we have a problem!”.

  6. 21

    Just a note: Technorati has launched an vlast Dodatak.

    Also – for all of those who are having problems with this plugin, I’d really encourage you to move to a new host :). I’ve got a 12 month free special with my host at the bottom of my Oko stranici.

  7. 22
  8. 23

    I’ve received quite a few requests that there have been errors writing or reading from the cache file. I actually identified an issue where I was pushing and pulling the cache file to the root directory. I’ve modified version 2.0.4 so that it writes to a cache subdirectory within the plugin’s directory.

    Please let me know how it runs! (Still needs SimpleXML and cURL!)

Šta ti misliš?

Ova stranica koristi Akismet kako bi smanjila neželjenu poštu. Saznajte kako se podaci vašeg komentara obrađuju.