Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt November 11, 2024
Jaggi Posted September 3, 2008 Posted September 3, 2008 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
Mark Posted September 5, 2008 Posted September 5, 2008 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']);
Alex Posted September 5, 2008 Posted September 5, 2008 That is how Tracker handles it :) Apart from it rebuilds the copyright itself afterwards, instead of adding <% COPYRIGHT %> back on.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.