Title: Compete widget
Author: sk33t
Published: <strong>Ẹrẹ́nà 26, 2008</strong>
Last modified: Ṣẹrẹ 6, 2009

---

Ṣàwárí àwọn plugin

Plugin yìí **kò tíì ṣe àyẹ̀wò pẹ̀lú àwọn ìtújáde mẹ́ta pàtàkì tó kẹ́yìn ti WordPress**.
Ó lè jẹ́ pé a kò tọ́jú tàbí ṣe àtìlẹ́yìn fún un mọ́, ó sì lè ní àwọn ọ̀ràn ìbámu
nígbà tí a bá lò ó pẹ̀lú àwọn ẹ̀yà WordPress tuntun.

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

# Compete widget

 Láti ọwọ́ [sk33t](https://profiles.wordpress.org/sk33t/)

[Ṣe ìgbàsílẹ̀](https://downloads.wordpress.org/plugin/compete-widget.zip)

 * [Àwọn àlàyé](https://yor.wordpress.org/plugins/compete-widget/#description)
 * [Àwọn àgbéyẹ̀wò](https://yor.wordpress.org/plugins/compete-widget/#reviews)
 *  [Ìgbéwọlẹ̀](https://yor.wordpress.org/plugins/compete-widget/#installation)
 * [Ìdàgbàsókè](https://yor.wordpress.org/plugins/compete-widget/#developers)

 [Ìrànlọ́wọ́](https://wordpress.org/support/plugin/compete-widget/)

## Àpèjúwe

#### 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% Ìtumọ̀ Yorùbá: – Rank of the site
 * %icon% Ìtumọ̀ Yorùbá: – The icon relating to your traffic rank (large or small
   depending on options)
 * %count% Ìtumọ̀ Yorùbá: – People count
 * %host% Ìtumọ̀ Yorùbá: – Hostname used in lookup
 * %link% Ìtumọ̀ Yorùbá: – Link to the compete page for the host
 * %compete% Ìtumọ̀ Yorùbá: – The compete link Ìtumọ̀ Yorùbá: – 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%

## Àwọn àwòrán ìbòjú

[⌊Default Display⌉⌊Default Display⌉[

Default Display

[⌊Admin Panel⌉⌊Admin Panel⌉[

Admin Panel

## Ìgbéwọlẹ̀

 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

  Nothing shows up when I try it or I get an error that file_get_contents doesnÌtumọ̀
Yorùbá: ’t exist

This script relies on the function file_get_contents to fetch the RSS feed. If your
host doesnÌtumọ̀ Yorùbá: ’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Ìtumọ̀ Yorùbá: ’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.

## Àwọn àgbéyẹ̀wò

Kò sí àwọn àgbéyẹ̀wò fún plugin yìí.

## Àwọn Olùkópa & Olùgbéejáde

“Compete widget” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe ìkópa
sí plugin yìí.

Àwọn Olùkópa

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

[Túmọ̀ “Compete widget” sí èdè rẹ.](https://translate.wordpress.org/projects/wp-plugins/compete-widget)

### Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?

[Ṣàwárí koodu](https://plugins.trac.wordpress.org/browser/compete-widget/), ṣàyẹ̀wò
[ibi ìpamọ́ SVN](https://plugins.svn.wordpress.org/compete-widget/), tàbí ṣe àgbékalẹ̀
sí [àkọsílẹ̀ ìdàgbàsókè](https://plugins.trac.wordpress.org/log/compete-widget/)
nípasẹ̀ [RSS](https://plugins.trac.wordpress.org/log/compete-widget/?limit=100&mode=stop_on_copy&format=rss).

## Àkójọpọ̀ Meta

 *  Ẹ̀yà **1.3**
 *  Ìgbàgbọ́hùn tó kẹ́yìn **ọdún 18 sẹ́yìn**
 *  Àwọn ìgbéwọlẹ̀ tó ṣiṣẹ́ **10+**
 *  Ẹ̀yà WordPress ** 2.0.2 tàbí ju bẹ́ẹ̀ lọ **
 *  Dánwò dé **2.7**
 *  Èdè
 * [English (US)](https://wordpress.org/plugins/compete-widget/)
 * Àwọn àmì
 * [statistics](https://yor.wordpress.org/plugins/tags/statistics/)[stats](https://yor.wordpress.org/plugins/tags/stats/)
   [widget](https://yor.wordpress.org/plugins/tags/widget/)
 *  [Ìwòye Tó Péye](https://yor.wordpress.org/plugins/compete-widget/advanced/)

## Àwọn ìbò

Kò sí ìwádìí tí a tíì fi ránṣẹ́.

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

[Wo gbogbo àwọn àgbéyẹ̀wò](https://wordpress.org/support/plugin/compete-widget/reviews/)

## Àwọn Olùkópa

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

## Ìrànlọ́wọ́

Nǹkan wà tí o fẹ́ sọ? Ṣé o nílò ìrànlọ́wọ́?

 [Wo àpéjọ ìrànlọ́wọ́](https://wordpress.org/support/plugin/compete-widget/)

## Ṣe ìtọrẹ

Ṣé o fẹ́ ṣe àtìlẹ́yìn fún ìlọsíwájú plugin yìí?

 [ Ṣe ìtọrẹ sí plugin yìí ](http://ja.meswilson.com)