• Gear
  • Shots
  • Photo Craft
  • Video
  • Wide Angle
  • Support
  • New Stuff
  • More
Support SmugMug Customization Share button disappeared when logged in??

FAQtoid

Ever wanted to create an Avatar? Creating an Avatar!

Searching Dgrin with Google Searching with Google

Dgrin Challenges

Congratulations to the Winner of DSS #128 (Sunrise or Sunset), ShootingStar.

The next Dgrin Challenge DSS #129 (Silhouette Revisited ) is open for entries through May 27th, 2013 at 8:00pm PDT.

As always, we look forward to your participation but please do take a moment to read through the rules before posting your entry.

Past DSS Challenge Winners, DSS Challenge Rules, and other important DSS Challenge information is here.

Need some help with Accessories?

Tutorials

Ever find yourself wondering just how someone managed to create an image using different effects?

Here are three simple tutorials we hope will encourage you to try something new.

The Hot Seat

A lifelong interest in landscape photography has led Eyal Oren to make a study of his adopted hometown of Marblehead, MA. As you can see, his dedication is paying off!

Africa!

Dgrinners Harryb, Pathfinder, and others joined Andy Williams and Marc Muench on Safari in East Africa recently. Here are some awesome threads to check out!

 
Thread Tools Display Modes
Old Jan-03-2009, 11:44 PM
#1
valeriecook is offline valeriecook OP
Big grins
Huh Share button disappeared when logged in??

I would love to be able to link to my images on forums such as fred miranda, etc. But I want to hide the share button unless I am logged in. Here is the code I found and pasted into my css:

.share_button { display: none;}.loggedIn #altViews.nav, .loggedIn .share_button { display: block;}

I have 'external link' enabled in this gallery:

http://www.valeriecookphotography.co...41556189_9SDaR

I can't see the 'share' button at all. Thanks for any help (-:

www.valeriecookphotography.com

~Val
Old Jan-03-2009, 11:57 PM
#2
jfriend is offline jfriend
Scripting dude-volunteer
This is no longer the correct code for hiding/showing the share button.

Change this:

.share_button { display: none;}
.loggedIn #altViews.nav, .loggedIn .share_button { display: block;}


to only this:

.notLoggedIn #shareButton {display:none;}

To have a Share Button at any time, you also have to have Easy Sharing turned on in the Customize Gallery screen.

__________________
--John
HomepagePopular
JFriend's javascript customizationsSecrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
Old Jan-04-2009, 05:29 AM
#3
valeriecook is offline valeriecook OP
Big grins
Perfect - thanks!! I totally forgot about turning the share button on (-: Thanks too, for the correct code! ~Val


Quote:
Originally Posted by jfriend
This is no longer the correct code for hiding/showing the share button.

Change this:

.share_button { display: none;}
.loggedIn #altViews.nav, .loggedIn .share_button { display: block;}


to only this:

.notLoggedIn #shareButton {display:none;}

To have a Share Button at any time, you also have to have Easy Sharing turned on in the Customize Gallery screen.

Old Jan-13-2009, 06:36 AM
#4
inthedeck is offline inthedeck
Big grins
I would like to revive this, rather than opening up a new thread...so maybe one of you can help me out.

I would also like the ability to share pics in forums, without making the 'share' button available to people that visit my pages. So, I guess my question is, where does one put that line of code? Two, if I turn off the 'share' button, in the gallery, will it still allow 'me' to share pics?

Any help here would be much appreciated.

Thanks.
Manish.
__________________
My Page.
My Name: Manish.
Old Jan-13-2009, 07:17 AM
#5
inthedeck is offline inthedeck
Big grins
Nevermind...I figured it out. Appreciate the line of code!

Cheers,
Manish
__________________
My Page.
My Name: Manish.
Tell The World!  

Thread Tools
Display Modes

Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump