PDA

View Full Version : Something like a voting script ??


c q
09-10-2002, 07:14 AM
hii !
I was just updating my site at
http://siyahee.cjb.net

do u guys know of a script (in asp) that can allow users to cast votes for the verses they read ?

thankx in advance ...

Morgoth
09-10-2002, 02:21 PM
You might want to try and look for one you like on, http://aspin.com

c q
09-10-2002, 06:42 PM
I like remember having surfed there...I found many scripts but none to match my exact needs.


what I need is relatively simple, just a database with fields containing name of poem(or id no.) and another with number of votes.
and ofcourse a script that'll allow me to access these and also alow me to add more entries with time.
I haven't touched databases so far...else I could have spent some time scratching my own head and come out with a neat script. lol

help ??

Morgoth
09-10-2002, 11:18 PM
Accually, I am working on a nice poll right now, that is a spin off of http://codeave.com/asp/code.asp?u_log=7

My first mission was trying ot use this script and customizing it to my needs when i was first getting into ASP.
My poll is put on hold right now, but It have many new features that will work great for me and my site.

If you take a simplke script like this, then you'll be able to put your asp knowlegde and the help from these forums together and make yourself a great working script. You'll be SO happy when you create it yourself :)
Even if you used some begining scripts.
I learned alot from it. :)

c q
09-11-2002, 02:51 PM
I'll be frank....I dont like asp all that much.
I'm more comfortable with php. and only reason I'm searching for asp scripts is that my web host cannot handle php.
neways, the search is cold for now.

Morgoth
09-11-2002, 03:50 PM
LOL, why not go with a PHP host?

If you don't like ASP and don't want to learn it, requesting scripts seems like the only thing you can do aside from acually learning it.
If you want the poll to do what you want it to, you will need to do it yourself or get someone that wants to help you and devote a lot of time to do it for you.

When I answer a post on this forum I always asume that the personal looking for code is someone that is learning ASP, not just a guy that wants people to do his work for him.

So, the chances of someone making you a poll for nothing is quite shy, but if you find a php host, people in the php forum will be more the happy to help you get pieces of code that you will need to make your own poll yourself.

These forums are most likely for people wanting tutorials and trying to learn the langauge, if you want any free script, you will have a bette chance at someone's site that has them up for download. Yes, they probibly wont look the way you want them, or run the way you want them, but if you try people will answer questions that will help you write down code so that it runs and makes sence to you.

c q
09-11-2002, 07:40 PM
ok ok.....sorry for sounding like a weirdo asp hater..that too in the asp forum :))
maybe all I'm looking for is a script that works like I want to, the reason I posted my question here is to know if someone has SEEN such a script already.
ofcourse the world has better things to do than sit down scracthing their heads for some vague c q sitting happily in some vague corner ... lol. ;)
btw, about learning asp...for strange reasons...I always felt its so much complicated....maybe I ws neva properly introduced to it.
okie.....thanks for everything fellas....but ifff someone happens to know of this thing that I want do drop in a line here.
thanx again.

Morgoth
09-11-2002, 08:11 PM
Wait, what do you mean about casting a vote for what verses they read?

Do you mean a normal poll like:
a)book 1
b)book 2
c)book 3

?
Or do you want the db to add a check mark to a db telling you when a person goes to a page in your site??

c q
09-12-2002, 01:19 PM
hmmm....well,
I need a db with some fields like name of the verse, composer, link, and number of votes.
and emm...a small function which I can copy/paste in each page.
This function will be called in each page with the poem say, at the bottom; and will allow the users to vote for the poem if they like it. maybe a simple submit button.
ths about it.
additionally it can display the number of votes some poem has got.
and...(phew !!!) another function that'll list out say upto 5 most popular ones.
I have such an mdb file and the last part i think I can do (thank god everyone will say :D)
just need help for the main function.

Morgoth
09-12-2002, 03:19 PM
See, what you did there, you asked for some help, and not request a full script.

If you tell me the function you need, i bet i can probibly find out how to do it for you. It really depends on what you need.

:D

c q
09-12-2002, 06:12 PM
oh my god !!!!
things are getting more and more complicated. lol
Guess all I want is to get that thing working. Be it by a readymade script or by some means if I can do it myself with some help....whichever is available....
presently, that function..like I said itz just a simple submit button, which on submitting will increment the value of the field "score" (or whateva u can call it) by one.
ths about it :p

Morgoth
09-12-2002, 07:42 PM
That's easy, but you need ot make sure you know what your doing first. Get a working script that will show the info from the table, and get some info in the table, then you can worry about adding to it.