Welcome to Geeklog, Anonymous Thursday, December 26 2024 @ 10:12 am EST

Development

New PDF features in 1.3 CVS Tree

  • Monday, June 07 2004 @ 05:13 pm EDT
  • Contributed by:
  • Views: 10,722
Geeklog Ok, I've updated CVS for, hopefully, the last time. Here is a quick feature rundown of the PDF functionality:
  1. PDF feature completely driven by config.php and is disabled by default since it requires installation of third party software.
  2. Stories now have a pdf icon (similar to print and email icons) that will take the HTML Geeklog generates during the print mode and generates the PDF from it
  3. Optionally, admins can enable an ad-hoc PDF generation feature that would allow users to enter any URL and generate a PDF. This is disabled by default but is always excessible by Root users when the PDF feature is enabled.
  4. Optional support of HTML tidy. Again, this requires yet another third party tool to be installed so this is disabled by default
  5. Font point size is configurable
  6. TTL on generated PDF's is supported (i.e. you can tell Geeklog to delete PDF's more than one day old) NOTE: untested
  7. Supports get & post parameters so integration with other GL plugins is easy.
This needs testing, particularly on windows. The original code I had was very unix-centric and I did my best to make it OS independent.

Gallery added Geeklog features

  • Tuesday, June 01 2004 @ 07:19 pm EDT
  • Contributed by:
  • Views: 8,019
Geeklog

The busy people at Gallery just added two new enhancements for the Geeklog embedded gallery to the latest CVS version (>1.44 CVS167)

  • URL rewriting
    Gallery now rewrites the gallery urls to a shorter more usefull format. This is a long time feature in the standalone gallery, but not possible with embedded galleries... exept in Geeklog :-)
  • publish_xp support for Geeklog
    Publish images to your Gallery using the XP Publishing assistent. Verry neat
  • As mentioned above, these are changes made in the latest CVS versions. So you need to wait untill the release of 1.44 (or grab the CVS version)

    Gallery Homepage

Anti-spam patch

  • Sunday, May 30 2004 @ 03:35 pm EDT
  • Contributed by:
  • Views: 8,911
Geeklog I've got a patch against 1.3.9 to prevent comment spam by counting the number of links in anonymous comments and disallowing the comment if there are more than 2. Logged-in users aren't subject to this restriction. This seems like a very good strategy, and should work much better than IP banning.

http://www.jess2.net/code/geekplugs/antispam.patch.

The patch also enforces a user-configurable delay between hitting 'reply to this' and hitting submit.

Page navigation