![]() |
vB Survey (UCCASS Survey app integration)
What this hack does:
This hack will add a full featured survey application system to your forum. Credits: John W. Holmes: Author of UCCASS Survey. Application Features: See the UCCASS site for full details. After testing several survey apps, this one is 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: Added anonymity option. If a survey is not anonymous, members can see how other members answered. Added Hide/unhide survey option 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:
cd /path/to/main/forumAdded in v1.5.4 (October, 17, 2005 Now checks primary and secondary permisisons. Added in v1.5.3 (August 26, 2005 Don't show edit box unless user has permission. Added in v1.5 (June 7th, 2005
Added in v1.3 (June 5th, 2005
Added in v1.2 (June 4th, 2005)
Added in v1.1 (June 4th, 2005)
Notes: 1. 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. 2. 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. |
looks nice!
not even a file to be edited :) very interesting hack I might need to use it ;) |
Useful and installed with only one problem .. Images for results of survey don't appear and had to chmod all directory's in survery 777
Clicked install |
Quote:
|
Maybe I'm doing something wrong or I'm just stupid but are the folders supposed to look like this? If so I'm unable to upload them to my survery because of that. :ermm:
http://www.mywasteoftime.net/images/surveyproblem.jpg |
Quote:
|
That worked, thanks!
|
I did the 744 thing, but I keep getting permission errors.
EDIT: Am I supposed to manually chmod every directory under /survey 744? There are a lot of sub folders and files underneath there... |
Quote:
chmod -R 744 survey |
Just tried that, this is what I got:
COMMAND:> chmod -R 744 survey 550 Could not change perms on 744 survey: No such file or directory I feel like such a n00b ;( |
Quote:
Type pwd to find where you are in the directory structure:) |
I'v re-uploaded the zip file with some minor changes. No need to upgrade. If you already installed it, just make this edit in this file:
./survey/templates/Default/results_table.tpl Find this: Quote:
Quote:
|
Quote:
Code:
Warning: getimagesize(/usr/home/thetechg/public_html/retreat/survey/templates/Default/images/bar.gif): failed to open stream: Permission denied in /survey/classes/results.class.php on line 233 |
Quote:
|
Quote:
|
Quote:
If that works, then it may just be a matter of changing the owner. If the apache server is running as apache user (or whatver the user:groupname is), you can then do this: chown -R apache:apache survey Then chmod -R 744 survey |
Problem solved .. I'd placed the survey directory in the same directory as forum, not below .. when I viewed page source to read the img src, I realised my error .. duh.
All works perfectly .. thanks for the help |
This is killing me. I did everything. The folders are in the right directory, I even manually changed all the permissions to 744, and I still get this:
Code:
Warning: main(survey/classes/main.class.php): failed to open stream: Permission denied in /survey.php on line 8 |
Quote:
https://vborg.vbsupport.ru/showpost....0&postcount=16 |
There are a couple of template changes. One causes not updating edited questions. I've changed the zip file. For those who already installed it, you just need to re-upload the .tpl files in this directory: ./survey/templates/Default/
|
I know this has nothing to do with your hack, but maybe you can help and give me some explanation or solution. When I try to run the install file from admincp, the page times out on first step and cannot be found...
|
Hey, everything is working almost perfectly. Only issue is that when I look at the results, the images come up as red x's. I checked and it seems to be looking for the survey folder from the root directory, not the forum directory. How do I change this?
|
Quote:
|
All problems fixed.
I found a bug, though. It seems that when you erase the results of a survey, members who took it before it was erased are still blocked from taking the survey again. |
Quote:
Edit the file main.class.php find this line: Quote:
Quote:
|
Quote:
To fix the "already taken" thing, Edit editsurvey.class.php Find: Quote:
Quote:
|
Just uploaded the new version, 1.1 No upgrade script needed, just re-upload the files. Here's what's changed:
|
Thaks for the update.
|
Quote:
Awesome hack, man. |
Another update :)
Added in v1.2 (June 4th, 2005)
|
Quote:
|
I am able to add the steps individually, except for the first one
|
Quote:
This may be a browser issue. |
Added in v1.3 (June 5th, 2005
|
yes it works, thank you. I could not figure out why it was displaying all phrases since they were not installed :-)
|
Quote:
|
Quote:
|
Quote:
Dennis |
installed easily, and works great! thanks much!
|
Quote:
|
All times are GMT. The time now is 04:49 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|