collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18366
  • stats Total Topics: 2501
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: Vote Core module and Simple Vote  (Read 15113 times)

0 Members and 1 Guest are viewing this topic.

Offline Glarawyn

  • BeBot Hero
  • ******
  • Posts: 521
  • Karma: +0/-0
Vote Core module and Simple Vote
« on: January 22, 2008, 02:24:02 am »
About the module:
This is a core module to deal with holding an election/poll/vote on BeBot 0.4. Votes are not maintained on a bot restart, so it is designed to be a short (seconds or minutes) poll. Results of the vote are recorded to the database for future reference.

The Vote_Core.php module will help you in creating your own modules that use voting.

I've included SimpleVote.php which is what I used to test things. SimpleVote lets you create a simple yes/no vote.

Commands provided by Vote_Core.php:
/tell yourbot !vote <voteid> <option>

Commands provided by SimpleVote.php:
/tell yourbot !simplevote Enter a yes/no question here.

Installation:
Extract VoteCore_1.0.0.zip to your custom directory.

Download:
VoteCore_1.0.0.zip
« Last Edit: January 30, 2008, 01:36:10 am by Glarawyn »

Offline Glarawyn

  • BeBot Hero
  • ******
  • Posts: 521
  • Karma: +0/-0
Re: Vote Core module and Simple Vote
« Reply #1 on: January 30, 2008, 01:31:55 am »
Updated to 1.0.0.

Offline laryllan

  • BeBot Rookie
  • *
  • Posts: 8
  • Karma: +0/-0
Re: Vote Core module and Simple Vote
« Reply #2 on: January 31, 2008, 11:43:27 am »
Very nice module!  :)

Is there a way to see the vote results yet?
Can I start a vote with multiple options?

Offline IKShadow

  • BeBot User
  • **
  • Posts: 35
  • Karma: +0/-0
Re: Vote Core module and Simple Vote
« Reply #3 on: November 18, 2008, 08:58:39 pm »
I get error now after the bebot update .. on line 98

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: Vote Core module and Simple Vote
« Reply #4 on: November 19, 2008, 01:15:43 am »
This Module is for 0.4.x u need this to be able to use with 0.5.x

http://bebot.link/0-5-x-customunofficial-modules/0-4_support-for-latest-0-5/

Offline IKShadow

  • BeBot User
  • **
  • Posts: 35
  • Karma: +0/-0
Re: Vote Core module and Simple Vote
« Reply #5 on: November 19, 2008, 10:57:07 am »
Wierd this module worked with BeBot 0.5.4

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: Vote Core module and Simple Vote
« Reply #6 on: November 19, 2008, 03:26:52 pm »
thats not possible
i looked at the code and the code was definity 0.4.x
Due to a Big change from 0.4 to 0.5 99% of modules wont work as normal and need support module
maybe u didnt have it loaded?

 

* Recent Posts
Com bot module by bitnykk
[November 25, 2024, 05:36:11 pm ]


0.8.x updates for AO by bitnykk
[June 23, 2024, 03:19:47 pm ]


0.8.x updates for AoC by bitnykk
[June 23, 2024, 03:19:44 pm ]


[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm ]


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am ]

* Who's Online
  • Dot Guests: 290
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.
* Forum Staff
bitnykk admin bitnykk
Administrator
Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2024, SimplePortal