Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
vB Survey: Add a full-featured survey tool to your forum Details »
vB Survey: Add a full-featured survey tool to your forum
Mod Version: 1.00, by tamarian (Member) tamarian is offline
Developer Last Online: Mar 2016 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.5.0 Rating: (6 votes - 4.83 average) Installs: 183
Released: 14 Jun 2005 Last Update: 26 Aug 2005 Downloads: 228
Not Supported Template Edits Additional Files  

A 3.6.x version by spikeman is posted here:
http://www.vbulletin.org/forum/showthread.php?t=131650



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.

Application Features: See the UCCASS site for full details. After testing several survey apps, I find this one to be the best:

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:
o File changes: None
o DB changes: No changes, 19 new tables

Installation:
  • Unpack the included file
  • Copy vbsurvey_install.php to your admincp directory
  • Copy survey.php to your main forum directory
  • Copy the survey directory below your forum directory (cannot change the directory name)
  • run the vbsurvey_install.php script in the admincp directory
  • Go to AdminCP => vBulletin Options => vB Survey (UCCASS) and set the toptions for acess 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
Upgrade Instructions:
If you are upgrading from vB 3.0.x to vB 3.5 and already had this hack installed, all you need to do is download the zip file, and re-uploade all the files to over-write the old ones.

Added in v1.7.1 (August 26th, 2005
  • Hide edit menu if user not allowed to edit surveys.

Added in v1.7 (August 7th, 2005
  • Bug fix in editing answer types.

Added in v1.6 (June 12th, 2005
  • Upgraded for vB 3.5 beta
  • Upgrad instructions: If you already have vB Survey 1.5 installed, you just need to upload all files, but no need to run the upgrade script.

Added in v1.5 (June 7th, 2005
  • Added a new answer type R, for Regular Expressions (REGEX). This will allow new types to be defined for answers, with controlled format. If the question is required, users will receive an error messages, until they enter the proper format. If the question is optional, the users will only get an error if they try to answer the question, but with the wrong format.
    Note: You can disable REGEX type questions by editing the templates.
  • The Size of type 'S' (Sentence) can now be changed, and no longer hardcoded as 50 characters.
  • To upgrade, you will need to run the upgrade option in the installation script and re-upload all the files.

Added in v1.3 (June 5th, 2005
  • Added a new answer type D, for Dates. This will show 3 dropdown lists for day, month, year, to ensure a uniform formate for dates entered by the user, instead of a text box.
  • Fixed a bug in the anonymous message display. It would state survey is not anonymous, when it actually is.
  • To upgrade, just re-upload the files (classes and templates directories)


Added in v1.2 (June 4th, 2005)
  • Removed the "Previous page" button, if the page is the first page of a survey.
  • Answers in the new/edit answer page are sorted by the numeric value. This allows you to add a later value, but set the order higher, without re-editing the whole list to arrange it.
  • Fixed a bug in quotes and escapes in the answer types edit.
  • Upgrade instructions: Just re-upload the classes directory.

Added in v1.1 (June 4th, 2005)
  • Added anonymity option. This is decided when creating the survey. Once set, it cannot be changed. If the survey is not anonymous, users will see on the survey intro a message that they survey is not anonymous, and that their usernames will show in the results table. The results table will show the usernames and a link to their profile.
  • Added Hidden option: By default, all active surveys show up on the main page as available surveys. If you set the survey propert to hidden, the survey can still be active, but not show up for members. This can be useful if you want to email the link to a selected user group. Admins and the survey author will still be able to see hidden surveys.
  • Navbar update to list the various locations in the survey pages.
  • The previous version showed the "no permission" to guests. Now you can allow guests to view the surveys and results by putting usergoup 0 in the admin panel in usergroups who may see the results. But other priviliges will be ignored.
  • A couple of bug fixes
  • Upgrade instructions: Just re-upload all the files, including survey.php

Notes:
The "do not remove" comment on the copyright link in the footer is from the original UCCASS footer template. You may contac the original author, John W. Holmes, for permission to remove the copyright notice, he's willing to talk according to their support forum.

Please click Install if you have installed this mod.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	1.jpg
Views:	2622
Size:	192.6 KB
ID:	27046   Click image for larger version

Name:	2.jpg
Views:	2403
Size:	91.6 KB
ID:	27047   Click image for larger version

Name:	3.jpg
Views:	2540
Size:	140.1 KB
ID:	27048   Click image for larger version

Name:	4.jpg
Views:	2452
Size:	124.7 KB
ID:	27049  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Major Additions vB Survey: Add a full-featured survey tool to your forum Spikeman vBulletin 3.6 Add-ons 251 25 Sep 2015 05:00
vB Survey (UCCASS Survey app integration) tamarian vBulletin 3.0 Full Releases 101 31 Jul 2006 18:25

  #241  
Old 22 Oct 2006, 13:15
Spikeman Spikeman is offline
 
Join Date: Aug 2006
Real name: Gareth
You should include a link to your test survey into one of your post
Make it font size 5 and bold and tell people to test because you are trying to port it to 3.6.2
This was already mentioned in my earlier posts.

If I go to http://www.internetwatchers.co.uk/fo...?do=new_survey
I am required to register in order to see the survey
It was setup for guests until my last post to stop spammers inputting thier rubbish to the survey

If you can't get the guest option to work why not create a test account on your forum for us
so that we can start testing untill you figured out how to allow guests as well to take the survey?
this has been enabled for guests again

Ahh and did you get permission from "tamarian" to port this hack?
was not aware that I needed to get permission to get a hack to work, if i were indeed to release this as a new port I would ask tamarian and include all the necessary credits, to be fair i really do not care about the credit I just want to get it working, If there is a problem then I shall leave it, after all it works on my site

Ok guests can now view and create survey url here
http://www.internetwatchers.co.uk/forums/survey.php
__________________
Regards

Last edited by Spikeman; 22 Oct 2006 at 13:17.
Reply With Quote
  #242  
Old 22 Oct 2006, 17:01
Datenpapst's Avatar
Datenpapst Datenpapst is offline
 
Join Date: Mar 2004
Real name: Martin
hmm the example andinternetwatchers survey are the same? so tells me the site. hmm its not storing all of the answers and also does not show me every question.
__________________
http://www.c-arena.com - http://fm.c-arena.com
Be Part of the CA.com Family
Reply With Quote
  #243  
Old 22 Oct 2006, 17:12
Spikeman Spikeman is offline
 
Join Date: Aug 2006
Real name: Gareth
Originally Posted by Datenpapst
hmm the example andinternetwatchers survey are the same? so tells me the site. hmm its not storing all of the answers and also does not show me every question.
Yes those 2 surveys are the same, all i did was to create a new survey using an existing survey to test that function.

I could not replicate your other error, I get all the questions and can see the results after survey.
__________________
Regards
Reply With Quote
  #244  
Old 22 Oct 2006, 20:11
DS MrSinister's Avatar
DS MrSinister DS MrSinister is offline
 
Join Date: Dec 2002
I hope i don't piss off anyone here!! No credit here.

You must have this install before upgrading to 3.6.X this is want is missing to make it work....Not sure if this a 100% fix good luck with it..

add new template called


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #245  
Old 23 Oct 2006, 00:18
Spikeman Spikeman is offline
 
Join Date: Aug 2006
Real name: Gareth
Well that template is already installed on the installation, or it did on my install, it probably failed to install on your install, so there must have been a problem in the config somewhere.
__________________
Regards
Reply With Quote
  #246  
Old 23 Oct 2006, 12:26
StarBuG's Avatar
StarBuG StarBuG is offline
 
Join Date: Dec 2001
It does not seem to work propaly

If I want to take a survey as a guest I get

"You have already completed the requested survey."

also guests should not be able to create new surveys.
Is this controlled via the permission system?
Reply With Quote
  #247  
Old 23 Oct 2006, 16:01
Spikeman Spikeman is offline
 
Join Date: Aug 2006
Real name: Gareth
Post

Originally Posted by StarBuG
It does not seem to work propaly

If I want to take a survey as a guest I get

"You have already completed the requested survey."
Normally, you can only complete a survey once, the same as polls, but i did not think this applied to guests in this case, have you already taken the survey once on my site?

Originally Posted by StarBuG
also guests should not be able to create new surveys.
Is this controlled via the permission system?
The only reason guests are allowed to create surveys on my site is so you guys can test it, i changed the perms to allow for the testing
__________________
Regards
Reply With Quote
  #248  
Old 23 Oct 2006, 17:38
4yBak 4yBak is offline
 
Join Date: Apr 2004
does this work correctly on vB 3.6.x ?

Last edited by 4yBak; 17 Dec 2006 at 13:55.
Reply With Quote
  #249  
Old 23 Oct 2006, 19:22
ChurchMedia's Avatar
ChurchMedia ChurchMedia is offline
 
Join Date: Dec 2002
Real name: Tim Eason
I finally got mine working on 3.6.1. I had this installed on 3.5, so if you try a fresh install on 3.6.x I think you will get some database errors. The install script needs to be re-written for 3.6.x.

To get it working I had to:

1) Upload the survey directory to the main forums directory
2) AND ALSO upload the survey directory to the /forums/include directory (that's where it was looking for the templates for some reason)
3) chmod both survey directories and everything in them to 744
4) chown both survey directories to nobody.nobody (might be apache.apache for some people)

And presto! It works great
Reply With Quote
  #250  
Old 23 Oct 2006, 20:52
StarBuG's Avatar
StarBuG StarBuG is offline
 
Join Date: Dec 2001
Originally Posted by Spikeman
Normally, you can only complete a survey once, the same as polls, but i did not think this applied to guests in this case, have you already taken the survey once on my site?
No I did not
Reply With Quote
  #251  
Old 26 Oct 2006, 19:05
Spikeman Spikeman is offline
 
Join Date: Aug 2006
Real name: Gareth
Post Permission Granted

tamarian has given me his permission to release this as a 3.6.2 port, so as and when I have completed this I shall release it under the 3.6 mod section. I will post here when that has been done.

yes it will work on 3.6.2 if you hack this existing mod, but I believe it best if it can be ported and setup properly without any further changes to the code by users.

I do not know when I will finish and release this so please bear with me
__________________
Regards
Reply With Quote
  #252  
Old 27 Oct 2006, 03:13
DarthCarl DarthCarl is offline
 
Join Date: Feb 2005
I also get:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Any thoughts?
Reply With Quote
  #253  
Old 27 Oct 2006, 07:57
Spikeman Spikeman is offline
 
Join Date: Aug 2006
Real name: Gareth
It will not work on vB 3.6.2 at this time without modifications to the database, phrasetypeid amongst other fields were removed from vB 3.6 by vb.com. New install script is being rewritten.
__________________
Regards
Reply With Quote
  #254  
Old 27 Oct 2006, 16:02
DarthCarl DarthCarl is offline
 
Join Date: Feb 2005
Originally Posted by Spikeman
New install script is being rewritten.
Excellent... I installed the regular UCCASS Survey and I really like it. Thanks for working on the port.
Reply With Quote
  #255  
Old 30 Oct 2006, 10:33
hoangminh hoangminh is offline
 
Join Date: Jan 2005
Originally Posted by Spikeman
It will not work on vB 3.6.2 at this time without modifications to the database, phrasetypeid amongst other fields were removed from vB 3.6 by vb.com. New install script is being rewritten.
SpikeMan, I'm waiting for your new script, every day.

One thousand Thanks message send to you
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 11:05.

Layout Options | Width: Wide Color: