Gossamer Forum
Quote Reply
Poll Plugin
Hi Yogi,



I just wanted to let you know that this has been a very stable and useful plugin. Thanks for writing it.

Do you think that an Image version could be done where an image would be uploaded for each answer and a person vote on the image?



Thanks again!Cool
Quote Reply
Re: [Teambldr] Poll Plugin In reply to
Thanks for the flowers.

Image upload, and voting for images is the next major thing I want to do. In principle, the upload facility is there, it just needs to be adapted to the poll.

What would you do about image size? Should there be restrictions on how big an image can be (height, width, but also file size)? What should be done if somebody tries to upload an image that does not meet the criteria?

My proposal:

- admin can set maximal width/height/filesize
- images that do not meet the criteria are rejected.
- if the image has got an acceptable filesize but is wide/high, it will be rescaled.

Tell me what you think about this.

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Quote Reply
Re: [yogi] Poll Plugin In reply to
Yogi,
I think as you say that there needs to be a similar system to the attachments filtering that exists in the forum admin panel.
Maybe the ability to not allow guests to post images even if they are within the right size, width length limits like in the forum with attachments.
Would it be possible to only allow certain groups to post images and hence not others ?
I suppose the basic, time, place, photographer and comments will be available for the poster to provide a minimum of details so as not to have people asking basic questions like where did you take the picture from.

Good luck with the coding, from what's been posted it sounds like nicely organised quality code Wink

John
Significant Media
Quote Reply
Re: [Jag] Poll Plugin In reply to
Thanks for the feedback.

1. There could be a global option for who can use images with their polls. This could be overwritten to allow certain groups to use images and other groups not. Basically the same principle for permissions as there is now, I would just have to introduce a new "level", "Write/Upload Images with polls".

2. As the system is now, users cannot store information that comes with an attachement. I am not planning on changing this (it would mean implementing a new file upload system, and I don't think it's worth the effort). You can always post details of the images in the corresponding post (that comes with a poll).

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Quote Reply
Re: [yogi] Poll Plugin In reply to
Sounds perfect!Cool
Quote Reply
Re: [yogi] Poll Plugin In reply to
Just another comment...

I installed the poll plugin today and it is really cool. Nice work Yogi.
Quote Reply
Re: [Paul] Poll Plugin In reply to
Thanks Paul Smile

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Quote Reply
Re: [yogi] Poll Plugin In reply to
This is a very good plugin! Thanks yogi.

I have a suggestion.

It would be nice if the little white note graphic were to look different (I could color one in) if the thread had a poll in it. This would allow easy identification of the threads with polls by the admin and browser.

Perhaps it is just an 'if' tag needed with a little sub added to the plugin module. No big deal, but I think it would be nice.

My poll on phpBB is signigied by the word [poll] when I am browsing using it, and it helps people find the polls easier.

Smile


http://www.iuni.com/...tware/web/index.html
Links Plugins
Quote Reply
Re: [Ian] Poll Plugin In reply to
Hi Ian

you can for example use

<%if post_is_poll%><b>Poll: </b><%endif%>

just before <%post_subject%> on forum_view.html to make polls stand out more (so that it looks exactly like phpbb). With the graphic too, you could just make your own graphic for polls (poll with replies, polls which are hot) and put it into <%if post_is_poll%> .... <%endif%> tags.

I hope that helps. If you come up with some nice graphics, let me know.

Ivan
-----
Iyengar Yoga Resources / GT Plugins

Last edited by:

yogi: Aug 20, 2002, 1:37 PM
Quote Reply
Re: [yogi] Poll Plugin In reply to
Thanks yogi :)

I'll pass on the graphics too... as I am going to make some just for this Cool


http://www.iuni.com/...tware/web/index.html
Links Plugins
Quote Reply
Re: [yogi] Poll Plugin In reply to
There are a few instaces of <%post_subject%> in this template, which all need prefexing with this mod (for anyone else reading).


http://www.iuni.com/...tware/web/index.html
Links Plugins
Quote Reply
Re: [yogi] Poll Plugin In reply to
Hi Yogi,
Is it possible to let only moderators create polls and only in the discussion groups that they have moderator rights ?

John
Significant Media
Quote Reply
Re: [Jag] Poll Plugin In reply to
Thats exactly what I want to do too :)
Quote Reply
Re: [Paul] Poll Plugin In reply to
Couldn't you just put <%if user_is_moderator%> (or whatever the variable's called) around the new poll button?


Realiiity.com Forums
Quote Reply
Re: [ellipsiiis] Poll Plugin In reply to
All that would do is hide the button.
Quote Reply
Re: [Paul] Poll Plugin In reply to
And then they couldn't create a poll. Not the most secure, but still effective.


Realiiity.com Forums
Quote Reply
Re: [ellipsiiis] Poll Plugin In reply to
Yeah so I'd just type the URL into my browser and create it :)
Quote Reply
Re: [Jag] Poll Plugin In reply to
Of course this is possible!

In the plugin options, set "poll_write_permissions" and "poll_edit_permissions" to 6.

For the record: those options, and the "poll_vote_permission" option can take the following values
* banned = -1
* none = 0
* view forum = 1
* view list of posts = 2
* read posts = 3
* reply to posts = 4
* post messages = 5
* moderators = 6
anything more than 6 is for administrators only.

I hope this helps.

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Post deleted by Paul In reply to
Quote Reply
Re: [Paul] Poll Plugin In reply to
Paul?

Plugin Options: look under "Plugins -> Installed Plugins -> Poll Plugin ->Edit

There you can set default options, the Poll Groups are just to finetune the default settings.

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Quote Reply
Re: [yogi] Poll Plugin In reply to
Yeah it was a dumb question so I deleted it but I guess you were replying when I did.

Go easy on me, I climbed out of bed five minutes ago Cool
Quote Reply
Re: [Paul] Poll Plugin In reply to
OK, you're forgiven...

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Quote Reply
Re: [yogi] Poll Plugin In reply to
You forgive easy.

That looks good Ivan, thanksSmile


http://www.iuni.com/...tware/web/index.html
Links Plugins
Quote Reply
Re: [Ian] Poll Plugin In reply to
Yogi, I sent you an email at the info@yoursite. I was trying to d/l the poll plugin and got a server error. Is there anywhere else I can d/l this plugin?

Thanks,

MrKIA
Quote Reply
Re: Poll Plugin - Poll Groups In reply to
Trying to figure out the PollGroups....

I have a forum (ID#1) open (any access) to 3 User groups (ID#1,2,3)

I want group 1 to be able to vote in this forum, but not the others.

I assigned PollGroup 1 w/ ForumID=1, GroupID=1, PollPermission=Vote;
2 w/ ForumID=1, GroupID=2, PP=None;
3 w/ ForumID=1, GroupID=3, PP=None;

Is his how this is supposed to work?

Dave
Quote Reply
Re: [yogi] Poll Plugin In reply to
Yogi,
Maybe some suggestions for future functions... Wink
Is it possible to display how many people have voted and maybe just in my case, would it be possible to have a list of the last X number of people that voted (most people know each other so it wouldn't be too much of a problem) ?

Note : in the case of 'several choice' votes, it isn't always easy to tell how many people have participated.

Thanks, John
Significant Media
Quote Reply
Re: [Jag] Poll Plugin In reply to
Yogi,
When the permissions are set so that only moderators can create a poll, are the post and edit functions available only to the creator or is it all moderators that can post and edit polls in other peoples' forums ?
I'm not sure I have completely grasped everything since I'm playing about with it at the moment...

John
Significant Media
Quote Reply
Re: [Jag] Poll Plugin In reply to
Moderators can edit posts, and they can also edit polls, but only in the forum they are moderating.

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Quote Reply
Re: [yogi] Poll Plugin In reply to
Hi Yogi!

Great plug in- thanks.

I read in the online About page, which shows how to call via PHP and SSI. I do not use either. Is it possible to just put a GT Link (<%path/to/gforum.cgi?do=poll_ssi;poll=poll_id%> or something like that in, or do you HAVE to use PHP and/or SSI?

Thanks! Sly
dave

Big Cartoon DataBase
Big Comic Book DataBase
Quote Reply
Re: [carfac] Poll Plugin In reply to
Sorry Yogi- another question...

I decided to enable SSI on my main site, which is a Links SQL page. I added the correct call (<!--#include virtual="/path/to/gforum.cgi?do=poll_ssi;poll=latest"--> )

and nothing came up. Not being too familiar with SSI, I read up on it, and I see I need to tell the server that it is an SSI page, and to parse the page. Obviously, I cannot change http://www.bcdb.com/page.cgi into page.shtml... or can I? How would I make the main page on a Links SQL install run an SSI call?

Thanks!

Oh, and just to make my first post clearer, I also wanted to call the Poll and put it on the main page of the Forum install, and that is what that post is about...
dave

Big Cartoon DataBase
Big Comic Book DataBase

Last edited by:

carfac: Jan 10, 2003, 1:05 PM
Quote Reply
Re: [carfac] Poll Plugin In reply to
For putting the poll on a static page, you would need to use SSI. For putting it on a dynamic page (generated by Links SQL), you could either use a global that displays the poll.

In order to put the poll on the main page of the forum install, you'd also need a global.

Tell me what you need, and I'll see if I can come up with something.

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Quote Reply
Re: [yogi] Poll Plugin In reply to
Yogi:

Do not want to be a hassle- sorry. Hopefully, the first would be easy...

I would like to put a weekly poll on the front page of the forum install the poll is in... that should be easy, I hope! Tongue

My second idea might be a bigger hassle, and if so, nevermind. My main site is www.bcdb.com, and that is a full, Links SQL 2.1 install... and I recently added a forum to that site that I put at forum.bcdb.com. Both are on the same basic machine (soone can access the other directly off the hard drive, but they are not in the same directories) I was hoping to put the weekly poll up there, too, to try and drive traffic over to the forum site.

Like I said, I know the second might be a big hassle, so don't worry if it is!
dave

Big Cartoon DataBase
Big Comic Book DataBase
Quote Reply
Re: [carfac] Poll Plugin In reply to
How do you generate the homepage, i.e. http://www.bcdb.com/, it's not index.html, index.shtml, index.php, so what is it? It's important to know this, otherwise I don't know where to start.

I'll see what I can come up with for the poll in the forum. I'm a bit short on time at the moment, so I can't promise you anything....

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Quote Reply
Re: [yogi] Poll Plugin In reply to
Yogi:

Time is NOT a problem... so do not worry about that!

http://www.bcdb.com/ is mod_rewrited to http://www.bcdb.com/page.cgi It is built from home.html in the templates directory.

You know, the more I think about this, the more I think do not bother... if there is not a quick and easy way to make it parsed by SSI, any other solution is going to be a TON of coding, and not worth the time you will expend. So do not worry about that...

Thanks!
dave

Big Cartoon DataBase
Big Comic Book DataBase
Quote Reply
Re: [yogi] Poll Plugin In reply to
Hi Yogi,

Will Community require some changes to be done to the Poll Plugin? If so, when do you see us able to upgrade it?



Thanks



Brian

Last edited by:

Teambldr: Jan 23, 2003, 11:10 AM
Quote Reply
Re: [Teambldr] Poll Plugin In reply to
As far as I am aware, the poll plugin still works also with Community installed. Tell me if you come across a bug that might be Community related.

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Quote Reply
Re: [yogi] Poll Plugin In reply to
Thanks Yogi.



I figured that since you were working with community that you would already know.



Was an image option ever added for the poll plugin? IE: Images as answers



Thanks again. Great Plugin.
Quote Reply
Re: [Teambldr] Poll Plugin In reply to
Image support might be added when at some point, but not during the next few months. Sorry.

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Quote Reply
Re: [yogi] Poll Plugin In reply to
Thanks Ivan.

I look forward to that.



Brian
Quote Reply
Re: [yogi] Poll Plugin In reply to
Hi Yogi,

I was wondering if there is a way to either limit the length of a poll answer or allow a line break at X number of letters. When a long poll answer is added it pushes the poll graphics off the page to the right.

This would just clean it up a bit "looks wise" on the presentation.

Would it be easier to control the length of the graphic instead?

EDIT:
I also was wondering if there is a way to remotely place the polls that appear in GForum/CATX to LinksSQL CAT1 and allow direct voting from there (LinksSQL).

I am looking at more integration of the two programs for Community.

Thanks!

Brian

Last edited by:

Teambldr: Feb 8, 2003, 10:33 AM
Quote Reply
Re: [Teambldr] Poll Plugin In reply to
Have a look at the 'include_poll_results.html' template. In there you'll find something like

<%nbsp poll_answer_answer%>

If you remove the 'nbsp' bit, it should break at some point. Other than that, I don't know.

For the next version, I will put a function in the Poll plugin which you could call from a Links SQL template (through a global), to include a poll.

When? Soon!

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Quote Reply
Re: [yogi] Poll Plugin In reply to
OK, now I am drooling!Smile

Will this new global allow the assignment of category? CAT 1 polls to show on CAT B links category, etc... Or maybe an assignable tag for a template that allowed a person the ability to assign the category of polls to show?

That would be awesome!
EDIT: Of course with the ability to limit the number of polls to showWink


Thanks!

Brian

Last edited by:

Teambldr: Feb 8, 2003, 12:26 PM
Quote Reply
Re: [Teambldr] Poll Plugin In reply to
You will be able to specify various options.

- latest => displayes latest poll of whole forum
- forum => displayes latest poll in a particular forum
- specific => displays a specific poll
- random => displays random poll (maybe even within a forum)

You'd have to store the forum_id of the related forum in your Links Category table, then it should be no problem.

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Quote Reply
Re: [yogi] Poll Plugin In reply to
That is VERY cool!

I am ready!Smile
Quote Reply
Re: [yogi] Poll Plugin In reply to
Was this ever released?

CCUnet
my Christian web
Quote Reply
Re: [yogi] Poll Plugin In reply to
Do you have a version of the poll with no graphics.

Otherwise, do you know anyone who has made a no-graphics version?