Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications

Reply
 
Thread Tools
Add Disqus comments to threads Details »»
Add Disqus comments to threads
Version: 1.01, by JAFRI JAFRI is offline
Developer Last Online: Jul 2015 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 4.x.x Rating:
Released: 04-29-2012 Last Update: 05-08-2012 Installs: 11
Template Edits
 
No support by the author.

Add Disqus comments to threads

Disqus comments directly into the posts, at the bottom of the page.


Need login to comment use email IDs, google ,twitter,facebook,yahoo, and some more.
but if u like guests comment in thread need approve comments.

Guests allow for thread reply comment. [need login for email address only.itis good need email verification and if u like no need email verified] -
Need Approved.
Guests allow for like comment.
Guests allow for Share thread in facebook and twitter.
Guests allow for subscribe threads.
Guests upload image in comment [ but admin/team approved after image show in Thread ]
Guests and member use flag [ Reporting for bad/spam comments ]

*******************************
HOW TO INSTALL.

Go : http://disqus.com and make a accont .
and go Install Instructions > Universal Code


Universal Code LINK

This is the JavaScript embed code which loads and displays Disqus on your site, typically on the individual article or post pages.

Note: Don't forget to change 'example' to your forum's shortname .

Download and Read how to install - SHOWTHREAD

************************************************** ***************************

Demo : www.shiafriends.com

************************************************** ***************************

Widgets - Combination

HTML Code:
<script type="text/javascript"  src="http://xxxxxx.disqus.com/combination_widget.js?num_items=5&hide_mods=0&color=blue&default_tab=people&excerpt_length=200"></script><a  href="http://disqus.com/">Powered by Disqus</a>


Widgets -
Recent Comments

HTML Code:
<div id="recentcomments" class="dsq-widget"><h2  class="dsq-widget-title">Recent Comments</h2><script  type="text/javascript"  src="http://xxxxxx.disqus.com/recent_comments_widget.js?num_items=5&hide_avatars=0&avatar_size=32&excerpt_length=200"></script></div><a  href="http://disqus.com/">Powered by Disqus</a>


Widgets -
Popular Threads

HTML Code:
<div id="popularthreads"  class="dsq-widget"><h2 class="dsq-widget-title">Popular  Threads</h2><script type="text/javascript"  src="http://xxxxxxx.disqus.com/popular_threads_widget.js?num_items=5"></script></div><a  href="http://disqus.com/">Powered by Disqus</a>
Widgets - Top Commenters

HTML Code:
<div id="topcommenters"  class="dsq-widget"><h2 class="dsq-widget-title">Top  Commenters</h2><script type="text/javascript"  src="http://xxxxxx.disqus.com/top_commenters_widget.js?num_items=5&hide_mods=0&hide_avatars=0&avatar_size=32"></script></div><a  href="http://disqus.com/">Powered by Disqus</a>
Note: Don't forget to change 'xxxxxx' to your forum's shortname .

Download Now

File Type: txt SHOWTHREAD.txt (1.6 KB, 100 views)
File Type: txt Disqus-Comments-Widgets.txt (1.4 KB, 44 views)

Screenshots

File Type: jpg 01.jpg (30.8 KB, 0 views)
File Type: jpg Untitled.jpg (21.1 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
iiioroh

Comments
  #12  
Old 06-29-2012, 06:24 PM
fwulfers fwulfers is offline
 
Join Date: Aug 2010
Location: NW Michigan (USA)
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by fwulfers View Post
There is one problem with the template modification.. When you're not logged in to the vB site, you neither see the vB reply box nor the Disqus comments and reply box. Should the code be moved somewhere else in the Showthread template?
I found out the issue, the instructions show the code should be placed above this code:

Code:
<div id="qr_scroll"></div>
</vb:if>

</form>
</div>
</vb:if>
However, it needs to be placed below that code.
Reply With Quote
  #13  
Old 07-19-2012, 03:01 PM
fwulfers fwulfers is offline
 
Join Date: Aug 2010
Location: NW Michigan (USA)
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by fwulfers View Post
I am looking for a place to add this to show on CMS articles. Perhaps right above or below the existing comment box. Any thoughts?
Code needs to be added to the vbcms_comments_page. Seems to be working great so far.
Reply With Quote
  #14  
Old 12-03-2012, 04:45 PM
vinku vinku is offline
 
Join Date: Nov 2011
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cant we make Disqus replies or comment to be show link normal postings?
Reply With Quote
  #15  
Old 07-05-2014, 05:18 AM
M.C. M.C. is offline
 
Join Date: Jan 2002
Posts: 463
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

do you have actual FORUM screen shots?
Reply With Quote
  #16  
Old 02-16-2019, 01:07 AM
final kaoss final kaoss is offline
 
Join Date: Apr 2006
Posts: 1,314
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this needs updating as the universal code has changed to this.

NOTE: Trying to add this (not the mod but disqus) to the archives

Code:
<div id="disqus_thread"></div>
<script>

/**
*  RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
*  LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables*/
/*
var disqus_config = function () {
this.page.url = PAGE_URL;  // Replace PAGE_URL with your page's canonical URL variable
this.page.identifier = PAGE_IDENTIFIER; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
};
*/
(function() { // DON'T EDIT BELOW THIS LINE
var d = document, s = d.createElement('script');
s.src = 'https://*sitename.disqus.com/embed.js';
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:39 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04056 seconds
  • Memory Usage 2,294KB
  • Queries Executed 21 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (4)bbcode_html
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (6)post_thanks_box
  • (1)post_thanks_box_bit
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (4)postbit_attachment
  • (6)postbit_onlinestatus
  • (6)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete