News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Who Voted What?

Started by Søren Bjerg, August 30, 2006, 09:25:16 PM

Previous topic - Next topic

MothMan

One more bumpity bump for the post Christmas crowd. :p

More info... I managed to update my database, but I still get the 'syntax' error as posted above... it no longer tells me that my database is out of date though, so the issue isn't my database.

souljaa

Is this safe to use for SMF 1.1.4?
Thanks
Souljaa

PM me for more information about staff. NOW HIRING.

falguni1


CrazyHorse80

This mod works great with SMF 1.1.4 (just installed): you only have to change version into installation file, then repack and upload... If you use a custom theme you'll have to manual edit your display.template.php.

Here is an Italian traslation for this mod:

Modifications.italian.php
// [Who Voted What?]
$txt['poll_view_voters_expand_to_view'] = 'Espandi:';
$txt['poll_view_voters_expanded_help1'] = 'Click per visualizzare';
$txt['poll_view_voters_expanded_help2'] = 'il profilo utente...';
$txt['cannot_poll_view_voters'] = 'Spiacente, non sei abilitato a vedere per quali opzioni del sondaggio gli utenti hanno votato.';
$txt['permissionname_poll_view_voters'] = 'Visualizza votanti';
$txt['permissionhelp_poll_view_voters'] = 'Questo permesso abilita a vedere per quali opzioni del sondaggio gli utenti hanno votato.';
$txt['whovotedwhatMode'] = 'Modalità chi ha votato cosa';
$txt['whovotedwhatMode0'] = 'Visualizza lista';
$txt['whovotedwhatMode1'] = 'Visualizza tabella';
$txt['whovotedwhatMode2'] = 'Disabilitato';


Thank for this useful mod!
Bye,
PS

falguni1


hvusnme

Quote from: Kindred on November 29, 2007, 01:05:52 AM
I suggest that people be careful with mods attached to messages.   If it did not get verified through the SMF mod process, we have no idea what may be included in that package.... if it is good code or even if it works.

That being said, Mods conflicting is a definite possibility. It would help if we knew what mods you have installed.




So, do we know when there will be a 1.1.4 verified version of this??
Elizabeth

Flippant

Really stuck with this one :(

Changed the package to say 1.1.4 and also default to utf8 in the modifications xml.

I can see permissions to add View voters in Admin > Permissions. But that's about it. Don't see any extra buttons/options on polls to display the voters.

PhilD

Has there been any progress on including a time stamp next to each user name who voted as discussed earlier in the postings? 

I could really use this feature. The project I am working on needs the date the person voted next to the name for proper documentation purposes.
Best regards,
Phil

Visit the Chow Clubs website at hxxp:chowclub.org [nonactive]
Also visit the Chow Health website at hxxp:chowhealth.org [nonactive]

slackerpunk


slackerpunk

Quote from: CrazyHorse80 on January 01, 2008, 06:21:20 PM
This mod works great with SMF 1.1.4 (just installed): you only have to change version into installation file, then repack and upload... If you use a custom theme you'll have to manual edit your display.template.php.

Here is an Italian traslation for this mod:

Modifications.italian.php
// [Who Voted What?]
$txt['poll_view_voters_expand_to_view'] = 'Espandi:';
$txt['poll_view_voters_expanded_help1'] = 'Click per visualizzare';
$txt['poll_view_voters_expanded_help2'] = 'il profilo utente...';
$txt['cannot_poll_view_voters'] = 'Spiacente, non sei abilitato a vedere per quali opzioni del sondaggio gli utenti hanno votato.';
$txt['permissionname_poll_view_voters'] = 'Visualizza votanti';
$txt['permissionhelp_poll_view_voters'] = 'Questo permesso abilita a vedere per quali opzioni del sondaggio gli utenti hanno votato.';
$txt['whovotedwhatMode'] = 'Modalità chi ha votato cosa';
$txt['whovotedwhatMode0'] = 'Visualizza lista';
$txt['whovotedwhatMode1'] = 'Visualizza tabella';
$txt['whovotedwhatMode2'] = 'Disabilitato';


Thank for this useful mod!
Bye,
PS


anyway you could share your pack?

slackerpunk

nevermind got it to work with 1.1.4

remmons

Can you update the mod for SMV version 1.1.4?

I have SMF 1.1.4 installed, and the package manager will not install the mod which is says it is compatible with version 1.1.3.

remmons

After reading other posts here, I edited modification.xml and package-info.xml to change all instances of 1.1.3 to 1.1.4, and re-zipped them into who_voted_what_1-1-4.zip with wvwDB.php which needed no modification.  However, when I upload the package, I get the following error message:

The package you tried to upload either is not a valid package or has become corrupted.

Do you have any idea what might be wrong?


PhilD

All I did was change <install for="1.1.3"> to <install for="1.1.4"> and changed the line <uninstall for="1.1.3"> to <uninstall for="1.1.4"> in the file package-info.xml  I left the version alone in both package-info.xml and in modification.xml.

I then re-zipped all 3 files modification.xml, package-info.xml, and wvwDB.php. Then installed the package as usual.
Best regards,
Phil

Visit the Chow Clubs website at hxxp:chowclub.org [nonactive]
Also visit the Chow Health website at hxxp:chowhealth.org [nonactive]

remmons

Thanks for the info.

I think the problem may be an incompatibility between the file compressor which I am using (Winzip 11.1) and the compression used by SMF, rather than anything wrong with the content of the files.  I have not had time to complete troubleshooting it, but I may try using a different file compression utility.

PhilD

I use WinRAR for zips etc. Works good.
Best regards,
Phil

Visit the Chow Clubs website at hxxp:chowclub.org [nonactive]
Also visit the Chow Health website at hxxp:chowhealth.org [nonactive]

remmons

I basically got the mod working, but all the prompts are blank!  I am using the default themes with a freshly installed SMF v1.1.4.

When I go to "Admin / Feature and Options", there is a new selection box in the "Poll mode" section.  It has 3 choices, but their text is blank.  I tried selecting them anyhow, and found that the second showed a horizontal list of voters, and the third showed selection boxes of voters.  There is also no text next to the selection boxes.

When I go to "Admin/Permissions", there is a new check box in the "Poll" section, but no text to describe what the box does.  I guessed it allowed groups to see who voted what, so I checked it, and it did.

By the way, I had to zip the files with an old version of WinZip to get the package to upload without the "not a valid package / corrupted" message.  This must be an issue between WinZip and whatever SMF uses to unzip the package.

I'd feel a lot better about this mod if I could get the text to show.  How can I get the text to show properly?

pinoypetfinder

to those who have made this mod work on smf 1.1.4, can u please upload your zip and share it to us? would like to install this for our contest..

remmons

I would be happy to upload mine, but you have to be psychic to use it since all the prompts are blank.

What problems are you having?

Fustrate

remmons - are you using utf8? If so, try switching the forum language to plain English instead of English-utf8. Not sure if that's a problem with this mid, but its worth a shot
Steven Hoffman
Former Team Member, 2009-2012

Advertisement: