Remove "powered by Smugmug" when posting URL to Facebook?

margemsmargems Registered Users Posts: 8 Big grins
edited September 27, 2016 in SmugMug Customization
Is there a way to do this? I removed "powered by Smugmug" from the footer using code I found online. Even when this line isn't in the footer, it still appears when I post the link to Facebook. (Note: I really don't mind the line being in the footer; I do mind when it appears large in a posting to Facebook.) Thanks.

Comments

  • leftquarkleftquark Registered Users, Retired Mod Posts: 3,784 Many Grins
    edited February 6, 2015
    How are you posting it to facebook? When I paste a link into facebook I don't see it generate the "Powered by SmugMug"
    dGrin Afficionado
    Former SmugMug Product Team
    aaron AT aaronmphotography DOT com
    Website: http://www.aaronmphotography.com
    My SmugMug CSS Customizations website: http://www.aaronmphotography.com/Customizations
  • margemsmargems Registered Users Posts: 8 Big grins
    edited February 6, 2015
    leftquark wrote: »
    How are you posting it to facebook? When I paste a link into facebook I don't see it generate the "Powered by SmugMug"

    I copy the URL and paste it into the Facebook message.
  • margemsmargems Registered Users Posts: 8 Big grins
    edited February 6, 2015
    Aaron, are you looking into this? I really would like to announce my website on Facebook today. Thanks
  • Lille UlvenLille Ulven Registered Users Posts: 567 Major grins
    edited February 6, 2015
    I tried having a look for you, but when I open up one of my sites and copy the link from the url-bar into Facebook I don't get the "powered by smugmug" either. Could you possibly try with another page of your website? Might it be that you did not remove the "powered by " text from all your pages?
    Do you have a CSS-field placed on "Entire Page" level with the following code:
    /*Remove the Powered by in the bottom of the page */
    .sm-page-powered-by a { display: None; }
    
    to remove the text or did you use another code / this code on another level?
    If you used it on another level - say "All Galleries" - than adding a CSS-field on the level "Entire Page" with this code should fix it.

    Or could you give me a link to your website here so that I could try for myself what happens if I posted a link from your page to FB?

    Good luck

    Lille Ulven
    https://www.lilleulven.smugmug.com - The Photos of my travels
  • margemsmargems Registered Users Posts: 8 Big grins
    edited February 6, 2015
    Lille,

    I placed the code on the "Entire Page" level, though a different code than what you posted above. I actually tried two different codes I found online. Both worked in removing the line from the website, but didn't remove the line when posting to FB.

    I tried to post another page from my website (a gallery page), and this line appeared instead, "This gallery hosted by SmugMug; your photos look better here."

    I actually already posted my link to FB, but removed the preview and added a photo. I wanted to post it today.
    http://photo.mpolitzer.com/

    Thanks,
    Margie
  • The MechanicThe Mechanic Registered Users Posts: 197 Major grins
    edited February 6, 2015
    Hey there,

    It looks like you will need to set your site description. You can do this in your account settings here:

    https://secure.smugmug.com/settings/#section=search

    Then you can debug on facebook and scrape the new info by entering your link once here:

    https://developers.facebook.com/tools/debug/

    Click Fetch New Scrape Info to get your updates to show up.
  • Lille UlvenLille Ulven Registered Users Posts: 567 Major grins
    edited February 7, 2015
    Hi Margie.

    I took the liberty to look at your page with Firefoxes webpage development tools.
    I could find two CSS boxes which I think you have added. These contain the following lines of code:
    div>div>.sm-page-widget-galleries>div>.sm-page-widget-body .sm-tile-info-icon{
    	display:none!important
    }
    
    .sm-gallery-slideshow-button{
    	display:none
    }
    

    and
    .sm-gallery-smugmug .sm-tile-title{
    	display:none
    }
    
    .sm-button-image-share{
    	display:none
    }
    

    Well the first one contains some more code, but I think the other lines should do their job.
    For the first box I wonder if the
    div>div>
    
    in the beginning of the first line shown here is doing you any good. (It might, I am not that experienced in CSS)
    But what I can see from all your lines: the ";" to end a command line is missing.
    So I think that if you replaced those lines with the following:
    (I added some comments within the /* */ to show what I have changed in the code as it might be else hard to spot :)
    .sm-page-widget-galleries .sm-page-widget-body .sm-tile-info-icon{ /*>div> removed */
    	display:none !important; /*space between none and !important added, semicolon added*
    }
    
    .sm-gallery-slideshow-button{
    	display:none; /*semicolon added*/
    }
    
    .sm-gallery-smugmug .sm-tile-title{
    	display:none; /*semicolon added */
    }
    
    .sm-button-image-share{
    	display:none; /*semicolon added */
    }
    

    It should/could work to post directly to Facebook without getting the smugmug-text included.

    Good luck

    Lille Ulven
    https://www.lilleulven.smugmug.com - The Photos of my travels
  • The MechanicThe Mechanic Registered Users Posts: 197 Major grins
    edited February 7, 2015
    Hello,

    The content posted to facebook that is showing on your facebook feed in not impated by the CSS on your site. While the CSS will control the SmugMug site once you go there, it will not control the text shown in the post on facebook. To remedy this, be sure you have the Site Title and Site Description filled out so the default information does not show on your facebook post. The same applies if you post a link to a page, folder, gallery or photo, fill out the title, caption or description otherwise the default info will show.

    If you have tried to post before these changes were made, facebook likely cached this data, you will need to use the facebook debug link and scrape for the new data on your site so the post does not show the old data.

    Again, the CSS on your SmugMug Site, does not affect what is posted in your Feed on Facebook.
  • ChancyRatChancyRat Registered Users Posts: 2,141 Major grins
    edited February 7, 2015
    Hello,

    The content posted to facebook that is showing on your facebook feed in not impated by the CSS on your site. While the CSS will control the SmugMug site once you go there, it will not control the text shown in the post on facebook. To remedy this, be sure you have the Site Title and Site Description filled out so the default information does not show on your facebook post. The same applies if you post a link to a page, folder, gallery or photo, fill out the title, caption or description otherwise the default info will show.

    If you have tried to post before these changes were made, facebook likely cached this data, you will need to use the facebook debug link and scrape for the new data on your site so the post does not show the old data.

    Again, the CSS on your SmugMug Site, does not affect what is posted in your Feed on Facebook.

    Mechanic thank you for this information. As far as I can tell, it's not fixing the problem for me.
    I have cleared history on all browsers.
    I have always had a site title and site description.
    On this gallery, I did not have a description, so I added one. (Then cleared all the cookies.)

    Yes, using the FB debugger site, I still see the SM reference. Am I missing something about what I can do to fix this? Thanks.
  • The MechanicThe Mechanic Registered Users Posts: 197 Major grins
    edited February 7, 2015
    What is entered in the box located here for "Homepage Meta Description" ? :

    https://secure.smugmug.com/settings/#section=search
  • ChancyRatChancyRat Registered Users Posts: 2,141 Major grins
    edited February 7, 2015
    What is entered in the box located here for "Homepage Meta Description" ? :

    https://secure.smugmug.com/settings/#section=search

    "JoinRats - Pet Rats , Trust Training, Socialization, Enrichment, Introductions, Rat Health, and More"

    [minus quotes]
  • The MechanicThe Mechanic Registered Users Posts: 197 Major grins
    edited February 7, 2015
    Unfortunately, it appears that this information is not showing in the source code of your site. As such, facebook's scraper can not find it as it is not there either. You will need to shoot an email to the help desk help@smugmug.com so they can check on this for you, to make sure there isn't any old cached data on your homepage.
  • ChancyRatChancyRat Registered Users Posts: 2,141 Major grins
    edited February 8, 2015
    Unfortunately, it appears that this information is not showing in the source code of your site. As such, facebook's scraper can not find it as it is not there either. You will need to shoot an email to the help desk help@smugmug.com so they can check on this for you, to make sure there isn't any old cached data on your homepage.

    Awesome - bowdown.gif I was 100% sure you were a Smugmug Hero. I can see why you have to advertise that you aren't one in order to keep people straight on that subject. bowdown.gif

    SM help did clear the cache and that fixed the link posting. You know? I've asked about this in a few other random threads over time, and always I was only confused by the answers. Dead-ends. I'm so glad this issue could come up here in case other folks face similar confusing behavior that they can't even wrap their minds around. thumb.gif
  • margemsmargems Registered Users Posts: 8 Big grins
    edited February 11, 2015
    What is entered in the box located here for "Homepage Meta Description" ? :

    https://secure.smugmug.com/settings/#section=search
    Sorry, I was unavailable for awhile. Thanks so much, The Mechanic. This worked for my homepage, but if I post a gallery, I get "This gallery hosted by SmugMug; your photos look better here." I can't find a way to change this setting for the gallery. Your help is much appreciated!
  • leftquarkleftquark Registered Users, Retired Mod Posts: 3,784 Many Grins
    edited February 11, 2015
    I tried pasting in both your homepage and your galleries and facebook did not pull in the hosted by SmugMug tag. It pulled in your site name and gallery name! It looks like you have this all set? I double checked and your account settings and your profile settings all seem to be in order.
    dGrin Afficionado
    Former SmugMug Product Team
    aaron AT aaronmphotography DOT com
    Website: http://www.aaronmphotography.com
    My SmugMug CSS Customizations website: http://www.aaronmphotography.com/Customizations
  • margemsmargems Registered Users Posts: 8 Big grins
    edited February 11, 2015
    leftquark wrote: »
    I tried pasting in both your homepage and your galleries and facebook did not pull in the hosted by SmugMug tag. It pulled in your site name and gallery name! It looks like you have this all set? I double checked and your account settings and your profile settings all seem to be in order.
    No, it is not all set. When I post a gallery, I still get "This gallery hosted by SmugMug; your photos look better here." The homepage is fixed through The Mechanic's instructions. I think your settings are different than what we regular users see.
  • leftquarkleftquark Registered Users, Retired Mod Posts: 3,784 Many Grins
    edited February 12, 2015
    margems wrote: »
    No, it is not all set. When I post a gallery, I still get "This gallery hosted by SmugMug; your photos look better here." The homepage is fixed through The Mechanic's instructions. I think your settings are different than what we regular users see.

    Would you be able to send me a link to the gallery that you're having the problem with? I tried 3 of yours and they all display the Gallery name and "margiepolitzer". I don't see the Powered by SmugMug anywhere :/.

    If you want to change the "<gallery name> - margiepolitzer" Click on the icon of a person in the top-right, and choose Profile and change your profile and site name.

    Although I have special access to SmugMug sites, it won't change what Facebook pulls from the page. We both should be feeding it the same link and it then scrapes the information.

    screenshot-X3.jpg
    dGrin Afficionado
    Former SmugMug Product Team
    aaron AT aaronmphotography DOT com
    Website: http://www.aaronmphotography.com
    My SmugMug CSS Customizations website: http://www.aaronmphotography.com/Customizations
  • margemsmargems Registered Users Posts: 8 Big grins
    edited February 12, 2015
    leftquark wrote: »
    Would you be able to send me a link to the gallery that you're having the problem with? I tried 3 of yours and they all display the Gallery name and "margiepolitzer". I don't see the Powered by SmugMug anywhere :/.

    If you want to change the "<gallery name> - margiepolitzer" Click on the icon of a person in the top-right, and choose Profile and change your profile and site name.

    Although I have special access to SmugMug sites, it won't change what Facebook pulls from the page. We both should be feeding it the same link and it then scrapes the information.

    It may only be the first gallery; I didn't check them all: http://photo.mpolitzer.com/Nicaragua1/

    I emptied the cache (in both Firefox and Safari), and debugged also.
  • Lille UlvenLille Ulven Registered Users Posts: 567 Major grins
    edited February 12, 2015
    Hi Margems.

    I just tested it for your page on my Facebook account.
    Turns out: it is the Nicaragua1 gallery (OK, the only other one that I tested was Nicaragua-2) which seems to get the "hosted by smugmug" - but here is the good news: it only comes up in the post-preview as soon as you hit the post-button your page looks like this on Facebook:

    i-QRnM927-M.png

    without the smugmug-hint.
    (This at least if I hit the "only for me" setting in visibility on Facebook).

    Hope that helps

    Lille Ulven
    https://www.lilleulven.smugmug.com - The Photos of my travels
  • margemsmargems Registered Users Posts: 8 Big grins
    edited February 12, 2015
    Lille, yes you are right. Thanks for actually posting it.

    I wish that line wasn't there though, even if only I see it.
  • Lille UlvenLille Ulven Registered Users Posts: 567 Major grins
    edited February 13, 2015
    Margems,

    I believe that just after you hit the "post" button that line will disappear from your window as well. That is what happened when I posted that link of yours.
    Maybe Facebook has some sort of cache of its own and when you post a link (or for that matter re-post a link) it takes the data from that cache until you hit the post-button, when it is updated with the actual content.

    It is worth a try - and if true, than over short or long Facebook should refresh its own caches and you won't have that problem anymore (unless you delete your descriptions / set up new galleries without and the game starts over again).

    Good luck

    Lille Ulven
    https://www.lilleulven.smugmug.com - The Photos of my travels
  • pmbpropmbpro Registered Users Posts: 236 Major grins
    edited October 1, 2015
    OP, thanks for starting this thread, and to everyone else who posted to help. I am now having the same problem all of a sudden after working for so long (I didn't even make any changes to my description or codes) and I checked Facebook Debugging, so I will be sending a quick email to Smugmug help. :)
    pmb images
    Film/TV Stills Photography
    "When your work speaks for itself, don't interrupt." ~ Henry J. Kaiser
  • sapphire73sapphire73 Registered Users, Super Moderators Posts: 1,973 moderator
    edited September 27, 2016
    What is entered in the box located here for "Homepage Meta Description" ? :

    https://secure.smugmug.com/settings/#section=search

    Thank you for this link! I have just started posting directly from SmugMug to facebook and found a typo in the description but couldn't "find it" to change it. The Homepage Meta Description was the answer. Thanks again!
Sign In or Register to comment.