News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Disqus

Started by Mick., October 21, 2011, 10:09:17 AM

Previous topic - Next topic

Mick.

Link to Mod

This mod installs a comment box powered by 'Disqus' on every topic, first post only. Perfect for those who wishes to use SMF as a blog in certain boards.



How to use:

1. Sign up an account at Disqus.com and get your forum 'short name' to use in admin.
2. Activate in admin: Configuration--->Modification Settings---->Miscellaneous.
3. Select boards you wish to use as blog in 'Modify Boards' area.
4. Make board "Read-Only".

If you need support or need customize help, please post in the thread at SimpleMachines.org or visit me at idesignSMF.com Thanks!

juliegreen

it looks very interesting, will give it a try soon.

thanks

Bugo

You know there is a variable for local testing:

var disqus_developer = 1; // developer mode is on

http://docs.disqus.com/help/2/

MaXiForum.cz

Very nice man ;)
And quick reply is where?

4Kstore

Nice mod, thanks for sharing! :)

¡¡NEW MOD: Sparkles User Names!!!

MaXiForum.cz

Quote from: MaXiForum.cz on October 22, 2011, 06:17:25 AM
...
And quick reply is where?

Bottom? And another posts are where? Under?
Pls demo with this... :)
Thx

Mick.

Quote from: MaXiForum.cz on October 23, 2011, 02:39:39 AM
Quote from: MaXiForum.cz on October 22, 2011, 06:17:25 AM
...
And quick reply is where?

Bottom? And another posts are where? Under?
Pls demo with this... :)
Thx

What do you mean by quick reply?   The boards in which you use disqus supposed to be set to 'read only'.

MaXiForum.cz

Read only... aaah OK.
Thank you.

TheLookBook

<script type="text/javascript">
    /* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
    var disqus_shortname = 'mntlb'; // required: replace example with your forum shortname

    /* * * DON'T EDIT BELOW THIS LINE * * */
    (function () {
        var s = document.createElement('script'); s.async = true;
        s.type = 'text/javascript';
        s.src = 'http://' + disqus_shortname + '.disqus.com/count.js';
        (document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
    }());
</script>


In reading the install section of the mod, when said: right before the closing </body> tag in the index.php for the code above, I looked and didn't see this at the bottom of my index.php file. Maybe I'm missing something in the instructions or trying to put it in the wrong file related to my forum. The mod loads, looks great and works but will not retain the post for later view. Loaded a lot of test post yesterday and checked back today and nothing was there except the post count and the mod. Thanks for sharing this MOD and your support with my issue. note: I use it from within the ADK Portal installed on my forum.
Keep Your "Dreams" Alive!

jeff2081

I wished this mod worked without a 3rd party. I tried it anyway and love it but it doesn't integrate well with the forum when you have to use other logins where your login credentials are different than the forum such as name.

Is this possible to do, it would be awesome! (using forum login)

TheLookBook

Quote from: jeff2081 on October 24, 2011, 09:37:13 PM
I wished this mod worked without a 3rd party. I tried it anyway and love it but it doesn't integrate well with the forum when you have to use other logins where your login credentials are different than the forum such as name.

Is this possible to do, it would be awesome! (using forum login)

I have to agree Jeff, great mod and very useful but easy intergration would be nice. In other words, whatever login used will automatically register members into the forum the mod is used on.
Keep Your "Dreams" Alive!

Mick.

It is a third party app in which I have no access to. Great idea for sure but it just a service.

Im not sure if they offer an api.

TheLookBook

Quote from: bluedevil on October 25, 2011, 03:54:27 PM
It is a third party app in which I have no access to. Great idea for sure but it just a service.

Im not sure if they offer an api.

Thanks for the response. Now it's better understood.
Keep Your "Dreams" Alive!

NoobDeveloper

there is some issue with this mod..it is very random. I get mail notification that a comment has been posted to topic via DISQUS but sometimes i cant see it if there are already comments done via Forum members (not using DISQUS members) .
Also i have not made the board as read only because i need have both SMF comments and DISQUS comments.

Any help on this ? I am using SMF 2.0.1 .the latest version.

Kimmie

Any way to get this just as a general chat on say the main forum itself and not in every single thread?

Mick.

Quote from: Kimmie on June 13, 2012, 02:55:49 PM
Any way to get this just as a general chat on say the main forum itself and not in every single thread?
you can set it per board basis. Admin---> modify board

oove

I can't install this mod. All I get is this Database error:

Invalid default value for 'disqus_board_enable'
File: /srv/www/vhosts/isriga.lv/httpdocs/forum/Packages/temp/installDisqusdatabase.php
Line: 24

Tried installing it on SMF 2.0.2 and 2.0.4. Any ideas what's wrong?

Thanks

totaltutankoll

 installed the mod with no problems but I can not see it attached to the threads on my forum even though it feels like I've been following instructions!

Any ideas? :o
Started out with a SMF-forum a couple of years ago went on to Dynamic web (read dynamic crap) and am now back in the land of Simple Machines.

Non, je ne regrette rien!

Mick.

Quote from: totaltutankoll on March 29, 2013, 11:20:23 AM
installed the mod with no problems but I can not see it attached to the threads on my forum even though it feels like I've been following instructions!

Any ideas? :o
Not sure. Other than the Disqus API is outdated.

I need to update this mod.

ceewee

Quote from: Mick. on March 29, 2013, 03:14:20 PM
Quote from: totaltutankoll on March 29, 2013, 11:20:23 AM
installed the mod with no problems but I can not see it attached to the threads on my forum even though it feels like I've been following instructions!

Any ideas? :o
Not sure. Other than the Disqus API is outdated.

I need to update this mod.


already updated?

Advertisement: