News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

illigal copy of smf?

Started by ShadowStriker, July 17, 2005, 09:15:58 PM

Previous topic - Next topic

ShadowStriker

is there a recommeded theme for games? that dont say "you have an illigal copy of smf"?

mixx941

It shouldn't say "You have an illegal copy of SMF" unless the author of the theme took out "theme_copyright()".

I'm sure it's a pretty easy fix....since I believe all it needs in the template for that message to go away is:


, theme_copyright(),


...For example in the default SMF theme, the copyright area looks like this:


        // Show the "Powered by" and "Valid" logos, as well as the copyright.  Remember, the copyright must be somewhere!
        echo '

        <div id="footerarea" style="text-align: center; padding-bottom: 1ex;', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' $                <script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
                        function smfFooterHighlight(element, value)
                        {
                                element.src = smf_images_url + "/" + (value ? "h_" : "") + element.id + ".gif";
                        }
                // ]]></script>
                <table cellspacing="0" cellpadding="3" border="0" align="center" width="100%">
                        <tr>
                                <td width="28%" valign="middle" align="', !$context['right_to_left'] ? 'right' : 'left', '">
                                        <a href="http://www.mysql.com/" target="_blank"><img id="powered-mysql" src="', $settings['images_url'], '/powered-$                                        <a href="http://www.php.net/" target="_blank"><img id="powered-php" src="', $settings['images_url'], '/powered-php.$                                </td>
                                <td valign="middle" align="center" style="white-space: nowrap;">
                                        ', theme_copyright(), '
                                </td>
                                <td width="28%" valign="middle" align="', !$context['right_to_left'] ? 'left' : 'right', '">
                                        <a href="http://validator.w3.org/check/referer" target="_blank"><img id="valid-xhtml10" src="', $settings['images_u$                                        <a href="http://jigsaw.w3.org/css-validator/check/referer" target="_blank"><img id="valid-css" src="', $settings['i$                                </td>
                        </tr>
                </table>';


Which theme is it? Is there a link to it?

-Mark


ShadowStriker

where do i look to find the area to place the copyright?

ShadowStriker

one time i changed to classic and it did the same thing!

Deoxys

Ok, you go into your index.template.php file. Then go down near the nottom of the page, until you see a lot of HTML. There will be the mySQL, PHP, etc. buttons' code. Then look in the middle of the four codes, and you will see some td's etc. inside of all of those, imput ;theme_copyright();

Hope that kinda helped... :)

bloc

Quote from: ShadowStriker on July 17, 2005, 09:49:22 PM
http://www.simplemachines.org/community/index.php?topic=20750.0

That theme HAS the copyright, and ALWAYS have had it. I suggest you check your forum or check the upload.

Advertisement: