embed=on, but no Get A Link desired.

gschlactgschlact Registered Users Posts: 56 Big grins
edited September 30, 2015 in SmugMug Pro Sales Support
Hello,
I need help. The SmugMug functionality for External Embedding has seemed to change.
In the Past, I was able to:
1. temporarily have Embedding=On, Sharing = On
2. get a picture link
3. post link into a forum where I wanted to reference/embed the photo
4. turn Embedding=off (after I got proper link)
5. forum would still resolve and display image, yet Sharing Menu would not show "get a link"

NOW
When I do the same steps, your Embedding=off now blocks the external sites from resolving the valid photo link. What is strange, is that the link used, can be entered into a browser and resolved, but not by an external site to display.

Problem statement: -->HOW can this be accomplished?
I have 3 concurrent requirements:
1. Turn off ability for Guest to access "Get A Link" in the Sharing menu
2. keep Sharing=On so that guests can Share to Facebook
3. get valid Owner photo links so that Owner can embed into and persist in external site

--I would contend that owners should be able to get a permanent valid link to their images to embed in external sites that are not affected by the Gallery Guest Settings.

related problem/bug:
Also note, that when logged in as an owner, when Embed=off, you stopped enabling the owner from "Get a Link", the option is there but the site blocks actually getting a link. I don't believe this should be intended. In other words, Embed=off should not prevent Owner from getting a link.

Thank you in advance for your help!

Guy Schlacter
gschlact
schlacter.smugmug.com

Comments

  • AllenAllen Registered Users Posts: 10,013 Major grins
    edited September 5, 2014
    With embed off any link is useless. Always been that way I think.
    Al - Just a volunteer here having fun
    My Website index | My Blog
  • gschlactgschlact Registered Users Posts: 56 Big grins
    edited September 5, 2014
    Allen- I disagree. In the past, once a valid link was used to embed on external site, the Embed=off, did not disrupt the ability, only the display of "Get a Link" got turned off.
    I realize this is now better security where the link is blocked. However, I want the owner to be able to get a permanently valid link, while still being able to have Guest have access the the Share Menu for FB and without 'get a link' option.
  • bobbyherobobbyhero Registered Users Posts: 207 Major grins
    edited September 5, 2014
    If the domain is other than the SmugMug site, External Embedding (if disabled) will prevent that image from being displayed elsewhere.
  • gschlactgschlact Registered Users Posts: 56 Big grins
    edited September 11, 2014
    Bobby Hero-
    Ok, so any link is useless if Embed is Off.
    So - how can I do what i requested above as the Owner?
    I don't want to have to create a new gallery and collect / add those images I want to post, just to get a link.
    Can't owners be provided some 'owner' designation when they get a link so that it persists when embed=off?
    ALTERNATIVELY, create a new switch called GUEST GET A LINK that controls whether the Guest (non owner) can see the "get a link" option from the "SHARE" menu under the image.
    This way, owners can get the link and leave Embed=on, and Guests can share to FB etc, but not find a direct link.

    Thoughts?

    Guy
    gschlact

    PS - I don't think instant email notification is properly working. I didn't get notified of your reply so sorry for the delay.
  • BeaBea Registered Users Posts: 112 Major grins
    edited September 11, 2014
    Hi Guy,

    Alternatively you could use the following CSS code to remove the "Get a link" part. This code will remove get a link for viewers, but not for the logged in owner:

    /* remove the Get a link option from Share */
    #ShareGetALink { display:none; }
    .sm-user-loggedin #ShareGetALink { display:block; }

    I hope this helps!
    Bea
    SmugMug Support Hero | My website: www.beabird.net
  • AllenAllen Registered Users Posts: 10,013 Major grins
    edited September 11, 2014
    vakvarju wrote: »
    Hi Guy,

    Alternatively you could use the following CSS code to remove the "Get a link" part. This code will remove get a link for viewers, but not for the logged in owner:

    /* remove the Get a link option from Share */
    #ShareGetALink { display:none; }
    .sm-user-loggedin #ShareGetALink { display:block; }

    I hope this helps!
    I believe that for any visitor logged in to their own Smug site this will not work, you have to add .sm-user-owner to that.

    Looking further .sm-user-owner does not show for visitor in body tag if opened in another window but
    does show in body tag in another tab in same browser.
    .sm-user-owner.sm-user-loggedin ...

    This probably needs to be confirmed.
    Al - Just a volunteer here having fun
    My Website index | My Blog
  • gschlactgschlact Registered Users Posts: 56 Big grins
    edited September 11, 2014
    So where does this leave me?
  • BeaBea Registered Users Posts: 112 Major grins
    edited September 12, 2014
    We're looking into this - thanks for your patience!
    Bea
    SmugMug Support Hero | My website: www.beabird.net
  • tomnovytomnovy Registered Users Posts: 1,102 SmugMug Employee
    edited September 12, 2014
    Hi there,

    There are two class names on the tag that you can use.

    .sm-user-loggedin : For any logged in user.
    .sm-user-owner : For only the logged in owner
    SmugMug Support Hero | Customizer | My SmugMug site - http://www.photom.me | Customization Portal - https://customsmug.com/
  • gschlactgschlact Registered Users Posts: 56 Big grins
    edited September 13, 2014
    So Tom -
    does this code BLOCK displaying of the Get a Link from Guests since it doesn't use the sm-user-ower class?

    Alternatively you could use the following CSS code to remove the "Get a link" part. This code will remove get a link for viewers, but not for the logged in owner:

    /* remove the Get a link option from Share Menu for GUESTS*/
    #ShareGetALink { display:none; }
    .sm-user-loggedin #ShareGetALink { display:block; }

  • annnna8888annnna8888 Registered Users, Super Moderators Posts: 936 SmugMug Employee
    edited September 14, 2014
    Guy, use this code:
    #ShareGetALink { display:none; }
    .sm-user-owner.sm-user-loggedin #ShareGetALink { display:block; }
    
    Using this code, only you as the logged in account owner will see Get a link under the Share button in your galleries. Nobody else will, regardless of whether they are logged into their own SmugMug sites or not.

    Ana
    SmugMug Support Hero
    Ana
    SmugMug Support Hero Manager
    My website: anapogacar.smugmug.com
  • gschlactgschlact Registered Users Posts: 56 Big grins
    edited September 15, 2014
    thanks you. it seems to work!
  • gschlactgschlact Registered Users Posts: 56 Big grins
    edited November 17, 2014
    code no longer working to block get-a-link
    So, something happened with the site? THe Get A Link is no longer blocked by the code above. Any ideas?
    here is an example gallery. Embed=On, with the code from above, but even when logged out, I see the Get a Link option in the share menu. http://schlacter.smugmug.com/Sports/Other-Sports/2014-Stevenson-High-School/

    Fixing the code/ alternative fix would be greatly appreciated.

    Guy
  • annnna8888annnna8888 Registered Users, Super Moderators Posts: 936 SmugMug Employee
    edited November 19, 2014
    Guy, first, I'd remove the semicolons at the end of each line:

    #ShareGetALink { display:none; } ;
    .sm-user-owner.sm-user-loggedin #ShareGetALink { display:block; } ;

    Also, you have a lot of CSS in that content block that doesn't belong there and might be breaking stuff, for example the javascript and google adsense code. For the latter, follow the instructions here:
    http://help.smugmug.com/customer/portal/articles/1297078

    Ana
    SmugMug Support Hero
    Ana
    SmugMug Support Hero Manager
    My website: anapogacar.smugmug.com
  • gschlactgschlact Registered Users Posts: 56 Big grins
    edited November 25, 2014
    annnna8888 wrote: »
    Guy, first, I'd remove the semicolons at the end of each line:

    #ShareGetALink { display:none; } ;
    .sm-user-owner.sm-user-loggedin #ShareGetALink { display:block; } ;

    Also, you have a lot of CSS in that content block that doesn't belong there and might be breaking stuff, for example the javascript and google adsense code. For the latter, follow the instructions here:
    http://help.smugmug.com/customer/portal/articles/1297078

    Ana
    SmugMug Support Hero

    Ana,
    The semicolins were added after it didn't work as a test for me.
    removing them doesn't fix it.

    I have now removed the semicolons and the Google Adsens from the CSS, but it still doesn't work.
    sample gallery here: http://schlacter.smugmug.com/Sports/Zachary/2014FallLincolnshireLightningU/i-qbJtW52

    What do I try next?

    Thank you.
    Guy
  • annnna8888annnna8888 Registered Users, Super Moderators Posts: 936 SmugMug Employee
    edited November 25, 2014
    Guy, to confirm, the code to remove Get a link for visitors works fine on my site. I had a look at your site and you still seem to have some javascript code in your CSS content block on the entire site. I'd recommend deleting that.

    Ana
    SmugMug Support Hero
    Ana
    SmugMug Support Hero Manager
    My website: anapogacar.smugmug.com
  • PhyxiusPhyxius Registered Users Posts: 1,396 Major grins
    edited November 25, 2014
    Hi Guy,

    I just wanted to update this thread with information that I have replied to your email regarding this customization. The code, as provided by Ana, does work correctly but your CSS content block in your Entire Site customization needs to be cleaned up to prevent complications.

    Regards,
    Christina Dale
    SmugMug Support Hero
    Christina Dale
    SmugMug Support Specialist - www.help.smugmug.com

    http://www.phyxiusphotos.com
    Equine Photography in Maryland - Dressage, Eventing, Hunters, Jumpers
  • AllenAllen Registered Users Posts: 10,013 Major grins
    edited September 30, 2015
    Edit: Replied to post deleted by OP.
    Both of these .sm-user-owner and .sm-user-loggedin are in the body tag. When both are in the
    same tag remove the space between them.

    <body style="" class="sm-user-professional sm-user-loggedin sm-user-owner sm-page sm-page-node sm-page-node-FLTsh sm-page-home sm-page-initialized">

    .sm-user-owner.sm-user-loggedin
    Al - Just a volunteer here having fun
    My Website index | My Blog
  • AllenAllen Registered Users Posts: 10,013 Major grins
    edited September 30, 2015
    BTW, .sm-user-loggedin is in the body tag of every Smugmug site you visit if you are logged in to your own site.
    The page picks up that you are logged in elsewhere and adds it in the tag. Notice when you leave a comment
    on someones gallery your profile photo shows if logged in.

    Edit: so you really only need the .sm-user-owner.
    Al - Just a volunteer here having fun
    My Website index | My Blog
  • gschlactgschlact Registered Users Posts: 56 Big grins
    edited September 30, 2015
    thanks. I deleted my post as I pasted from this thread back into the CSS and then saw that i had added a space yesterday thinking I had deleted it by accident.
    thanks again.
Sign In or Register to comment.