Jump to content

Component Copyright


Guest Jaggi

Recommended Posts

Posted

This is a issue that cropped up with IP.Tracker which i thought would make a nice addition to ipb3. In the components area (or however settings for components are now handled) add the ability to have a line in there called "copyright" which by default displays at the bottom of a component page with the rest of ipb copyright. Also have a area for example "version" which will sort of be a "nice" version name or just use the current one i guess. This should turn off if the setting of turning off your ipb version is selected. The component area can also have the option of having copyright turned off it the modder allows it (setting which is added to the xml on creation of component settings) of course this isn't fool proof but no copyright is its more to make it easier for the modder rather than enforce copyright laws. Also a macro like {year} would come in handy (returns current year so

Posted

I haven't seen how IP Tracker handles this but it can be done with one line of code:

$this->ipsclass->skin['_wrapper'] = str_replace("<% COPYRIGHT %>", '<div class="copyright" align="center">Your copyright message</div>' . "<% COPYRIGHT %>", $this->ipsclass->skin['_wrapper']);

Posted

That is how Tracker handles it :) Apart from it rebuilds the copyright itself afterwards, instead of adding <% COPYRIGHT %> back on.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...