Wording on Voting Options page

TC44 - July 5, 2008 - 03:41
Project:Versus
Version:5.x-1.0-beta3
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

Hi there,

This seems very promising. I have a couple of questions on how this works, and a few problems.

- On the /versus page, is there any way to edit the wording of this (Cast Votes - Vote on items within a particular content type.) etc.

- On the versus/vote page, it lists the machine name of the node type, instead of the human name. Is there a way to change this also?

- On the versus/standings page, again the title needs to be changed (standings by content type) to something more friendly. On this page all content types are listed and linked, but I have only one type selected in the versus settings as being designated for versus. Am I missing something?

- Once the vote is cast and the back link is provided, it goes to the root of the domain. I've got my site in a sub directory, so it spits a 404.

I placed a vote as admin. When logged out, if I go to standings, I get the following sql error:

-----
user warning: 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 versus_votes FROM node node INNER JOIN users users ON node.uid = users.uid ' at line 1 query: SELECT node.nid, node.title AS node_title, node.changed AS node_changed, users.name AS users_name, users.uid AS users_uid, (SELECT COUNT(value) AS votes FROM votingapi_vote LEFT JOIN node n ON node.nid = n.nid WHERE ((n.moderate != 1)) AND ( value = node.nid) AS versus_votes FROM node node INNER JOIN users users ON node.uid = users.uid LEFT JOIN node n ON node.nid = n.nid WHERE ((n.moderate != 1)) AND ( (node.status = '1') AND (node.type = 'versustest') ) ORDER BY versus_votes DESC LIMIT 0, 100 in /home/tester/public_html/mydrupalsite/includes/database.mysql.inc on line 172.
-----

And below that it says: As yet, no votes have been cast for this content type.

If I you can point me in the right direction on those issues, this will be a very useful module.

Cheers,

TC44

#1

TC44 - July 5, 2008 - 03:49

Just to update my question,

I've disabled the modr8 module (5.2.3) and the sql error went away.

Cheers,

TC44

#2

TC44 - July 5, 2008 - 04:06

I realized that views are used for the standings, so I've been able to adjust the standings settings and title.

Also, FYI for anyone else, the latest version of modr8 seems to work fine with versus.

So I guess only my first 2 questions remain :)

Cheers,

TC44

#3

colan - July 6, 2008 - 16:51
Title:great module, but confused by a few things» Wording on Voting Options page

This issue is now just for your first one. I've created another issue for your second one over at http://drupal.org/node/279117. Please create issues for a single topic, or create multiple issues. Thanks!

Right now, there's no way for the user (admin) to change the wording of this. If you've got a patch for that, say to have an editable field on the settings page, I'd gladly accept it. Or if you think we could just change the wording to something better, let me know. I'll update the code at that point.

 
 

Drupal is a registered trademark of Dries Buytaert.