Advanced Search  :  Site Statistics  :  Directory  :  Web Resources  :  Forum  
    Plugins for Geeklog Geeklog Plugins    
 Welcome to Plugins for Geeklog
 Monday, May 12 2008 @ 06:38 PM EDT
Welcome to Gplugs -- The place for Geeklog Plugins and Hacks.
Information Pages about the Packages Available Here.
 

Spam-X Log File Viewer

  View Printable Version 
PluginsI recently tried to view the log file on a site that gets a lot of comment spam and the log file viewer bombed. I looked at the log file and saw that it was 7MB in size. So I modified the Log viewer to check the size of the log file and resize it to 100Kb (the size is configurable) so it could be viewed. I have included the file below if you are interested.
 
read more (484 words) Post a comment
Comments (0)

Whats Related Editor

  View Printable Version 
HacksAfter looking at whats needed for making What's Related editable, I decided to not make a plugin and instead just hack the core files. It ended up with only two small changes to the core files and a new file to edit the what's related entries.

What the changes do is add a link to the What's Related block for story editors entitled "Edit What's Related". The change for this is added to article.php.

Edit the story editor so that if the related block has something in it, then nothing is changed. If its empty then it is filled normally. This requires one addition/change to story.php.

Created a new admin file called related.php which is the editor for the What's Related entries.

The only change in functionality is that once the what's related links are created they are not refreshed on an edit.

Here is what I have done for those who are interested:
 
read more (2,083 words) Post a comment
Comments (0)

Spam-X Ban Module

  View Printable Version 
PluginsI created a little Spam-X action module that adds the IP of spammers to the Ban Plugin list thus blocking them from the site.

To use it just copy the code below and save it to a file called Ban.Action.class.php in your spam-x directory. Then add 256 to the Spam-x action variable.

This is aimed at those spammers who like to post hundreds of spams. The first will get caught and the rest of the attempts will result in a blank page.
 
read more (201 words) Post a comment
Comments (2)

Install Problems with menu

  View Printable Version 
Blocks

Hi,

I installed the plugin w/o errors.

But it was not displayed in my menu area. The documentation about necessary changes within the index.php files is very low.

Can anybody tell me, which changes must be made or which file must be replaced?

 

Thanks in advance,
phillip

 
Post a comment
Comments (6)

Remove Calendar

  View Printable Version 
GeekLogI found on some sites, no matter what I did the calendar was crawled by some search engines. I solved this problem by replacing the calendar.php in the standard geeklog install with this:

<?php

// modified calendar.php to disable calender completely

require_once('lib-common.php');

$url = $_CONF['site_url'];

header ('Location: ' . $url);

?>
 
Post a comment
Comments (3)
 Copyright © 2008 Plugins for Geeklog
 All trademarks and copyrights on this page are owned by their respective owners.
Powered By Geeklog 
Created this page in 0.19 seconds