This is one of those features I’ve been wanting to add to my photography forum for a while now, but I just got around to it this weekend.
With the addition of a database table, a new template file, a few source files, and changes to several others, my Simple Machines Forum now gives my users the ability to bookmark their favorite threads. With the new theme files they’ll have a menu option across the top where they can view their bookmarked threads and the topics will have a little blue flag next to them so they can easily identify their bookmarks.
Screenshots after the break Read the rest of this entry »
September 27th, 2008 | Posted in Coding, SMF | Tags: bookmark, Coding, customize, forum, Forums, html, php, simple machines, SMF | 2 Comments
From the Guardian
A German computer gamer is being held in connection with the murder of a British university student after an apparent cyberspace dispute escalated into a killing.
Read the entire article at the Guardian.
September 27th, 2008 | Posted in Uncategorized | Tags: forum | No Comments
There’s another forum I’m on where the discussion of blocking right-clicks comes up every few days it seems. People put up their first website and are terrified when they find out how easy it is to right-click on an image and save it.
The problem is that it’s trivial for anyone with a moderate amount of computer knowledge to get around right-click blocking. Well, it’s also a problem that blocking right-clicks is just annoying, but I guess that’s a different issue.
Off the top of my head, here’s the ways I can think of to get around right-click blocks. Read the rest of this entry »
September 27th, 2008 | Posted in Coding, Design, Unfiled | Tags: Graphics, html, javascript, js | No Comments
About a year ago I wrote a post on how to embed a YouTube video in a Simple Machines Forum post. Well, as it works out today I needed to embed a Google Video in a post so I went through and did almost the same process to get it to work.
Read the rest of this entry »
September 21st, 2008 | Posted in Databases, SMF | Tags: Coding, customize, forum, google, php, simple machines, SMF | 2 Comments
If you do much JavaScript coding and have FireBug odds are good you know that you can call console.info() to output to the FireBug console. But what happens if you leave your console.info() call in your code and a visitor looks with IE? It'll throw an error. So here's a quick, little function that will output to the console if it's available and do nothing if it's not. That way you don't get any errors if you forget and leave a call in your final version.
JavaScript:
-
function debug(message)
-
{
-
if (typeof console != 'undefined' && typeof console.debug != 'undefined')
-
{
-
console.info(message);
-
}
-
}
September 20th, 2008 | Posted in Coding | Tags: Coding, firebug, firefox, javascript, js, tips | No Comments