This looks excellent MSB! Now I just need to get my forum working again and try it out :P
<OT>Don't you think it's sad that the buttons get depressed when they've been chosen? You'd think they'd be happy about it!</OT>
ok it doesn't work with Stash's jquery extension, so just disable it and Vanilla Voting will add its own jquery file. Stash can you see whats wrong with jquery
Look for this code in Vanilla.Class.Comments.php $this->DelegateParameters['DataSet'] = $DataSet; and replace it with $this->DelegateParameters['DataSet'] = &$DataSet;
>ok it doesn't work with Stash's jquery extension, so just disable it and Vanilla Voting will add its own jquery file. >Stash can you see whats wrong with jquery
so i have to drop actually 4 good extensions in return for a working vanilla voting extension ? is there also a better solution?
fery copy the jquery file from Vanilla voting and put it in the jquery extensions and use that one, it will work then. btw it says on the top its a beta please don't it on production site
Unfortunately I'm unable to use this. I've made some edits to discussion.php and unfortunately I can't remember what they are.
Good idea though. I'll definately be using it on any other forums I setup.
It works fine for me so far with Discussion Filters, Discussion Pages, Hot Discussions, New Discussions, Participated Threads and Unanswered Discussions (yep I know these are pretty specific extensions, but it's my test forum...).
What does this extension do exactly? Do discussions get sunk or closed after a given amount of negative votes or something like that? And what about comments? Are they hidden by default for everyone in the same way? Is there a plan to change a discussion's label following its votes?
Sorry but I'm no Digg member, so I don't know how its voting system actually works.
Anyway the Ajax effects are really nice, clean and smooth. I like the overall look & feel a lot.
if you give a negative voting to comment, its collapsed and remains collapsed everytime you read that thread, For others it depends on what they voted, If they voted positive for that same comment, for them it won't be collapsed.
Sinking/Closing a discussion after it gets a certain number of negative votes Done :) Collapse a comment for ALL after it gets a certain number of negative votes Todo
Is there a plan to change a discussion's label following its votes? No
vaz do a file match and you will know what are the changes,then you copy over those changes to your discussion.php file
Another idea would be to have discussions filters along with the ratings. For example you could click a link to display the five most loved discussions, the five most hated, the most recent not-rated-yet discussions, etc. Or maybe add a panel item dedicated to these kind of statistics if you enable it in your preferences, a bit like Latest Dicussions Prime.
Going further in the idea of social features, you could also have a list of authors with the most popular/unpopular discussions and comments. There could even be an automatic role change for users when they reach a given level of votes. Dunno if it would be actually democratic or not, but it would be interesting for sure. If you keep posting lot of interesting stuff you could become a "premium author" or something, if you keep posting crap all your comments may be automatically hidden for a few days, etc.
Just a few ideas. I'd love to see such features but I guess it would be a lot of work.
>fery copy the jquery file from Vanilla voting and put it in the jquery extensions and use that one, it will work then. >btw it says on the top its a beta please don't it on production site
ok i'll try , btw my site is actually a zeta version (not even beta :D), but thanks for the hint
I've not been able to get it to display at all. I get the link to choose which forums to enable it for, but nothing else (no link in roles and permissions, and nothing in the selected forum)?
Any ideas?
I tried testing this on a Vanilla 1.1.4 install and did the following:
* Installed and enabled the add-on * Replaced the two files from SVN (note the "&" seems to have already been added to the SVN file) * Enabled role to vote on comments, and selected the categories for voting * 0 Votes and arrows came up by each comment as expected. Clicking on them gave an alert saying "Adding vote to comment did not work".
Any suggestions? I tried with JQuery enabled and disabled without success.
I get this JS error:
$ is not a function [Break on this error] $(document).ready(function() {
i have the similar problem as well, but with this error from firebug:
$.post is not a function AddCommentVote("extensions/VanillaVoting/library/AddVote.php", 5, 1, 0, "970d3c484e2c1ca925ce169748619d58")AddVote.js.php (line 29) onclick(click clientX=0, clientY=0)comments.php (line 1) [Break on this error] function(data) {
i followed the steps that cre8d listed and JQuery is loaded before vanillavoting in conf/extensions.php.
so i just wondering what is $.post does?, i have looked the AddVote.js.php, it seems take the following arguments:
strangely when i disable jquery plugin, the voting seems to work( i checked the source of this plugin, it does contain jquery source code, so i guess there is no point to install jquery before this plugin).
Notice: Undefined index: Vote in /home/content/.../Framework.Class.SqlBuilder.php Notice: Undefined index: UserDiscussionVote in /home/content/.../library/ Framework/Framework.Functions.php A fatal, non-recoverable error has occurred Technical information (for support personel):
Error Message An error occurred while retrieving discussions. Affected Elements DiscussionManager.GetDiscussionList();
The error occurred on or near: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'as TotalDiscussionVotes, UserDiscussionVote. as Vote from LUM_Discussion t left' at line 1
could somebody help me with this error? i had it installed at one time it worked perfectly but after moving databases; exporting and importing the data ..i get this error. very creative extension!
i think i may have figured out the problem. i have installed vanilla version: 1.1.4! does this addon require vanilla version: 1.1.1 or vanilla version: 1.1.4 with default theme for version: 1.1.1? it is very default troubleshooting software i know nothing about. is vanilla version: 1.1.1 still avalable someplace?
Comments
Stash can you see whats wrong with jquery
Look for this code in Vanilla.Class.Comments.php
$this->DelegateParameters['DataSet'] = $DataSet;and replace it with$this->DelegateParameters['DataSet'] = &$DataSet;>Stash can you see whats wrong with jquery
so i have to drop actually 4 good extensions in return for a working vanilla voting extension ? is there also a better solution?
thx in advance.
btw it says on the top its a beta please don't it on production site
What does this extension do exactly? Do discussions get sunk or closed after a given amount of negative votes or something like that? And what about comments? Are they hidden by default for everyone in the same way? Is there a plan to change a discussion's label following its votes?
Sorry but I'm no Digg member, so I don't know how its voting system actually works.
Anyway the Ajax effects are really nice, clean and smooth. I like the overall look & feel a lot.
Sinking/Closing a discussion after it gets a certain number of negative votes
Done :)
Collapse a comment for ALL after it gets a certain number of negative votes
Todo
Is there a plan to change a discussion's label following its votes?
No
vaz do a file match and you will know what are the changes,then you copy over those changes to your discussion.php file
The voting look and feel is taken from mixx.com
Another idea would be to have discussions filters along with the ratings. For example you could click a link to display the five most loved discussions, the five most hated, the most recent not-rated-yet discussions, etc. Or maybe add a panel item dedicated to these kind of statistics if you enable it in your preferences, a bit like Latest Dicussions Prime.
Going further in the idea of social features, you could also have a list of authors with the most popular/unpopular discussions and comments. There could even be an automatic role change for users when they reach a given level of votes. Dunno if it would be actually democratic or not, but it would be interesting for sure. If you keep posting lot of interesting stuff you could become a "premium author" or something, if you keep posting crap all your comments may be automatically hidden for a few days, etc.
Just a few ideas. I'd love to see such features but I guess it would be a lot of work.
>btw it says on the top its a beta please don't it on production site
ok i'll try , btw my site is actually a zeta version (not even beta :D), but thanks for the hint
n e other beta issues with it?
jw
Tested in Firefox.
nothing i can do about it. you will have to fix Category icon css.
Blogger # 21
* Installed and enabled the add-on
* Replaced the two files from SVN (note the "&" seems to have already been added to the SVN file)
* Enabled role to vote on comments, and selected the categories for voting
* 0 Votes and arrows came up by each comment as expected. Clicking on them gave an alert saying "Adding vote to comment did not work".
Any suggestions? I tried with JQuery enabled and disabled without success.
I get this JS error:
$ is not a function
[Break on this error] $(document).ready(function() {
AddVote.js.php (line 55)
include($Configuration['EXTENSIONS_PATH']."JQuery/default.php");
include($Configuration['EXTENSIONS_PATH']."VanillaVoting/default.php");
$.post is not a function
AddCommentVote("extensions/VanillaVoting/library/AddVote.php", 5, 1, 0, "970d3c484e2c1ca925ce169748619d58")AddVote.js.php (line 29)
onclick(click clientX=0, clientY=0)comments.php (line 1)
[Break on this error] function(data) {
i followed the steps that cre8d listed and JQuery is loaded before vanillavoting in conf/extensions.php.
so i just wondering what is $.post does?, i have looked the AddVote.js.php, it seems take the following arguments:
$.post(AjaxURL, {'CommentID': CommentID, 'Vote': Vote, 'CurrentTotalVotes': CurrentTotalVotes, 'PostBackKey': PostBackKey },
by the way, my version of vanilla is 1.1.4.
Notice: Undefined index: Vote in /home/content/.../Framework.Class.SqlBuilder.php
Notice: Undefined index: UserDiscussionVote in /home/content/.../library/
Framework/Framework.Functions.php
A fatal, non-recoverable error has occurred
Technical information (for support personel):
Error Message
An error occurred while retrieving discussions.
Affected Elements
DiscussionManager.GetDiscussionList();
The error occurred on or near: You have an error in your SQL syntax;
check the manual that corresponds to your MySQL server version for the right syntax
to use near 'as TotalDiscussionVotes, UserDiscussionVote.
as Vote from LUM_Discussion t left' at line 1
could somebody help me with this error? i had it installed at one time it worked perfectly but after moving databases; exporting and importing the data ..i get this error. very creative extension!