Photoshop Contest PhotoshopContest.com
Creative Contests. Real Prizes. Essential Resource.
You are not logged in. Log in or Register

 


Photoshop Contest Forum Index - Brain Storm - psc quickbar 0.1.7.2.1 anonymous entry (small fix) - Reply to topic

Goto page Previous  1, 2, 3, 4, 5

Dot

Location: Tacoma, WA since march 2010, born and raised in Belgium

Post Tue May 15, 2007 7:27 pm   Reply with quote         


it's easy Smile even i could do it ..without any help from gref Very Happy *very proud smile* Laughing




TofuTheGreat

Location: Back where I belong.

Post Tue May 15, 2007 8:37 pm   Reply with quote         


Smile Yep! Took me a few moments to see the little x's by the names for filtering. I almost modified the script to hard-code the names array. Laughing




_________________
Why I do believe it's pants-less o'clock! - Lar deSouza
”The mind is like a parachute, it doesn’t work if it isn’t open.” - Frank Zappa
Created using photoshop and absolutely no talent. - reyrey

Post Wed May 16, 2007 3:06 pm   Reply with quote         


TofuTheGreat wrote:
Smile Yep! Took me a few moments to see the little x's by the names for filtering. I almost modified the script to hard-code the names array. Laughing

If you wiish you can order the manual for the small price of $9,99 (VAT and shipping not included)
It includes colored pictures and over 300 pages of mumbo jumbo. Smile




_________________
I used to do stuff around here

Post Wed May 30, 2007 10:46 am   Reply with quote         


pscQuickbar 0.1.7.2 released

Added anonymous button, this hides the the submitting user in contest entry pages. (might be usefull if you don't want to be influenced due to the submitters popularity or whatever..)

Note that this is a quick and dirty solution for now. If the page hasn't loaded completely yet, the user is still shown. Once the page is completed it gets hidden.

I'll try to fix this in the upcoming days (if possible)

http://userscripts.org/scripts/show/8368

please be aware that you need the Greasemonkey Firefox Extension first.

You can install it from: http://www.greasespot.net/




_________________
I used to do stuff around here
TofuTheGreat

Location: Back where I belong.

Post Wed May 30, 2007 3:21 pm   Reply with quote         


I noticed you're hiding the first two tables with a "greybox" class. This hides the navigation of entries.

I implemented this and it hid the author box just fine while still leaving the thumbnail navigation box open.

Code:
    if (anonym == 1 && isentry) {
           
            var boxes = document.body.getElementsByTagName('table');
            var boxcnt = 0;
           
          for (var i = 0; i < boxes.length; i++) {
             var boxClass = boxes[i].getAttribute('class');
                                                     
                if (boxClass == 'greybox') {
                    ++boxcnt;           
                //if (boxcnt==1 || boxcnt==2) boxes[i].style.display = 'none';
                if (boxcnt==2) boxes[i].style.display = 'none';
                }
          }
    }


This only works if moving entry-by-entry (in other words not in all entries view). And the page still has to fully load but it works. Very Happy





_________________
Why I do believe it's pants-less o'clock! - Lar deSouza
”The mind is like a parachute, it doesn’t work if it isn’t open.” - Frank Zappa
Created using photoshop and absolutely no talent. - reyrey

armogeden

Location: The other side of your screen

Post Wed May 30, 2007 3:34 pm   Reply with quote         


just downloaded the quickbar after a long time of meaning to. It really helps! This is great! Very Happy Very Happy




_________________
Please check out my student blog Smile
http://gdc1tombrushwood.blogspot.com/
Lets stick together, we won't lose our way

Post Wed May 30, 2007 3:39 pm   Reply with quote         


actually it hides the second and third box (notice that i starts counting from 0).

with normal entries (not anonymous) it should work without hiding navigation. in other instance where there's a price box (done contests), it will screw up things too

Anyway, i've allready implemented a better solution (the hide also depends on content of the box). so there will be no need for a count, and it's error prove )

The source will be released later on this evening.

I'm afraid there will be no solution for the temporarily showing of the user, since greasemonkey is activated after the page has loaded.

So basically just close your eyes while the page is loading Wink




_________________
I used to do stuff around here

Post Wed May 30, 2007 3:50 pm   Reply with quote         


forementioned issues are now solved.

The correct boxes (user box and qualities box) will be hidden from now on.

download version 0.1.7.2.1




_________________
I used to do stuff around here
TofuTheGreat

Location: Back where I belong.

Post Wed May 30, 2007 4:09 pm   Reply with quote         


I wonder if a Stylish edit could conquer the showing of the user name before the page loads? Since that's client-side CSS?




_________________
Why I do believe it's pants-less o'clock! - Lar deSouza
”The mind is like a parachute, it doesn’t work if it isn’t open.” - Frank Zappa
Created using photoshop and absolutely no talent. - reyrey

Post Wed May 30, 2007 4:31 pm   Reply with quote         


TofuTheGreat wrote:
I wonder if a Stylish edit could conquer the showing of the user name before the page loads? Since that's client-side CSS?

yup it would, good thinking Smile

stylish style
Code:

@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document url("http://photoshopcontest.com/view-entry/*") {
table[class^="greybox"]{display:none;}
}

note that this will hide all boxes though, haven't quite figured out how to unhide the other ones with userstyles

combining both stylish and the greasemonkey script could solve this (i added an explicit display: block to the greasemonkey script) (you need to update again)

Stylish can be found at https://addons.mozilla.org/en-US/firefox/addon/2108




_________________
I used to do stuff around here
armogeden

Location: The other side of your screen

Post Wed May 30, 2007 5:29 pm   Reply with quote         


anyway to make the anonymous thing apply to when your on the page of tumbnails of entries? I like to browse entries like that so I was just wondering Very Happy




_________________
Please check out my student blog Smile
http://gdc1tombrushwood.blogspot.com/
Lets stick together, we won't lose our way

Post Wed May 30, 2007 5:46 pm   Reply with quote         


armogeden wrote:
anyway to make the anonymous thing apply to when your on the page of tumbnails of entries? I like to browse entries like that so I was just wondering Very Happy

i'll take a look at that tommorow Smile




_________________
I used to do stuff around here

Goto page Previous  1, 2, 3, 4, 5

Photoshop Contest Forum Index - Brain Storm - psc quickbar 0.1.7.2.1 anonymous entry (small fix) - Reply to topic

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Navigate PSC
Contests open  completed  winners  prizes  events  rules  rss 
Galleries votes  authentic  skillful  funny  creative  theme  winners 
Interact register  log in/out  forum  chat  user lookup  contact 
Stats monthly leaders  hall of fame  record holders 
PSC advantage  news (rss)  faq  about  links  contact  home 
Help faq  search  new users  tutorials  contact  password 

Adobe, the Adobe logo, Adobe Photoshop, Creative Suite and Illustrator are registered trademarks of Adobe Systems Incorporated.
Text and images copyright © 2000-2006 Photoshop Contest. All rights reserved.
A venture of ExpertRating.com