NP_RollingCopyright.php

This plugin adds successive copyright years to your Nucleus blog or CMS. When you first install NP_RollingCopyright, it shows only the current year: © 2011 by Your Name. The following January 1, the output will appear similarly to this: © 2011 - 2012 by Your Name. You will never again have to manually update your copyright dates.

General Plugin info
Author: TCC
Current Version: 0.6
Download: Download zip [2kb]
Code: Code
Forum Thread: [http://forum.nucleuscms.org/viewtopic.php?t=20249]

Installing

  1. Unzip the file and upload the contents to your plugin directory

How to use the plugin

  • Change options in plugin edit options
  • In the footer of your skin (or wherever you want it to appear), add <%RollingCopyright%>. This is case sensitive.
  • For additional information, review this wiki page, the Nucleus support forum or a help page that is accessible through the plugin admin after installation.

Available SkinVars and/or TemplateVars

  • <%RollingCopyright%>

Options

  • The year your blog was created
  • Your name, the name of your website or the name of your business
  • If you leave the optional text box empty, nothing happens. If you put text there, it will appear following your name.

Tips and Tricks

  • Text that you put into Edit Options can be manipulated with html and css. As an example, if you want to add All Rights Reserved, you could put the following into Optional Text: &nbsp;&mdash; All Rights Reserved. Note that you must add a space at the beginning Optional Text in order for spacing to appear on your site. For optional text to appear on a new line, start your optional text with <br />.
  • RollingCopyright will work on multiple blogs running on the same installation. Just add <%RollingCopyright%> to each skin where you want it to appear. Note: the same information that you enter in Edit Options will appear identically on all blogs.

Wishlist

Bugs

This was tested on Nucleus versions 3.51 and 3.60RC through 3.64 but should work on all Nucleus versions.

History

  • Version 0.6, released March 30, 2011, added a help page
  • Version 0.5, released January 5, 2011
rollingcopyright.txt · Last modified: 2011/03/30 22:43 (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