• Gear
  • Shots
  • Photo Craft
  • Video
  • Wide Angle
  • Support
  • New Stuff
  • More
Support Legacy SmugMug Customization Allow Comments on Photos but NOT Galleries

Need some help with your New SmugMug Site?

Dgrin Challenges

Our Challenges moderator has lined up an new set of challenges for you. The Weekly Word Challenge. Get all the details and participate in the conversation Weekly Word Challenge.

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

Looking for a little challenge? The Dgrin Mini-Challenges are a great way to challenge yourself. Take a moment to look through past winners and find the current Mini Challenge here.

From Around the Net

Enjoy a few of our favorite articles from around the 'net. If you have something you think we should see, post it here and we'll have a look.

Journeys

Landscapes

Sports

 
Thread Tools Display Modes
Closed Thread
Old Feb-05-2006, 04:23 PM
#1
Andy is offline Andy OP
Bicameral
Andy's Avatar
Allow Comments on Photos but NOT Galleries
This came by email so I'm just putting the answer here, too

sitewide
#comment_header {display:none;}

gallery specific:
.gallery_XXXXXX #comment_header {display:none;}
Old Feb-08-2006, 09:20 PM
#2
azazel is offline azazel
Big grins
i tried the first one and all it does it shut out all the comments for pictures and gallery, i only need the gallery comments banned and not the pictures.
Old Feb-08-2006, 09:29 PM
#3
Mike Lane is offline Mike Lane
I � Unicode
Mike Lane's Avatar
Quote:
Originally Posted by azazel
i tried the first one and all it does it shut out all the comments for pictures and gallery, i only need the gallery comments banned and not the pictures.
Add this to what andy posted:

.singleImage #comment_header {display:block;}
__________________
Y'all don't want to hear me, you just want to dance.

http://photos.mikelanestudios.com/
Old Feb-08-2006, 09:37 PM
#4
azazel is offline azazel
Big grins
hmmm, nope, guests can still comment on the gallery
Old Feb-08-2006, 09:42 PM
#5
devbobo is offline devbobo
LR whisperer
devbobo's Avatar
Try this instead...

Code:
#comment_header {display:none;}
.singleImage #comment_header {display:block;}
Cheers,

David
__________________
David Parry
SmugMug API Developer
My Photos
Old Feb-08-2006, 09:49 PM
#6
devbobo is offline devbobo
LR whisperer
devbobo's Avatar
Quote:
Originally Posted by Mike Lane
Add this to what andy posted:

.singleImage #comment_header {display:block;}
didn't copy honest. Had this thread open will i was doing a few things, and it took me a while to reply.
__________________
David Parry
SmugMug API Developer
My Photos
Old Feb-08-2006, 10:06 PM
#7
azazel is offline azazel
Big grins
mike lane
devbobo
Andy

thank you guys! it worked devbobo, thanks for the help
Old Feb-08-2006, 10:08 PM
#8
Mike Lane is offline Mike Lane
I � Unicode
Mike Lane's Avatar
Quote:
Originally Posted by azazel
hmmm, nope, guests can still comment on the gallery
That's why you have to add it to what Andy gave you
__________________
Y'all don't want to hear me, you just want to dance.

http://photos.mikelanestudios.com/
Old Oct-02-2006, 11:57 PM
#9
DKwan is offline DKwan
Geginner brinner
DKwan's Avatar
What about the other way around? Comments on galleries but not on individual photos?

Do these codes go in the CSS section?
__________________
Daniel Kwan | DKwan.com | Smugmug | MySpace | Advice for Noobs | China
Old Feb-09-2007, 08:32 AM
#10
JFreeman is offline JFreeman
Big grins
So, it looks like this doesn't work anymore with the new commenting features.

#comment_header {display:none;}
.singleImage #comment_header {display:block;}

It still blocks all comments but the second part no longer allows image comments. Does this have to do with the new dropdown choice for image/gallery?
Old Apr-16-2007, 07:29 PM
#11
Kory Lidstrom is offline Kory Lidstrom
Smokin' Photog
Kory Lidstrom's Avatar
Quote:
Originally Posted by JFreeman
So, it looks like this doesn't work anymore with the new commenting features.

#comment_header {display:none;}
.singleImage #comment_header {display:block;}

It still blocks all comments but the second part no longer allows image comments. Does this have to do with the new dropdown choice for image/gallery?
So, what's the verdict on this? Does it work or not?
__________________
I see the world through a 3:2 rectangle.

My site:Fine Image Photography
Old Apr-16-2007, 07:33 PM
#12
Andy is offline Andy OP
Bicameral
Andy's Avatar
Quote:
Originally Posted by NugBlazer
So, what's the verdict on this? Does it work or not?
Correct. Closing this thread to avoid confusion.
Closed Thread
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