Author |
Topic  |
|
martinkl
Starting Member
25 Posts |
Posted - 08 April 2002 : 12:37:58
|
How can restrict a moderator to posting polls ONLY in forum they are moderators of?
Thank you.
"The day we stop developing is the day we all die!" |
|
Davio
Development Team Member
    
Jamaica
12217 Posts |
Posted - 08 April 2002 : 15:06:50
|
You can't with the poll mod. You will have to ask them not to post polls in other forums they are not moderator of. And if they do move the poll to thier forum by clicking on the Edit Message icon above the poll on the topic.asp page, and select the forum to move it to. If you try to move it any other way, it will disapper into limbo. It's a bug which I have fixed in the next update of the poll mod. Not yet released.
«------------------------------------------------------» Want to know when the next version comes out, as soon as possible? Join our Mailing Lists ! |
 |
|
martinkl
Starting Member
25 Posts |
Posted - 09 April 2002 : 03:09:13
|
Davio,
Thanks for your time and reply.
I read on your site that you have finished the update of this MOD but now working on setting up the upgrade procedures. Do you see this upgrade being available by the end of April or by the end of May?
Regards
"The day we stop developing is the day we all die!" |
 |
|
Davio
Development Team Member
    
Jamaica
12217 Posts |
Posted - 09 April 2002 : 21:32:55
|
I can't really give a time when I will be done with it, but I am working on it earnestly and I need to make sure that there are no bugs with it so there won't be too much trouble for users to upgrade thier polls to the new version.
But I can say that the upgrade script will take me a little while to finish.
«------------------------------------------------------» Want to know when the next version comes out, as soon as possible? Join our Mailing Lists ! |
 |
|
martinkl
Starting Member
25 Posts |
Posted - 11 April 2002 : 03:27:15
|
Without trying to pre-empt you in any way, would you be able to show me an outline of the tables (and stored procedures, if appropriate). I am looking to add some features for different kinds of polls and the results display, etc., based on your MOD.
Regards.
"The day we stop developing is the day we all die!" |
 |
|
Davio
Development Team Member
    
Jamaica
12217 Posts |
Posted - 11 April 2002 : 12:45:53
|
We don't use stored procedures with Snitz. Here are the tables:
POLLS POLL_ID TOPIC_ID WHO_VOTES LAST_VOTE ANSWER1 COUNT1 ANSWER2 COUNT2 ANSWER3 COUNT3 ANSWER4 COUNT4 ANSWER5 COUNT5 ANSWER6 COUNT6 ANSWER7 COUNT7 ANSWER8 COUNT8 ANSWER9 COUNT9 ANSWER10 COUNT10 ANSWER11 COUNT11 ANSWER12 COUNT12 ANSWER13 COUNT13 ANSWER14 COUNT14 ANSWER15 COUNT15
POLL_VOTES MEMBER_ID TOPIC_ID
Here are the fields added in the other tables:
TOPICS T_ISPOLL
FORUM F_POLLS
CONFIG_NEW STRFEATUREDPOLL STRALLOWPOLLS STRFEATUREDPOLLID STRMAXVOTES
«------------------------------------------------------» Want to know when the next version comes out, as soon as possible? Join our Mailing Lists ! |
 |
|
martinkl
Starting Member
25 Posts |
Posted - 23 April 2002 : 07:08:00
|
Davio,
Many thanks for the info.
We are currently creating additional summary pages to display the Poll (T_Subject), Forum Title, Date created/By, Voted?, and a link to the respective Results/Topic. We have pretty much sussed out all but where the info/data for whether the user had voted comes from, and would appreciate your help on this.
We prefer the Poll_Votes table and will be adding this to the database.
A further issue we have was outlined above, in that we only want moderators to be able to add polls in the forums they are moderators of. We are thinking of inserting a bit of javascript to check that the user clicking the Add Poll link is a moderator of the current forum (the one he is trying to add the new poll to). However, there doesn't seem to be a table of Moderators (with fields Member_ID, Forum_ID, and possibly MLEV).
My question here is, how/where can I check which forums a member is moderator of.
Like always, your help is much appreciated.
ps. An alternative solution would be for us to get hold of your new code - we are not upgrading! We can create/modify the tables manually.
Thanks.
"The day we stop developing is the day we all die!" |
 |
|
|
Topic  |
|