» tagged pages
» logout

(Feed found, click Add Page to syndicate.) Error finding feed, please try again » Find feed title

A Blog Page allows you to add entries, for news or other time sensitive postings

(Login required to save to your tagged pages.)
(or Cancel)

Recent Edits

re-created by dland

About Referendum

June 8, 2007
The page was created.

[[Referendum]] is an issue voting system.

* "Referendum source code":http://sandbox.sourcelabs.com/referendum/index.phps

Essentially...

» complete change

[[Referendum]] is an issue voting system.

* "Referendum source code":http://sandbox.sourcelabs.com/referendum/index.phps

Essentially Referendum is a simple [[CRUD]] application, users insert votes, issues and ballots, and then read them out in tables.

h1. Ajax Voting

The [[Ajax]] voting system works like this:

# User clicks on a vote

## Ajax fires off a request

## Vote class is set to pending

# Server receives request

## Server deletes all votes for the issue from the user's IP

## A new vote is inserted

## The current tally of votes for the issue is selected from the [[database]] and returned.

# Client receives response - including the tally and the id of the issue.

## Vote tally is updated

## User's vote is set to selected

h1. Database Schema

<pre>

<code>

-- Database: `referendum`

--

-- --------------------------------------------------------

--

-- Table structure for table `ballots`

--

CREATE TABLE `ballots` (

`id` int(11) NOT NULL auto_increment,

`name` varchar(255) collate utf8_unicode_ci NOT NULL default '',

`description` text collate utf8_unicode_ci NOT NULL,

`created` datetime NOT NULL default '0000-00-00 00:00:00',

`updated` timestamp NOT NULL default CURRENT_TIMESTAMP,

`password` varchar(32) collate utf8_unicode_ci NOT NULL default '',

`css` text collate utf8_unicode_ci NOT NULL,

PRIMARY KEY (`id`),

UNIQUE KEY `name` (`name`),

KEY `created` (`created`,`updated`),

FULLTEXT KEY `description` (`description`)

) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=7 ;

-- --------------------------------------------------------

--

-- Table structure for table `issues`

--

CREATE TABLE `issues` (

`id` int(11) NOT NULL auto_increment,

`ballot_id` int(11) NOT NULL default '0',

`title` varchar(255) collate utf8_unicode_ci NOT NULL default '',

`description` text collate utf8_unicode_ci NOT NULL,

`created` datetime NOT NULL default '0000-00-00 00:00:00',

`name` varchar(255) collate utf8_unicode_ci NOT NULL default '',

`ip` int(4) NOT NULL default '0',

`link` text collate utf8_unicode_ci NOT NULL,

`approved` tinyint(1) NOT NULL default '0',

`homepage` text collate utf8_unicode_ci NOT NULL,

PRIMARY KEY (`id`),

KEY `ballot_id` (`ballot_id`),

KEY `approved` (`approved`),

FULLTEXT KEY `description` (`description`)

) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=5 ;

-- --------------------------------------------------------

--

-- Table structure for table `votes`

--

CREATE TABLE `votes` (

`id` int(11) NOT NULL auto_increment,

`issue_id` int(11) NOT NULL default '0',

`ip` int(4) NOT NULL default '0',

`vote` tinyint(1) NOT NULL default '0',

`time` timestamp NOT NULL default CURRENT_TIMESTAMP,

PRIMARY KEY (`id`),

KEY `ballot_id` (`issue_id`,`ip`,`vote`)

) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=70 ;

</code>

</pre>

h1. Images

* "famfamfam":http://famfamfam.com

Undo this change because:
re-created by dland

Referendum

June 8, 2007
The page was created.
[[user:alex|Alex Bosworth]]
[[GPL|GNU General Public License v2]]
http://sandbox.sourcelabs.com/referendum/

Referendum is a project to allow for community initiatives, allowing people to raise issues and vote on them. "!http://sandbox.sourcelabs.com/referendum/reflogo.png!":http://sandbox.sourcelabs.com/referendum/...

» complete change

Referendum is a project to allow for community initiatives, allowing people to raise issues and vote on them. "!http://sandbox.sourcelabs.com/referendum/reflogo.png!":http://sandbox.sourcelabs.com/referendum/

Referendum is written in [[PHP]] and requires [[Ajax]] capable [[web browser]] for voting.

Referendum uses the [[Microformats]] concept of 'vote-links'. For more information on this, see the "Microformats Wiki":http://microformats.org/wiki/vote-links.

To activate a new vote - you must create and follow a link to your issue, preferrably on a page where people might discuss the issue at length, for example on your blog.

Undo this change because:
deleted by 66.79.163.226

Referendum

June 7, 2007
The project and its contents were erased
[[user:alex|Alex Bosworth]]
[[GPL|GNU General Public License v2]]
http://sandbox.sourcelabs.com/referendum/

Referendum is a project to allow for community initiatives, allowing people to raise issues and vote on them. "!http://sandbox.sourcelabs.com/referendum/reflogo.png!":http://sandbox.sourcelabs.com/referendum/...

» complete change

Referendum is a project to allow for community initiatives, allowing people to raise issues and vote on them. "!http://sandbox.sourcelabs.com/referendum/reflogo.png!":http://sandbox.sourcelabs.com/referendum/

Referendum is written in [[PHP]] and requires [[Ajax]] capable [[web browser]] for voting.

Referendum uses the [[Microformats]] concept of 'vote-links'. For more information on this, see the "Microformats Wiki":http://microformats.org/wiki/vote-links.

To activate a new vote - you must create and follow a link to your issue, preferrably on a page where people might discuss the issue at length, for example on your blog.

deleted by 66.79.163.226

Feature Ideas

June 7, 2007
The page and its contents were erased.

Discuss Feature Ideas Here.

* [[RSS]] Feeds for ballots: <a rev='vote_for' href='http://sandbox.sourcelabs.com/referendum/index.php?ballot=1&issue=2#forIssue2'><img...

» complete change

Discuss Feature Ideas Here.

* [[RSS]] Feeds for ballots: <a rev='vote_for' href='http://sandbox.sourcelabs.com/referendum/index.php?ballot=1&issue=2#forIssue2'><img src='http://sandbox.sourcelabs.com/referendum/voteyes.png'></a>

** This is a top priority and should be in soon - [[User:alex|alex]]

* Add [[CSS]] Templates - let users pick from CSS templates when creating new ballots.

* -Allow deletion of issues- done

deleted by 66.79.163.226

About Referendum

June 7, 2007
The page and its contents were erased.

[[Referendum]] is an issue voting system.

* "Referendum source code":http://sandbox.sourcelabs.com/referendum/index.phps

Essentially...

» complete change

[[Referendum]] is an issue voting system.

* "Referendum source code":http://sandbox.sourcelabs.com/referendum/index.phps

Essentially Referendum is a simple [[CRUD]] application, users insert votes, issues and ballots, and then read them out in tables.

h1. Ajax Voting

The [[Ajax]] voting system works like this:

# User clicks on a vote

## Ajax fires off a request

## Vote class is set to pending

# Server receives request

## Server deletes all votes for the issue from the user's IP

## A new vote is inserted

## The current tally of votes for the issue is selected from the [[database]] and returned.

# Client receives response - including the tally and the id of the issue.

## Vote tally is updated

## User's vote is set to selected

h1. Database Schema

<pre>

<code>

-- Database: `referendum`

--

-- --------------------------------------------------------

--

-- Table structure for table `ballots`

--

CREATE TABLE `ballots` (

`id` int(11) NOT NULL auto_increment,

`name` varchar(255) collate utf8_unicode_ci NOT NULL default '',

`description` text collate utf8_unicode_ci NOT NULL,

`created` datetime NOT NULL default '0000-00-00 00:00:00',

`updated` timestamp NOT NULL default CURRENT_TIMESTAMP,

`password` varchar(32) collate utf8_unicode_ci NOT NULL default '',

`css` text collate utf8_unicode_ci NOT NULL,

PRIMARY KEY (`id`),

UNIQUE KEY `name` (`name`),

KEY `created` (`created`,`updated`),

FULLTEXT KEY `description` (`description`)

) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=7 ;

-- --------------------------------------------------------

--

-- Table structure for table `issues`

--

CREATE TABLE `issues` (

`id` int(11) NOT NULL auto_increment,

`ballot_id` int(11) NOT NULL default '0',

`title` varchar(255) collate utf8_unicode_ci NOT NULL default '',

`description` text collate utf8_unicode_ci NOT NULL,

`created` datetime NOT NULL default '0000-00-00 00:00:00',

`name` varchar(255) collate utf8_unicode_ci NOT NULL default '',

`ip` int(4) NOT NULL default '0',

`link` text collate utf8_unicode_ci NOT NULL,

`approved` tinyint(1) NOT NULL default '0',

`homepage` text collate utf8_unicode_ci NOT NULL,

PRIMARY KEY (`id`),

KEY `ballot_id` (`ballot_id`),

KEY `approved` (`approved`),

FULLTEXT KEY `description` (`description`)

) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=5 ;

-- --------------------------------------------------------

--

-- Table structure for table `votes`

--

CREATE TABLE `votes` (

`id` int(11) NOT NULL auto_increment,

`issue_id` int(11) NOT NULL default '0',

`ip` int(4) NOT NULL default '0',

`vote` tinyint(1) NOT NULL default '0',

`time` timestamp NOT NULL default CURRENT_TIMESTAMP,

PRIMARY KEY (`id`),

KEY `ballot_id` (`issue_id`,`ip`,`vote`)

) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=70 ;

</code>

</pre>

h1. Images

* "famfamfam":http://famfamfam.com

editing undone by alex

Referendum

February 7, 2007
“rv”

Hey is this being edited right now.

» complete change

Referendum is a project to allow for community initiatives, allowing people to raise issues and vote on them. "!http://sandbox.sourcelabs.com/referendum/reflogo.png!":http://sandbox.sourcelabs.com/referendum/

Referendum is written in [[PHP]] and requires [[Ajax]] capable [[web browser]] for voting.

Referendum uses the [[Microformats]] concept of 'vote-links'. For more information on this, see the "Microformats Wiki":http://microformats.org/wiki/vote-links.

To activate a new vote - you must create and follow a link to your issue, preferrably on a page where people might discuss the issue at length, for example on your blog.

Hey is this being edited right now.

edit by 72.135.194.41

Referendum

February 7, 2007

Hey is this being edited right now.

» complete change

Referendum is a project to allow for community initiatives, allowing people to raise issues and vote on them. "!http://sandbox.sourcelabs.com/referendum/reflogo.png!":http://sandbox.sourcelabs.com/referendum/

Referendum is written in [[PHP]] and requires [[Ajax]] capable [[web browser]] for voting.

Referendum uses the [[Microformats]] concept of 'vote-links'. For more information on this, see the "Microformats Wiki":http://microformats.org/wiki/vote-links.

To activate a new vote - you must create and follow a link to your issue, preferrably on a page where people might discuss the issue at length, for example on your blog.

Hey is this being edited right now.

edit by alex

Referendum

September 26, 2006
Community PHP Ajax Voting Ballots user:alex PHP5 Microformats
[[GPL|GNU GNU General Public License v2]] v2
[[user:alex|Alex Bosworth]] Alex Bosworth
Undo this change because:
edit by alex

Feature Ideas

March 1, 2006

* -Allow deletion of issues- issues - done

» complete change

Discuss Feature Ideas Here.

* [[RSS]] Feeds for ballots: <a rev='vote_for' href='http://sandbox.sourcelabs.com/referendum/index.php?ballot=1&issue=2#forIssue2'><img src='http://sandbox.sourcelabs.com/referendum/voteyes.png'></a>

** This is a top priority and should be in soon - [[User:alex|alex]]

* Add [[CSS]] Templates - let users pick from CSS templates when creating new ballots.

* -Allow deletion of issues- issues - done

edit by alex

Feature Ideas

March 1, 2006

* -Allow deletion of issues - issues: <a rev='vote_for' href='http://sandbox.sourcelabs.com/referendum/index.php?ballot=1&issue=4#forIssue4'><img...

» complete change

Discuss Feature Ideas Here.

* [[RSS]] Feeds for ballots: <a rev='vote_for' href='http://sandbox.sourcelabs.com/referendum/index.php?ballot=1&issue=2#forIssue2'><img src='http://sandbox.sourcelabs.com/referendum/voteyes.png'></a>

** This is a top priority and should be in soon - [[User:alex|alex]]

* Add [[CSS]] Templates - let users pick from CSS templates when creating new ballots.

* -Allow deletion of issues - issues: <a rev='vote_for' href='http://sandbox.sourcelabs.com/referendum/index.php?ballot=1&issue=4#forIssue4'><img src='http://sandbox.sourcelabs.com/referendum/voteyes.png'></a>- done

edit by alex

Feature Ideas

March 1, 2006

* -Allow Allow deletion of issues: <a rev='vote_for' href='http://sandbox.sourcelabs.com/referendum/index.php?ballot=1&issue=4#forIssue4'><img...

» complete change

Discuss Feature Ideas Here.

* [[RSS]] Feeds for ballots: <a rev='vote_for' href='http://sandbox.sourcelabs.com/referendum/index.php?ballot=1&issue=2#forIssue2'><img src='http://sandbox.sourcelabs.com/referendum/voteyes.png'></a>

** This is a top priority and should be in soon - [[User:alex|alex]]

* Add [[CSS]] Templates - let users pick from CSS templates when creating new ballots.

* -Allow Allow deletion of issues: <a rev='vote_for' href='http://sandbox.sourcelabs.com/referendum/index.php?ballot=1&issue=4#forIssue4'><img src='http://sandbox.sourcelabs.com/referendum/voteyes.png'></a>- done src='http://sandbox.sourcelabs.com/referendum/voteyes.png'></a>

edit by alex

Referendum

February 28, 2006
Community PHP Ajax Voting Ballots user:alex PHP5 Microformats
edit by alex

Referendum

February 28, 2006

Referendum is written in [[PHP]] [[PHP|PHP5]] and requires [[Ajax]] capable [[web browser]] for voting.

» complete change

Referendum is a project to allow for community initiatives, allowing people to raise issues and vote on them. "!http://sandbox.sourcelabs.com/referendum/reflogo.png!":http://sandbox.sourcelabs.com/referendum/

Referendum is written in [[PHP]] [[PHP|PHP5]] and requires [[Ajax]] capable [[web browser]] for voting.

Referendum uses the [[Microformats]] concept of 'vote-links'. For more information on this, see the "Microformats Wiki":http://microformats.org/wiki/vote-links.

To activate a new vote - you must create and follow a link to your issue, preferrably on a page where people might discuss the issue at length, for example on your blog.

Undo this change because:
edit by alex

About Referendum

February 28, 2006
“added image link”

h1. Images

* "famfamfam":http://famfamfam.com

» complete change

[[Referendum]] is an issue voting system.

* "Referendum source code":http://sandbox.sourcelabs.com/referendum/index.phps

Essentially Referendum is a simple [[CRUD]] application, users insert votes, issues and ballots, and then read them out in tables.

h1. Ajax Voting

The [[Ajax]] voting system works like this:

# User clicks on a vote

## Ajax fires off a request

## Vote class is set to pending

# Server receives request

## Server deletes all votes for the issue from the user's IP

## A new vote is inserted

## The current tally of votes for the issue is selected from the [[database]] and returned.

# Client receives response - including the tally and the id of the issue.

## Vote tally is updated

## User's vote is set to selected

h1. Database Schema

<pre>

<code>

-- Database: `referendum`

--

-- --------------------------------------------------------

--

-- Table structure for table `ballots`

--

CREATE TABLE `ballots` (

`id` int(11) NOT NULL auto_increment,

`name` varchar(255) collate utf8_unicode_ci NOT NULL default '',

`description` text collate utf8_unicode_ci NOT NULL,

`created` datetime NOT NULL default '0000-00-00 00:00:00',

`updated` timestamp NOT NULL default CURRENT_TIMESTAMP,

`password` varchar(32) collate utf8_unicode_ci NOT NULL default '',

`css` text collate utf8_unicode_ci NOT NULL,

PRIMARY KEY (`id`),

UNIQUE KEY `name` (`name`),

KEY `created` (`created`,`updated`),

FULLTEXT KEY `description` (`description`)

) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=7 ;

-- --------------------------------------------------------

--

-- Table structure for table `issues`

--

CREATE TABLE `issues` (

`id` int(11) NOT NULL auto_increment,

`ballot_id` int(11) NOT NULL default '0',

`title` varchar(255) collate utf8_unicode_ci NOT NULL default '',

`description` text collate utf8_unicode_ci NOT NULL,

`created` datetime NOT NULL default '0000-00-00 00:00:00',

`name` varchar(255) collate utf8_unicode_ci NOT NULL default '',

`ip` int(4) NOT NULL default '0',

`link` text collate utf8_unicode_ci NOT NULL,

`approved` tinyint(1) NOT NULL default '0',

`homepage` text collate utf8_unicode_ci NOT NULL,

PRIMARY KEY (`id`),

KEY `ballot_id` (`ballot_id`),

KEY `approved` (`approved`),

FULLTEXT KEY `description` (`description`)

) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=5 ;

-- --------------------------------------------------------

--

-- Table structure for table `votes`

--

CREATE TABLE `votes` (

`id` int(11) NOT NULL auto_increment,

`issue_id` int(11) NOT NULL default '0',

`ip` int(4) NOT NULL default '0',

`vote` tinyint(1) NOT NULL default '0',

`time` timestamp NOT NULL default CURRENT_TIMESTAMP,

PRIMARY KEY (`id`),

KEY `ballot_id` (`issue_id`,`ip`,`vote`)

) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=70 ;

</code>

</pre>

h1. Images

* "famfamfam":http://famfamfam.com

Undo this change because:
edit by alex

Referendum

February 28, 2006

To activate a new vote - you must create and follow a vote link to your issue, preferrably on a page where people might discuss...

» complete change

Referendum is a project to allow for community initiatives, allowing people to raise issues and vote on them. "!http://sandbox.sourcelabs.com/referendum/reflogo.png!":http://sandbox.sourcelabs.com/referendum/

Referendum is written in [[PHP|PHP5]] and requires [[Ajax]] capable [[web browser]] for voting.

Referendum uses the [[Microformats]] concept of 'vote-links'. For more information on this, see the "Microformats Wiki":http://microformats.org/wiki/vote-links.

To activate a new vote - you must create and follow a vote link to your issue, preferrably on a page where people might discuss the issue at length, for example on your blog.

edit by alex

About Referendum

February 28, 2006

h1. Ajax Voting

The [[Ajax]] voting system works like this:

h1. Database Schema

» complete change

[[Referendum]] is an issue voting system.

* "Referendum source code":http://sandbox.sourcelabs.com/referendum/index.phps

Essentially Referendum is a simple [[CRUD]] application, users insert votes, issues and ballots, and then read them out in tables.

h1. Ajax Voting

The [[Ajax]] voting system works like this:

# User clicks on a vote

## Ajax fires off a request

## Vote class is set to pending

# Server receives request

## Server deletes all votes for the issue from the user's IP

## A new vote is inserted

## The current tally of votes for the issue is selected from the [[database]] and returned.

# Client receives response - including the tally and the id of the issue.

## Vote tally is updated

## User's vote is set to selected

h1. Database Schema

<pre>

<code>

-- Database: `referendum`

--

-- --------------------------------------------------------

--

-- Table structure for table `ballots`

--

CREATE TABLE `ballots` (

`id` int(11) NOT NULL auto_increment,

`name` varchar(255) collate utf8_unicode_ci NOT NULL default '',

`description` text collate utf8_unicode_ci NOT NULL,

`created` datetime NOT NULL default '0000-00-00 00:00:00',

`updated` timestamp NOT NULL default CURRENT_TIMESTAMP,

`password` varchar(32) collate utf8_unicode_ci NOT NULL default '',

`css` text collate utf8_unicode_ci NOT NULL,

PRIMARY KEY (`id`),

UNIQUE KEY `name` (`name`),

KEY `created` (`created`,`updated`),

FULLTEXT KEY `description` (`description`)

) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=7 ;

-- --------------------------------------------------------

--

-- Table structure for table `issues`

--

CREATE TABLE `issues` (

`id` int(11) NOT NULL auto_increment,

`ballot_id` int(11) NOT NULL default '0',

`title` varchar(255) collate utf8_unicode_ci NOT NULL default '',

`description` text collate utf8_unicode_ci NOT NULL,

`created` datetime NOT NULL default '0000-00-00 00:00:00',

`name` varchar(255) collate utf8_unicode_ci NOT NULL default '',

`ip` int(4) NOT NULL default '0',

`link` text collate utf8_unicode_ci NOT NULL,

`approved` tinyint(1) NOT NULL default '0',

`homepage` text collate utf8_unicode_ci NOT NULL,

PRIMARY KEY (`id`),

KEY `ballot_id` (`ballot_id`),

KEY `approved` (`approved`),

FULLTEXT KEY `description` (`description`)

) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=5 ;

-- --------------------------------------------------------

--

-- Table structure for table `votes`

--

CREATE TABLE `votes` (

`id` int(11) NOT NULL auto_increment,

`issue_id` int(11) NOT NULL default '0',

`ip` int(4) NOT NULL default '0',

`vote` tinyint(1) NOT NULL default '0',

`time` timestamp NOT NULL default CURRENT_TIMESTAMP,

PRIMARY KEY (`id`),

KEY `ballot_id` (`issue_id`,`ip`,`vote`)

) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=70 ;

</code>

</pre>

edit by alex

About Referendum

February 28, 2006

Database Schema

<pre>

<code>

-- Database: `referendum`

--

-- --------------------------------------------------------

--

-- Table...

» complete change

[[Referendum]] is an issue voting system.

* "Referendum source code":http://sandbox.sourcelabs.com/referendum/index.phps

Essentially Referendum is a simple [[CRUD]] application, users insert votes, issues and ballots, and then read them out in tables.

The [[Ajax]] voting system works like this:

# User clicks on a vote

## Ajax fires off a request

## Vote class is set to pending

# Server receives request

## Server deletes all votes for the issue from the user's IP

## A new vote is inserted

## The current tally of votes for the issue is selected from the [[database]] and returned.

# Client receives response - including the tally and the id of the issue.

## Vote tally is updated

## User's vote is set to selected

Database Schema

<pre>

<code>

-- Database: `referendum`

--

-- --------------------------------------------------------

--

-- Table structure for table `ballots`

--

CREATE TABLE `ballots` (

`id` int(11) NOT NULL auto_increment,

`name` varchar(255) collate utf8_unicode_ci NOT NULL default '',

`description` text collate utf8_unicode_ci NOT NULL,

`created` datetime NOT NULL default '0000-00-00 00:00:00',

`updated` timestamp NOT NULL default CURRENT_TIMESTAMP,

`password` varchar(32) collate utf8_unicode_ci NOT NULL default '',

`css` text collate utf8_unicode_ci NOT NULL,

PRIMARY KEY (`id`),

UNIQUE KEY `name` (`name`),

KEY `created` (`created`,`updated`),

FULLTEXT KEY `description` (`description`)

) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=7 ;

-- --------------------------------------------------------

--

-- Table structure for table `issues`

--

CREATE TABLE `issues` (

`id` int(11) NOT NULL auto_increment,

`ballot_id` int(11) NOT NULL default '0',

`title` varchar(255) collate utf8_unicode_ci NOT NULL default '',

`description` text collate utf8_unicode_ci NOT NULL,

`created` datetime NOT NULL default '0000-00-00 00:00:00',

`name` varchar(255) collate utf8_unicode_ci NOT NULL default '',

`ip` int(4) NOT NULL default '0',

`link` text collate utf8_unicode_ci NOT NULL,

`approved` tinyint(1) NOT NULL default '0',

`homepage` text collate utf8_unicode_ci NOT NULL,

PRIMARY KEY (`id`),

KEY `ballot_id` (`ballot_id`),

KEY `approved` (`approved`),

FULLTEXT KEY `description` (`description`)

) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=5 ;

-- --------------------------------------------------------

--

-- Table structure for table `votes`

--

CREATE TABLE `votes` (

`id` int(11) NOT NULL auto_increment,

`issue_id` int(11) NOT NULL default '0',

`ip` int(4) NOT NULL default '0',

`vote` tinyint(1) NOT NULL default '0',

`time` timestamp NOT NULL default CURRENT_TIMESTAMP,

PRIMARY KEY (`id`),

KEY `ballot_id` (`issue_id`,`ip`,`vote`)

) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=70 ;

</code>

</pre>

edit by alex

About Referendum

February 27, 2006

## Server deletes all votes for the issue from the user's IP

» complete change

[[Referendum]] is an issue voting system.

* "Referendum source code":http://sandbox.sourcelabs.com/referendum/index.phps

Essentially Referendum is a simple [[CRUD]] application, users insert votes, issues and ballots, and then read them out in tables.

The [[Ajax]] voting system works like this:

# User clicks on a vote

## Ajax fires off a request

## Vote class is set to pending

# Server receives request

## Server deletes all votes for the issue from the user's IP

## A new vote is inserted

## The current tally of votes for the issue is selected from the [[database]] and returned.

# Client receives response - including the tally and the id of the issue.

## Vote tally is updated

## User's vote is set to selected

edit by alex

About Referendum

February 27, 2006

Essentially Referendum is a simple [[CRUD]] application, users insert votes, issues and ballots, and then read them out in...

» complete change

[[Referendum]] is an issue voting system.

* "Referendum source code":http://sandbox.sourcelabs.com/referendum/index.phps

Essentially Referendum is a simple [[CRUD]] application, users insert votes, issues and ballots, and then read them out in tables.

The [[Ajax]] voting system works like this:

# User clicks on a vote

## Ajax fires off a request

## Vote class is set to pending

# Server receives request

## Server deletes all votes from the user's IP

## A new vote is inserted

## The current tally of votes for the issue is selected from the [[database]] and returned.

# Client receives response - including the tally and the id of the issue.

## Vote tally is updated

## User's vote is set to selected

edit by alex

About Referendum

February 27, 2006
Referendum Documentation
Undo this change because:
edit by alex

Feature Ideas

February 27, 2006

** This is a top priority and should be in soon - [[User:alex|alex]]

* Add [[CSS]] Templates - let users pick from CSS templates...

» complete change

Discuss Feature Ideas Here.

* [[RSS]] Feeds for ballots: <a rev='vote_for' href='http://sandbox.sourcelabs.com/referendum/index.php?ballot=1&issue=2#forIssue2'><img src='http://sandbox.sourcelabs.com/referendum/voteyes.png'></a>

** This is a top priority and should be in soon - [[User:alex|alex]]

* Add [[CSS]] Templates - let users pick from CSS templates when creating new ballots.

* Allow deletion of issues: <a rev='vote_for' href='http://sandbox.sourcelabs.com/referendum/index.php?ballot=1&issue=4#forIssue4'><img src='http://sandbox.sourcelabs.com/referendum/voteyes.png'></a>

edit by alex

Feature Ideas

February 27, 2006
Referendum Feature-Requests
Undo this change because:
edit by alex

Feature Ideas

February 27, 2006

* Allow deletion of issues: <a rev='vote_for' href='http://sandbox.sourcelabs.com/referendum/index.php?ballot=1&issue=4#forIssue4'><img...

» complete change

Discuss Feature Ideas Here.

* [[RSS]] Feeds for ballots: <a rev='vote_for' href='http://sandbox.sourcelabs.com/referendum/index.php?ballot=1&issue=2#forIssue2'><img src='http://sandbox.sourcelabs.com/referendum/voteyes.png'></a>

* Add [[CSS]] Templates - let users pick from CSS templates when creating new ballots.

* Allow deletion of issues: <a rev='vote_for' href='http://sandbox.sourcelabs.com/referendum/index.php?ballot=1&issue=4#forIssue4'><img src='http://sandbox.sourcelabs.com/referendum/voteyes.png'></a> src='voteyes.png'></a>

edit by alex

Feature Ideas

February 27, 2006

* Allow deletion of issues: <a rev='vote_for' href='http://sandbox.sourcelabs.com/referendum/index.php?ballot=1&issue=4#forIssue4'><img...

» complete change

Discuss Feature Ideas Here.

* [[RSS]] Feeds for ballots: <a rev='vote_for' href='http://sandbox.sourcelabs.com/referendum/index.php?ballot=1&issue=2#forIssue2'><img src='http://sandbox.sourcelabs.com/referendum/voteyes.png'></a>

* Add [[CSS]] Templates - let users pick from CSS templates when creating new ballots.

* Allow deletion of issues: <a rev='vote_for' href='http://sandbox.sourcelabs.com/referendum/index.php?ballot=1&issue=4#forIssue4'><img src='voteyes.png'></a>

edit by alex

Referendum

February 27, 2006

Referendum is a project to allow for community initiatives, allowing people to raise issues and vote on them. "!http://sandbox.sourcelabs.com/referendum/reflogo.png!":http://sandbox.sourcelabs.com/referendum/...

» complete change

Referendum is a project to allow for community initiatives, allowing people to raise issues and vote on them. "!http://sandbox.sourcelabs.com/referendum/reflogo.png!":http://sandbox.sourcelabs.com/referendum/ "{border:0px;}!http://sandbox.sourcelabs.com/referendum/reflogo.png!":http://sandbox.sourcelabs.com/referendum/

Referendum is written in [[PHP|PHP5]] and requires [[Ajax]] capable [[web browser]] for voting.

Referendum uses the [[Microformats]] concept of 'vote-links'. For more information on this, see the "Microformats Wiki":http://microformats.org/wiki/vote-links.

To activate a new vote - you must create a vote link to your issue, preferrably on a page where people might discuss the issue at length, for example on your blog.

edit by alex

Referendum

February 27, 2006

Referendum is a project to allow for community initiatives, allowing people to raise issues and vote on them. "{border:0px;}!http://sandbox.sourcelabs.com/referendum/reflogo.png!":http://sandbox.sourcelabs.com/referendum/...

» complete change

Referendum is a project to allow for community initiatives, allowing people to raise issues and vote on them. "{border:0px;}!http://sandbox.sourcelabs.com/referendum/reflogo.png!":http://sandbox.sourcelabs.com/referendum/ "!http://sandbox.sourcelabs.com/referendum/reflogo.png!":http://sandbox.sourcelabs.com/referendum/

Referendum is written in [[PHP|PHP5]] and requires [[Ajax]] capable [[web browser]] for voting.

Referendum uses the [[Microformats]] concept of 'vote-links'. For more information on this, see the "Microformats Wiki":http://microformats.org/wiki/vote-links.

To activate a new vote - you must create a vote link to your issue, preferrably on a page where people might discuss the issue at length, for example on your blog.

edit by alex

Referendum

February 27, 2006

Referendum is a project to allow for community initiatives, allowing people to raise issues and vote on them. "!http://sandbox.sourcelabs.com/referendum/reflogo.png!":http://sandbox.sourcelabs.com/referendum/...

» complete change

Referendum is a project to allow for community initiatives, allowing people to raise issues and vote on them. "!http://sandbox.sourcelabs.com/referendum/reflogo.png!":http://sandbox.sourcelabs.com/referendum/ !http://sandbox.sourcelabs.com/referendum/reflogo.png!

Referendum is written in [[PHP|PHP5]] and requires [[Ajax]] capable [[web browser]] for voting.

Referendum uses the [[Microformats]] concept of 'vote-links'. For more information on this, see the "Microformats Wiki":http://microformats.org/wiki/vote-links.

To activate a new vote - you must create a vote link to your issue, preferrably on a page where people might discuss the issue at length, for example on your blog.

edit by alex

Feature Ideas

February 27, 2006

* [[RSS]] Feeds for ballots: Feeds: <a rev='vote_for' href='http://sandbox.sourcelabs.com/referendum/index.php?ballot=1&issue=2#forIssue2'><img

» complete change

Discuss Feature Ideas Here.

* [[RSS]] Feeds for ballots: Feeds: <a rev='vote_for' href='http://sandbox.sourcelabs.com/referendum/index.php?ballot=1&issue=2#forIssue2'><img src='http://sandbox.sourcelabs.com/referendum/voteyes.png'></a>

* Add [[CSS]] Templates - let users pick from CSS templates when creating new ballots.

edit by alex

Referendum

February 27, 2006
Community PHP Ajax Voting Ballots user:alex PHP5
edit by alex

Referendum

February 27, 2006

Referendum is a project to allow for community initiatives, allowing people to raise issues and vote on them. !http://sandbox.sourcelabs.com/referendum/reflogo.png!...

» complete change

Referendum is a project to allow for community initiatives, allowing people to raise issues and vote on them. !http://sandbox.sourcelabs.com/referendum/reflogo.png! !http://sandbox.sourcelabs.com/referendum/referendum.png!

Referendum is written in [[PHP|PHP5]] and requires [[Ajax]] capable [[web browser]] for voting.

Referendum uses the [[Microformats]] concept of 'vote-links'. For more information on this, see the "Microformats Wiki":http://microformats.org/wiki/vote-links.

To activate a new vote - you must create a vote link to your issue, preferrably on a page where people might discuss the issue at length, for example on your blog.

edit by alex

Referendum

February 27, 2006

Referendum is a project to allow for community initiatives, allowing people to raise issues and vote on them. !http://sandbox.sourcelabs.com/referendum/referendum.png!...

» complete change

Referendum is a project to allow for community initiatives, allowing people to raise issues and vote on them. !http://sandbox.sourcelabs.com/referendum/referendum.png!

Referendum is written in [[PHP|PHP5]] and requires [[Ajax]] capable [[web browser]] for voting.

Referendum uses the [[Microformats]] concept of 'vote-links'. For more information on this, see the "Microformats Wiki":http://microformats.org/wiki/vote-links.

To activate a new vote - you must create a vote link to your issue, preferrably on a page where people might discuss the issue at length, for example on your blog.

edit by alex

Feature Ideas

February 27, 2006

* Add [[CSS]] Templates

» complete change

Discuss Feature Ideas Here.

* [[RSS]] Feeds: <a rev='vote_for' href='http://sandbox.sourcelabs.com/referendum/index.php?ballot=1&issue=2#forIssue2'><img src='http://sandbox.sourcelabs.com/referendum/voteyes.png'></a>

* Add [[CSS]] Templates

edit by alex

Feature Ideas

February 27, 2006

* [[RSS]] Feeds: <a rev='vote_for' href='http://sandbox.sourcelabs.com/referendum/index.php?ballot=1&issue=2#forIssue2'><img...

» complete change

Discuss Feature Ideas Here.

* [[RSS]] Feeds: <a rev='vote_for' href='http://sandbox.sourcelabs.com/referendum/index.php?ballot=1&issue=2#forIssue2'><img src='http://sandbox.sourcelabs.com/referendum/voteyes.png'></a> src='voteyes.png'></a>

edit by alex

Feature Ideas

February 27, 2006
Feature-Requests
edit by alex

Feature Ideas

February 27, 2006

* [[RSS]] Feeds: <a rev='vote_for' href='http://sandbox.sourcelabs.com/referendum/index.php?ballot=1&issue=2#forIssue2'><img...

» complete change

Discuss Feature Ideas Here.

* [[RSS]] Feeds: <a rev='vote_for' href='http://sandbox.sourcelabs.com/referendum/index.php?ballot=1&issue=2#forIssue2'><img src='voteyes.png'></a>

edit by alex

Referendum

February 27, 2006

To activate a new vote - you must create a vote link to your issue, preferrably on a page where people might discuss the ...

» complete change

Referendum is a project to allow for community initiatives, allowing people to raise issues and vote on them.

Referendum is written in [[PHP|PHP5]] and requires [[Ajax]] capable [[web browser]] for voting.

Referendum uses the [[Microformats]] concept of 'vote-links'. For more information on this, see the "Microformats Wiki":http://microformats.org/wiki/vote-links.

To activate a new vote - you must create a vote link to your issue, preferrably on a page where people might discuss the issue at length, for example on your blog.

edit by alex

Referendum

February 27, 2006
GNU General Public License v2
created by alex

Feature Ideas

February 27, 2006
The page was created.
Feature Ideas
Article

Discuss Feature Ideas Here.

Undo this change because:
edit by alex

About Referendum

February 27, 2006

[[Referendum]] is an issue voting system.

* "Referendum source code":http://sandbox.sourcelabs.com/referendum/index.phps

edit by alex

About Referendum

February 27, 2006

[[Referendum]] Referendum is an issue voting system.

"Referendum source code":http://sandbox.sourcelabs.com/referendum/index.phps...

» complete change

[[Referendum]] Referendum is an issue voting system.

"Referendum source code":http://sandbox.sourcelabs.com/referendum/index.phps "See the Source Code":http://sandbox.sourcelabs.com/referendum/index.phps

created by alex

About Referendum

February 27, 2006
The page was created.
Referendum
About Referendum
Article

Referendum is an issue voting system.

"See the Source Code":http://sandbox.sourcelabs.com/referendum/index.phps

Undo this change because:
edit by alex

Referendum

February 27, 2006

_referendum is coming soon_

» complete change

Referendum is a project to allow for community initiatives, allowing people to raise issues and vote on them.

Referendum is written in [[PHP|PHP5]] and requires [[Ajax]] capable [[web browser]] for voting.

Referendum uses the [[Microformats]] concept of 'vote-links'. For more information on this, see the "Microformats Wiki":http://microformats.org/wiki/vote-links.

_referendum is coming soon_

edit by alex

Referendum

February 27, 2006
http://sandbox.sourcelabs.com/referendum/
Undo this change because:
edit by alex

Referendum

February 27, 2006

Referendum uses the [[Microformats]] concept of 'vote-links'. For more information on this, see the "Microformats Wiki":http://microformats.org/wiki/vote-links....

» complete change

Referendum is a project to allow for community initiatives, allowing people to raise issues and vote on them.

Referendum is written in [[PHP|PHP5]] and requires [[Ajax]] capable [[web browser]] for voting.

Referendum uses the [[Microformats]] concept of 'vote-links'. For more information on this, see the "Microformats Wiki":http://microformats.org/wiki/vote-links.

_referendum is coming soon_

edit by alex

Referendum

February 27, 2006

_referendum is coming soon_

»