The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
force users to reply to a poll thread before voting
I think this should be simple.
Is there anyway I can change the default poll system so that before a user attempt to vote on a poll, there should be a message saying "you must reply to this thread before replying" or if they attempt to click and vote on that particular vote, a error message should show up saying "You must reply to this thread before voting on this poll" This seems like something simple and I hope someone can help me accomplish this modification. thanks |
#2
|
||||
|
||||
Basically it's
[sql]select count(postid) from post, thread where post.userid=$bbuserinfo[userid] and thread.threadid=post.threadid and thread.pollid=$poll[pollid][/sql] If this Query does return smth, the User hasreplied, otherwise he hasn't. |
#3
|
|||
|
|||
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|