- Published:
- August 16, 2010 – 8:34 am
- Author:
- By Dave
A forum that I am an adminstrator for has been clamoring for an iPhone theme (style) for a long time now. In the past, I hadn’t seen any usable iPhone template for phpBB3, until now.
View this entire post to view my modifications to a theme switcher for mobile devices, so that the end user can disable a mobile theme for their login if they should choose to do so.
Categories: Code Samples,PHP,Software
Tagged: iphone, PHP, phpbb, theme
- Published:
- September 27, 2008 – 1:19 am
- Author:
- By Dave
Adding a module position in a Joomla 1.5 template is not as easy as it was in the 1.0 templates. It is a two step process: 1. Add code to template PHP file. For example, this would go in the index.php file in the template folder – or if you are adding it in an [...]
Categories: Code Samples,Configurations,Joomla,PHP
Tagged: design, HTML, Joomla, templates, XML
- Published:
- September 15, 2008 – 10:38 pm
- Author:
- By Dave
I couldn’t readily find an answer to this question via the google. So here it is: If you want to insert a ‘last updated’ or ‘last modified’ date on your wordpress page, then there is a simple bit of PHP code you can use for this: And via Ardamis’s Blog, there is a great way [...]
Categories: Code Samples,PHP,Software
Tagged: code, templates, wordpress
- Published:
- August 26, 2008 – 1:32 pm
- Author:
- By Dave
Drupal’s administration login area is not secure by default. Usually there is an option in the configuration area of content management systems to set a secure area for logins, otherwise your username and password are sent in plain text over the internet. Luckily, there is a module which enforces secure login on a Drupal install. [...]
Categories: Configurations,Drupal,PHP,Security
Tagged: Drupal, modules, secure
- Published:
- January 30, 2008 – 8:01 am
- Author:
- By Dave
The goal here is to watermark all images in a certain directory, except for thumbnails or other selection. You can either do this on each file prior to placing on your webserver – which is probably wise for CPU load issues – but let’s just say you want to do this for all files served [...]
Categories: Code Samples,PHP
Tagged: apache, gallery, gif, htaccess, jpeg, no cache, PHP, USD, watermark, web server