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

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

    $this->limit = 10;
  }
예제 #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;
  }
예제 #5
0
  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;  
  }
예제 #7
0
  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;
  }
예제 #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;
  }
예제 #13
0
  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;
  }
예제 #14
0
 function PouetBoxIndexSearchBox() {
   parent::__construct();
   $this->uniqueID = "pouetbox_search";
   $this->title = "search box";
 }
예제 #15
0
 function PouetBoxIndexCDC() {
   parent::__construct();
   $this->uniqueID = "pouetbox_cdc";
   $this->title = "coup de coeur";
 }
예제 #16
0
 function PouetBoxIndexAffilButton() {
   parent::__construct();
   $this->uniqueID = "pouetbox_affilbutton";
   $this->title = "affiliate buttons";
 }