How to do mysql_num_rows() in Drupal 7

tammikuu 16, 2012

0

Drupal 7 uses it’s own database API, so using simple PHP functions like mysql_num_rows() does not work. Drupal API isn’t very up to date with this, but the earlier db_num_rows() function does not exist anymore, and db_affected_rows() is not good either, because you can’t use it with SELECT queries. Answer is to use method called… [Lue lisää…]

Kategoria(t): Drupal, Tietojenkäsittely

Webasto tulppa ja palopesä vaihtaminen BWM E46 320 d

tammikuu 10, 2012

0

Webastossa hehkutulppa ja palopesä ovat sama osa. Kun Webasto avattiin, uunissa oli niin paljon karstaa että palopesän vaihtaminen huomattiin erittäin hyväksi ideaksi. Huono puoli asiassa on, että osa tulppa-palopesä maksaa 250-260 euroa, vaikka joskus varmaan selviäisi pelkällä tulpan vaihdolla. Tähän autoon Webasto oli asennettu merkkihuoltamolla vuonna 2007 eikä sitä luullakseni oltu avattu neljään vuoteen. Auto… [Lue lisää…]

Kategoria(t): Muut

Roolipeli ilman tarinaa

tammikuu 4, 2012

0

Roolipeli on tarina, jonka peliin osallistuvat pelaajat tekevät itse, itselleen ja toisilleen. Tarina on suurempi kuin siihen osallistuvien henkilöiden yksittäisten tarinoiden summa. Tämä sopii määrittelyksi millaiseen roolipeliin tahansa: tarina voi olla koskettava henkilödraama, se voi olla sankaritarina siitä miten nopat sattuivat kohdalleen ja vastukset voitettiin tai se voi olla eeppinen tulkinta sääntömekanismien luomasta pelimaailman tapahtumista.… [Lue lisää…]

Make use of Imagecache for external files

joulukuu 29, 2011

0

Drupal module Imagecache is so good in doing online image manipulation that it makes sense to use it in web services, also on projects where Drupal is not used. This time I had to work with product images, we are talking about some thousands of JPGs and more to come. There are two systems using… [Lue lisää…]

Christmas Fiasco!

joulukuu 27, 2011

0

At Christmas eve we enjoyed a game of Fiasco! RPG with setting “Savolainen tuppukylä”. It’s about a little, closed village somewhere there on countryside. This is home-made setting but not made by us, credits are for MAK. Thank you kindly! We were five players and after set-up we were ready to present our characters. Terttu, 78,… [Lue lisää…]

Playing PFRPG: difference between in-character thinking and in-character communicating

joulukuu 21, 2011

0

This is an example from real-life game where I participated as a player. GM: At morning, fog gets even thickier than what it was before. You can barely see a small hill with a cutting, 30 metres from here. That was the hill you abandoned last night as a too obvious spot for a camp.… [Lue lisää…]

Ropecon 2011 writing contest

joulukuu 15, 2011

0

I took part in Ropecon writing contest. Theme was left open, but the judges were, hold your breath: Frank Mentzer, The Red Box author; Eric Mona, the Paizo publisher; and James Edward Raggi IV, author of Lamentation of the Flame Princess. What I’m going to discuss here is the feedback I got from the judges.… [Lue lisää…]

Pathfinder RPG equation: play with zero players, one GM

elokuu 30, 2011

0

For a particular playing style, what Pathfinder RPG really is about is a simulation of an imagined world. There are NPC:s controlled by GM and NPC:s controlled by players. Yes, I said NPC:s not PC:s, more on this later. To get to the root of this, all you really need is the GM who is… [Lue lisää…]

Ropecon 2011 Scenario Contest Panel

elokuu 11, 2011

1

This is about writing contest I took part of. Read the first part of the article here. Place was Ropecon 2011, Sunday afternoon, Scenario Contest Panel. The three venerable judges, Frank Mentzer, co-author of the Red Box; Eric Mona, the Paizo Publisher and James Edward Raggi IV, author of Lamentation of the Flame Princess were… [Lue lisää…]

Drupal 7, lämpimästi tervetuloa

elokuu 11, 2011

0

Drupal-sisällönhallintajärjestelmän versio 7.0 julkaistiin tammikuussa 2011. Uuden alustan betaversiosta oli päässyt kokeilemaan jo kesästä 2010. 7 päihittää edeltäjänsä mennen tullen! Drupal on massiivinen ohjelmointialusta, joka moduulirakenteensa ansiosta sopii minkälaisille verkkopalveluille tahansa. Heti alkuun on lyötävä pöytään valtava puute: Drupalissa ei vieläkään ole kunnollista verkkokauppalaajennusta. Ubercart on miltei käyttökelpoinen moduuli, mutta Smilehousen tai Clovershopin helppokäyttöisiä sovelluksia… [Lue lisää…]

Kategoria(t): Drupal
Seuraa

Get every new post delivered to your Inbox.