PDA

View Full Version : Hide cats/galleries for visitors on homepage


Savone
Mar-03-2006, 09:23 AM
Ok lets see if I can get across what I am thinking here.

I want to be able to hide the categories and galleries on my homepage from visitors, but when I log in I want to be able to see them. Is this possible?

Thanks
Steve

Andy
Mar-03-2006, 09:33 AM
We REALLY need your nickname.smugmug.com site please

So, it seems you have hidden your homepage stuff already, when I look at your site logged out.

I do the same thing, like this:

.loggedIn #homepage {display: block !important;}
.homepage #homepage { display: none;}

btw, this will remove your biobox photo when you are logged in...
.homepage #bioBox .photo {display: none;}

Mike Lane
Mar-03-2006, 09:34 AM
Ok lets see if I can get across what I am thinking here.

I want to be able to hide the categories and galleries on my homepage from visitors, but when I log in I want to be able to see them. Is this possible?

Thanks
Steve

#galleriesBox {display:none;}
.loggedIn #galleriesBox {display:block;}

OR

#categoriesBox {display:none;}
.loggedIn #galleriesBox {display:block;}

It depends on how you have your page set up. If you want tailored advice I suggest you provide your smugmug address.

Savone
Mar-03-2006, 09:45 AM
#galleriesBox {display:none;}
.loggedIn #galleriesBox {display:block;}

OR

#categoriesBox {display:none;}
.loggedIn #galleriesBox {display:block;}

It depends on how you have your page set up. If you want tailored advice I suggest you provide your smugmug address.

I put my smugmug address in my signature for that reason! :)

savone.smugmug.com or rifrazioni.com

Basically what I am trying to accomplish is two different views:

1) someone (anyone but me) sees nothing but the slideshow(which is the biobox), header and footer.

2) When I am logged in I see nothing but the galleries on the home page

is this possible?

Thanks guys!

Andy
Mar-03-2006, 09:56 AM
I put my smugmug address in my signature for that reason! :)

savone.smugmug.com or rifrazioni.com

Basically what I am trying to accomplish is two different views:

1) someone (anyone but me) sees nothing but the slideshow(which is the biobox), header and footer.

2) When I am logged in I see nothing but the galleries on the home page

is this possible?

Thanks guys!

rifrazioni does nothing for ME if I want to login to your account, that's why I always say nickname.smugmug.com, OK?

I tested, and gave you the code you need in my reply above. Try it.

Hope this helps,

Savone
Mar-03-2006, 10:01 AM
rifrazioni does nothing for ME if I want to login to your account, that's why I always say nickname.smugmug.com, OK?


Ahh HA! I appologize, changed the sig!

Will try the code now!
(Sheesh, I can tell your from NY)

Just kidding Andy, dont make me swim with the fishes! Thanks!

Savone
Mar-03-2006, 10:17 AM
No good, Dont see anything when I am not logged in. And still see it when I am logged in.

Savone
Mar-03-2006, 12:33 PM
OK I did this, what do you think?

#galleriesBox {display:none;}
.loggedIn #galleriesBox {display:block;}
#categoriesBox {display:none;}
.loggedIn #galleriesBox {display:block;}
#bioBox {display:block;}
.loggedIn #bioBox {display:none;}

Seems to have worked, did I wreck anything else in the meantime? I dont know.

ivar
Mar-03-2006, 12:47 PM
OK I did this, what do you think?

#galleriesBox {display:none;}
.loggedIn #galleriesBox {display:block;}
#categoriesBox {display:none;}
.loggedIn #galleriesBox {display:block;}
#bioBox {display:block;}
.loggedIn #bioBox {display:none;}

Seems to have worked, did I wreck anything else in the meantime? I dont know.

If you are wanting to do this on your homepage only, you can put ".homepage" in front of it.

Oakley
Mar-03-2006, 12:55 PM
OK I did this, what do you think?

#galleriesBox {display:none;}
.loggedIn #galleriesBox {display:block;}
#categoriesBox {display:none;}
.loggedIn #galleriesBox {display:block;}
#bioBox {display:block;}
.loggedIn #bioBox {display:none;}

Seems to have worked, did I wreck anything else in the meantime? I dont know.

I dont' know about your code...but your signature is messed up (and really annoying).:bash Right now you only have part of the web address set as a hyperlink (which, of course doesn't bring up your set when clicked).

Could you please fix it so people don't have to cut and paste your site address into their address bar?

Thanks

Savone
Mar-03-2006, 12:58 PM
I dont' know about your code...but your signature is messed up (and really annoying).:bash Right now you only have part of the web address set as a hyperlink (which, of course doesn't bring up your set when clicked).

Could you please fix it so people don't have to cut and paste your site address into their address bar?

Thanks

ahhaa, Sorry bro, didnt mean to ruin you day.
All fixed now.

Anyway, I have found that even though it doesnt show the slideshow it keeps loading the images. Is there anyway to stop this so I dont kill my bandwidth in one day?

Andy
Mar-03-2006, 01:02 PM
ahhaa, Sorry bro, didnt mean to ruin you day.
All fixed now.

Anyway, I have found that even though it doesnt show the slideshow it keeps loading the images. Is there anyway to stop this so I dont kill my bandwidth in one day?

The SS images are cached, they won't kill your bandwidth...

Savone
Mar-03-2006, 01:16 PM
The SS images are cached, they won't kill your bandwidth...

Ahh, yes, I noticed that after waiting for all the images to load. But they will load once every visit correct?

bwg
Mar-03-2006, 01:49 PM
Ahh, yes, I noticed that after waiting for all the images to load. But they will load once every visit correct?
correct

swab29
Oct-19-2006, 01:51 PM
Okay I want to hide them when I am logged out, but is there a way to show the categories when I am logged in?

Spencer Buchanan
swabimaging.smugmug.com

sriley
Oct-22-2006, 07:06 PM
Okay I want to hide them when I am logged out, but is there a way to show the categories when I am logged in?

Spencer Buchanan
swabimaging.smugmug.com
Yeah, that's the same issue I have. I can hide them, but they are hidden all the time. I only want them hidden when i am logged out.

rileyphotography.smugmug.com

devbobo
Oct-22-2006, 07:11 PM
Yeah, that's the same issue I have. I can hide them, but they are hidden all the time. I only want them hidden when i am logged out.

rileyphotography.smugmug.com

.loggedIn #categoriesBox {display: block !important}

Emberghost
Jun-24-2007, 03:21 PM
So which set of code do I need if I want to hide the "galleriers" and "home" box on my homepage while still seeing my banner/navbar/slideshow? Thanks guys, site is below.

Allen
Jun-24-2007, 03:51 PM
So which set of code do I need if I want to hide the "galleriers" and "home" box on my homepage while still seeing my banner/navbar/slideshow? Thanks guys, site is below.
Click hide in the upper right corner of the galeries box.

Answered the "home" question in another thread.

mogue
Jul-06-2007, 11:43 AM
I dont' know about your code...but your signature is messed up (and really annoying).:bash Right now you only have part of the web address set as a hyperlink (which, of course doesn't bring up your set when clicked).

Could you please fix it so people don't have to cut and paste your site address into their address bar?

Thanks

I added About Me by following Devbobo's advice for adding a Guest Book (very nice). Now I want to hide or remove the gallery I had to make for About Me on the homepage while keeping it in the link. How to do? thanks.

lucy

Allen
Jul-06-2007, 11:46 AM
I added About Me by following Devbobo's advice for adding a Guest Book (very nice). Now I want to hide or remove the gallery I had to make for About Me on the homepage while keeping it in the link. How to do? thanks.

lucy
As long as you have a direct link in your navbar make the gallery private.

mogue
Jul-06-2007, 11:53 AM
As long as you have a direct link in your navbar make the gallery private.

Gotcha and thanks.

lucy

pamelamariephotography
Jun-18-2008, 09:28 PM
If you are wanting to do this on your homepage only, you can put ".homepage" in front of it.

Ivar- I'm new to coding and would also like to do this on my homepage only, but I'm not sure exactly where you're referring to... where exactly should I put the ".homepage" in front of?

Thanks!!

pamelamarie.smugmug.com

RMBPhotos
Aug-24-2008, 08:40 PM
Hi there -

Thsi is all new to me, so I apologize in advance. I was able to create a slideshow and place it on my homepage, but now how do I remove that galleries from my homepage? I tried following the thread prior in reference to this very questiona dn got completly confused! In a perfect would, I'd like the homepage to consist of just the slideshow and navibar. Then when you click on galleries, you only see galleries and not a slide show. What am I doing wrong?

Thanks in advance for any assistance!
www.rmbphotogallery.com (http://www.rmbphotogallery.com)

One more question...how do I get my homepage to prompt visitors to install flash to view slideshow if they do not have it installed already??

-Regina

ekrizo
Oct-18-2008, 01:08 PM
I am trying to make the galleries public when I log in, but not for everyone else. I tried to guidance in this thread, but had no luck. My smugmug account is ejkrizo.smugmug.com or www.lastingsnapshots.com (http://www.lastingsnapshots.com).

Thanks for your help!

Allen
Oct-18-2008, 07:17 PM
I am trying to make the galleries public when I log in, but not for everyone else. I tried to guidance in this thread, but had no luck. My smugmug account is ejkrizo.smugmug.com or www.lastingsnapshots.com (http://www.lastingsnapshots.com).

Thanks for your help!
You will see all your galleries logged in, public or private, don't understand.:scratch

lightspeed
Nov-06-2008, 08:33 PM
My first post on this thread, but I wanted to do exactly what was originally requested... For visitors to my home page, they should only see my banner, navbar and slide show. When I'm logged in I want to see all my categories. I don't really care if the slide show plays or not.

Right now my "logged out" view is fine, but when I'm logged in I don't see anything except my banner and my navbar and the footer. Here's the code I'm using... it was reccomended on this thread...:scratch

#galleriesBox {display:none;}
.loggedIn #galleriesBox {display:block;}
#categoriesBox {display:none;}
.loggedIn #galleriesBox {display:block;}
#bioBox {display:block;}
.loggedIn #bioBox {display:none;}

My site is:
http://dwightbuhler.smugmug.com
or:
www.dwightbuhler.com (http://www.dwightbuhler.com)

Thanks in advance for any help. I sure would appreciate it. I'll check back in the morning. Gonna get some sleep.:thumb

Dwight

jfriend
Nov-06-2008, 08:40 PM
My first post on this thread, but I wanted to do exactly what was originally requested... For visitors to my home page, they should only see my banner, navbar and slide show. When I'm logged in I want to see all my categories. I don't really care if the slide show plays or not.

Right now my "logged out" view is fine, but when I'm logged in I don't see anything except my banner and my navbar and the footer. Here's the code I'm using... it was reccomended on this thread...:scratch

#galleriesBox {display:none;}
.loggedIn #galleriesBox {display:block;}
#categoriesBox {display:none;}
.loggedIn #galleriesBox {display:block;}
#bioBox {display:block;}
.loggedIn #bioBox {display:none;}

My site is:
http://dwightbuhler.smugmug.com
or:
www.dwightbuhler.com (http://www.dwightbuhler.com)

Thanks in advance for any help. I sure would appreciate it. I'll check back in the morning. Gonna get some sleep.:thumb

Dwight
The middle part of your CSS has a typo. Change it to:

#categoriesBox {display:none;}
.loggedIn #categoriesBox {display:block;}

After you do that, your categories show up.

lightspeed
Nov-07-2008, 04:11 PM
Thanks so much... all is right in the world again!

Dwight

Roytp
Mar-25-2009, 02:36 PM
I wonder if you could help me please.
My site is
http://roy-palmer-photography.smugmug.com/

I am trying to get my site to look like yours, which I really admire.

I have followed the tutorial through and got to the stage where I have the slideshow, I have a home and galleries page but I can't see the gallery on the gallery page. It is the same as the home. Even going and highlighting the gallery 'Homepage Layout' the gallery doesn't show.

I only have the skill to cut and past so following the syntax means nothing to me.
Please help.

jfriend
Mar-25-2009, 03:42 PM
I wonder if you could help me please.
My site is
http://roy-palmer-photography.smugmug.com/

I am trying to get my site to look like yours, which I really admire.

I have followed the tutorial through and got to the stage where I have the slideshow, I have a home and galleries page but I can't see the gallery on the gallery page. It is the same as the home. Even going and highlighting the gallery 'Homepage Layout' the gallery doesn't show.

I only have the skill to cut and past so following the syntax means nothing to me.
Please help. Several things wrong:

1) Remove this from your bottom javascript. It doesn't belong there and is causing errors:

Now we have your 'normal' homepage which is accessible at XXXXX.smugmug.com and your 'duplicate' homepage which is accessible at XXXXX.smugmug.com/galleries

2) Make your galleries visible with the homepage layout button.

gearboxphotos
May-02-2009, 12:54 AM
The middle part of your CSS has a typo. Change it to:

#categoriesBox {display:none;}
.loggedIn #categoriesBox {display:block;}

After you do that, your categories show up.

Thank you-thank you-thank you.. I have added several different codes and it just wouldn't work.. This post needs to be moved up to the first page.

Firestorm_westy
May-20-2009, 01:38 AM
Hi there -

Thsi is all new to me, so I apologize in advance. I was able to create a slideshow and place it on my homepage, but now how do I remove that galleries from my homepage? I tried following the thread prior in reference to this very questiona dn got completly confused! In a perfect would, I'd like the homepage to consist of just the slideshow and navibar. Then when you click on galleries, you only see galleries and not a slide show. What am I doing wrong?

Thanks in advance for any assistance!
www.rmbphotogallery.com (http://www.rmbphotogallery.com)

One more question...how do I get my homepage to prompt visitors to install flash to view slideshow if they do not have it installed already??

-Regina

This is exactly the issue I am having at westy.smugmug.com - Did you manage to find a solution?

Thanks,

Paul

margaritadesign
May-27-2009, 08:41 AM
Can yall tell me what to do to make my homepage only have my bio?
www.margaritadesign.com
I want to hide the navbar, keywords, most popular photos, and the friends and family section. But I want to keep them on my second page
www.margaritadesign.com/galleries
The only thing that I need for now is to have a link to the gallery called Art Store from my page.

Allen
May-27-2009, 08:57 AM
Can yall tell me what to do to make my homepage only have my bio?
www.margaritadesign.com (http://www.margaritadesign.com)
I want to hide the navbar, keywords, most popular photos, and the friends and family section. But I want to keep them on my second page
www.margaritadesign.com/galleries (http://www.margaritadesign.com/galleries)
The only thing that I need for now is to have a link to the gallery called Art Store from my page.
Remove your nav and I don't see a way to your galleries. Might change this
line in your biobox slideshow code so clicking takes them to the galleries
page. Also add text at bottom of your bio info toe click the slide show to enter
galleries maybe.

clickToImage: 'true',

to this

clickUrl: '/galleries',

Change this CSS

.homepage #galleriesBox,
.homepage #categoriesBox,
.homepage #featuredBox {
display: none;
}

.galleries #bioBox {
display: none;
}

.galleries #galleriesBox,
.galleries #categoriesBox,
.galleries #featuredBox {
display: block;
}

to this

.homepage #customNav,
.homepage #ffBox,
.homepage #popularPhotos,
.homepage #keywordsBox,
.homepage #galleriesBox,
.homepage #categoriesBox,
.homepage #featuredBox {
display: none;
}

.galleries #bioBox {
display: none;
}

.galleries #customNav,
.galleries #ffBox,
.galleries #popularPhotos,
.galleries #keywordsBox,
.galleries #galleriesBox,
.galleries #categoriesBox,
.galleries #featuredBox {
display: block;
}

margaritadesign
May-27-2009, 09:21 AM
Thanks! That worked great.

www.margaritadesign.com

Do you know how to separate the text in the bio box?
I would like the sentence "click the slideshow to enter the Art Store" to be a little clearer.

Allen
May-27-2009, 09:54 AM
Thanks! That worked great.

www.margaritadesign.com (http://www.margaritadesign.com)

Do you know how to separate the text in the bio box?
I would like the sentence "click the slideshow to enter the Art Store" to be a little clearer.
Add some breaks before it. Also if you like make it bold.

<br /><br />
<b>Click the slideshow to enter the Art Store<b/>

margaritadesign
May-27-2009, 10:07 AM
Thanks again. If you have time, I have one more question. Do you know why there is a white dot on the left of the screen below the banner?

margaritadesign
May-28-2009, 06:15 PM
Can you help me remove the navbar from the art store galleries, and sub galleries?

Allen
May-28-2009, 06:29 PM
Can you help me remove the navbar from the art store galleries, and sub galleries?
Add this to your advanced site-wide customization.

.category_Art #customNavContainer {display: none;}

That big dot is coming from "easy customize" header. Might be something you type in there.

margaritadesign
May-31-2009, 06:25 PM
Do you know how to hide the search field from the top of the page on the Art Store and main page (www.margaritadesign.com and www.margaritadesign.com/Art)? (or if you know how to make it search only for art on the art page, and everywhere on the other pages, that would really be cool.)

Enitsugua
Jul-03-2009, 10:50 AM
So, it seems you have hidden your homepage stuff already, when I look at your site logged out.

I do the same thing, like this:

.loggedIn #homepage {display: block !important;}
.homepage #homepage { display: none;}

btw, this will remove your biobox photo when you are logged in...
.homepage #bioBox .photo {display: none;}

For now, I have a Bio box and a galleries/categories box on my home page. I wanted to hide the galleries/categories box from visitors and only show it when I am logged in. Bio box should always show (for now--will be replacing with a slide show in the next week or so). I ended up with this CSS that works, after hiding everything but the Bio box on the homepage:

.loggedIn #galleriesBox {display: block !important;}
.loggedIn #categoriesBox {display: block !important;}
.homepage #galleriesBox {display: none;}
.homepage #categoriesBox {display: none;}

Is there a better way to do this?

Thanks.

www.eyelightsoflife.com

VisualAC
Aug-11-2009, 07:03 PM
Hi, I am trying to do the same thing as folks in this thread.

My site is visualac.smugmug.com.

Right now, I have my galleries "hidden" so they don't show up in visitor view, but I would like them to appear when I'm logged on.

I've tried a few of the codes/script on here but they don't seem to work.

Any help would be appreciated. :-D