The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Competitions Details »» | |||||||||||||||||||||||||
Description
Adds a competition module to your forums. You can create as many competitions and allow members to participate in them. Features
Installation
Upgrade
Editing the navbar template 1. Open the navbar template 2. Find: 3. Add after: 4. Save template Author Notes This extension was developed specifically for my website but I am releasing the code since a few members here have have shown interest. I cannot state that it is totally free of bugs. I would appreciate your feedback in making this extension better. Maybe in Future At the moment, the question is only restricted to one per competition. I would like to have the ability to add more than one question per competition. Supporters / CoAuthors Show Your Support
|
Comments |
#122
|
|||
|
|||
This is a fantastic plugin!! Thank you :-)
Constructive comment: At the moment unregistered users (or people who don't have the correct permission to enter a competition) get the standard vBulletin 'you do not have permssion' message... Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system? If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation. In my opinion this is a very crude message. I'd like to suggest that this part of the plugin be re-written to show a user friendly message that says the competition is only open to registered users and include a link to the user registration page. The user friendly message and the link will definitely encourage more people to register on the forum. A similar user friendly message should also be used for people who are in the 'user awaiting confirmation category' - maybe they're still unconfirmed because they enterred and invalid email address when they registered and not aware of the fact. Here's an example message: Your account has not been confirmed and is not yet active! To become a registered user on scene-OUT.com (required to access many special features) you will need to verify your email address by clicking a special link sent to you in our original welcome email. If you have lost this email, or it never arrived, please go here (/forums/register.php?do=requestemail) to request another activation email be sent to you. If you suspect your email address is set wrong, go here (/forums/sendmessage.php) and fill the form out so an administrator can fix your account. Also please be sure to disable any spam filters you may have for our website, so that this and all future messages can reach you. |
#123
|
|||
|
|||
I'd love to see the next version of this plugin include the following features:
* Draw the winners based on the content of a specified field. Example: It's no good giving a person who lives in Sydney the prize of free entry for a year to a club that's in London. In this case the competition should select the winner based on an entrant's city field being London or country field being United Kingdom. There needs to be the flexibity to have the winner based on at least two fields in a case where the prize is say only suited to a man or a woman that lives in a particular city. * The ability to upload a product photo in the competiton (and set the 'alt' tag - maybe also include a hyperlink for the image that could be used to take a user to the website of the company that sponsored the prize). This will add more colour top the page and make the competition look more appealing! :-) * If a user attempt to entered more than the allowed number of entries he get's the following message: 'You have already participated in this competition. You cannot enter more than once.' Include a linl back to the competitions page. |
#124
|
|||
|
|||
What happens when you have a lot of competitions running, is it possible to have a click through list to the competitions first so you can go to each individual competition and just have one comp at a time showing on a page?
|
#125
|
||||
|
||||
Quote:
Replace the content of hkc_COMPETITIONS with this: HTML Code:
$stylevar[htmldoctype] <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]"> <head> $headinclude <title>$vboptions[bbtitle] - $pagetitle</title> </head> <body> $header $navbar <if condition="$showopencompetitions"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td colspan="<if condition="$vboptions[hkc_show_total_entries]">3<else />2</if>" class="tcat">$vbphrase[hkc_open_competitions]</td> </tr> <tr> <td class="thead">$vbphrase[hkc_competitions]</td> <td class="thead" align="center">$vbphrase[hkc_competition_end_date]</td> <if condition="$vboptions[hkc_show_total_entries]"><td class="thead" align="center">$vbphrase[hkc_entries]</td></if> </tr> $opencompetitionlist </table> </if> <br /> <if condition="$showpendingcompetitions"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td colspan="2" class="tcat">$vbphrase[hkc_pending_competitions]</td> </tr> <tr> <td width="100%" class="thead">$vbphrase[title]</td> <td class="thead" align="center">$vbphrase[hkc_competition_start_date]</td> </tr> $pendingcompetitionlist </table> <br /> </if> <if condition="$showclosedcompetitions"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td colspan="<if condition="$vboptions[hkc_show_total_entries]">4<else />3</if>" class="tcat">$vbphrase[hkc_closed_competitions]</td> </tr> <tr> <td width="100%" class="thead">$vbphrase[title]</td> <td class="thead" align="center">$vbphrase[hkc_competition_end_date]</td> <if condition="$vboptions[hkc_show_total_entries]"><td class="thead" align="center">$vbphrase[hkc_entries]</td></if> <td class="thead" align="center">$vbphrase[hkc_winner]</td> </tr> $closedcompetitionlist </table> </if> $footer </body> </html> HTML Code:
<tr> <td class="alt2" width="100%"><a href="competitions.php?do=participate&cid=$competition[competitionid]">$competition[title]</a></td> <td class="alt2"><nobr>$competition[enddate] $competition[endtime]</nobr></td> <if condition="$vboptions[hkc_show_total_entries]"><td align="center" class="alt2">$competition[entrycount]</td></if> </tr> |
#126
|
||||
|
||||
Forgive me.. But I have this installed and I am not quite sure what it does... It seems to be like a questionair and if you answer the questions right, you win? I dont actually get it.. Can you give me an example of what you use it for?
|
#127
|
|||
|
|||
Thats brilliant Husain, thank you
Another question, when I select Get Winner, it comes up with a box asking me to put the winners ID in, is that right, and if so does that mean I have to go and look through the entries and select the winner? Thanks |
#128
|
||||
|
||||
Quote:
If you select a single-selection radio button as the answer type and specify the correct answer, the code will automatically select the specified number of winners provided that they have answered correctly. This happens by selecting a record from the database at random though I cannot guarantee that it would be the most unbiased selection. -- I would be happy if anyone is willing to develop some intelligent form of selecting winners for this hack. Please get in touch with me to discuss ideas. |
#129
|
|||
|
|||
This will make it so much easier. Will this affect performance on my board at all if I run a lot of competitions and they have a lot of entries?
Again, many thanks for this great plugin. |
#130
|
||||
|
||||
No it shouldn't affect the performace of your board.
|
#131
|
|||
|
|||
Brilliant thanks. Must admit I added this to my board when you first put it out and then forgot all about it as I was inundated on my site. This will help me out so much!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|