View Full Version : Hide STYLE button in search result page
ropeboy
Nov-22-2008, 04:31 PM
As a PRO user I do not want to have slide show displays which are available in the STYLE dropdown box that appears at the top of a key word seach results page. I have spent hours on the forum but don't see the topic. From earlier research I read that it can not be disabled. So...
Can I "display none" or "display block" the button, or change the color to black so it hides in my black background, or make it so tiny it can not be seen?
jfriend
Nov-22-2008, 04:53 PM
As a PRO user I do not want to have slide show displays which are available in the STYLE dropdown box that appears at the top of a key word seach results page. I have spent hours on the forum but don't see the topic. From earlier research I read that it can not be disabled. So...
Can I "display none" or "display block" the button, or change the color to black so it hides in my black background, or make it so tiny it can not be seen?
I'm not sure which page you want to disable it on. If you can post a link to that page (do a search, copy the URL), I can likely help you with a solution.
One thing you can look at right away is a much nicer looking style bar (http://www.dgrin.com/showthread.php?t=111251) where you can control which views are offered.
ropeboy
Nov-22-2008, 06:37 PM
I'm not sure which page you want to disable it on. If you can post a link to that page (do a search, copy the URL), I can likely help you with a solution.
One thing you can look at right away is a much nicer looking style bar (http://www.dgrin.com/showthread.php?t=111251) where you can control which views are offered.
Jfriend you had the answer I needed. I just used your suggested code in the CSS box to not display the stylebar on a site wide basis. I am happy with the Smugmug style and that is all I use. Thank you so much.
Allen
Nov-22-2008, 06:53 PM
Jfriend you had the answer I needed. I just used your suggested code in the CSS box to not display the stylebar on a site wide basis. I am happy with the Smugmug style and that is all I use. Thank you so much.
The only problem is that anyone entering your site does not have
anyway to control what style they see. You can set the style under
customize gallery to lock those but pages like popular, keyword , search and
timeline do not have this ability to set the style.
jfriend
Nov-22-2008, 06:56 PM
Jfriend you had the answer I needed. I just used your suggested code in the CSS box to not display the stylebar on a site wide basis. I am happy with the Smugmug style and that is all I use. Thank you so much.Are you using a custom domain? If you are not, it is BAD to just hide the stylebar in your galleries. That's because Smugmug (using cookie) remembers what style a viewer last used, even in other Smugmug accounts, so someone might arrive in your site, have last used the critique style, and be stuck in that style for your whole site.
If you want to lock the user into Smugmug style, then force all your galleries to the Smugmug style and no stylebar will appear.
ropeboy
Nov-22-2008, 07:30 PM
Are you using a custom domain? If you are not, it is BAD to just hide the stylebar in your galleries. That's because Smugmug (using cookie) remembers what style a viewer last used, even in other Smugmug accounts, so someone might arrive in your site, have last used the critique style, and be stuck in that style for your whole site.
If you want to lock the user into Smugmug style, then force all your galleries to the Smugmug style and no stylebar will appear.
Yes, I had read about the cookies in previous Dgrin posts. The way I understand it, a customer who last viewed a Smugmug site in slideshow would still be in slideshow when they viewed my site. I have Smugmug style selected for all galleries in the Customize Gallery screens. Is this what you mean by "force all your galleries to the Smugmug style and no stylebar will appear."?
As a pro user, my intent is to avoid the "right click and print" that the search results page allow if the viewer selects "slideshow" style. I can not stop screen shots, of course, but at least I want to stop "right click and print" which most people know how to do.
My site is www.markhaymond.smugmug.com and I do not have my own domain name yet.
jfriend
Nov-22-2008, 08:43 PM
Yes, I had read about the cookies in previous Dgrin posts. The way I understand it, a customer who last viewed a Smugmug site in slideshow would still be in slideshow when they viewed my site. I have Smugmug style selected for all galleries in the Customize Gallery screens. Is this what you mean by "force all your galleries to the Smugmug style and no stylebar will appear."?
As a pro user, my intent is to avoid the "right click and print" that the search results page allow if the viewer selects "slideshow" style. I can not stop screen shots, of course, but at least I want to stop "right click and print" which most people know how to do.
My site is www.markhaymond.smugmug.com (http://www.markhaymond.smugmug.com) and I do not have my own domain name yet.
Here's the deal. Go to one of my galleries like this one (http://jfriend.smugmug.com/gallery/5608869_vwzCG). Set it to slideshow view.
Then, go to a search on your site like this one (http://www.markhaymond.smugmug.com/keyword/1671-Two%20Cities%20Marathon%20and%20Half#417390884_GADCY). That search will come up in slideshow view and the viewer will be stuck there with no way to change it. I do not like it that people hide the style bar because it can strand your viewers in a view they don't like or want to be in. I personally think the real issue is that this gallery style setting should NOT be sticky from one account to another at Smugmug, but that's the way it is now so we should make sure our viewers don't get stuck in a view they don't want to be in. If you want to prevent users from picking the slideshow view on your site, then implement the new custom style picker as referred to in that previous thread and just remove the line from the code that adds the slideshow option to the picker. This will still allow your viewers to get into any one of the other views so they won't be stuck somewhere they didn't want to be, but won't let them pick slideshow.
ropeboy
Nov-22-2008, 08:56 PM
Here's the deal. Go to one of my galleries like this one (http://jfriend.smugmug.com/gallery/5608869_vwzCG). Set it to slideshow view.
Then, go to a search on your site like this one (http://www.markhaymond.smugmug.com/keyword/1671-Two%20Cities%20Marathon%20and%20Half#417390884_GADCY). That search will come up in slideshow view and the viewer will be stuck there with no way to change it. I do not like it that people hide the style bar because it can strand your viewers in a view they don't like or want to be in. I personally think the real issue is that this gallery style setting should NOT be sticky from one account to another at Smugmug, but that's the way it is now so we should make sure our viewers don't get stuck in a view they don't want to be in. If you want to prevent users from picking the slideshow view on your site, then implement the new custom style picker as referred to in that previous thread and just remove the line from the code that adds the slideshow option to the picker. This will still allow your viewers to get into any one of the other views so they won't be stuck somewhere they didn't want to be, but won't let them pick slideshow.
...Aha. I tried the exercise above with the links and I see what you mean. I will show my stylebar again. And I will try the style picker. Thank you for the time you have spent with me...
jfriend
Nov-22-2008, 09:21 PM
...Aha. I tried the exercise above with the links and I see what you mean. I will show my stylebar again. And I will try the style picker. Thank you for the time you have spent with me...
For those others following this thread, I just wrote up a more thorough description of of the dangers of hiding your style picker here (http://www.dgrin.com/showthread.php?p=971180).
vBulletin v3.5.2, Copyright ©2000-2010, Jelsoft Enterprises Ltd.