This lunar phases script uses a combination of a custom php function and a JavaScript to compute lunar phase information to display an image of the moon phase that is a close approximation of the current phase of the moon.
This is an OAuth hack for Geeklog using APIs provided by Twitter, Facebook and LinkedIn. Geeklog's user account is created by login with OAuth. See README.txt for further details.
Finished roadmap 2014. Added screenshots and extra example scripts. Fixed some ambiguous use, added validation and optimizations. See read.md for details.
A calendar hack to allow: Use of categories in calendar Dropdown to select All, cat1, cat2 etc Categories are created by creating a group called cal_name (name becomes the category name)
Using geeklog static pages you will create a simple contact form that accepts a persons email address, subject and message. It utilizes recaptcha and a hidden input field to help reduce spam . It includes some javascript validation for required fields and sanatizes form fields.
This is code for a static page that brings back the latest submitted and approved stories. If your site get frequent submissions this may be useful to list the stories. You can control the number of stories listed by changing the variable $numStories
GeoGL is a simple script set to integrate MaxMind's geoip.dat country code file into use with Geeklog. This script requires little maintenance and provides the basis for all manner of GeoIP routing possibilities for a Geeklog web site.
Patch to add OpenID support to Geeklog 1.4.1, based on the bounty submission by Choplair. Please read the included README carefully and use at your own risk. md5 checksum: 0a91742b583d9cd11d5014ac9b91939d
This hack allows for quick lookup of IP addresses detected by the wonderful Bad Behavior plugin. The ARIN, APNIC, LACNIC and RIPE whois lookup URLs are encoded into the display for each log item line along with a convenient lookup of the entire IPV4 address space.
Userlist2 allows you to list your registered activated users, and provides the same general list capabilities as the Professional theme's admin user list. You can sort and search by name, category, etc. And if you wish, you can locate the variable [$inactive_time] near the top of the code and you can adjust it to show the [Last Login Date] in red if a user has not visited the site in "x" amount of months. The Last Login Date is listed the by years, months and days… not by the actual date. Oh yes! It filters out anonymous users too.
A CAPTCHA implementation for Geeklog v1.3.11sr2 or higher. gl-captcha provides additional protections against spam bots registering on your system. See the enclosed README file for installation / usage details.
PHP was created so people could create websites by mixing code right in the HTML. When designers decided that mixing business logic with presentation was a bad thing, rather than using disciplined coding techniques to avoid that pitfall, the template library was born. So, an interpreted language designed to create HTML was being used to interpret template files to make HTML.