function PouetBoxIndexTopAlltime() {
    parent::__construct();
    $this->uniqueID = "pouetbox_topalltime";
    $this->title = "all-time top";

    $this->limit = 10;
  }
  function PouetBoxIndexTopMonth() {
    parent::__construct();
    $this->uniqueID = "pouetbox_topmonth";
    $this->title = "top of the month";

    $this->limit = 10;
  }
Beispiel #3
0
 function PouetBoxIndexStats() {
   parent::__construct();
   $this->uniqueID = "pouetbox_stats";
   $this->title = "some stats";
   $this->fields = array("prods", "groups", "parties", "boards", "users", "comments");
   $this->links = array("prodlist.php", "groups.php", "parties.php", "boards.php", "userlist.php", "comments.php");
 }
  function PouetBoxIndexLatestParties() {
    parent::__construct();
    $this->uniqueID = "pouetbox_latestparties";
    $this->title = "latest parties";

    $this->limit = 5;
  }
  function PouetBoxIndexLatestAdded() {
    parent::__construct();
    $this->uniqueID = "pouetbox_latestadded";
    $this->title = "latest added prods";

    $this->limit = 10;
  }
  function PouetBoxIndexLatestOneliner() {
    parent::__construct();
    $this->uniqueID = "pouetbox_latestoneliner";
    $this->title = "the so famous pouët.net oneliner";

    $this->limit = 5;
    $this->showTimestamps = false;  
  }
  function PouetBoxIndexLatestBBS() {
    parent::__construct();
    $this->uniqueID = "pouetbox_latestbbs";
    $this->title = "the oldskool pouët.net bbs";
    $this->cacheTime = 60;

    $this->limit = 10;
    $this->hideResidue = true;
  }
  function PouetBoxIndexLatestComments() {
    parent::__construct();
    $this->uniqueID = "pouetbox_latestcomments";
    $this->title = "latest comments added";

    $this->limit = 5;
    $this->showUser = true;
    $this->showVote = false;
  }
  function PouetBoxIndexFeedPoundsOff() 
  {
    parent::__construct();
    $this->uniqueID = "pouetbox_feedpoundsoff";
    $this->title = "pounds-off !";

    $this->cacheTime = 60*60;

    $this->limit = 5;
  }
Beispiel #10
0
  function PouetBoxIndexNewsBoxes()
  {
    parent::__construct();

    $this->title = "news!";
    
    $this->cacheTime = 60*15;

    $this->uniqueID = "pouetbox_news";
    $this->rss = new lastRSS(array(
      "cacheTime" => 5 * 60, // in seconds
      "dateFormat" => "Y-m-d",
      "stripHtml" => false,
    ));

    $this->limit = 5;
  }
  function PouetBoxIndexUpcomingParties() {
    parent::__construct();
    $this->uniqueID = "pouetbox_upcomingparties";
    $this->title = "upcoming parties";

    $this->rss = new lastRSS(array(
      "cacheTime" => 5 * 60, // in seconds
      "dateFormat" => "Y-m-d",
      "stripHtml" => false,
    ));
    $this->rss->setItemTags(array(
      "link",
      "demopartynet:title",
      "demopartynet:startDate",
      "demopartynet:endDate",
    ));
    
    $this->limit = 5;
  }
  function PouetBoxIndexFeedPouetTwitter() 
  {
    parent::__construct();
    $this->uniqueID = "pouetbox_feedpouettwitter";
    $this->title = "twitter @pouetdotnet";

    $this->cacheTime = 60*60;

    $this->rss = new lastRSS(array(
      "cacheTime" => 5 * 60, // in seconds
      "dateFormat" => "Y-m-d",
      "stripHtml" => false,
    ));
    $this->rss->setItemTags(array(
      "link",
      "description",
    ));
    
    $this->limit = 5;
  }
  function PouetBoxIndexFeedWanted() 
  {
    parent::__construct();
    $this->uniqueID = "pouetbox_feedwanted";
    $this->title = "wanted !";

    $this->cacheTime = 60*60;

    $this->rss = new lastRSS(array(
      "cacheTime" => 5 * 60, // in seconds
      "dateFormat" => "Y-m-d",
      "stripHtml" => false,
    ));
    $this->rss->setItemTags(array(
      "link",
      "title",
      "wanted:demand",
      "wanted:area",
    ));
    
    $this->limit = 5;
  }
 function PouetBoxIndexSearchBox() {
   parent::__construct();
   $this->uniqueID = "pouetbox_search";
   $this->title = "search box";
 }
Beispiel #15
0
 function PouetBoxIndexCDC() {
   parent::__construct();
   $this->uniqueID = "pouetbox_cdc";
   $this->title = "coup de coeur";
 }
 function PouetBoxIndexAffilButton() {
   parent::__construct();
   $this->uniqueID = "pouetbox_affilbutton";
   $this->title = "affiliate buttons";
 }