Title: Compete widget
Author: sk33t
Published: <strong>Март 26, 2008-ж.</strong>
Last modified: Январь 6, 2009-ж.

---

Плагиндерди издөө

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/compete-widget.svg)

# Compete widget

 Автору [sk33t](https://profiles.wordpress.org/sk33t/)

[Жүктөө](https://downloads.wordpress.org/plugin/compete-widget.zip)

 * [Кенен маалымат](https://kir.wordpress.org/plugins/compete-widget/#description)
 * [Сын-пикирлер](https://kir.wordpress.org/plugins/compete-widget/#reviews)
 *  [Орнотуу](https://kir.wordpress.org/plugins/compete-widget/#installation)
 * [Development](https://kir.wordpress.org/plugins/compete-widget/#developers)

 [Колдоо](https://wordpress.org/support/plugin/compete-widget/)

## Сүрөттөө

#### Requirements

 * WordPress 2.2 or 2.0.x/2.1.x with WordPress Widgets
 * PHP 4.3.0 or greater (needed for function file_get_contents)
 * [API Key from Compete.com](http://developer.compete.com/) (You can use the one
   supplied, but that is limited to 1000 requests a day)

#### Features

 * Displays data about your site or any site you choose
 * Edit nearly all aspects of it via widget admin
 * Caching for large traffic sites

### Formatting

You can edit ‘Widget Formatting’ to change how the info is displayed. To access 
the variables, use this formatting:

 * %rank% – Rank of the site
 * %icon% – The icon relating to your traffic rank (large or small depending on 
   options)
 * %count% – People count
 * %host% – Hostname used in lookup
 * %link% – Link to the compete page for the host
 * %compete% – The compete link – Compete.com

The default formatting is:

<span style=”float:right;”><img src=”%icon%” alt=”%rank%” /></span>
 <a href=”%link%”
>%host%</a><br />

Ranking: %rank%<br />
 People: %count%<br /> %compete%

## Скриншоттор

[⌊Default Display⌉⌊Default Display⌉[

Default Display

[⌊Admin Panel⌉⌊Admin Panel⌉[

Admin Panel

## Орнотуу

 1. Download compete-widget.zip
 2. Extract and upload compete.php to the plugins/ directory
 3. Enable Compete Rankings in the Plugin admin panel
 4. In widget admin panel, place Compete in the sidebar, and edit it to enter your 
    API key (optional)

## FAQ.KG

  Nothing shows up when I try it or I get an error that file_get_contents doesn’t
exist

This script relies on the function file_get_contents to fetch the RSS feed. If your
host doesn’t allow the use of it, but allows the use of curl, you can replace

    ```
    $stories = file_get_contents($uri);
    ```

with

    ```
    $ch = curl_init();
    $timeout = 5; // set to zero for no timeout
    curl_setopt ($ch, CURLOPT_URL, $uri);
    curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
    $stories = curl_exec($ch);
    curl_close($ch);
    ```

  What does cache time mean?

It’s the number of seconds before the content will be requested again. You can set
this to be 0 or -1 to not use the caching system. If you edit any of the widgets
in the widget admin panel, the cache is cleared.

## Сын-пикирлер

There are no reviews for this plugin.

## Contributors & Developers

“Compete widget” is open source software. The following people have contributed 
to this plugin.

Мүчөлөрү

 *   [ sk33t ](https://profiles.wordpress.org/sk33t/)

[Translate “Compete widget” into your language.](https://translate.wordpress.org/projects/wp-plugins/compete-widget)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/compete-widget/), check
out the [SVN repository](https://plugins.svn.wordpress.org/compete-widget/), or 
subscribe to the [development log](https://plugins.trac.wordpress.org/log/compete-widget/)
by [RSS](https://plugins.trac.wordpress.org/log/compete-widget/?limit=100&mode=stop_on_copy&format=rss).

## Мета

 *  Нуска **1.3**
 *  Акыркы жаңыртуу **18 жыл мурун**
 *  Активдүү орнотуулар **10+**
 *  WordPress нускасы ** 2.0.2 же андан жогору **
 *  Tested up to **2.7**
 *  Тил
 * [English (US)](https://wordpress.org/plugins/compete-widget/)
 * Тег:
 * [statistics](https://kir.wordpress.org/plugins/tags/statistics/)[stats](https://kir.wordpress.org/plugins/tags/stats/)
   [widget](https://kir.wordpress.org/plugins/tags/widget/)
 *  [Advanced View](https://kir.wordpress.org/plugins/compete-widget/advanced/)

## Рейтинг

Азырынча эч кандай сын-пикир жок.

[Your review](https://wordpress.org/support/plugin/compete-widget/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/compete-widget/reviews/)

## Мүчөлөрү

 *   [ sk33t ](https://profiles.wordpress.org/sk33t/)

## Колдоо

Комментарийлер барбы? Жардам керекпи?

 [Колдоо форумун көрүү](https://wordpress.org/support/plugin/compete-widget/)

## Кайрымдуулук

Would you like to support the advancement of this plugin?

 [ Кайрымдуулук кылуу ](http://ja.meswilson.com)