vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=212244

vB Survey: Add a full-featured survey tool to your forum
by Spikeman
26 Apr 2009 22:19

2 Attachment(s)
What this hack does:

This hack will add a full featured survey application system to your forum. You can survey your members opinions on various topics, or allow usergroups to create their own surveys.

Credits: John W. Holmes: Author of UCCASS Survey.
tamarian who initially released this hack for vB3.0 - 3.5 before I ported it to 3.6 - 3.8 outstanding work by him.

Application Features: See the UCCASS site for full details.

http://www.bigredspark.com/survey.html

The UCCASS offers some advanced features such as branching conditionals (allows hiding/displaying questions based on specific answers), result filtrations and much more.

Integration features:
Replaced authentication with VB's user database
Set permissions per usergroup, for admin/edit/create/take and view results priviliges.
Replaced config files with vB admin settings
Applied vB style to the UCCASS templates (it uses Smarty)

vB Survey added features: (some will be ported back to UCCASS)
Added anonymity option. If a survey is not anonymous, members can see how other members answered.
Added Hide/unhide survey option. This is useful to send surveys to specific users or usergroups.
Added Date answer types (D), with dropdown lists for day, month, year to ensure correct date entry.
Added REGEX control for new answer types, to control the answer format.
Added size control for single like text answers and REGEX answers.

Liscense: The original UCCASS Survey application is released under a modified GPL Liscense (Aferro GPL) : http://www.bigredspark.com/survey/license.txt (or look under the /docs directory in the zip file)

Installation difficulty:
2 mins, all done via product file.

Installation:

* Unpack the included file
* Copy survey.php to your main forum directory
* Copy the survey directory into your forum directory (cannot change the directory name)
* Install the Product-Survey.xml
* The product file will also install all data for the 2 default surveys to get you started.
* Go to AdminCP => vBulletin Options => Survey System Options - and set the options for access and other settings
* If you get permission errors, change file permissions for the survey directory and its contents to 744, and the owner/group to apache:apache (or, some servers are setup to nobody:nobody):

cd /path/to/main/forum

chown -R apache:apache survey

chmod -R 744 survey

Notes:

1. The "do not remove" comment on the copyright link in the footer is from the original UCCASS footer template. You may contact the original author, John W. Holmes, for permission to remove the copyright notice, he's willing to talk according to their support forum.
2. If you use FTP to upload the survey directory, you might have problems with subdirectories under /survey/smarty/template_c due to the directory names with % signs. In this case, you can delete all the directories under template_c (but not the template_c directory itself). Those subdirectories will be recreated automatically when the templates are read.


Please click Install if you have installed this mod.


1. All tables, templates, phrases etc are installed via product file.
2. Support for wol has been added.
3. Some bugs fixed with the UCCASS system

I would grateful if you did click Install if you use it. Remember you only get notified of updates if you Install

Demo Here :- http://www.beta-tester.co.uk/iphone/survey.php please note the Demo may have restrictions as it is a live board. You may or may not be able to test the survey as a guest, this will not affect your sites as generally why would you want guests taking a survey on your site, you would never get a true survey result, I have only enabled this on my board so as to get the ball rolling and you guys can see it. you should all be able to see results page though.

If you have the older 3.5 Hack installed you MUST uninstall that before installing 3.8

Translations:-
Arabic - patch developer

Spikeman 26 Apr 2009 22:25

If you are using my previous 3.6 version do not upgrade at this time, there are no significant changes, only to the installation script for 3.8 compatability. More features will be coming soon at which time a post will be made on the 3.6 script to make you aware.

Translations:- This is not as simple as just changing phrases in vBulletin as almost all phrases are coded into the smarty templates. Therefore individual packages will be listed, you can then download your appropriate languge.

Anyone wanting to help in translations pm me

Arabic :- Completed

pein87 26 Apr 2009 22:38

thanks installed but will test it on a demo board first good work mate.

yahoooh 27 Apr 2009 00:13

thank u very much , i will try it

silvermerc 27 Apr 2009 00:54

it says iv already taken the survey ;s

Spikeman 27 Apr 2009 04:00

Quote:

Originally Posted by silvermerc (Post 1799613)
it says iv already taken the survey ;s

I assume you are talking about the Demo Board? It is difficult to set up a demo board for guests to post as this is not how a survey is conducted, so it can be a bit hit and miss on the demo, Most demo users should be able to take the survey but all should be able to view results.

Brandon Sheley 27 Apr 2009 04:00

great idea, I may install this one on our forums :)

Creative Liquid 27 Apr 2009 08:09

Great idea. I can not upload the template_c files and there is no link on my forum to the survey. Any ideas?

vibedream 27 Apr 2009 11:36

Good work
Thanks

Spikeman 27 Apr 2009 11:39

Quote:

Originally Posted by Creative Liquid (Post 1799776)
Great idea. I can not upload the template_c files and there is no link on my forum to the survey. Any ideas?


1. Go to the location of survey.php example http://www.yourdomain.com/forums/survey.php

2. If you use FTP to upload the survey directory, you might have problems with subdirectories under /survey/smarty/template_c due to the directory names with % signs. In this case, you can delete all the directories under template_c (but not the template_c directory itself). Those subdirectories will be recreated automatically when the templates are read.

Sweeks 27 Apr 2009 13:00

When trying your demo I get this:

You have already completed the requested survey.

When I never took one.
________
CHEVROLET KINGSWOOD ESTATE SPECIFICATIONS

Spikeman 27 Apr 2009 13:28

Quote:

Originally Posted by Sweeks (Post 1799833)
When trying your demo I get this:

You have already completed the requested survey.

When I never took one.

It is difficult to set up a demo board for guests to post as this is not how a survey is conducted, so it can be a bit hit and miss on the demo, Most demo users should be able to take the survey but all should be able to view results.

The only real way around this to to register and take survey, but I do not want anyone registering on my site just to play with a demo also registering will only let you take a survey once!

Edit Just put a temp hack in place so you should not get the You have already completed the requested survey statement

vbboarder 27 Apr 2009 18:18

Quote:

Originally Posted by Spikeman (Post 1799545)
If you are using my previous 3.6 version do not upgrade at this time, there are no significant changes, only to the installation script for 3.8 compatability. More features will be coming soon at which time a post will be made on the 3.6 script to make you aware.


Demos look great! Looking forward to the new features. Thanks a lot :)

Hornstar 28 Apr 2009 06:34

yeah I think this would be really great to use to get some feedback on a new event I plan to run on my site soon :)

Alfa1 28 Apr 2009 11:45

What new features are you preparing?


All times are GMT. The time now is 06:21.

Powered by vBulletin® Version 3.8.13
Copyright © 2019, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.