Scoop -- the swiss army chainsaw of content management
Front Page · Everything · News · Code · Help! · Wishlist · Project · Scoop Sites · Dev Notes · Latest CVS changes · Development Activities
More GET string fun. Now with 100% more polls. Bugs
By Defect , Section Code []
Posted on Fri Dec 15, 2000 at 12:00:00 PM PST
What seems to be a feature, but is currently not entirely implemented (or maybe reserved for admins), can still be accessed by anyone. It involves setting up initial values for poll options.

Aside from that, it's just another bug report from the self-proclaimed GETbitch.

In any submit story page (either diary or normal), a user can view the source code, extract the Poll ID (qid/editqid) and enter arguments into the get string as so:

/?op=submitstory;editqid=[POLL ID];qid=[POLL ID];votes1=[#];votes2=[#];votes[0<n<11]=[#];preview=Preview;

(if it's a diary, add "section=Diary;" to the above. also, i imagine you can set or use any Poll ID, but i haven't checked it, i didn't want to flood the dev diary list here with tests.)

The user submitting the story can set the number of initial votes for a poll option. After entering the above, when the page loads anew, the values will be set and the user can go about entering the story as normal, so the GET string char limit does not hinder the exploitation of this bug. This is another non-serious bug but it does allow a normal user the ability to do things that they shouldn't have. (Again, i'm not sure if this is an admin only thing, an old option now removed, or a new option not fully implemented. I'm guessing either admin-only or just some debugging code that hasn't been removed.)

As an example of the result, you can check out the poll attached to this story.

(miscellaneous : there is also a "voters" argument you can add to the get string which seems to be a way to set the initial amount of voters but it appears to be over ridden with the sum of the votes for all the options, i can't find any other use for it.)
< Remove comment moderation from diaries. | Formatting in polls not consistent >

Menu
· create account
· faq
· search
· report bugs
· Scoop Administrators Guide
· Scoop Box Exchange

Login
Make a new account
Username:
Password:

Poll
Favorite expression
· Huh? 145%
· Eh? -45%
· enterfornone 0%

Votes: 106
Results | Other Polls

Related Links
· More on Bugs
· Also by Defect

Story Views
  13 Scoop users have viewed this story.

Display: Sort:
More GET string fun. Now with 100% more polls. | 5 comments (5 topical, 0 hidden)
good point (none / 0) (#1)
by hurstdog on Fri Dec 15, 2000 at 02:25:56 PM PST

there is a var that lets you specify whether you can let anyone set the number of votes on a poll or not (allow_ballot_stuffing). we didn't have attached polls when I made it, so thats why this situation wasn't taken care of. I think I'll set it so that it doesn't take the number of poll votes as an option unless the person is an admin.

If they set allow_ballot_stuffing to 1, then there will be a little box beside the poll options to specify the number of votes.



-hurstdog


Check Cashing Oceanside (none / 0) (#2)
by Pervez on Sun Apr 22, 2018 at 05:51:03 AM PST

A person's reports are often fine coupled with handy in this unique thought. You possess actually obtained a substantial amount of study in this motif. At this moment follow-up Check Cashing Oceanside With thanks to get awesome information and facts.



This blog (none / 0) (#3)
by dungmourice on Mon Dec 10, 2018 at 07:09:42 AM PST

From this blog, you will find out how to cite a dissertation in apa format and how to do it correctly. I think that you should check it out



bathroom renovation nyc (none / 0) (#4)
by Pervez on Sat Apr 13, 2019 at 01:28:52 PM PST

This information increases the lighting through which you can take notice of the truth. This is wonderful one and gives complete data. Currently click here bathroom renovation nyc Cheers just for this wonderful content.



Essay writing help (none / 0) (#5)
by bettybilton on Thu Dec 05, 2019 at 10:39:19 AM PST

Hi guys I know how it is difficult to conduct a good bussinnes, but one more difficult task is to conduct a good essay for the university or college. but now thanks to you post and the opportunity to https://papers-land.com/ it became quite easy to cope with this task



More GET string fun. Now with 100% more polls. | 5 comments (5 topical, 0 hidden)
Display: Sort:

Hosted by ScoopHost.com Powered by Scoop
All trademarks and copyrights on this page are owned by their respective companies. Comments are owned by the Poster. The Rest © 1999 The Management

create account | faq | search