Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Submit to Digg.com
I added a button to submit an article to digg.com from my site, however it doesnt copy my article title.
Here is a code im using, what do i need to add?
if(in_array($Context->SelfUrl, array("index.php", "categories.php", "comments.php", "search.php", "post.php", "account.php", "settings.php"))){
$socialmarks = <<< ENDCODE
<div class="javascriptcode">
<STYLE type="text/css">
a img {border: none; }
</STYLE>
<h2>Digg This</h2>
<script type="text/javascript">
document.write('<a href="http://digg.com/submit?phase=2&url='+encodeURIComponent(location.href)+'" title="Digg This!"><img src="http://www.talkaboutdesign.com/img/digg.gif" alt="digg" height="18" width="18" /></a>');
</script>
</div>
ENDCODE;
$Panel->AddString($socialmarks,-1);
}
0
This discussion has been closed.