FORGEBOX Enterprise 🚀 - Take your ColdFusion (CFML) Development to Modern Times! Learn More...

PRESIDECMS EXTENSION: Disqus

v1.0.0 Public
Disqus for preside

#Disqus extension basic setup ( Assume you have done setup Disqus account and the app )

1.) Setup Disqus API setting in Preside admin > Setting > Disqus API Fill in the required field. To get the public key you need to add remote domain in your Disqus account. https://disqus.com/api/applications/

2.) Add this line to your view renderView( view = 'disqus/index', args = { showDisqus = showDisqus ?: false } ) showDisqus is an argument option for you to turn it on / off for particular page

3.) Add this line to your page handler if( isLoggedIn() ){ var userDetails = getLoggedInUserDetails(); prc.disqusLoginToken = disqusService.createLoginToken( id = userDetails.id , username = userDetails.display_name , email = userDetails.email_address ); }

#SSO setup checklist 1.) Contact Disqus to enable SSO in your Disqus account. To do this request, you need to be the primary moderator. https://disqus.com/support/?article=contact_SSO

2.) A new link will appear in your disqus Application API page after Disqus team has enable the SSO for you. Visit the SSO link and setup the domain and slug. https://disqus.com/api/sso/

3.) Go to your application > setting > select SSO domain. https://disqus.com/api/applications/

Here are all the versions for this package. Please note that you can leverage CommandBox package versioning to install any package you like. Please refer to our managing package version guide for more information.

Version Created Last Update Published By Stable Actions
Current
1.0.0 Sep 16 2019 10:05 PM Sep 16 2019 10:05 PM

 

$ box install preside-ext-disqus

No collaborators yet.
   
  • Sep 16 2019 10:02 PM
  • Sep 16 2019 10:05 PM
  • 135
  • 0
  • 5