Tutorial: How to replace comments system with Facebook or Disqus comments
Q
How to replace Sibsoft comments system with Facebook or Disqus comments ?
A
Note : * Backup your files before doing any changes. Disqus Setup :1- open the HTML file download1.html with your favorite editor, the file is located in cgi-bin/Templates folder. 2- Search the following line : Above it you will find the following code, we are going to replace it with the Disqus code: 3- Follow this link ro register with Disqus and get your Disqus shortname : http://disqus.com/comments/register 4- Replace the code we found in Step 4 with the following code: <br/><div style="width:500px;text-align:left;" class="sinput"> <div id="disqus_thread"></div> </div> <script type="text/javascript"> /* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */ var disqus_shortname = 'YOUR-SHORT-NAME'; var disqus_identifier = '<TMPL_VAR file_code>'; var disqus_url = '<TMPL_VAR download_link>'; /* * * DON'T EDIT BELOW THIS LINE * * */ (function() { var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; dsq.src = '' + disqus_shortname + '.disqus.com/embed.js'; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); })(); </script> <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> Replace in the code YOUR-SHORT-NAME with your Disqus Short Name. 5- Upload & Enjoy Facebook Setup :1- Open the HTML file main.html with your favorite editor, the file is located in cgi-bin/Templates folder. 2- For XFS 2.0 Replace it with: 6- Search the following line : Above it you will find the following code, we are going to replace it with the Facebook Comments code: 7- Replace the code we found in Step 6 with the following code: <br/> 8- Save & Upload.
|