Widget:Comments: Różnice pomiędzy wersjami
(Nie pokazano 6 pośrednich wersji utworzonych przez tego samego użytkownika) | |||
Linia 1: | Linia 1: | ||
<includeonly><div id="vanilla-comments"></div> | <includeonly><div id="vanilla-comments"></div> | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
− | var vanilla_forum_url = ' | + | /*** Required Settings: Edit BEFORE pasting into your web page ***/ |
+ | var vanilla_forum_url = '//gadia.pl'; // The full http url & path to your vanilla | ||
forum | forum | ||
− | var vanilla_identifier = ' | + | var vanilla_identifier = '<!--{$uniqid|escape:'quotes'}-->'; // Your unique identifier for the content being |
commented on | commented on | ||
+ | |||
+ | /*** Optional Settings: Ignore if you like ***/ | ||
+ | // var vanilla_discussion_id = ''; // Attach this page of comments to a specific Vanilla DiscussionID. | ||
+ | // var vanilla_category_id = '37'; // Create this discussion in a specific Vanilla CategoryID. | ||
+ | |||
+ | /*** DON'T EDIT BELOW THIS LINE ***/ | ||
(function() { | (function() { | ||
− | var vanilla = document.createElement('script'); | + | var vanilla = document.createElement('script'); vanilla.type = 'text/javascript'; var timestamp = new Date().getTime(); |
− | + | vanilla.src = '//gadia.pl/js/embed.js'; | |
− | |||
− | vanilla.src = | ||
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(vanilla); | (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(vanilla); | ||
})(); | })(); |