Took some foto’s of my bike today as the sun was out (shock) and i was enjoying a day off work with no clue what your supposed to even do with a day off!
[HOWTO] Eircom Netopia and DYNDNS.org
I just learned these routers have a hidden option for updating your dyndns account automatically!
You have to us telnet commands to activate it…
Open Telnet and open 192.168.1.254 (default router address)
Now use these commands to setup dyndns:
>configure
>set dynamic-dns option dyndns.org
>set dynamic-dns ddns-host-name myhostname.dyndns.org
>set dynamic-dns ddns-user-name myusername
>set dynamic-dns ddns-user-password myuserpassword
>save
>quit
Restart your router…wait about 2 mins then check the logs for this:
00:00:00:43 TR-069: ACS URL resolved 00:00:00:43 TR-069: Resolving ACS URL - Retry 0 00:00:00:41 DDNS: Hostname updated. good 00:00:00:37 NTP: Update system date & time 00:00:00:37 Daylight Saving Time enabled 00:00:00:32 DDNS: initializing service 00:00:00:32 ipcp: negotiated TCP hdr commpression off Enjoy!
New Plugin!
I’m testing a new plugin that i wrote. To test it click here
It isnt released to the codex yet as im still testing it.
The plugin is tested on latest wordpress and wpmu with buddypress..
[HOWTO] WordPress Child Themes
Here is an easy was to keep your custom edits to the theme php files.
We need to create a child theme that uses the garland core files for the main theme functions as well as and custom code you add, then when you update the theme from within wordpress only the parent theme will get changed, your child theme will remain intact!
first off we create a new folder within the themes dir and give it a name, inside it we put a style.css file. Ive chosen garland-redux for this example as were protecting my garland theme from changes…we still need the original garland-revisited theme folder, so dont go deleting it!
so your directory path will look like this:
wp-content |_themes |_garland-revisited |_garland-redux |_style.css
The format for the style.css file is simple, it just tells the child theme where the parent is:
/* Theme Name: Garland-redux Theme URI: http://www.pross.org.uk Description: Testing WordPress Child Themes Author: Simon Prosser Author URI:http://www.pross.org.uk Template: garland-revisited Version: 1.0 . This work, like WordPress, is released under GNU General Public License, version 2 (GPL). http://www.gnu.org/licenses/old-licenses/gpl-2.0.html . */ @import url('../garland-revisited/style.css');
New plugin! SpamCount
Heres a tiny plugin that will show the total number of spams caught by askismet since your very first post. You can include it anywhere in your template.
The code is taken from my howto posted here.
The download link is here
I have a few neat ideas for this little plugin, going to keep it simple 🙂