NP_SmarterUserlink.php

The Smarter Userlink plugin can be used in place of the <%userlink%> template variable for comments. It obfuscates commentor's email addresses to avoid spammers gathering email addresses from your comments. There is an option to not display email addresses at all, as well.

This plugin currently supports Nucleus version 2.0 and above.

General Plugin info
Current Version: 0.1
Download: README and plugin zip file
Code: n/a
Demo: n/a
Forum Thread: NP_SmarterUserlink 0.1
Author: gRegor Morrill

Installing

  1. Download the README file
  2. Download the plugin zip file and unzip it
  3. Upload contents to your /nucleus/plugins/ directory
  4. Install the plugin from the Plugin page of your Nucleus admin area
  5. Follow the instructions in the README file to edit your template(s)

How to use the plugin

See “SkinVars and TemplateVars” and “Options” below. Refer to the README file for detailed usage instructions.

SkinVars and TemplateVars

In the appropriate templates, insert the tag <%SmarterUserlink%> instead of <%userlink%>.

URLs will convert the username into links just as before. Email addresses will be obfuscated and displayed next to the username: “username - user (at) domain (dot) com”.

Options

From the plugin page, click “edit options” on the Smarter Userlink plugin.

There is an option to display email addresses with comments or not. When set to 'yes', all email addresses will be displayed as: “user (at) domain (dot) com”, which email harvesters will not recognize as an email address and thus not harvest.

When set to 'no', obviously no email addresses are displayed next to the comments.

You can control the look of the username as well as the email address with CSS. Add definitions for these CSS classes to your stylesheet:

 'su-user' = SPAN around the username
 'su-email = SPAN around the email address

History

  • Version 0.1
    • Stable pre-release

For full history, in-depth instructions, support, and further information, please see the README file

smarteruserlink.txt · Last modified: 2006/07/05 13:03 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki