Gossamer Forum
Home : Products : Links 2.0 : Customization :

new mod: mpoll

Quote Reply
new mod: mpoll
Have just though of an idea to do a better poll system. I'll post it soon. It will allow the following:

Allows you to easily create polls for your webpage. Add, delete and manage polls as you do with the links in
your directory! Ie. you have full control over the polls and could reset the votes etc.. quickly and easily.
Run multiple polls from one database


Good Luck!

Glenn


http://mir.spaceports.com/~glennu/
Quote Reply
Re: new mod: mpoll In reply to
Good Luck Buddy!

I keep my fingers crossed Smile

Best Regs
JackofNone

Quote Reply
Re: new mod: mpoll In reply to
take your time, we'll be waiting impatiently in the mean time Smile

thanks for all the great goodies

Quote Reply
Re: new mod: mpoll In reply to
Yep I've finished it Smile so I'll write some instructions and post it soon.

Good Luck!

Glenn


http://mir.spaceports.com/~glennu/
Quote Reply
Re: new mod: mpoll In reply to
Really fast!
I would love to be the first person to check this mod.Wink

Best Regs
JackofNone


Quote Reply
Re: new mod: mpoll In reply to
Yeah I've got a test version running on my site, but I've decided to hold off releasing the mod for a week or so. Because I want to try to get a different way of adding the votes working.

If I was can get this way working it would be better cause of the following:

New polls could be created just by adding a (poll)link in admin and then putting a poll form on your site.

It would also be possible to let visitors(webmasters) add their own poll. They can then just place a poll form on their site. They could also modify their own poll. It'd be quite usefull cause you could put a link to your site on the poll success page or results page.

Anyway I'll look into a few things and see what happens.

Good Luck!

Glenn


http://mir.spaceports.com/~glennu/
Quote Reply
Re: new mod: mpoll In reply to
I'm an idiot! Forget what I've put above about needing a new method for adding votes, I've just realised it can all be done with what I've got already!Laugh I'll write instructions as soon as I can.

I'll probably post 2 options one for those who just want to do their owen polls and one for those who want to let others add their own polls.

Good Luck!

Glenn


http://mir.spaceports.com/~glennu/
Quote Reply
Re: new mod: mpoll In reply to
You can see a few demo polls below:


http://findarom.emusanet.com/mpoll_form.cgi?ID=1
http://findarom.emusanet.com/mpoll_form.cgi?ID=2
http://findarom.emusanet.com/mpoll_form.cgi?ID=3
http://findarom.emusanet.com/mpoll_form.cgi?ID=4
http://findarom.emusanet.com/mpoll_form.cgi?ID=5
http://findarom.emusanet.com/mpoll_form.cgi?ID=6



New ones are created in admin by just creating a new record. You then can link to the poll form by putting a link to mpoll_form.cgi?ID='id number'

It also includes a basic check to stop form (poll) data being re-posted.


I've posted the mod here:
http://mir.spaceports.com/~glennu/mpoll.html

I've edited the demo to let other webmaster create a poll. Also adding a few extra fields you can let them customist the colour, layout, font etc... of their poll so each one is unique!

Good Luck!

Glenn


http://mir.spaceports.com/~glennu/
Quote Reply
Re: new mod: mpoll In reply to
Hope you enjoyed your birthday Smile

You up again for more horror from the links newbie/non-perl users or were just visiting Wink

When you feel like it....

i was wondering if mpoll can go straight into the home.html or is an outside version? didn't specifically say .... hummm, guess I'm up for some testing.

Another moron question -- can we assume that lpoll is going to be discontinued in favor of mpoll or are they seperate?

and a final more intelligent question, possibly Smile, why didn't you just combine the 2 cgi's mpoll_form.cgi and mpoll_id.cgi (I guess this goes the same for the comments mod), seem like they could be combined and save a whole 4k of space .... then again I don't know perl or what you have waiting for developement.

Really, glenn, these are really good mods and appreciate what you are doing for all of us.

thanks

Quote Reply
Re: new mod: mpoll In reply to
'Hope you enjoyed your birthday'

Yep it was very good!

'i was wondering if mpoll can go straight into the home.html or is an outside version? didn't specifically say .... hummm, guess I'm up for some testing.'

I'm affraid it's meant an outside version. (Ie you could put a link to a poll in home.html but you can't put a poll form in home.html) It's because it uses alot of hidden values. I did look at posting a version that would let people put the form anywhere but it had a few downsides so I preferred using this method.

On the plus sideLaughyou can create loads of polls easily and unlike lpoll, the pages are cgi generated. Ie. the latest results are displayed. The options to customise it are much more than lpoll. Like in my examples where others can have/add their own poll and can choose the colours, names etc...

'Another moron question -- can we assume that lpoll is going to be discontinued in favor of mpoll or are they seperate?'


I will leave lpoll up because if people just want one simple poll to go into their site then they would want to use lpoll.

'and a final more intelligent question, possibly , why didn't you just combine the 2 cgi's mpoll_form.cgi and mpoll_id.cgi (I guess this goes the same for the comments mod), seem like they could be combined and save a whole 4k of space .... then again I don't know perl or what you have waiting for developement.'

You're completely right. I'm not sure why I didn't do that, must be laziness I guess! I'll do that later on, although cause I have limited time to work on these mods my main priority is adding extra features rather than saving a few k of space!


'Really, glenn, these are really good mods and appreciate what you are doing for all of us.'

No problem!


Good Luck!

Glenn


http://mir.spaceports.com/~glennu/
Quote Reply
Re: new mod: mpoll In reply to
ahhh, shucks ... I had a feeling your answers were going to be such. Not the birthday answer though, great to hear you had a nice time!!!

You know I was thinking about what you were saying about the versatilty bit, you're absolutely right, I'm wondering if this versatity could be used as a way for the link owner to post their own poll, lets say on their detailed.html page (well, a linked version) hmmm, might be a space hogger but it could possibly be run as CPU hog and be produced only when a viewer views it like info.cgi.
then again, as an after thought, might be more trouble than useful since you'd need an admin panel with security and all ... hmmm, posible future -- future project, if you don't get bored with tweeking this mod first.

Also, not to beat the beast senseless, but it'd be nice if their was a default version that could be used on the home.html, my point here is try to keep the viewer from jumping around to tooo many pages, simplicity helps the viewer to be active and "hopefully" longer at your site. Well, there's still lpoll do that just it'd be nice to keep all the polling activity within 1 script.

I do understand the time thing, it was just really an idea I had when I couldn't get the comments2.cgi up and running. You're right too, I'd rather see the features over space saving.

speaking of features, anything else hiding up your sleeve??

thanks again and again and again ....

Oh no!! last minute questions, Smile

Couldn't the xxx.def files be combined too? once again I'm not the perl programmer here just an admirer that's trying to offer hopefully helpful questions, these aren't really immdediate requests you know, things for the future ....

you're not going to put all your stats mods into 1 big super cgi are you ??? I've got this feeling that's where you're heading with your new format .... I just wonder ....

Quote Reply
Re: new mod: mpoll In reply to
In answer to your first question I already have a version where a link owner can post their own poll! It's not just restricted to link owners though.

As for a default version in home.html. Could be done but wouldn't be as simple to add as you'd think. Ie you'd need a seperate mpoll_vote.cgi script prob, some extra subs in nph-build plus extra stuff in site_html_templates. By the time you've done all of that it'd be just as much as if you just installed lpoll as well! If you want to stop viwers jumping around too many pages one thing you could do is change the vote success page so it displays the results instead.


speaking of features, anything else hiding up your sleeve??

Nope sorry, I need to get a project done before starting uni again! However when I get the spare time (what ever that is!) I might do a few more bits. I did have a banner rotation mod in mind as a future mod but I can't see myself doing it soon.

xxx.def files? If you mean mpoll.def and links.def then no they can't be combined.


you're not going to put all your stats mods into 1 big super cgi are you ???

Could be a good idea! But again I won't be thinking about links 2 much whilst I'm at uni!

Good Luck!

Glenn


http://mir.spaceports.com/~glennu/
Quote Reply
Re: new mod: mpoll In reply to
thanks for all the time that you spend answerin my posts, really apprciate it.

sorry, didn't realize that It'd be so much trouble. guess, I'll stick with lpoll for the home.html and go with mpoll for the other pages, hopefully I'll find a good mixture that'll make me happy, design design and design, a big pain oh well.

Hmm, sending viewers straight to the results page. that's an idea. Still haven't finsihed installing everything for mpoll, uploaded but got side tracked for a few hours, after the first run I'll know more but that's a good idea ... hmmm, come to think of it combine the 2 pages (thinking to myself here sorry).

going to uni, girls beer and fun ahh, jealous. hopefully, you'll still drop by every once in awhile, guess this also explains to big push to get your mods out... Well, don't come too often grades are more important simetimes.

thanks for all the help, hopefully somebody will get something out of this thread beyond me.

Quote Reply
Re: new mod: mpoll In reply to
Yep no problem, good luck installing it and if you need the extra bits, (ie. to let visitors/webmasters create their own polls) let me know and I'll post them.

I've still been thinking about the banner mod. Alot of things could be done with it. Ie. have a seperate db. organise banners into similar categories as in links.db display random banners relating to that category in category.html use something similar to jump.cgi to count outgoing clicks etc.... Oh well have to do it another day!

Good Luck!

Glenn


http://mir.spaceports.com/~glennu/
Quote Reply
Re: new mod: mpoll In reply to
glenn, really sorry but my friend sent me this link today:

http://www.event-handler.com/docs/features/

this looks really like where you're going with mpoll, actually you're only a few options off, well don't know for sure since i can't play with the mod until tonight see what I can do and all admin is working just gotta go for a trial poll but don't have time right now Frown

yes, I'm definately interested in in the extra info, but can wait a few days if that's what it takes, go other things on the burner I can do will waiting.

good luck and sorry for the link, looks interesting though.

Quote Reply
Re: new mod: mpoll In reply to
Yep no probs. The link is interesting and is the best polling system I've seen!

I have got a few things I haven't included in mpoll yet (maybe I'll add them in the future one day). Laugh

Good Luck!

Glenn


http://mir.spaceports.com/~glennu/
Quote Reply
Re: new mod: mpoll In reply to
Have had a few requests from people asking if they can have instructions on letting visitors create and modify their own polls.

I've added some files and brief instructions here at the bottom of the page in extra options:

http://mir.spaceports.com/~glennu/mpoll.html


Good Luck!

Glenn


http://mir.spaceports.com/~glennu/