Verint | Telligent Community
Verint | Telligent Community
  • Site
  • User
  • Site
  • Search
  • User
Marketplace
Marketplace
Listings Community Engagement Widget
  • Listings
  • More
  • Cancel
  • New
Marketplace requires membership for participation - click to join
Details
  • $attribute.Name Version: 12 , 11.1 , 11
  • $attribute.Name Type: Widget
  • $attribute.Name Price: Free
  • $attribute.Name URL: Free
  • $attribute.Name Author: Verint
  • $attribute.Name Support: Free to use as-is. Additional support can be purchased from the Verint Professional Services team.
  • activity
  • Progress
  • community engagement
You may also like:

Community Engagement Widget

This widget gives your community members a visual indicator of actions they should take on the Community to increase their engagement. A gray checkmark is shown next to the activity until the user has completed the activity.  Once completed, a green checkmark will be shown.  The progress bar will also fill as members complete engagement activities.

This widget can be placed on the Community homepage to show engagement across all sub-groups or it can be placed inside of a Group to show engagement in that particular group and it's sub-groups.

Installation Instructions:

  1. Import the widget named CommunityEngagement-Widget into the Verint Community Widget Studio (Administration > Interface > Widgets > Import).
  2. Navigate to the page you would like to show the "Community Engagement" widget on and add it to the page (Pencil > Edit Group Theme > Edit this Page).
  3. Once the widget is placed on the page, click the "gear icon" to enable or disable the activities you want to show.  By default, all activities are enabled.
    1. Activity choices are:
      1. Update Avatar
      2. Update Bio
      3. Comment on a Blog Post
      4. Create Forum Thread
      5. Create an Idea
      6. Like a piece of Content
      7. Upload Media

Screen Shot:

Choose which items you want to show for your users:

You can also pick your own colors!

Top Comments

  • Gangadhar 3sides
    Gangadhar 3sides over 2 years ago +1
    Hi Elijah, There is a small bug in the widget like and Idea are miss-configured #if($item == 'idea') <div class="margin"><span id="like" class="valign icon check"></span><span id="liked" class="valign…
  • Arthur Gartner
    Arthur Gartner over 2 years ago in reply to Alex Nassi

    Alex Nassi perfect! That is the change I have implemented as well! I have pushed the new fixed version to test and it should be deployed soon.

    • Cancel
    • Vote Up 0 Vote Down
    • More
    • Cancel
  • Alex Nassi
    Alex Nassi over 2 years ago in reply to Arthur Gartner

     Arthur Gartner That worked!! Thank you!! 

    Here is the updated version of the code block I included above:

     //Check if bio is Completed
    if(newItemsArray.includes('bio')){
    
    if(logToConsole == 'True')
        console.log("Bio: " + '$core_v2_encoding.JavascriptEncode($core_v2_user.Accessing.Bio())' );
    
    if('$core_v2_encoding.JavascriptEncode($core_v2_user.Accessing.Bio())'.substring(0,3) !== "<p>"){
        $("#bio").addClass('icon check');
        $("#bio").css("color", iconIncompleteBg) ;
        $("#bio1").css("color", linkIncomplete) ;
      
    }else{
        $("#bio").addClass('icon check');
        $("#bio").css("color", iconCompleteBg) ; 
        $("#bio1").css("color", linkComplete) ; 
        progressVal += 1;
    }
    } 

    I believe this is the change you're talking about and I think I got all of the updates, but I'll check again after you upload the new version to make sure, too. At a minimum, it's working for my user account Slight smile. Really appreciate your help!

    • Cancel
    • Vote Up 0 Vote Down
    • More
    • Cancel
  • Arthur Gartner
    Arthur Gartner over 2 years ago in reply to Alex Nassi

    Alex Nassi  I found the issue and have implemented the fix. I had to use the $core_v2_encoding.JavascriptEncode method on the html return. Any line breaks caused the html tags to be exposed and broke the JavaScript. I will add this fix to the next release and get this pushed to test right now. Should be about a week or two until the new version is pushed to marketplace. I'll reply to this thread once it is so that you can give it a go. Thanks for the great troubleshooting! 

    • Cancel
    • Vote Up 0 Vote Down
    • More
    • Cancel
  • Alex Nassi
    Alex Nassi over 2 years ago in reply to Arthur Gartner

    Thanks for checking Arthur Gartner ! I enabled the logging option as you suggested and recieved this console error:

    caught SyntaxError: Invalid or unexpected token (at wt:2293:35)

    Which (wt:2293:35) then points to 

    if(logToConsole == 'True')
    console.log("Bio: " + '<p>I joined SugarCRM in 2010 as a member of our tier-1 support team, quickly moving to tier-2, and have been managing Sugar&rsquo;s community offerings since 2014. I have seen the Sugar community evolve at an amazing rate since 2014 and am extremely excited and proud of the cross-functional effort to create SugarClub.</p>
    <p>I was born in Massachusetts, grew up in the South Bay Area in California, and currently reside with my wife and two young children outside of Denver, Colorado. When I&rsquo;m not managing SugarClub&rsquo;s day-to-day operations and planning on new ways to improve engagement with Sugar customers and partners, I&rsquo;m chasing my kids around. In my other few waking moments during the day, I&rsquo;m usually cooking, working, running, snowboarding, or watching whatever sports I can find on TV.</p>
    <p>Thank you for being a part of The Club!</p><div style="clear:both;"></div>' );

    I tried commenting out the entire Bio section on the widget's Content which successfully caused the widget to display:

     //Check if bio is Completed
    if(newItemsArray.includes('bio')){

    if(logToConsole == 'True')
    console.log("Bio: " + '$core_v2_user.Accessing.Bio()' );

    if('$core_v2_user.Accessing.Bio()'.substring(0,3) !== "<p>"){
    $("#bio").addClass('icon check');
    $("#bio").css("color", iconIncompleteBg) ;
    $("#bio1").css("color", linkIncomplete) ;

    }else{
    $("#bio").addClass('icon check');
    $("#bio").css("color", iconCompleteBg) ;
    $("#bio1").css("color", linkComplete) ;
    progressVal += 1;
    }
    }

    I also removed all of the content in my bio which was also successful. Adding one paragraph back into my bio was successful too, but it failed again when I added the entire block back. 

    It seems like the issue is related to having line breaks in the bio. I mentioned "Almost all users seem to see this as expected -- with the exception of myself and (at least) one other admin" and this other admin also has line breaks in her profile. Finally, I tried adding a line break into the profile of a non-admin test user and the widget failed again. 

    Any ideas on how to account for these line breaks? 

    • Cancel
    • Vote Up 0 Vote Down
    • More
    • Cancel
  • Arthur Gartner
    Arthur Gartner over 2 years ago in reply to Alex Nassi

    Alex Nassi I've looked into this issue and am having difficulty replicating it. The line you've called out executes the initial list of items, so given that you are seeing the list that means this block is executing properly. To see the view that you have, the JavaScript must not be executing properly, as this is what colors the list items and determines what has been completed. This is also the view you will see while in Edit mode. This widget has an optional debug mode that you may enable temporarily via the "configure" options. When this is toggled on are you able to see any output within the browser console? If not, are you able to try a different browser and see if the issue is still present?

    • Cancel
    • Vote Up 0 Vote Down
    • More
    • Cancel
  • Grant Pankonien
    Grant Pankonien over 2 years ago in reply to Alex Nassi

    Hey Alex Nassi ! That's interesting. Going to have one of our people take a look at the code and see if anything sticks out. May be a needle in haystack since it's just two of you experiencing the oddity, but we'll give it a go!

    • Cancel
    • Vote Up 0 Vote Down
    • More
    • Cancel
  • Alex Nassi
    Alex Nassi over 2 years ago

    I installed this on my site recently and it seems to be working great, with one exception. Almost all users seem to see this as expected -- with the exception of myself and (at least) one other admin. The only thing I can find that would remotely explain this is in the Content component:

     

    #if($itemsToShow && !$core_v2_user.Accessing.IsSystemAccount)
    

    However, neither of our accounts are System Accounts as far as I can tell. Here is how it shows for me:

    Versus other users who have and who haven't completed all items:

      

    Does anyone have any ideas on the reason for this discrepancy?

    • Cancel
    • Vote Up 0 Vote Down
    • More
    • Cancel
  • chrisseamons
    chrisseamons over 2 years ago in reply to Grant Pankonien

    Hey Grant.  Good to know what the intent was behind the widget and that it works as designed.  Thanks!

    • Cancel
    • Vote Up 0 Vote Down
    • More
    • Cancel
  • Grant Pankonien
    Grant Pankonien over 2 years ago in reply to chrisseamons

    Hey Chris, the spirit of this one is always of the accessing user, meaning my own activity to encourage myself to engage more. Can certainly take the widget and make it your own as you see fit!

    • Cancel
    • Vote Up 0 Vote Down
    • More
    • Cancel
  • chrisseamons
    chrisseamons over 2 years ago

    Hi Elijah.  One of our users noticed that whenever you have the widget on a profile page the view shows that of the accessing user but shouldn't it be the current user of the page you are viewing?  For example, if viewing another user's profile page it should show their progress but it shows the user viewing the page or oneself.

    Shouldn't the code in that case be changed from wherever it has $core_v2_user.Accessing to $core_v2_user.Current?  I changed this in our code and set the widget to log messages to the console and it outputs the corresponding data for what the current owner of the page has done on the community.

    • Cancel
    • Vote Up 0 Vote Down
    • More
    • Cancel
>
  • Telligent
  • Professional Services
  • Submit a Support Ticket
  • Become a Partner
  • Request a Demo
  • Contact Us

About
Privacy Policy
Terms of use
Copyright 2024 Verint, Inc.
Powered by Verint Community