SMF poster info on right

So I am a little bored.  I decided to figure out how much css it would take to make the poster info be on the right.  Turns out, actually not that much. .poster { float: right; width: 16em; } .postarea { margin: 0 15em 0 1em; } .post, .modifybutton { clear: left; } .moderatorbar { …

$smcFunc as a static method via overloading

This was more of something I wanted to play with.  I wanted to convert $smcFunc into a method.  So for instance lets say $smcFunc[‘db_quote’]() would be smcFunc::db_quote(). This wasn’t looking good at first.  I thought I could use __construct and just intercept what is going on.  But static calls do not use __construct.  So this …

Adobe with McAfee

I have another rant.  This time it is Adobe who has ticked me off. I rarely use Firefox or any web browser on my windows machine.  Mainly it sits there and has Windows Media Center full screen so I can watch TV.  Tonight I had to use Firefox on my windows machine. Firefox prompted for …

Automating modification packaing

Packaging mods is not the funnest part of building any mod.  So why should I do it manually?  I run Mac OS X which means I have a terminal and can run commands directly to accomplish the packaging process.  I just needed to build a script.  Easy to do and now its done, so I …

SimpleDesk Download Manager

For the SimpleDesk website, I made a very easy to use and very sleek download manager.  Complete with branch, version, file and mirror management.  Simply put, this thing is very powerful and flexible.  While I didn’t add it in, I could easily expand this script to manage multiple pieces of software as well.

Moving mysql

Time to move my mysql data directory to another drive.  So its up to some simple commands to get me started. First my my.conf file. $ sudo mv /etc/mysql/my.cnf /home/configs $ sudo ln -s /home/configs/my.cnf /etc/mysql/ I should note that the way I installed mysql (apt-get), a debian.cnf file is created.  I haven’t even bothered …

Securing database user credentials

A random thought has hit me.  Most people try to keep their MySQL user credentials secure.  But why?  If a server has been setup properly, it becomes a mute point. The idea occurred me when thinking about opening a sites source code up.  If I opened the site up, I could give them access to …