L* R*
HOME FORUM DOWNLOADS
Content
  Links
     Browse SVN
     SVN Commit log
     Documentation (Wiki)
  Developers
     Taskmanager
User
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 01, 2008, 11:08:35 PM

Login with username, password and session length
Search



Advanced search
Support GoPHP5.org
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Modules > 0.4.x Custom/Unofficial Modules > Topic: Vote Core module and Simple Vote
Pages: [1]   Go Down
« previous next »
Print
Author Topic: Vote Core module and Simple Vote  (Read 494 times)
0 Members and 1 Guest are viewing this topic.
Glarawyn
BeBot Developer
Champion
********
Offline Offline

Posts: 414



Vote Core module and Simple Vote
« on: January 21, 2008, 08:24:02 PM »

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 29, 2008, 07:36:10 PM by Glarawyn » Logged
Glarawyn
BeBot Developer
Champion
********
Offline Offline

Posts: 414



Re: Vote Core module and Simple Vote
« Reply #1 on: January 29, 2008, 07:31:55 PM »

Updated to 1.0.0.
Logged
laryllan
Freshman
*
Offline Offline

Posts: 1


Re: Vote Core module and Simple Vote
« Reply #2 on: January 31, 2008, 05:43:27 AM »

Very nice module!  Smiley

Is there a way to see the vote results yet?
Can I start a vote with multiple options?
Logged
IKShadow
Freshman
*
Offline Offline

Posts: 17


Re: Vote Core module and Simple Vote
« Reply #3 on: November 18, 2008, 02:58:39 PM »

I get error now after the bebot update .. on line 98
Logged
Temar
BeBot Developer
Grandmaster
********
Offline Offline

Gender: Male
Posts: 877



WWW
Re: Vote Core module and Simple Vote
« Reply #4 on: November 18, 2008, 07:15:43 PM »

This Module is for 0.4.x u need this to be able to use with 0.5.x

http://bebot.shadow-realm.org/0-5-x-customunofficial-modules/0-4_support-for-latest-0-5/
Logged

MSN messenger: chris_smith96 at hotmain dot com
Xfire: chriss96
IKShadow
Freshman
*
Offline Offline

Posts: 17


Re: Vote Core module and Simple Vote
« Reply #5 on: November 19, 2008, 04:57:07 AM »

Wierd this module worked with BeBot 0.5.4
Logged
Temar
BeBot Developer
Grandmaster
********
Offline Offline

Gender: Male
Posts: 877



WWW
Re: Vote Core module and Simple Vote
« Reply #6 on: November 19, 2008, 09:26:52 AM »

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?
Logged

MSN messenger: chris_smith96 at hotmain dot com
Xfire: chriss96
Pages: [1]   Go Up
Print
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Modules > 0.4.x Custom/Unofficial Modules > Topic: Vote Core module and Simple Vote
« previous next »
 
Jump to:  

Recent
[request] Raid timers
by Elesar1
[Today at 04:41:09 PM]

Shared DB online list
by Temar
[Today at 01:55:47 AM]

relay colors
by Temar
[Today at 01:54:56 AM]

BeBot v0.6.0 released
by Alreadythere
[November 30, 2008, 05:32:00 PM]

Change to Bid.php
by Temar
[November 30, 2008, 11:41:44 AM]

OnlineOrg
by Jiheld
[November 29, 2008, 12:44:27 PM]

Silly Newbie Question.
by Temar
[November 29, 2008, 12:00:02 PM]

massive_pvp_time_table 1
by gerborg
[November 29, 2008, 06:55:35 AM]

Bot not see Guild Chat
by Delvar
[November 28, 2008, 08:30:34 AM]

Starting Bot
by Allisande
[November 28, 2008, 07:08:21 AM]
Stats
Members
Total Members: 1243
Latest: Whackoeng
Stats
Total Posts: 11144
Total Topics: 1505
Online Today: 21
Online Ever: 168
(July 01, 2007, 09:30:02 PM)
Users Online
Users: 1
Guests: 15
Total: 16
clashbot

Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
TinyPortal v0.9.8 © Bloc | NewDef design by Bloc
Page created in 0.485 seconds with 28 queries. (Pretty URLs adds 0.028s, 4q)
Loading...