How to Share a Social Button to your Website Pages

Please change the URL as your site link.

<!-- Facebook -->
<a href="http://www.facebook.com/sharer.php?u=https://www.deshisoft.com" target="_blank"><img src="https://www.deshisoft.com/images/somacro/facebook.png" alt="Facebook" /></a>

<!-- Twitter -->
<a href="http://twitter.com/share?url=https://www.deshisoft.com&text=Simple Share Buttons" target="_blank"><img src="https://www.deshisoft.com/images/somacro/twitter.png" alt="Twitter" /></a>

<!-- Google+ -->
<a href="https://plus.google.com/share?url=https://www.deshisoft.com" target="_blank"><img src="https://www.deshisoft.com/images/somacro/google.png" alt="Google" /></a>

<!-- Digg -->
<a href="http://www.digg.com/submit?url=https://www.deshisoft.com" target="_blank"><img src="https://www.deshisoft.com/images/somacro/diggit.png" alt="Digg" /></a>

<!-- Reddit -->
<a href="http://reddit.com/submit?url=https://www.deshisoft.com&title=Simple Share Buttons" target="_blank"><img src="https://www.deshisoft.com/images/somacro/reddit.png" alt="Reddit" /></a>

<!-- LinkedIn -->
<a href="http://www.linkedin.com/shareArticle?mini=true&url=https://www.deshisoft.com" target="_blank"><img src="https://www.deshisoft.com/images/somacro/linkedin.png" alt="LinkedIn" /></a>

<!-- Pinterest -->
<a href="javascript:void((function()%7Bvar%20e=document.createElement('script');e.setAttribute('type','text/javascript');e.setAttribute('charset','UTF-8');e.setAttribute('src','http://assets.pinterest.com/js/pinmarklet.js?r='+Math.random()*99999999);document.body.appendChild(e)%7D)());"><img src="https://www.deshisoft.com/images/somacro/pinterest.png" alt="Pinterest" /></a>

<!-- StumbleUpon-->
<a href="https://www.deshisoft.com/submit?url=https://www.deshisoft.com&title=Simple Share Buttons" target="_blank"><img src="https://www.deshisoft.com/images/somacro/stumbleupon.png" alt="StumbleUpon" /></a>

<!-- Email -->
<a href="mailto:?Subject=Simple Share Buttons&Body=I%20saw%20this%20and%20thought%20of%20you!%20 https://www.deshisoft.com"><img src="https://www.deshisoft.com/images/somacro/email.png" alt="Email" /></a>

If you want to pop-up window after click the share button (You can use it for dynamic site likes wordpress for different page link):

<a class="tv-sharer-facebook facebook" href="#" 
              onclick="
                window.open(
                  'https://www.facebook.com/sharer/sharer.php?u='+encodeURIComponent(location.href), 
                  'facebook-share-dialog', 
                  'width=626,height=436'); 
                return false;">
              Share on Facebook
</a>
<a class="tv-sharer-twitter twitter" href="#" 
              onclick="
                window.open(
                  'http://twitter.com/share?url='+encodeURIComponent(location.href), 
                  'twitter-share-dialog', 
                  'width=626,height=436'); 
                return false;">
              Tweet it
</a>
<a class="tv-sharer-email email" href="#" 
              onclick="
                window.open(
                  'mailto:?subject=check+out+this+video+on+deshisoft.com%21&body='+encodeURIComponent(location.href), 
                  'email-share-dialog', 
                  'width=626,height=436'); 
                return false;">
              Tweet it
</a>

Malware:SPAM:SEO – (MODx Evolution: removing spam links)

MODx Evolution based website has been detected hacked. Every page of his website showing “infected” with invisible links to viagra webshops. The code of those links was as follows:

<div style="position:absolute;left:-2311px;top:-2794px;"><a href="LINK">... viagra ...</a></div>

After quick investigation I figured out the malicious code (which generated those links) had been planted into the MySQL table “modx_site_plugins“.  In our case it was inside “Quick ManagerManager” plugin code:

Basically, look for: @eval(@gzuncompress(@str_rot13(@base64_decode(

After removing the code I’ve also replaced the entire assets/cache/ folder with one from the MODx distributive.

Malware checking link: http://sitecheck.sucuri.net