Customizing SMF > Modifications and Packages

Show your Social Networks 4.0

<< < (2/44) > >>

enik:

--- Quote from: ®SirtLan on December 27, 2010, 01:56:05 PM ---Translation by MOD Translator SirtLanVadisi in turkish and turkish-utf8 languages





--- Code: ---
<file name="$themedir/languages/Modifications.turkish.php" error="skip">
   <operation>
      <search position="end" />
         <add><![CDATA[
// Show your Social Networks MOD Translation by SirtLanVadisi.NeT
$txt['sys_link_1'] = 'twitter bağlantı linki-> Url';
$txt['sys_link_2'] = 'Youtube bağlantı linki-> Url';
$txt['sys_link_3'] = 'Facebook bağlantı linki-> Url';
// Show your Social Networks MOD Translation by SirtLanVadisi.NeT
]]></add>
   </operation>
   </file>
<file name="$themedir/languages/Modifications.turkish-utf8.php" error="skip">
   <operation>
      <search position="end" />
         <add><![CDATA[
// Show your Social Networks MOD Translation by SirtLanVadisi.NeT
$txt['sys_link_1'] = 'twitter bağlantı linki-> Url';
$txt['sys_link_2'] = 'Youtube bağlantı linki-> Url';
$txt['sys_link_3'] = 'Facebook bağlantı linki-> Url';
// Show your Social Networks MOD Translation by SirtLanVadisi.NeT
]]></add>
   </operation>
   </file>   


--- End code ---

--- End quote ---

Friend thank you very much your translation will be added for the next version.



MaxiForum.cz your adaptation has been very good  ;)

I've given a great idea for the next version thanks.

MaXiForum.cz:
Do you want the code? :)

enik:
Would be great  ;)

MaXiForum.cz:
index.css


--- Code: ---/* Begin Show your social networks */

#sys_twitter {

        display:scroll;
        position:fixed;
        top:200px;right:0px;
        background-image: url('link to the rss.png');
            background-position: 0px 0px;
            width: 40px;
            height: 40px;
            text-decoration: none;
}

#sys_youtube {

        display:scroll;
        position:fixed;
        top:250px;right:0px;
        background-image: url('link to the facebook.png');
            background-position: 0px 0px;
            width: 40px;
            height: 40px;
            text-decoration: none;

}

#sys_facebook {

        display:scroll;
        position:fixed;
        top:300px;right:0px;
        background-image: url('link to the twitter.png');
            background-position: 0px 0px;
            width: 40px;
            height: 40px;
            text-decoration: none;
}

#sys_twitter:hover, #sys_youtube:hover, #sys_facebook:hover {
   background-position: 0px 39px;
}

/* End Show your social networks */
--- End code ---

index.template.php

--- Code: --- echo '<a id="sys_twitter" target="_blank" href="', $settings['sys_link_1'] , '">&nbsp;</a>';
if(!empty($settings['sys_link_2']))
        echo '

<a id="sys_youtube" target="_blank" href="', $settings['sys_link_2'] , '">&nbsp;</a>';
if(!empty($settings['sys_link_3']))
        echo '

<a id="sys_facebook" target="_blank" href="', $settings['sys_link_3'] , '">&nbsp;</a>';
--- End code ---

 ;)

enik:
Thank you very much for version 2.0 will use this code and it'll put a plus:

 sys_code function ();

 With the respective credits  ;)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version