Insert Disqus into your Sweetcron Lifestream

Sweetcron is an open source solution for creating a self-hosted Lifestream; a blog-like website that shows your activity across the Web over many social networks. By default there is no commenting system within Sweetcron and this is how you get one!
Instructions: (wiki)
-
Open up single.php in your chosen theme found here;
/system/application/views/themes/{themename}/single.php -
Find “comments_container“
-
Choose Generic Code
-
Click Reinstall
-
Replace the line that begins “Your favourite external commenting service goes here!” with Code Snippet #1
-
Open _activity_feed.php in your chosen theme (same folder)
-
Scroll down to “end conditional content” and add “#disqus_thread” to the end of the permalink URL.
Change this:
<a href=”<?php echo $item->get_permalink()?>”>Comments</a>
To this:
<a href=”<?php echo $item->get_permalink()?>#disqus_thread”>Comments</ a> - Open up _footer.php in your chosen theme (i.e. same folder)
-
Scroll down to the end, before the </body> tag
-
Paste Code Snippet #2
And booya! You’re good.
Giannii on March 31st 2009 in disqus
-
recep ivedik
-
Traveller
-
wallace530
-
Singapore Part Time Jobs
-
Singapore Part Time Jobs
-
Singapore Part Time Jobs
-
Singapore Part Time Jobs
-
reklam
-
Giannii
-
Giannii
-
paulgiacherio
-
Tom Sparks
-
MacTyler
-
donnacha | WordSkill
-
paulgiacherio
-
paulgiacherio
-
Tom Sparks
-
giannii
-
Tom Sparks
-
Mac Tyler
-
MacTyler
-
donnacha | WordSkill
-
giannii
-
donnacha | WordSkill
-
donnacha | WordSkill