Much needed fun with queries

Funny thing while creating a feature for Breeze, I accidentally built a query to delete the entire member row rather than just an specific column LOL  now I have to register again since the account I deleted happens to be the admin account :D

While I'm creating the account, I realize I had set up the captcha to a very high level, this is completely useless since I'm in a local server, no one will ever register.

Anyway, the feature worked pretty well LOL it did what it was suppose to do, not its fault I coded a wrong query :D

Good to know me testing all features before committing actually works.

Espero

Espero curarme de ti en unos días. Debo dejar de fumarte, de beberte, de pensarte. Es posible. Siguiendo las prescripciones de la moral en turno. Me receto tiempo, abstinencia, soledad.

 ¿Te parece bien que te quiera nada más una semana? No es mucho, ni es poco, es bastante. En una semana se puede reunir todas las palabras de amor que se han pronunciado sobre la tierra y se les puede prender fuego. Te voy a calentar con esa hoguera del amor quemado. Y también el silencio. Porque las mejores palabras del amor están entre dos gentes que no se dicen nada.

 Hay que quemar también ese otro lenguaje lateral y subversivo del que ama. (Tú sabes cómo te digo que te quiero cuando digo: «qué calor hace», «dame agua», «¿sabes manejar?», «se hizo de noche»... Entre las gentes, a un lado de tus gentes y las mías, te he dicho «ya es tarde», y tú sabías que decía «te quiero»).

 Una semana más para reunir todo el amor del tiempo. Para dártelo. Para que hagas con él lo que quieras: guardarlo, acariciarlo, tirarlo a la basura. No sirve, es cierto. Sólo quiero una semana para entender las cosas. Porque esto es muy parecido a estar saliendo de un manicomio para entrar a un panteón.

OharaYTEmbed mod updated

Yeah yeah, another mod updated, this one caused a lot of heat because I forgot to add an "&" and because youtube changes urls faster than they change their socks...

Anyway, the only real bug was the one where the smilies were not parsed after a video, it has to do more with how SMF treats parsed content, I won't mess with parse_bbc()  so I just changed the structure of the tag and that did the trick.

Ugh, I gotta finish the modsite so I can stop putting direct links for the bots to rejoice...

http://missallsunday.com/modsite/sa.single/mid.4/

FAQ mod updated

I highly doubt someone bothers enough to go here looking for any mod updates, that means I need to edit its page on SMF.org modsite, nevertheless, it is my duty to inform that there is a new version of it so complainers can't get a reason to complain about. Not my fault they don't bother to search.

It is a completely re-coded version, with cleaner, better code, the old one was fugly. This one at least has some kind of organization, I still call 2 files on every request and I broke the MVC pattern several times but who cares.

It doesn't have that many new features, only the search feature, which is a simple LIKE %term% query  and the permissions separation, now there is a unique permission for add,edit,delete,view and search.

It uses a model I've been using recently where the controller is nothing more than a set of lose functions and the model is a class, this class gets instantiated and passed to every function in the controller, a somehow bizarre implementation of Dependency Injection, not the best method but works OK for all my SMF needs.

Code is on github as always or heres a direct link for the lazy ones and for my beloved bots a perfect chance to eat up my Band Width: http://missallsunday.com/modsite/sa.single/mid.3/

No support/spoon-feed, at least not coming from me, bugs will be fixed if the users bothers enough to report them on github.

Update

Meh, I need to post something here so the rants can finally be pushed aside.

What have I been doing lately? well, RL is pretty much the same, work, traffic, house, sleep and repeat.  I'm now half way through my mortgage, this means 5~10 more years and I would have my own house :)

The roof garden is still there, as a side project, It requires lots and lots of money so I'm putting it off for the moment, I mean, the roof isn't going anywhere :P

Hiking has been an awesome distract from both RL and the interwebs dramas.

As for the interwebz, well, I haven't done much, mostly paid jobs that keeps me busy and away from drama LOL.

Breeze is still there, I commit bits of code to it every now and then, at this point I don't know if it can be considered Vaporware now, I mean, 3 years and no release and no definitely cancel either. True is, I don't care.

For the rest, I've been committing code to FAQ mod, that mod was my first "big" mod and I always felt bad because of how badly written it was.  I developed an small framework (well, not a framework per se, just a set of functions for handling CRUD inside SMF, its just some files with generic code base that can be used for similar mods) for a custom paid job and I decided to apply that to the faq mod since it was in essence the exact same thing, the commits I'm doing are just to fit the functions to a FAQ system and of course to fix the annoying bugz that always come alone with writing big chunks of code without testing it.

The more I take a look at the outside (outside from the SMF bubble) the more I realize what an immense world it is, I mean, the PHP world for itself is truly huge, vast and rich on ideas.

Although it is not the same feeling I got back when I made my first steps on PHP via SMF, back then it was all new and I don't know why exactly I started to go that route. This time is different, theres a constant need in me to go forward, to not be stagnant on the same place, doing the same things under the same atmosphere, going nowhere.

While I'm not strictly interested on any other type of application, that does not mean I cannot learn from the inners of said app, who knows maybe in the future I will find an another app where I can share back something of what I learned or maybe I'll find another hobby, whatever happens first.