Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Thomas Beckert 193 posts 469 karma points
    Aug 05, 2014 @ 17:36
    Thomas Beckert
    0

    umbraco 7 Support

    Is the package compatible with u7 or is the support planned?

     

    Best regards -

     

    Tom

  • Governor Technology 146 posts 551 karma points
    Aug 05, 2014 @ 17:51
    Governor Technology
    0

    Hi Tom

    As mentioned here, we do not have any immediate plans to produce a V7 package. If you want, you can get the source here, and attempt to give it a go. Based on what others have reported, it might be only the V6 datatype which needs to be migrated to an equivalent V7 Property Editor.

    Best regards,

    Rigardt

  • Governor Technology 146 posts 551 karma points
    Nov 21, 2014 @ 14:44
    Governor Technology
    100

    Hi Tom

    I've just pushed some new versions of uShare, compatible with Umbraco 7. If still required, feel free to test these out.

    Also, can I please ask that you close this ticket if you can?

    Regards,

    Rigardt

  • Thomas T 66 posts 227 karma points
    Mar 13, 2015 @ 08:05
    Thomas T
    0

    Hi Rigardt,

                      1.  Does uShare package support umbraco 7.2 version ? I installed uShare 7.1.1  in umbraco 7.2 without any problem. But I didn't see authorise or de-authorise button in content section. It shows "No active service providers. See data type properties to activate.". What can I do now?. I installed this in remote machine. 

                     2.    I installed same version in umbraco 7.1. Here I see those buttons. I installed this in my local machine. When I click authorise button, it throws error as 

       " invalid redirect_uri. This value must match a URL registered with the API Key. All Applications can be found in your settings Terms of Service | Privacy Policy"

        I saw the lines below in documentation.

              "You might also be required to specify the absolute URL to your uShare LinkedIn page callback somewhere. For Umbraco 4 and Umbraco 6, use your site’s absolute URL of /umbraco/plugins/ushare/usharelinkedin.aspx. For Umbraco 7, use your site’s absolute URL of /app_plugins/ushare/usharelinkedin.aspx.".

      I dont know where to give this. I run in local machine. If so, then is it need to give like this  'http://localhost:xxxx/app_plugins/ushare/usharelinkedin.aspx' ?

  • Governor Technology 146 posts 551 karma points
    Mar 13, 2015 @ 11:05
    Governor Technology
    0

    Hi Thomas

    The last version of Umbraco that uShare was tested on was 7.1.9, however I'm fairly positive it would also work on 7.2.

    1. uShare should show the "No active service providers" message if you have not selected at least one service provider from your uShare data type. Can you please confirm that you've created a uShare data type using the uShare property editor and have ticked your required service providers. If so, the authorise/deauthorise buttons should show up.

    2. I assume you're using LinkedIn based on your example. When I did the initial documentation, LinkedIn did not require you to specify a callback URL. However it now requires you to enter your callback URL in the OAuth 2.0 Redirect URLs field. Enter your absolute URL here and give it another go.

    Another thought: are you using your hosts file for your local site? I have my site in there and am not sure if you're not using it in that way and only specify localhost and port to run your site, if the callback will be able to reach it.

    Hope this helps.

    Rigardt

  • Thomas T 66 posts 227 karma points
    Mar 13, 2015 @ 15:56
    Thomas T
    0

    Hi Rigardt,

                                  In local machine, it works. The problem is at linkedin application. When I hit save button after adding OAuth 2.0 Redirect URLs field, it shows 'saved' message.But actually,changes didn't save. To save changes, we need to refresh app creation page after pressing save button.

     But for Umbraco v 7.2., I already created a uShare data type using the uShare property editor and have ticked linked service provider. Even, it didn't show  authorise or deauthorise button.

     

     


  • Governor Technology 146 posts 551 karma points
    Mar 13, 2015 @ 16:00
    Governor Technology
    0

    Hi Thomas

    Glad to hear it's working for 7.1. now. Based on your report, it might then be that the data type is broken in 7.2. When I have some time, I'll look into this and upload a new version if this is the case. Until then, feel free to grab the source code from CodePlex and give it a go if it's urgent.

    Rigardt

  • Governor Technology 146 posts 551 karma points
    Mar 13, 2015 @ 17:00
    Governor Technology
    0

    Hi Thomes

    So...it appears it's this change in 7.2.0 that breaks the DB install script due to incompatible column comparisons. If you look in your DB, there should be a missing stored procedure named "uShareDoesHaveDatatypeWithServiceProviderEnabled". The package installation would've actually failed and should be logged.

    Anyway, it appears that this is the only missing component as a result of the failed installation. To manually create this stored procedure, I've grabbed the snippet from the package.xml and amended it. Please run this:

    CREATE PROCEDURE [dbo].[uShareDoesHaveDatatypeWithServiceProviderEnabled]   
        @ServiceProviderName NVARCHAR(50),
        @uSharePropertyEditorAlias NVARCHAR(50) 
    AS
    BEGIN   
        SET NOCOUNT ON;
    
        SELECT CASE WHEN COUNT (*) > 0 THEN 1 ELSE 0 END
        FROM cmsDataType dt 
        JOIN cmsDataTypePreValues dtpv ON dt.nodeId = dtpv.datatypeNodeId
        WHERE LOWER(dt.propertyEditorAlias) = LOWER(@uSharePropertyEditorAlias) AND (LOWER(dtpv.alias) = LOWER('enable' + @ServiceProviderName)) AND CAST(dtpv.value AS NVARCHAR(MAX)) = '1'
    END
    

    This should complete the installation and should get you in a position to use uShare.

    Let me know if you're still picking up anyother issues.

    Rigardt

Please Sign in or register to post replies

Write your reply to:

Draft