These are Blog Archives
Here you can find links to old content I had on the blog, prior to switching to our group pages. Have fun looking around... some of it is pretty good! If you are looking for the best of the best posts from both the old and new eras, then go to the Articles Page. If you want the newest material, browse the public group (and the google waves associated with it).

phpBB3 Hide Links from Guests

Ok, I figured out how to hide url links from guests in phpBB3. You can redirect those links to wherever you want (like a registration page, or whatever). Go to includes/bbcode.php, and find the function bbcode_tpl_replace. Toward the top add a new static array:

static $guest_replacements = array(
‘url’ => array(’{URL}’ => ‘http://www.movethemarkets.com’, ‘{DESCRIPTION}’ [...]

phpBB3 Hide Code from Guests

I’m playing with phpBB3, and I wanted to make it so that only logged-in users could see blocks of code in the posts. Guests will see everything but the code block. After looking around a bit, here’s what I finally did: In includes/bbcode.php, find the function bbcode_second_pass_code, and add this to the [...]