View Full Version : Major Additions - vB Survey: Add a full-featured survey tool to your forum
Spikeman
11-14-2006, 10:00 PM
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 originally made this a vB hack for vB 3.5 (https://vborg.vbsupport.ru/showthread.php?t=83038)
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:
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.
Please click Install if you have installed this mod.
I personally do not claim credit for this hack, however this is what I have done to port over to 3.6.3 :-
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
This hack is for 3.6.3 not 3.5, the 3.5 version can be seen and downloaded here (https://vborg.vbsupport.ru/showthread.php?t=83038) this will not upgrade the 3.5 version.
I did obtain the permission from tamarian (https://vborg.vbsupport.ru/member.php?u=188) to port this to 3.6.
This is my first big hack here so I would grateful if you did click Install (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=131650) if you use it. Remember you only get notified of updates if you Install
Demo Here :- http://www.internetwatchers.co.uk/forums/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.6.3
vB Survey for vB 3.0 version by tamarian (https://vborg.vbsupport.ru/showthread.php?t=82384)
vB Survey for vB 3.5 version by tamarian (https://vborg.vbsupport.ru/showthread.php?t=83038)
Spikeman
11-15-2006, 03:29 PM
Reserved for Additional Content
Changes to be completed:
1. Integrated FAQ's
2. Full vBsurvey Documentation
3. Updated UCCASS Documentation
Possible addons I am considering:
1. Ability to post final survey results directly to forum thread
2. Make some ready made surveys that you can import straight in and use
Why is this in beta? I believe that everything should be ok with vBsurvey, I have tested it extensivly on my own site and test site without error, I am just airing on the side of caution. Lets see what the comments bring :)
Floris
11-15-2006, 04:12 PM
This is really cool! i've bookmarked this and will read up on this later and see if I can install it on one of my sites :)
COBRAws
11-15-2006, 05:30 PM
Thanks for the portation!
Spikeman
11-15-2006, 05:57 PM
Thanks for the portation!
My pleasure ;)
dutchbb
11-15-2006, 07:13 PM
Great! One of the best hacks ever imo, i can finally use it :)
Spikeman
11-15-2006, 07:17 PM
Great! One of the best hacks ever imo, i can finally use it :) I would agree with you, that is why I just had to get it ported. Do not forget to click install :)
janpetterdale
11-15-2006, 09:11 PM
Is it working for 3.6.0 ? Or do I have to upgrade forum to latest version?
I get this error when importing the product
Database error in vBulletin 3.6.0:
Invalid SQL:
INSERT INTO setting
(varname, grouptitle, value, defaultvalue, datatype, optioncode, displayorder, advanced, volatile, validationcode, blacklist, product)
VALUES
(
'vb_survey_admin_groups',
'vbsurvey',
'5,6',
'5,6',
'free',
'',
10,
0,
1,
'',
0,
'vbsurvey'
),
(
'vb_survey_create_groups',
'vbsurvey',
'5,6',
'5,6',
'free',
'',
20,
0,
1,
'',
0,
'vbsurvey'
),
(
'vb_survey_take_groups',
'vbsurvey',
'5,6',
'5,6',
'free',
'',
30,
0,
1,
'',
0,
'vbsurvey'
),
(
'vb_survey_result_groups',
'vbsurvey',
'5,6',
'5,6',
'free',
'',
40,
0,
1,
'',
0,
'vbsurvey'
),
(
'vb_survey_edit_groups',
'vbsurvey',
'5,6',
'5,6',
'free',
'',
50,
0,
1,
'',
0,
'vbsurvey'
),
(
'vb_survey_page_break',
'vbsurvey',
'%PAGE BREAK%',
'%PAGE BREAK%',
'free',
'',
60,
0,
1,
'',
0,
'vbsurvey'
),
(
'vb_survey_text_results_perpage',
'vbsurvey',
'50',
'50',
'number',
'',
70,
0,
1,
'',
0,
'vbsurvey'
),
(
'vb_survey_image_ext',
'vbsurvey',
'gif,jpg,jpeg,png',
'gif,jpg,jpeg,png',
'free',
'',
80,
0,
1,
'',
0,
'vbsurvey'
),
(
'vb_survey_image_width',
'vbsurvey',
'200',
'200',
'number',
'',
90,
0,
1,
'',
0,
'vbsurvey'
),
(
'vb_survey_filter_limit',
'vbsurvey',
'3',
'3',
'number',
'',
100,
0,
1,
'',
0,
'vbsurvey'
),
(
'vb_survey_track_ip',
'vbsurvey',
'0',
'0',
'number',
'',
110,
0,
1,
'',
0,
'vbsurvey'
),
(
'vb_survey_text_filter',
'vbsurvey',
'none, na, n/a, no, nothing, nope, asdf',
'none, na, n/a, no, nothing, nope, asdf',
'free',
'',
120,
0,
1,
'',
0,
'vbsurvey'
),
(
'vb_survey_text_mode',
'vbsurvey',
'0',
'0',
'number',
'<select name=\\\"setting[$setting[varname]]\\\" tabindex=\\\"1\\\" class=\\\"bginput\\\">\r\n<option value=\\\"0\\\" \" . iif($setting[\'value\']==0,\'selected=\"selected\"\') . \">Text only</option>\r\n<option value=\\\"1\\\" \" . iif($setting[\'value\']==1,\'selected=\"selected\"\') . \">Limited HTML</option>\r\n<option value=\\\"2\\\" \" . iif($setting[\'value\']==2,\'selected=\"selected\"\') . \">Full HTML</option>\r\n</select>',
130,
0,
1,
'',
0,
'vbsurvey'
),
(
'vb_survey_user_text_mode',
'vbsurvey',
'0',
'0',
'number',
'<select name=\\\"setting[$setting[varname]]\\\" tabindex=\\\"1\\\" class=\\\"bginput\\\">\r\n<option value=\\\"0\\\" \" . iif($setting[\'value\']==0,\'selected=\"selected\"\') . \">Text only</option>\r\n<option value=\\\"1\\\" \" . iif($setting[\'value\']==1,\'selected=\"selected\"\') . \">Limited HTML</option>\r\n<option value=\\\"2\\\" \" . iif($setting[\'value\']==2,\'selected=\"selected\"\') . \">Full HTML</option>\r\n</select>',
140,
0,
1,
'',
0,
'vbsurvey'
),
(
'vb_survey_date_format',
'vbsurvey',
'Y-m-d H:i',
'Y-m-d H:i',
'free',
'',
150,
0,
1,
'',
0,
'vbsurvey'
),
(
'vb_survey_default_template',
'vbsurvey',
'Default',
'Default',
'free',
'',
160,
0,
1,
'',
0,
'vbsurvey'
);
MySQL Error : Duplicate entry 'vb_survey_admin_groups' for key 1
Error Number : 1062
Date : Thursday, November 16th 2006 @ 12:06:58 AM
Script : /forum/admincp/plugin.php?do=productimport
Referrer : /forum/admincp/plugin.php?do=productadd
IP Address : 192.168.0.100
Username : hidden
Classname : vb_database
Script and referer domain edited out for security reasons.
This mod seems awesome, and would love to implement it :)
Thanks :)
Spikeman
11-15-2006, 09:19 PM
Is it working for 3.6.0 ? Or do I have to upgrade forum to latest version?
It should work although, i could not test as I only have 3.6.3 goto into your database and drop all tables vbsurvey_ and try the install again ( it looks from your IP listed in the error that you are on a localhost so I am presuming that you can do that easy enough :) did you have the older 3.5 version installed previous to this?
janpetterdale
11-15-2006, 09:28 PM
It should work although, i could not test as I only have 3.6.3 goto into your database and drop all tables vbsurvey_ and try the install again ( it looks from your IP listed in the error that you are on a localhost so I am presuming that you can do that easy enough :)
Thanks for fast response :)
I did have tables called survey_ and vbsurvey_ already in the database from
old addons. I probably tried the 3.5 version earlier.
Those tables are deleted now, but it still gives me the exact same error :(
Spikeman Thank your very much for this, I was holding off upgrading until this mod was avail for 3.6.3, but couldnt wait any longer. got an email this am saying it was ready so now I can install it. ;)
I will install it later today and try it out
Again thanks alot.
Delw
Spikeman
11-15-2006, 09:34 PM
Thanks for fast response :)
I did have tables called survey_ and vbsurvey_ already in the database from
old addons. I probably tried the 3.5 version earlier.
Those tables are deleted now, but it still gives me the exact same error :(
Ok the easiest way to do this is to load the old script and uninstall it, otherwise you will need to go into other vb tables and I do not think you want to do that at this stage. If the uninstall does fail try to install the older version and then uninstall again. Then install vB3.6.3 version. Hope that makes sense.
janpetterdale
11-15-2006, 09:44 PM
Ok the easiest way to do this is to load the old script and uninstall it, otherwise you will need to go into other vb tables and I do not think you want to do that at this stage. If the uninstall does fail try to install the older version and then uninstall again. Then install vB3.6.3 version. Hope that makes sense.
I ran the vbsurvey_install.php script from 3.5 version, uninstalled it.
That worked, now 3.6 version is installed.
Thanks a lot :)
Spikeman
11-15-2006, 09:47 PM
I ran the vbsurvey_install.php script from 3.5 version, uninstalled it.
That worked, now 3.6 version is installed.
Thanks a lot :)
Fantastic ;) please hit that install button.
uh oh .. 13th click of the installed button ... is that gonna be good for me.
Spikeman
11-15-2006, 10:03 PM
uh oh .. 13th click of the installed button ... is that gonna be good for me. lol, well I almost finished coding this on the 13th but i did not do the final touches until 14th! Superstitious! nah not me :)
Spikeman,
so far it works perfectly on my test board. I had a few permission problems but just for testing I changed them to 777.
took less than 10 mins to install with figureing out the permission problems.
I dont understand permissions that well so if someone can help me out on them I would appreciate it.
it wouldnt work for me under 744 but it could be cause I didnt have all my files at 744? Will try it later.
Didnt take long to install either.
one suggestion for us non coders and somewhat dence at time people ( like me ;) )
you might want to put in your instructions that the survery folder needs to go into the forum dir and not below it
Unpack the included file
Copy survey.php to your main forum directory
Copy the survey directory below your forum directory (cannot change the directory name)
Again nice job
Delw
Spikeman
11-15-2006, 11:17 PM
Spikeman,
one suggestion for us non coders and somewhat dence at time people ( like me ;) )
you might want to put in your instructions that the survery folder needs to go into the forum dir and not below it Changed that now ;) you will need to add userid to your permissions to allow users to take surveys and view results, default is 5,6 which is Admins and supermods, adding 2 will allow registered users, I shall change that in next update.
Thanks,
Forum permissions I dont have a problem too much with ,its server permissions lol
StarBuG
11-16-2006, 06:47 AM
I get
Table 'dbname.vbsurvey_surveys' doesn't exist
when I try to call survey.php
In my db only survey_ tables exist, not vbsurvey.
I don't use prefixes for tables
StarBuG
Datenpapst
11-16-2006, 08:37 AM
Don't know why, but I get this message in the example surveys:
Warning: chmod(): Operation not permitted in /survey/smarty/Smarty.class.php on line 1454
Warning: chmod(): Operation not permitted in /survey/smarty/Smarty.class.php on line 1454
Datenpapst
11-16-2006, 08:46 AM
Another thing I noticed:
When you delete a survey this message comes:
e.g. Survey #5 does not exist.
You may should create a text that tells the admin that the survey has been deleted.
Spikeman
11-16-2006, 11:39 AM
I get
Table 'dbname.vbsurvey_surveys' doesn't exist
when I try to call survey.php
In my db only survey_ tables exist, not vbsurvey.
I don't use prefixes for tables
StarBuGOpen survey/classes/mainclass.php find this//fix after setting tables in install script
$this->CONF['db_tbl_prefix'] = TABLE_PREFIX . 'survey_'; and replace with this //fix after setting tables in install script
$this->CONF['db_tbl_prefix'] = TABLE_PREFIX . 'vbsurvey_';
Spikeman
11-16-2006, 11:46 AM
Another thing I noticed:
When you delete a survey this message comes:
e.g. Survey #5 does not exist.
You may should create a text that tells the admin that the survey has been deleted.
I have seen this before and will look into it, although you receive this message is the survey still deleted?
Kihon Kata
11-16-2006, 11:47 AM
I've installed this on my board here (www.makeuptalk.com)...running 3.6.3
When I click on "edit questions" and/or "preview survey" I get this:
Error selecting questions: Unknown column 'q.aid' in 'field list'
Spikeman
11-16-2006, 11:57 AM
I've installed this on my board here (www.makeuptalk.com)...running 3.6.3
When I click on "edit questions" and/or "preview survey" I get this:
Error selecting questions: Unknown column 'q.aid' in 'field list' Can you PM a url for me to see this? <-- sorry did not see the url there!!! Can you PM me some login and admin perms please :)
Spikeman
11-16-2006, 12:04 PM
Don't know why, but I get this message in the example surveys:Have you tried to change the server permissions on the directory?
Kihon Kata
11-16-2006, 12:31 PM
PMed you some login info....
Can you PM a url for me to see this? <-- sorry did not see the url there!!! Can you PM me some login and admin perms please :)
Kihon Kata
11-16-2006, 01:59 PM
Thanks Spikeman for the personal help on my forum. He fixed my issue.
Thanks again
Spikeman
11-16-2006, 02:22 PM
Thanks Spikeman for the personal help on my forum. He fixed my issue.
Thanks again
[Resolved]You are welcome, error was caused by corruption in db tables, uninstalled the product and reinstalled, works fine now.
dutchbb
11-16-2006, 02:23 PM
Hm so since there are no phrases , where can we translate most of the system please?
Spikeman
11-16-2006, 02:31 PM
Hm so since there are no phrases , where can we translate most of the system please? The admin phrases are easy enough todo, the UCCASS system uses smarty templates which can be edited to suit your language.
dutchbb
11-16-2006, 02:40 PM
Can't find the right files though :o
edit: Nevermind I found it
StarBuG
11-16-2006, 02:57 PM
Hi
I need to know where to define the background for the survey itself and the results page.
My forum uses a background image but on long surveys this breaks the design, so I need to replace it with a color.
Also it seems that guests can't take the survey, even though I have set permissions to allow usergroup 1 (not registered) to take surveys.
Any ideas?
Spikeman
11-16-2006, 03:27 PM
Hi
I need to know where to define the background for the survey itself and the results page.
My forum uses a background image but on long surveys this breaks the design, so I need to replace it with a color. Can i ask where you normally define the image? vBsurvey uses smarty templates that are located at survey/templates/Default there is also the vbsurvey template within the style manager if you have added your background as a custom style. However your default color that is defined within vB should be displayed?
Also it seems that guests can't take the survey, even though I have set permissions to allow usergroup 1 (not registered) to take surveys.
If you take a look in survey.php
if ($vbulletin->userinfo['userid']==0) { // override permissions for guests, since userid zero is messy
// They can only see the results, if allowed in the admincp settings
$vbulletin->userinfo['can_admin_surveys'] = 0;
$vbulletin->userinfo['can_take_surveys'] = 0;
$vbulletin->userinfo['can_create_surveys'] = 0;
$vbulletin->userinfo['can_edit_surveys'] = 0;
change to
if ($vbulletin->userinfo['userid']==1) { // override permissions for guests, since userid zero is messy
// They can only see the results, if allowed in the admincp settings
$vbulletin->userinfo['can_admin_surveys'] = 0;
$vbulletin->userinfo['can_take_surveys'] = 1;
$vbulletin->userinfo['can_create_surveys'] = 0;
$vbulletin->userinfo['can_edit_surveys'] = 0;
That should work
StarBuG
11-16-2006, 05:06 PM
Hi
If I change that, I can't admin nor take the survey anymore.
It uses the css definitions for the background of the survey, but that is the problem.
I need to define the color by hand in this place because the background image from css breaks if the survey is to long.
Any idea where the background is defined?
Great hack by the way.
Thank you for getingit to run on 3.6 ;)
StarBuG
Spikeman
11-16-2006, 08:25 PM
Hi
If I change that, I can't admin nor take the survey anymore.
I had to play with those setting to get guests set up to test the survey, although it is not foolproof as some guests still get refused. The problem with letting guests take a survey is they could keep taking the same survey and you would not get accurate results.
It uses the css definitions for the background of the survey, but that is the problem.
I need to define the color by hand in this place because the background image from css breaks if the survey is to long.
Any idea where the background is defined?Ok, I understand now, leave it with me and let me see if i can find a solution.
Spikeman
11-16-2006, 08:49 PM
Hi
I need to define the color by hand in this place because the background image from css breaks if the survey is to long.
Any idea where the background is defined?
I belive the best approach would be to add an additional css definition, then do a search in your smarty template files for "panel" and replace with new, example:- "surveypanel" with you new color declared in "surveypanel" to test I would edit display_answers.tpl first.
drdeathuk69
11-17-2006, 12:24 AM
i have an admincp folder with nothing in it is that right?
hoangminh
11-17-2006, 12:27 AM
Thank you very much. I have waited for this for long time.
Love you!
Spikeman
11-17-2006, 12:30 AM
i have an admincp folder with nothing in it is that right?I deliberatly left it in there so users would see the structure showing that folders needed to go into forum folder ;) well that was the logic.
Dont forget to click install :)
Thank you very much. I have waited for this for long time.
Love you!
Your welcome
hoangminh
11-17-2006, 12:52 AM
Hi SpikeMan, after remove all previous version, I install this hack, no error occured, but when I click on Edit Survey, Create new survey, view result or Click on the link of existed survey, only that page refresh, no other page :(
I logged in as the super administrator (usergroup 6).
Can you help me ? Thanks a lot
Spikeman
11-17-2006, 12:59 AM
Hi SpikeMan, after remove all previous version, I install this hack, no error occured, but when I click on Edit Survey, Create new survey, view result or Click on the link of existed survey, only that page refresh, no other page :(
I logged in as the super administrator (usergroup 6).
Can you help me ? Thanks a lotHow did you remove previous version? Did you uninstall using the original script? If not try this
1. Install previous version with install script
2. Uninstall previous version with install script
3. Delete Survey Folder and survey.php from server
4. Follow instructions for this version.
If it does not work after you have completed all above, pm me url and admin details and I will take a look for you.
If you did uninstall previous version with script pm details.
StarBuG
11-17-2006, 06:55 AM
What about using cookies for guests?
After a guest took the survey, place a cookie to stop him from doing the survey again?
I know this is easy to circumvent but better then guests not beeing able to take the survey
Would be great
StarBuG
Datenpapst
11-17-2006, 09:54 AM
yes, the surveys are deleted.
Datenpapst
11-17-2006, 09:55 AM
I have seen this before and will look into it, although you receive this message is the survey still deleted?
yes, the surveys are deleted.
Have you tried to change the server permissions on the directory?
I gave the directory a 777 chmod permission.
Spikeman
11-17-2006, 04:46 PM
I know this may seem a little strange to you guys, but anyway, i have had 2 emails stating that there are 2 new posts here however, i cannot see them!! I have emailed vb.org and informed them of this, hopefully I will get an answer soon, and can reply to the posts.
EasyTarget
11-17-2006, 05:13 PM
I've been meaning to give this a try for a long time.. time to do it.
/me clicks install
blogtorank
11-18-2006, 03:41 AM
How did you remove previous version? Did you uninstall using the original script? If not try this
1. Install previous version with install script
2. Uninstall previous version with install script
3. Delete Survey Folder and survey.php from server
4. Follow instructions for this version.
If it does not work after you have completed all above, pm me url and admin details and I will take a look for you.
If you did uninstall previous version with script pm details.
How can you install it if the install.php file is not correct for vb 3.6.3? :cool:
Columns don't match and etc... So there is no way around it I suppose but to modify the install file to make this new version you have here to work on a 3.6.3 version... I have tried everything and nothing is happening....
I wouldn't suggest sending no more people to the other thread unless this portion is fixed. Because the refresh issue is what I'm facing and I found your thread saying to install the OLD version of this survey script, well the area of this issue is below...
Just some old code that needs to be fixed in the vbsurvey_install.php file:
$db->query_write("REPLACE INTO " . TABLE_PREFIX . "phrase (phraseid, languageid, varname, text, phrasetypeid) VALUES (NULL, '0', '" . $varname . "', '" . addslashes($text) ."', '$phrasetype')");
and:
$db->query_write("REPLACE INTO " . TABLE_PREFIX . "phrase (phraseid, languageid, varname, text, phrasetypeid) VALUES (NULL, '0', '" . $varname . "', '" . addslashes($text) ."', '$phrasetype')");
Just my thoughts. :cool:
Spikeman
11-18-2006, 07:22 AM
How can you install it if the install.php file is not correct for vb 3.6.3? :cool:
Columns don't match and etc... So there is no way around it I suppose but to modify the install file to make this new version you have here to work on a 3.6.3 version... I have tried everything and nothing is happening....
I wouldn't suggest sending no more people to the other thread unless this portion is fixed. Because the refresh issue is what I'm facing and I found your thread saying to install the OLD version of this survey script, well the area of this issue is below...
Just some old code that needs to be fixed in the vbsurvey_install.php file:
$db->query_write("REPLACE INTO " . TABLE_PREFIX . "phrase (phraseid, languageid, varname, text, phrasetypeid) VALUES (NULL, '0', '" . $varname . "', '" . addslashes($text) ."', '$phrasetype')");
and:
$db->query_write("REPLACE INTO " . TABLE_PREFIX . "phrase (phraseid, languageid, varname, text, phrasetypeid) VALUES (NULL, '0', '" . $varname . "', '" . addslashes($text) ."', '$phrasetype')");
Just my thoughts. :cool:
The old code cannot be fixed to work on 3.6.3, that is why it was rewritten.
1.Do you host with yahoo? or another host that does not allow special characters on the server?
2.Check that all the files from the survey folder are on your server.
3.Have you set the permissions for the files?
dutchbb
11-18-2006, 01:08 PM
Hello,
I have translated about 90% of the hack, just wanted to know where this red sentence can be found? I could only find the variable.
https://vborg.vbsupport.ru/
thank you
gedsta
11-18-2006, 03:12 PM
Installed
However whenever I take a survey and click on finish or view a survey's results i get
Error retrieving questions: Table 'nameofdatabse_.vb1_survey_results_text' doesn't exist
any ideas?
tia
Spikeman
11-18-2006, 04:26 PM
Hello,
I have translated about 90% of the hack, just wanted to know where this red sentence can be found? I could only find the variable.
http://img375.imageshack.us/img375/3117/translateto6.gif
thank youYou will find the line in survey.class.php within survey/classes line 211, you will find quite a few phrases in there that you may want to translate that you have not been shown yet. Actually all the classes files will need to be translated ;)
Spikeman
11-18-2006, 04:30 PM
Installed
However whenever I take a survey and click on finish or view a survey's results i get
Error retrieving questions: Table 'nameofdatabse_.vb1_survey_results_text' doesn't exist
any ideas?
tiaHave you checked to see if that table is in your db?
dutchbb
11-18-2006, 05:10 PM
You will find the line in survey.class.php within survey/classes line 211, you will find quite a few phrases in there that you may want to translate that you have not been shown yet. Actually all the classes files will need to be translated ;)
Thanks :D
gedsta
11-18-2006, 09:50 PM
Have you checked to see if that table is in your db?
Table 'nameofdatabse_.vb1_survey_results is but not Table 'nameofdatabse_.vb1_survey_results.txt or whatever it says
Am at a loss now, as I followed the instructions completely :(
gedsta
11-18-2006, 11:52 PM
Thank you Gareth for sorting it out - it works perfect now :)
Spikeman
11-19-2006, 01:20 AM
Thank you Gareth for sorting it out - it works perfect now :)
[Resolved] The database would not accept the survey_results_text table, this may/may not be a result of the windows server mysql was running on, table was manually imported with changes through phpmyadmin. A fix should be ready in next update of the product-survey.xml
morrow
11-19-2006, 04:56 AM
Installed with No problems other than permissioning which was noted in the install doc. Once changed, everything is good.
Now, how about a few sample surveys so I can get an idea of what the hell I'm going to use this for! :) It seams to be a nice hack and I'm sure I'll find a spot on my site for it. I just need some ideas.
Spikeman
11-19-2006, 05:26 AM
Now, how about a few sample surveys so I can get an idea of what the hell I'm going to use this for! :) It seams to be a nice hack and I'm sure I'll find a spot on my site for it. I just need some ideas.
Folllowing a quick visit to your homepage:
How about a survey on fishing equipment used, how many fishing trips per year, how far do you travel to fish, best times to fish, quantity caught, places, equipment etc.. ;)
ivps-Samuel
11-29-2006, 03:41 PM
Hello,
I added usergroup 1 (Guest/Not Logged In) to answer survey questions but it still seems to require login when the survey is clicked on.
Any ideas?
Spikeman
11-29-2006, 05:21 PM
Hello,
I added usergroup 1 (Guest/Not Logged In) to answer survey questions but it still seems to require login when the survey is clicked on.
Any ideas?Please remember the point of a survey is to compile data across a given site to a set of people, however allowing guests the oppurtunity to take the survey would surely make for different results as they could retake the survey many times, therefore throwing your results out. That said here is what you need.
Find this code in survey.php
if ($vbulletin->userinfo['userid']==0) { // override permissions for guests, since userid zero is messy
// They can only see the results, if allowed in the admincp settings
$vbulletin->userinfo['can_admin_surveys'] = 0;
$vbulletin->userinfo['can_take_surveys'] = 0;
$vbulletin->userinfo['can_create_surveys'] = 0;
$vbulletin->userinfo['can_edit_surveys'] = 0;
You will need to change it to some like this:
if ($vbulletin->userinfo['userid']==1) { // override permissions for guests, since userid zero is messy
// They can only see the results, if allowed in the admincp settings
$vbulletin->userinfo['can_admin_surveys'] = 0;
$vbulletin->userinfo['can_take_surveys'] = 1;
$vbulletin->userinfo['can_create_surveys'] = 0;
$vbulletin->userinfo['can_edit_surveys'] = 0;
Once you have changed that you will need to allow guests to take survey more than once, otherwise guests will be informed that they have already taken the survey, so
Find this line in survey/classes/survey.class.php around line 127 either delete or comment the line out.
if($check === ALREADY_COMPLETED) eval(print_standard_error("You have already completed the requested survey.", 0));
That should do it.
Datenpapst
12-01-2006, 07:30 AM
I have got a problem with the survey. Its not showing the results afert I answered the questions. Dont know why :(
Spikeman
12-01-2006, 02:39 PM
I have got a problem with the survey. Its not showing the results afert I answered the questions. Dont know why :(
Does this happen to all results you are trying to view or is this a new error? have you seen results before? what mySQL version are you running?
Antivirus
12-03-2006, 02:50 PM
If i were to install the previous version on my vb 3.5.x boards, then upgraded vb to latest version (3.6.x), how much does upgrading this hack to the 3.6 version entail? I didnt see ay instructions for upgrading. is it simply an overwrite of the included files, or are there db changes, etc... does previous survey data get overwritten?
Spikeman
12-03-2006, 07:41 PM
If i were to install the previous version on my vb 3.5.x boards, then upgraded vb to latest version (3.6.x), how much does upgrading this hack to the 3.6 version entail? I didnt see ay instructions for upgrading. is it simply an overwrite of the included files, or are there db changes, etc... does previous survey data get overwritten?
This is not an upgrade from the previous releases, It is a new install, you must uninstall old version. When you upgrade to 3.6 some tables and some fields that were present in vB 3.5 were removed that were needed to allow the previous version of this hack to function. That said if you take a backup of your survey data you should be able to import it back into the new survey as no changes have been made to the Survey Tables.
Installing this hack is a 2 minute job
Antivirus
12-04-2006, 01:48 PM
It is a new install, you must uninstall old version.
so there is an uninstall script with the old version?
Thanks :)
Spikeman
12-04-2006, 01:54 PM
so there is an uninstall script with the old version?
Thanks :)Yes just load up the previous install script and chose option to uninstall.
Antivirus
12-05-2006, 05:43 PM
okie, thanks for clarifying.
nanaimobar
12-09-2006, 11:58 PM
Installation went smoothly, hooks and vBulletin Options updated perfectly, but admincp shows no changes and no vbSurvey section is visible anywhere.
Suggestions?
Martin-TMGRS
12-10-2006, 10:23 AM
I installed this hack but when I click on any of the examples, the page just reloads to the same page also does the same when I try to create a new survey or edit any of them. Any help would be great, thanks.
Spikeman
12-11-2006, 09:26 AM
Installation went smoothly, hooks and vBulletin Options updated perfectly, but admincp shows no changes and no vbSurvey section is visible anywhere.
Suggestions?
ACP -> vBulletin Options -> Survey System Options. Does not exist?
I installed this hack but when I click on any of the examples, the page just reloads to the same page also does the same when I try to create a new survey or edit any of them. Any help would be great, thanks.Did you set the correct permissions?
nanaimobar
12-11-2006, 02:17 PM
[QUOTE=Spikeman;1136227]ACP -> vBulletin Options -> Survey System Options. Does not exist?
Survey System Options exists and everything was left at default setting.
What is missing is any ability to create a Survey or other settings in the far left scroll column where RSS feeds, Styles and Templates, vBulletion Options, Plugins & Products, etc are located.
Biggles
12-11-2006, 04:58 PM
[QUOTE=Spikeman;1136227]ACP -> vBulletin Options -> Survey System Options. Does not exist?
Survey System Options exists and everything was left at default setting.
What is missing is any ability to create a Survey or other settings in the far left scroll column where RSS feeds, Styles and Templates, vBulletion Options, Plugins & Products, etc are located.Yes indeed. I have experienced precisely the same problem.
Everything went smoothly in the uploads and the product import. I have Survey Systems Options too and have set the necessary fields to allow Admin (usergroup 6) to create a survey.
But, like nanaimobar, I cannot find a function anywhere that actually allows me to create the survey. Where is it supposed to show up? Should it be in the ACP list or is it within threads or elsewhere in the forums.? I've looked everywhere I can think of and can't find a darned thing.
Biggles
Spikeman
12-11-2006, 05:36 PM
[QUOTE=Spikeman;1136227]ACP -> vBulletin Options -> Survey System Options. Does not exist?
Survey System Options exists and everything was left at default setting.
What is missing is any ability to create a Survey or other settings in the far left scroll column where RSS feeds, Styles and Templates, vBulletion Options, Plugins & Products, etc are located.
[QUOTE=nanaimobar;1136365]Yes indeed. I have experienced precisely the same problem.
Everything went smoothly in the uploads and the product import. I have Survey Systems Options too and have set the necessary fields to allow Admin (usergroup 6) to create a survey.
But, like nanaimobar, I cannot find a function anywhere that actually allows me to create the survey. Where is it supposed to show up? Should it be in the ACP list or is it within threads or elsewhere in the forums.? I've looked everywhere I can think of and can't find a darned thing.
Biggles
Go to the location of survey.php example http://www.yourdomain.com/forums/survey.php at the bottom of the survey page you should have a create new survey function. If you do not have this then you need to ensure you have added your usergroup to the Survey System Options in ACP. There are no other seetings within the ACP except for the Survey System Options.
nanaimobar
12-11-2006, 05:45 PM
[QUOTE=nanaimobar;1136365]
[QUOTE=Biggles;1136450]
Go to the location of survey.php example http://www.yourdomain.com/forums/survey.php at the bottom of the survey page you should have a create new survey function. If you do not have this then you need to ensure you have added your usergroup to the Survey System Options in ACP. There are no other seetings within the ACP except for the Survey System Options.
Thanks, Spikeman. Survey create section now appears, but there is an error message:
Warning: Smarty error: problem writing './survey/smarty/templates_c/Default^available_surveys.tpl.' in /survey/smarty/Smarty.class.php on line 589
Spikeman
12-11-2006, 06:20 PM
[QUOTE=Spikeman;1136474][QUOTE=nanaimobar;1136365]
Thanks, Spikeman. Survey create section now appears, but there is an error message:
Warning: Smarty error: problem writing './survey/smarty/templates_c/Default^available_surveys.tpl.' in /survey/smarty/Smarty.class.php on line 589You need to set your server permissions
nanaimobar
12-11-2006, 06:59 PM
[QUOTE=nanaimobar;1136484][QUOTE=Spikeman;1136474]You need to set your server permissions
Thanks, Spikeman.:D Deleted directories under template_c and all is well. Thanks as well for your quick help and this great product.
Spikeman
12-11-2006, 07:31 PM
[QUOTE=Spikeman;1136511][QUOTE=nanaimobar;1136484]
Thanks, Spikeman.:D Deleted directories under template_c and all is well. Thanks as well for your quick help and this great product.
you are welcome, hit the install link as you are still showing as not installed ;)
nanaimobar
12-11-2006, 09:08 PM
Fantastic ;) please hit that install button.
Installed button hit now. Was checking out the program and getting to understand all of its parts, which look fantastic.
Biggles
12-12-2006, 01:49 AM
Thanks also from me, Spikeman. I now have something to play with for a while so as to get the hang of it. Seems pretty cool. Looking at that UCCASS site, I would not have known where to begin to set that up - sheesh!
Just one question, if I may: why doesn't your install.txt advise where to go to access the hack? Or did I miss it somewhere?
Regards
Biggles
TheBlackPoet
12-12-2006, 04:10 AM
im wondering why i cant delete the installed surveys.. i went to admincp to see what the admin page is, but there is no admincp... i cant delete the surveys i create or the ones that came with the hack....
a damn good hack though..
Spikeman
12-12-2006, 02:11 PM
Just one question, if I may: why doesn't your install.txt advise where to go to access the hack? Or did I miss it somewhere?
Regards
BigglesTo access the survey page goto http://www.yourdomain.com/forums/survey.php
im wondering why i cant delete the installed surveys.. i went to admincp to see what the admin page is, but there is no admincp... i cant delete the surveys i create or the ones that came with the hack....
a damn good hack though..
All settings are in ACP -> vBulletin Options -> Survey System Options.
To delete the surveys you need to be on the main survey page http://www.yourdomain.com/forums/survey.php select the survey from the dropdown box at the bottom of the page to edit survey, at the bottom of the edit page is a check box to delete the survey.
Martin-TMGRS
12-14-2006, 08:37 PM
Did you set the correct permissions?
Is the permissions in user groups ? If it is there is nothing to do with Survey in there.
Spikeman
12-14-2006, 11:39 PM
Is the permissions in user groups ? If it is there is nothing to do with Survey in there.You need to set the server permissions, this can be done through your ftp, if you are not familiar with this PM me some ftp login details and I will take a look for you.
Martin-TMGRS
12-15-2006, 09:44 AM
You need to set the server permissions, this can be done through your ftp.
I'm unable to change owner/group to apache:apache because my server has the user name in front of all ftp users as well. Does this mean I wont be able to use the hack ?
Spikeman
12-15-2006, 01:03 PM
I'm unable to change owner/group to apache:apache because my server has the user name in front of all ftp users as well. Does this mean I wont be able to use the hack ?
You should still be able to chmod the directories to the specified settings, which should get it working.
Martin-TMGRS
12-15-2006, 07:00 PM
You should still be able to chmod the directories to the specified settings, which should get it working.
I shell try and see if I can get it to work.
Martin-TMGRS
12-15-2006, 07:13 PM
ok I chmod all the directories to 744 and still not working.
Hi,
I want to translate the mod to the hebrew lang.
Can you explain me how to do it?
Thanks.
Bison
12-22-2006, 01:06 AM
I'll wait untill this comes out of beta before I install it. My forum really needs a survey tool but I don't have the time to test anything right now.
Installed on 3.6.0
But when i click /survey.php i am getting this message:
vBulletin Message WARNING: Cannot find default template path. Expecting: /home/site/public_html/includes/survey/templates/Default
survey.php file uploaded on root forum (in public_html)
survey directory is uploaded on root forum (in public_html)
Any idea, please !!
Spikeman
12-23-2006, 04:33 PM
Hi,
I want to translate the mod to the hebrew lang.
Can you explain me how to do it?
You can translate the phrases for the Survey System Options through the phrase manager in ACP, all other parts to be translated can be found within the class.php files located within survey/classes
I'll wait untill this comes out of beta before I install it. My forum really needs a survey tool but I don't have the time to test anything right now.You will not require to test it, all is working fine as is, it was only released as beta to be cautious, however, the only real problems encountered have been permission based or users running on windows servers. It will come out of beta when I have finished phrasing the package..(finish date unknown)
Installed on 3.6.0
But when i click /survey.php i am getting this message:vBulletin Message
WARNING: Cannot find default template path. Expecting: /home/site/public_html/includes/survey/templates/Default
survey.php file uploaded on root forum (in public_html)
survey directory is uploaded on root forum (in public_html)
Any idea, please !!I do not understand why your survey.php is looking in your includes file for the templates?
I do not understand why your survey.php is looking in your includes file for the templates?
Yes, i am really confused about it, because i didn't touch any setting, just uploaded survey.php and survey directory in my root forum directory (public_html) and only imported the product via admincp, it was successfully imported, i have also checked vbulletin options > Survey System Options, everything looks fine, but when i am going to survey main page it says:
vBulletin Message WARNING: Cannot find default template path. Expecting: /home/site/public_html/includes/survey/templates/Default
:(
Do you think i have missed anything? during installation? or after it? maybe server path setting in php files?
Spikeman
12-23-2006, 05:18 PM
what is the ur lto your board
Simetrical
12-25-2006, 07:50 PM
For an accurate survey, only a random cross-section of the readership should be allowed to take it. That is, I would like every (say) 1000th hit to be asked to take the survey, guest or no, but no one else should be allowed. (If someone would be offered it twice, I suppose their answers should just be doubly weighted, or they should be skipped, or it should just ask them to take it again.) Is this reasonably possible with this hack? From what I seem to be reading, it's just a page that members can express their opinions on, but I have a pretty good line to the members through the forums themselves. I really want to hear from the anonymous viewers.
Phret
12-28-2006, 07:47 AM
I am pretty new to vBulletin and I have a question. The forum is now running on our website and we will include vbSEO soon.
Do these hacks, such as this, affect in any way the funtions of vbSEO or cause any trouble?
Spikeman
12-28-2006, 09:44 AM
I personally have a lot of hacks installed including vB Survey and have not had any conflicts using VBSEO.
TheHeartSmasher
12-29-2006, 04:16 PM
I only have a few problems with vbsurvrey
The username does not show up in the view results when the survey is not set to be anonymous.
There access controls listed in the documentation are not all there. I see:
None - Public Survey
Cookies
IP Address
Username and Password
Invitation Only (Email)
in the documentation.
Other then that this hack is awesome.
SteveC
12-30-2006, 04:36 PM
I'd like to use this for an anonymous rating system, similiar to how college students rate professors.
Can it be set so that the replies to the survery are anonymous but all users can read them (just not know who wrote the specific survey they are reading).
Can a standard survey be created as a template that can't be modified. So if a user wants to start a survey about Joe Smith, all they have to do is add "Joe Smith" as the title.
Can it be set so that users can only respond once to each survey. So in my case, I'd want them to be able to fill out one survery for Joe Smith, and another for John Smith, and each survey would have identical questions.
TIA!
jonty
01-01-2007, 10:51 AM
/edit: my bad - wrong link ... arrgghhhhh
Took a while to find the surveys page. A possible hack for the 'quick links' menu?
J
GREAT work, thank you.
Is there a conditional to use within a template so you can see whether the user browsing has already completed a specific survey?
I was to say :
show some text
Thanks in advance.
Simon
Spikeman
01-05-2007, 05:34 PM
GREAT work, thank you.
Is there a conditional to use within a template so you can see whether the user browsing has already completed a specific survey?
I was to say :
show some text
Thanks in advance.
Simoni will add to my list :)
hurry
01-08-2007, 03:00 PM
Spikeman, I really need a way to be able to send each Survey answer in the moderation queue for approval by the admin and the result is shown to all only after that survey answer is manually approved by me. I have a lot of surveys which require text answers and I don't want this feature to be abused as I want to keep it open even for non-registered members.
Ofcourse one partial solution would be to give the view results permission to no one but the problem is that the majority of my surveys are not time based and will be open for an indefinite amount of time and I don't want the results to be indefinitely unviewable. I hope you understand this problem and can add an approval feature to survey submissions. Many thanks for a nice mod and awaiting your reply.
hurry
01-09-2007, 05:14 PM
In the permission to take the survey, I have put the ids of all usergroups from 1 to 7, but still when an unregistered forum member tries to go to the survey to take it, it gives the login box forcing one to login which I don't want it to happen. I want that unregistered members can also take the surveys. Is this a bug or anyway to solve this?
Also when I give the registered member groups permission to View Results, still it gives them the error that they do not have permissions to view the survey results. Please help.
Spikeman
01-09-2007, 06:32 PM
In the permission to take the survey, I have put the ids of all usergroups from 1 to 7, but still when an unregistered forum member tries to go to the survey to take it, it gives the login box forcing one to login which I don't want it to happen. I want that unregistered members can also take the surveys. Is this a bug or anyway to solve this?
Also when I give the registered member groups permission to View Results, still it gives them the error that they do not have permissions to view the survey results. Please help.
Try this post https://vborg.vbsupport.ru/showpost.php?p=1128176&postcount=62
hurry
01-09-2007, 07:27 PM
Thanks, that worked but the userid should remain as 0 instead of 1 as otherwise it blocks the admin.
Now how to solve the second problem? When I give the registered member group userid 2 permission to View Results, still it gives them the error that they do not have permissions to view the survey results.
Thirdly there should be a way for the admin to edit survey results. I tried to take some test surveys as unregistered to test the above problem and the results have got stuck there. I want to remove them but found out that there is no way to edit survey results.
Fourthly, can you please kindly consider my previous request to add the moderation-approval-editing features of survey results which will solve the third problem also? Thankyou again.
molieman
01-10-2007, 08:23 PM
[QUOTE=Spikeman;1117996]
Possible addons I am considering:
1. Ability to post final survey results directly to forum thread
QUOTE]
First of all, We installed at www.mycockpit.org with ease. Wonderful MOD and addition to our site. I look forward to using it to it's full capacity. Thank you Spikeman!!!
Now for the question, as noted in the above quote. Is this option available (I may of missed it somewhere), or is this a future addon?
Matt Olieman
www.mycockpit.org
Spikeman
01-14-2007, 12:46 AM
[QUOTE=Spikeman;1117996]
Possible addons I am considering:
1. Ability to post final survey results directly to forum thread
QUOTE]
First of all, We installed at www.mycockpit.org with ease. Wonderful MOD and addition to our site. I look forward to using it to it's full capacity. Thank you Spikeman!!!
Now for the question, as noted in the above quote. Is this option available (I may of missed it somewhere), or is this a future addon?
Matt Olieman
www.mycockpit.orgIt will be a future addon
Lea Verou
02-04-2007, 09:45 PM
Thanks a lot!
Btw I have an issue, right now, a member took the survey and it's not anonymous. However, his name did not show up in the table as the others. What could be the cause?
Also, do you know how can I make the questions in the table view of the results smaller? the table is huge! I tried to find it myself but the code is huge and it doesn't work with vb templates...
Thanks a lot in advance :)
rjdpa
02-06-2007, 10:30 PM
Is it possible to show the user names, then their answers? I checked all of the permissions and settings and can't find a way to display the user names if the survey is NOT anonymous.
Also, is it possible to show all answers instead of clicking "View Answer" for each question WITHOUT having to do some kind of export?
Thanks
molieman
02-07-2007, 12:09 PM
I apologize in advance if this is a old topic I may of missed.
First of all, Survey worked fantastic until we moved to a new server. We made sure all the directories chmod was set, according to the installation instructions.
We're now getting the following error:
Warning: Smarty error: unable to read template resource: "Default/available_surveys.tpl" in /survey/smarty/Smarty.class.php on line 589
We've tried all sorts of combinations of chmod settings, and went from worse back to the above error.
Probably something simple we're missing :eek: You're guidance will be greatly appreciated :)
Matt Olieman
www.mycockpit.org
http://www.mycockpit.org/forums/survey.php
M_Portiss
02-13-2007, 12:00 AM
Could someone please help me? I have followed the directions (atleast I THOUGHT I had) however, when I go to http://www.myforumname.com/forums/survey.php, I get only a blank screen. I have changed my server permissions, and my usergroup permissions are also set correctly.
Any help, please?!
TomasDR
02-13-2007, 03:11 AM
I am having a problem with the usage of the survey mod.
I followed all of the instructions and read every post, but I have a new problem.
I get the main survey screen with the two sample surveys, I have permissions setup correctly and I can see "Edit Surveys" and the link for "Create New Survey", and I confirmed the options in the admincp.
My problem: When I click on any link; take survey, view results, edit, or new survey it returns me back to the main survey screen. The address bar shows what I presume to be the correct address(es) with variables but I just get to see the main survey screen over & over. The only links that work are the documentation and the copyright links.
/forum/survey.php?&do=take&sid=5
/forum/survey.php?&do=results&sid=5
/forum/survey.php?do=edit_survey&sid=5&submit=Edit+Survey
/forum/survey.php?do=new_survey
I have installed it twice, twice in a row, and then uninstalled and re-installed the product. I confirmed every file is uploaded and the chmod/chown was done.
Any thoughts?
Spikeman
02-15-2007, 01:42 AM
Thanks a lot!
Btw I have an issue, right now, a member took the survey and it's not anonymous. However, his name did not show up in the table as the others. What could be the cause?
Also, do you know how can I make the questions in the table view of the results smaller? the table is huge! I tried to find it myself but the code is huge and it doesn't work with vb templates...
Thanks a lot in advance :)
Is it possible to show the user names, then their answers? I checked all of the permissions and settings and can't find a way to display the user names if the survey is NOT anonymous.
Also, is it possible to show all answers instead of clicking "View Answer" for each question WITHOUT having to do some kind of export?
Thanks
I apologize in advance if this is a old topic I may of missed.
First of all, Survey worked fantastic until we moved to a new server. We made sure all the directories chmod was set, according to the installation instructions.
We're now getting the following error:
Warning: Smarty error: unable to read template resource: "Default/available_surveys.tpl" in /survey/smarty/Smarty.class.php on line 589
We've tried all sorts of combinations of chmod settings, and went from worse back to the above error.
Probably something simple we're missing :eek: You're guidance will be greatly appreciated :)
Matt Olieman
www.mycockpit.org
http://www.mycockpit.org/forums/survey.php
Could someone please help me? I have followed the directions (atleast I THOUGHT I had) however, when I go to http://www.myforumname.com/forums/survey.php, I get only a blank screen. I have changed my server permissions, and my usergroup permissions are also set correctly.
Any help, please?!
I am having a problem with the usage of the survey mod.
I followed all of the instructions and read every post, but I have a new problem.
I get the main survey screen with the two sample surveys, I have permissions setup correctly and I can see "Edit Surveys" and the link for "Create New Survey", and I confirmed the options in the admincp.
My problem: When I click on any link; take survey, view results, edit, or new survey it returns me back to the main survey screen. The address bar shows what I presume to be the correct address(es) with variables but I just get to see the main survey screen over & over. The only links that work are the documentation and the copyright links.
/forum/survey.php?&do=take&sid=5
/forum/survey.php?&do=results&sid=5
/forum/survey.php?do=edit_survey&sid=5&submit=Edit+Survey
/forum/survey.php?do=new_survey
I have installed it twice, twice in a row, and then uninstalled and re-installed the product. I confirmed every file is uploaded and the chmod/chown was done.
Any thoughts?
I will address all these questions and problems over this coming weekend, pinned down at work right now, please bare with me :)
LRadunz
02-17-2007, 01:09 AM
Hello.
This is an excellent hack/mod.
Thanks much.
Tigratrus
02-24-2007, 02:55 AM
Great stuff. Very powerful, I did have a problem with permissions even after chmodding them to 744, but I think I worked around it.
Quick question? There are no currency answer types or float/int numericals? The only numerical values are 0-10 or 10+. We'd like to be able to gather some financial answers and average them? It looks like you can use REGEX values to add some in, but I'm afraid REGEX baffles me a bit. I gave it a try but can't seem to get the syntax right, even looked at the convieninetly link ref :( ... Can anyone take pity on the REGEX challenged? Please?
TIA for any help!
James and Susan
Bernd Glasstett
03-02-2007, 08:04 PM
It really is something, what I don't understand. This is such a great tool, I would love to use it, but can't, unless I provide my own translation. Why can't it just use the phrase-tools from VBB? Why is this so difficult for the programmers to work out plugins, which can be translated easily? There isn't only englisch speaking folks around here. Most of my users won't use the surveys, just because they don't know english. *sigh* :(
COBRAws
03-06-2007, 04:10 AM
I can not find vbsurvey_install.php anywhere on the zip file
dutchbb
03-18-2007, 11:02 AM
Hey it suddenly stopped working??? It shows the index page for de surveys and the correct url but when I click a link like add new survey it just redirects to the same page (index)
How is this posible, it always worked perfectly?
WARNING: Cannot find default template path. Expecting: C:\Domains\*******.com/survey/templates/Default
Help me. I can't run it.
Leb4ever
03-20-2007, 03:33 AM
I'm having problems with the script too. When I go to http://site.com/survey.php and click on one of the sample quizzes they don't load. I tried using vb_install to install the old version and I got a database error. It seems like a nice script but I'm having difficulties installing it..
Here's the error I get:
Invalid SQL:
REPLACE INTO phrase (phraseid, languageid, varname, text, phrasetypeid) VALUES (NULL, '0', 'vbsurvey', 'vB Survey', '1');
MySQL Error : Unknown column 'phrasetypeid' in 'field list'
Error Number : 1054
ZomgStuff
03-20-2007, 03:36 AM
Reserved!
Alfa1
03-22-2007, 01:33 PM
Is there an ETA for vbSurvey to come out of beta phase?
santimariani
03-23-2007, 08:25 PM
I'm getting these errors... any idea why? I chmoded it to 744, but I could not chown it as specified due to have only two options: you and webserver. Thanks for the help! Can't wait to use this! :)
Warning: require(survey/classes/main.class.php) [function.require]: failed to open stream: Permission denied in /survey.php on line 8
Warning: require(survey/classes/main.class.php) [function.require]: failed to open stream: Permission denied in /survey.php on line 8
Fatal error: require() [function.require]: Failed opening required 'survey/classes/main.class.php' (include_path='.:/usr/local/lib/php/') in /mounted-storage/home30b/sub003/sc26776-BAUY/www/forum/survey.php on line 8
santimariani
03-23-2007, 08:40 PM
Also, I cannot find the vbsurvey_install.php file anywhere. Where can I find it? (sorry if this is a really dumb question!)
mma365
04-02-2007, 07:06 PM
Three errors:
Notice: Undefined index: HTTP_REFERER in e:\***\forum\includes\class_core.php on line 1602
Warning: main(survey/classes/main.class.php): failed to open stream: No such file or directory in \survey.php on line 8
Fatal error: main(): Failed opening required 'survey/classes/main.class.php' (include_path='.;c:\php4\pear') in e:\***\forum\survey.php on line 8
Please help! Thank you =)
andreamarucci
04-04-2007, 03:25 PM
Wow, works flawlessly but I've a problem with limited or full html. I've tried to chose both of them but when I insert something like word somwhere in the question, it doesn't appear in bold but always like word.
Any suggestion?
andreamarucci
04-04-2007, 03:54 PM
Another question if you mind. I would like to translate some user phrases to italian but where are they?
mma365
04-04-2007, 08:06 PM
I'm running 3.6.4, is this not compatible with this version?
dutchbb
04-09-2007, 08:11 AM
It doesn't work together with this hack: Rules and User Agreement Hack
The survey system stops working when both are enabled.
Maybe this can be looked at?
andreamarucci
04-09-2007, 09:32 AM
Wow, works flawlessly but I've a problem with limited or full html. I've tried to chose both of them but when I insert something like word somwhere in the question, it doesn't appear in bold but always like word.
Any suggestion?
Solved. You've to put <B>word</B> to make it work.
I'd like to uninstall this hack. How can I do that? Are specific surveys goes to specific files? I'd like to delete all surveys from my serv.
I'll be upgrading my VB to 3.6.
BR
Bonee70
04-17-2007, 12:44 PM
Everything working here, though I don't get graphical results.
I have attached a .gif to show what I mean. What can I do to make the graphs work?
Thx!
Bonee70
04-17-2007, 01:27 PM
I also get several errors like "You don't have permission to access /forum/survey/docs/index.html on this server." - what can I do here?
Survey folder was set to CHMOD 744 but I dont get where to do the "chown -R apache:apache survey"
Hello, has this worked me of marvel, during one week, now he/she does give me error, and not you of where he/she comes, can somebody help me? thank you. The error that gives is this:
Warning: fread() [function.fread]: Length parameter must be greater than 0. in /survey/smarty/Smarty.class.php on line 1407
You can check it in this it paginates, thank you.
http://www.3dpoder.com/foro3dpoder/survey.php (http://www.3dpoder.com/foro3dpoder/survey.php):confused:
iBaker
04-27-2007, 10:36 PM
I was just about to install this hack but have noticed that Spikeman hasn't been here for over 2 months yet there is a "Supported" tick in the hack details - anyone know how this is going to be supported in the future?
TechDawg
05-07-2007, 02:20 PM
I am having a problem with the usage of the survey mod.
I followed all of the instructions and read every post, but I have a new problem.
I get the main survey screen with the two sample surveys, I have permissions setup correctly and I can see "Edit Surveys" and the link for "Create New Survey", and I confirmed the options in the admincp.
My problem: When I click on any link; take survey, view results, edit, or new survey it returns me back to the main survey screen. The address bar shows what I presume to be the correct address(es) with variables but I just get to see the main survey screen over & over. The only links that work are the documentation and the copyright links.
/forum/survey.php?&do=take&sid=5
/forum/survey.php?&do=results&sid=5
/forum/survey.php?do=edit_survey&sid=5&submit=Edit+Survey
/forum/survey.php?do=new_survey
I have installed it twice, twice in a row, and then uninstalled and re-installed the product. I confirmed every file is uploaded and the chmod/chown was done.
Any thoughts?
I am also having the same problem. In addition, as noted recently, I am concerned that the author has not commented or been logged in for over 2 months. The last comment made was a statement that the above question would be address in the weekend following the question, but it was never answered.
I hope there is some word soon.
Thanks,
TechDawg
akulion
05-07-2007, 05:56 PM
thanks
installed and seems to be workin a-ok
Spikeman
06-06-2007, 02:03 AM
Apologises to all who have requested support here and due to my absense have not recieved it. Not been around for some time due to circumstances that i shall not go into at this stage, I shall be back on top of things in a couple of days and will address any outstanding issues.
fpattberg
06-06-2007, 06:21 AM
Good to have Spikeman back to give support for vBSurvey.
I really love this hack but has it been tested on 3.6.7?
Thanks.
Fabian
Spikeman
06-06-2007, 08:45 AM
I'm running 3.6.4, is this not compatible with this version?Yes it is compatible with 3.6.4
It doesn't work together with this hack: Rules and User Agreement Hack
The survey system stops working when both are enabled.
Maybe this can be looked at?I will look into this
I'd like to uninstall this hack. How can I do that? Are specific surveys goes to specific files? I'd like to delete all surveys from my serv.
I'll be upgrading my VB to 3.6.
BRThis hack is for vb 3.6! are you sure you are on the right thread here?
I was just about to install this hack but have noticed that Spikeman hasn't been here for over 2 months yet there is a "Supported" tick in the hack details - anyone know how this is going to be supported in the future? I am back :D
Good to have Spikeman back to give support for vBSurvey.
I really love this hack but has it been tested on 3.6.7?
Thanks.
FabianThis will be tested later today on my 3.6.7 dev board
Pottsy
06-07-2007, 06:06 AM
Works perfectly on 3.6.7 here. :)
tormodg
06-08-2007, 06:37 AM
This is simply a BRILLIANT plugin. Thanks for your stellar work on integrating the UCCASS system.
If I may make a couple of feature reqs:
- ability to show rankings of users (ie how many surveys taken, leaderboards per surveys...)
- ability to have ratings and comments of the surveys
- ability to show amount of correct replies after finishing a survey
Since we'll mostly be using this as a quiz module it makes sense to have some "competition" features.
The UCCASS should also have the ability to create multiple choice questions with custom answers - this would be perfect for quizzes. They way it is built requires you to include the options in the question and let users respond with a number.
But well done.
santimariani
06-10-2007, 03:09 PM
I am getting the following error message:
Warning: main(survey/classes/main.class.php) [function.main]: failed to open stream: Permission denied in /survey.php on line 8
Warning: main(survey/classes/main.class.php) [function.main]: failed to open stream: Permission denied in /survey.php on line 8
Fatal error: main() [function.require]: Failed opening required 'survey/classes/main.class.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/siadmin/public_html/forum/survey.php on line 8
I have seen in this thread that this has been posted before, but I haven't found a solution. I followed the instructions in setting the folder, subfolders, and files to 744 and asked my host to change the owner/group accordingly. Has a solution been found? This would be an AWESOME hack for my board, and I appreciate all of the work that was put into it. :) Now if only I could get it to work... :p
Lahoria
06-10-2007, 06:08 PM
any screenshots ?
socalsoccer
06-16-2007, 05:26 PM
It doesn't work together with this hack: Rules and User Agreement Hack
The survey system stops working when both are enabled.
Maybe this can be looked at?
BINGO I searched for 2 hours through 3.5 thread, and now 3.6.
For people with the refresh problem, you must disable "Rules and User Agreement Hack".
Symptom: When clicking on any link within the main survey menu, page just refreshes, but shows the correct URL of the link.
iBaker
07-05-2007, 02:35 AM
Great to see you back Spikeman - clicked install and nominated
garyrogers
07-05-2007, 02:04 PM
All works ok apart from the results. when you click to see rsults in either text or numeric format all you get is a txt file with the headers in, ie the questions. I cant see an answer to this and wondered if any others have had similar. I am running 3.6.7
zkilzz
07-20-2007, 02:04 PM
I only have a few problems with vbsurvrey
The username does not show up in the view results when the survey is not set to be anonymous.
There access controls listed in the documentation are not all there. I see:
None - Public Survey
Cookies
IP Address
Username and Password
Invitation Only (Email)
in the documentation.
Other then that this hack is awesome.
I have this problem to. Spikeman?? Any ideas?
Torqued
07-26-2007, 01:50 PM
All works ok apart from the results. when you click to see rsults in either text or numeric format all you get is a txt file with the headers in, ie the questions. I cant see an answer to this and wondered if any others have had similar. I am running 3.6.7
I'm still having this problem as well. :(
Osterling
07-30-2007, 04:21 AM
It would be cool if you could have it download the results in excel format.
GlitterKill
08-02-2007, 05:59 PM
Simply amazing hack! The survey system is EXTREMELY flexible and easy to work with!
I am using it to hold our 6th Anniversary GiveAway where we are having 50 drawings to giveaway $2,200 worth of prizes. :) You can check out the setup (and enter the giveaway) here: http://forums.pcapex.com/survey.php?&do=take&sid=28
Bounce
08-15-2007, 08:09 PM
Does this have the ability to add up surveys over a period of time..
I am looking for something for my users to vote on each players performance over a certain number of games and then calculate them all over the said period of games..
thanks :)
iBaker
08-20-2007, 09:39 PM
Hi All
I have installed this great mod but I am also after either a different mod or a way to do quizzes with this mod. I need users to be able to take a quiz and then see if they got the answers right - any suggestions is greatly appreciated and thanks!
gazzak
08-22-2007, 07:15 AM
Installed and thank you.
One question, when you are taking the survey the small fixed text at the top of the survey says "Survey Questions". Is there any way of changing that text?
rainyleaves
08-28-2007, 05:12 PM
Awesome Mod!!!!!
Greeeeeeeeeeeat!
Thanks :)
Just Installed + MOTM
RS25com
09-01-2007, 06:25 PM
Has anyone tried this on 3.6.8?
rainyleaves
09-01-2007, 06:27 PM
Has anyone tried this on 3.6.8?
Works perfectly with VB3.6.8. !!
Spinball
09-17-2007, 12:56 PM
[root@www forums]# chown -R apache:apache survey
chown: `apache:apache': invalid user
chown -R nobody:nobody survey worked without errors.
Warning: require(survey/classes/main.class.php) [function.require]: failed to open stream: Permission denied in /survey.php on line 8
Fatal error: require() [function.require]: Failed opening required 'survey/classes/main.class.php' (include_path='.:/usr/lib/php') in /home/sites/avforums/public_html/forums/survey.php on line 8
Are these related? What's the solution the the last one please?
Spinball
09-17-2007, 01:14 PM
Note I ran chmod 777 on the survey folder and that seemed to fix it, however I still get the occasional permissions error.
Also despite correctly setting some questions to require an answer, the system allows me to proceed to the next page without making any choices.
Can anyone help here please?
reddyink
09-30-2007, 02:37 PM
I following the instructions and installed the product.
when I type: http://localhost/forum/survey.php
here is what I am getting.... what's wrong
input->clean_array_gpc('r', array( 'do' => TYPE_STR, 'sid' => TYPE_INT, 'aid' => TYPE_INT)); if (empty($vbulletin->GPC['do'])) $vbulletin->GPC['do'] = 'main'; $sid = intval($vbulletin->GPC['sid']); $navbits = array("survey.php?$session[sessionurl]" => 'Survey'); $vbulletin->userinfo['can_admin_surveys'] = in_array($bbuserinfo['usergroupid'], explode(',', $vbulletin->options['vb_survey_admin_groups'])); $vbulletin->userinfo['can_edit_surveys'] = in_array($vbulletin->userinfo['usergroupid'], explode(',', $vbulletin->options['vb_survey_edit_groups'])); $vbulletin->userinfo['can_create_surveys'] = in_array($vbulletin->userinfo['usergroupid'], explode(',', $vbulletin->options['vb_survey_create_groups'])); $vbulletin->userinfo['can_take_surveys'] = in_array($vbulletin->userinfo['usergroupid'], explode(',', $vbulletin->options['vb_survey_take_groups'])); $vbulletin->userinfo['can_view_survey_results'] = in_array($vbulletin->userinfo['usergroupid'], explode(',', $vbulletin->options['vb_survey_result_groups'])); if ($vbulletin->userinfo['userid']==0) { // override permissions for guests, since userid zero is messy // They can only see the results, if allowed in the admincp settings $vbulletin->userinfo['can_admin_surveys'] = 0; $vbulletin->userinfo['can_take_surveys'] = 0; $vbulletin->userinfo['can_create_surveys'] = 0; $vbulletin->userinfo['can_edit_surveys'] = 0; } if ($vbulletin->GPC['do'] == 'main'){ include('survey/classes/survey.class.php'); $navbits[''] = 'Available Surveys'; $survey = new UCCASS_Survey; $body = $survey->available_surveys(); } elseif ($vbulletin->GPC['do'] == 'take'){ include('survey/classes/survey.class.php'); $navbits[''] = 'Answer Survey'; $survey = new UCCASS_Survey; $body = $survey->take_survey($sid); } elseif ($vbulletin->GPC['do'] == 'results'){ include('survey/classes/results.class.php'); $navbits[''] = 'Survey Results'; $survey = new UCCASS_Results; $body = $survey->survey_results($sid); } elseif ($vbulletin->GPC['do'] == 'edit_survey'){ include('survey/classes/editsurvey.class.php'); $navbits[''] = 'Edit Survey'; $editSurvey = new UCCASS_EditSurvey; $body = $editSurvey->show($sid); } elseif ($vbulletin->GPC['do'] == 'filter'){ include('survey/classes/results.class.php'); $navbits[''] = 'Filter Results'; $survey = new UCCASS_Results; $body = $survey->filter($sid); } elseif ($vbulletin->GPC['do'] == 'display_answers'){ $navbits[''] = 'Display Answers'; $survey = new UCCASS_Main; $body = $survey->display_answers($sid); } elseif ($vbulletin->GPC['do'] == 'edit_answer'){ include('survey/classes/answertypes.class.php'); $navbits[''] = 'Edit Answer Types'; $aid = intval($vbulletin->GPC['aid']); $survey = new UCCASS_AnswerTypes; $body = $survey->edit_answer($sid,$aid); } elseif ($vbulletin->GPC['do'] == 'new_answer_type'){ include('survey/classes/answertypes.class.php'); $navbits[''] = 'New Answer Type'; $survey = new UCCASS_AnswerTypes; $body = $survey->new_answer_type($sid); } elseif ($vbulletin->GPC['do'] == 'new_survey'){ include('survey/classes/newsurvey.class.php'); $navbits[''] = 'New Survey'; $survey = new UCCASS_NewSurvey; $body = $survey->new_survey(); } elseif ($vbulletin->GPC['do'] == 'results_csv'){ include('survey/classes/special_results.class.php'); $et = $vbulletin->GPC['export_type']; $survey = new UCCASS_Special_Results; echo $survey->results_csv($sid,$et); exit; } elseif ($vbulletin->GPC['do'] == 'results_table'){ include('survey/classes/special_results.class.php'); $navbits[''] = 'Results Table'; $survey = new UCCASS_Special_Results; $body = $survey->results_table($sid); } else { include('survey/classes/survey.class.php'); $navbits[''] = 'Available Surveys'; $survey = new UCCASS_Survey; $body = $survey->available_surveys(); } $navbits = construct_navbits($navbits); eval('$navbar = "' . fetch_template('navbar') . '";'); eval('print_output("' . fetch_template('vbsurvey') . '");'); ?>
reddyink
10-02-2007, 12:37 PM
I installed
vB Survey: Add a full-featured survey tool to your forum by following instructions.
Changed settings in vBulletin options
I would like to Confirm on pasting Survey.php file-
Install instruction says
* Copy survey.php to your main forum directory
* Copy the survey directory into your forum directory (cannot change the directory name)
For this 2 lines
I copied Survey.Php file to - EasyPhp/WWW/upload - Is this right Main forum directory
I copied survey directory to - EasyPhp/WWW/upload - Is this right forum directory
Can anyone please tell me which is my Main Forum Directory and Forum Directory.
I have like this EasyPhp/WWW/upload/admincp/ and EasyPhp/WWW/upload/includes/
When i tested to survey display - I entered -http://localhost/upload/survey.php?
I got big error message
I am pasting part of error message here
input->clean_array_gpc('r', array( 'do' => TYPE_STR, 'sid' => TYPE_INT, 'aid' => TYPE_INT)); if (empty($vbulletin->GPC['do'])) $vbulletin->GPC['do'] = 'main'; $sid = intval($vbulletin->GPC['sid']); $navbits = array("survey.php?$session[sessionurl]" => 'Survey'); $vbulletin->userinfo['can_admin_surveys'] = in_array($bbuserinfo['usergroupid'], explode(',', $vbulletin->options['vb_survey_admin_groups'])); $vbulletin->userinfo['can_edit_surveys'] = in_array($vbulletin->userinfo['usergroupid'], explode(',', $vbulletin->options['vb_survey_edit_groups'])); $vbulletin->userinfo['can_create_surveys'] = in_array($vbulletin->userinfo['usergroupid'], explode(',', $vbulletin->options['vb_survey_create_groups'])); $vbulletin->userinfo['can_take_surveys'] = in_array($vbulletin->userinfo['usergroupid'], explode(',', $vbulletin->options['vb_survey_take_groups'])); $vbulletin->userinfo['can_view_survey_results'] = in_array($vbulletin->userinfo['usergroupid'], explode(',', $vbulletin->options['vb_survey_result_groups'])); if ($vbulletin->userinfo['userid']==0) { // override permissions for guests, since userid zero is messy // They can only see the results, if allowed in the admincp settings $vbulletin
I really appreciate if anybody can help me on this issue.
Thanks
toucan42
10-25-2007, 05:34 PM
I'd like to see other examples of this in use. I am considering adding a survey as a subforum am hoping to see someone who has done this already and how it looks/functions.
leroub
10-29-2007, 08:44 PM
somebody already translated this hack in French? :D
thx in advance... :D
stevebullman
10-31-2007, 06:01 PM
[QUOTE=nanaimobar;1136365]
[QUOTE=Biggles;1136450]
Go to the location of survey.php example http://www.yourdomain.com/forums/survey.php at the bottom of the survey page you should have a create new survey function. If you do not have this then you need to ensure you have added your usergroup to the Survey System Options in ACP. There are no other seetings within the ACP except for the Survey System Options.
i was having the same problems as these other guys....the survery shows in vbulletin options but nowhere else. i went to the link you you posted and i get this error message
Warning: main(./global.php) [function.main]: failed to open stream: No such file or directory in /home/arbtalk/public_html/forums/survey.php on line 7
Warning: main(./global.php) [function.main]: failed to open stream: No such file or directory in /home/arbtalk/public_html/forums/survey.php on line 7
Fatal error: main() [function.require]: Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/arbtalk/public_html/forums/survey.php on line 7
lasto
10-31-2007, 06:24 PM
the demo page in 1st post in IE throws up some pretty bad viruses when viewing it.
Had to terminate 3 with Mod32 so not sure why no one else gets them.
fulviods
11-05-2007, 05:33 PM
i saw also some bad viruses...
dutchbb
11-06-2007, 06:47 PM
Where can I translate this sentence: "Required questions were not answered"
I have been looking everywhere, thats one downside about this hack: no phrases....
prabhgrewal
11-18-2007, 03:55 PM
Hey Spikeman,
Sorry if i sound a little dumb on this :(, but could you help me out here....i did everything as you said...but for the life of me cant figure out a way to access the survey on my site...i mean i installed the product (imported it into Admin CP) etc etc ...but how do i use the survey ?? I Cant see it on the site...
Cheers
prabhgrewal
11-18-2007, 04:42 PM
Hey Spikeman,
Sorry if i sound a little dumb on this :(, but could you help me out here....i did everything as you said...but for the life of me cant figure out a way to access the survey on my site...i mean i installed the product (imported it into Admin CP) etc etc ...but how do i use the survey ?? I Cant see it on the site...
Cheers
Ignore this ...:o..managed to get it working...:) great hack spikeman..
Thanks
amiecn
11-20-2007, 04:32 PM
anyone know if this works with 3.6.8 or if there is one that is compatible with 3.6.8?
VGPelega
11-21-2007, 07:05 PM
I have seen several other posts with this error:
Warning: require(survey/classes/main.class.php) [function.require]: failed to open stream: Permission denied in /survey.php on line 8
Warning: require(survey/classes/main.class.php) [function.require]: failed to open stream: Permission denied in /survey.php on line 8
Fatal error: require() [function.require]: Failed opening required 'survey/classes/main.class.php' (include_path='.:/usr/lib/php:/usr/local/lib/php')
And it has not been answered, addressed, or responded to.
I am having this error aswel, and I would very much like to enjoy this mod, and click installed. Please can you provide us with a solution to this error please. I have followed your instructions, (about 7 times now) and I have had no luck. I am running 3.6.8 and if this is just a permissions issue, please let me know.
Spike is here for about 4 mins every 2-3 months, he is obviously busy, perhaps pass this onto someone else, who can finish it off, and take it out of Beta Stage, and provide sufficient support for this awesome hack?
patch developer
12-05-2007, 05:01 AM
Actually i faced some trouble with this survey system and then i found a solution for it , the problem was writing permissions to the directories under survey directory , to solve this i change the access right to 755 except this file under smarty directory which called smarty.class.php you have to keep it as 644 to work fine
i translate the template defult into arabic as i could as it was possible and you can find this in attachments
thanks alot for the coder of this , this solution can help alot in researches
goorgoor
12-06-2007, 05:07 PM
i get this error:
Error: Cannot find file: ./survey/smarty/Smarty.class.php
David_McPherson
12-12-2007, 10:51 PM
I've looked through this thread for an answer to this question and my apologies if its been answered.
When I go to http://links.domain.com/forum/survey.php I get this:
WARNING: Cannot find default template path. Expecting: D:\\webpage\\links/survey/templates/Default
The location of the these templates for survey should be...
<rootweb>\links\FORUM\survey\templates\default... Or something like that.
On line 7 of the survey.php it has:
require("./global.php");
this that determines the location.. Or am I wrong? Its just not pointing to the right place.
klaush
12-17-2007, 10:14 AM
I never got this stuff to work with 3.5.x, but this is working fine with 3.6.8. Thank you for the amazing job on this mod!
Did anybody translate this mod in the German language?
David_McPherson
12-18-2007, 07:02 PM
I'm on 3.6.3 and still nothing. Same problem as above.
I am using 3.6.8, no problems...This is a great product! One question, can you update/edit a previously completed survey? I am trying to get people to post time of various events as they go through a process. But if not, I think I have to break my 25 question survey down into steps in the process.
Also, anyone know what is up with support? It looks like Spikeman has not been around in a long time. This is a great tool, its a shame if it just withers on the vine.
Thanks!
jpbryan
01-10-2008, 11:12 PM
Hey Spikeman,
Sorry if i sound a little dumb on this , but could you help me out here....i did everything as you said...but for the life of me cant figure out a way to access the survey on my site...i mean i installed the product (imported it into Admin CP) etc etc ...but how do i use the survey ?? I Cant see it on the site...
Cheers
He found it, but to save me I can't.. Help please...
jpbryan
01-11-2008, 12:13 AM
Hello,
I got in, I think, (see previous post) but I am getting this;
Warning: chmod(): Operation not permitted in /survey/smarty/Smarty.class.php on line 1454
I had to CHMOD to 777 the survey folder and all files...
What am I doing wrong?
Thanks...:confused:
Heika
02-06-2008, 06:46 PM
I just installed this survey software, and it is incredible. My only concern is whether it will be updated to work with 3.7.0...
SteveC
02-08-2008, 05:24 AM
Hey Spikeman,
Sorry if i sound a little dumb on this :(, but could you help me out here....i did everything as you said...but for the life of me cant figure out a way to access the survey on my site...i mean i installed the product (imported it into Admin CP) etc etc ...but how do i use the survey ?? I Cant see it on the site...
Cheers
well I can't figure it out. The instructions in one place say to go to admincp/vbsurvey_install.php but there's no files in the admincp folder in the download.
Could you please add some instructions to the main post along with the install instructions?
Can someone tell me how to get it to run?
Heika
02-08-2008, 05:58 AM
After you get it all installed, go to whatever your forum's name is, and then add /survey.php.
www.whateveryourforumiscalled.com/survey.php
From there, you can create whatever type of survey you would like. The mod has a really nice survey setup area, very versatile.
Heika
SteveC
02-08-2008, 01:05 PM
Thanks Heika. I had tried that, but all it does is bring up a screen to take or view sample surveys. Shouldn't there be a button or link within my forum to create surveys? And for users to take them once one is created?
I suspect there's some installation step that didn't happen. Was there supposed to be a file in the admincp folder in the download?
Bubble #5
02-13-2008, 07:06 AM
My only concern is whether it will be updated to work with 3.7.0...
Yes, is there any word on this? :confused:
Heika
02-13-2008, 07:27 AM
Thanks Heika. I had tried that, but all it does is bring up a screen to take or view sample surveys. Shouldn't there be a button or link within my forum to create surveys? And for users to take them once one is created?
I suspect there's some installation step that didn't happen. Was there supposed to be a file in the admincp folder in the download?
Hi Steve,
At the bottom of the screen, does it have a link text that says, "Create New Survey" and "Documentation"? If not, there is a problem with the installation or your permissions. Did you give admins permission to create a survey? You can find the screen to grant permissions under Vbulletin Options------> Survey System options. 5 and 6 are moderators and admins, unless you created special user groups. 2 is registered users for most groups, and that would give them permission to take the surveys you create.
The admincp folder in the installation package was empty for me, too.
Heika
Basit
03-04-2008, 05:10 AM
Thank you very much, it's working great on my site.
http://www.hallagulla.com/urdu/survey.php
Regards,
dilbert
03-20-2008, 02:11 PM
Thank you very much, it's working great on my site.
http://www.hallagulla.com/urdu/survey.php
Regards,
What version of vB are you using? I see you are using branding free, if you don't want to post it here, feel free to PM it to me.
Thanks
MDK-Indy
03-22-2008, 07:25 PM
I have got a problem with the survey. Its not showing the results afert I answered the questions. Dont know why :(
I have the same problem.
Can anyone help me?
greeting Indy
Defkalion
04-04-2008, 12:26 PM
Can anyone port this to work with v3.7 also? It is a very useful tool to ignore!
powerful_rogue
04-17-2008, 10:51 AM
The following dependencies were not met:
1. This product is not compatible with version 3.7.0 Release Candidate 2 of vBulletin. (Compatible starting with 3.6.0 / Incompatible with 3.6.99 and greater)
Thats such a shame. I really hope this will be updated to work with 3.7 as I could really do with this on my board.
powerful_rogue
04-17-2008, 10:55 AM
Ive just removed
<dependencies>
<dependency dependencytype="vbulletin" minversion="3.6.0" maxversion="3.6.99"></dependency>
</dependencies>
from the product file and it installs fine. Had a quick look and it seems to be working with no errors. Will give it a proper test later, however looks like it is compatable with 3.7 :)
oleg.bno
04-25-2008, 06:35 PM
Followed all instructions, in vbulletin options showed up as survey system options, all the options are good but nothing shows up on a forum..
How do I create s survey?
I have vBulletin v3.6.10 and vB Survey 3.6.3
Thanks
Defkalion
04-27-2008, 08:48 PM
Did you access the survey page? (yourforumname.com/forumdirectory/survey.php) ?
edytwinky
05-23-2008, 07:21 PM
Nice hack!
Heika
06-10-2008, 03:50 AM
I finally got around to upgrading to 3.7.1, and I am very happy to report that the survey works just fine for me, after I removed the dependency stuff from the product file as suggested by powerful rogue.
Very powerful.. excellent survey software.
pauldack
06-12-2008, 10:13 AM
Nice, jsut what I'm looking for but can't get it working.
Not sure what I'm doing wrong here. Uploaded survey.php to forum diretory, uploaded survey folder to forum directory and isntalled product, all ok. Whne I browse to forumname/survey.php I get error below when the path name it's expecting is actually the directoy above my forum?
WARNING: Cannot find default template path. Expecting:
Serched this thread and can't find any help. Appreciate any pointers.
mtbnj_guy
06-12-2008, 08:38 PM
Hi.
It tells me that I can't install on anything greater than 3.6.99. True?
If not, what is the magic :)
Thanks.
Tim
pauldack
06-13-2008, 10:36 AM
Ive just removed
dependencies>
<dependency dependencytype="vbulletin" minversion="3.6.0" maxversion="3.6.99"></dependency>
</dependencies>
from the product file and it installs fine. Had a quick look and it seems to be working with no errors. Will give it a proper test later, however looks like it is compatable with 3.7 :)
This worked (installation) for me aswell,
Greg-J
06-13-2008, 08:47 PM
Is there a way to require all users or users that are part of a specific usergroup to take a given survey? I'd like to make it to where my members cannot post until they take a survey that I state is a required survey.
PtitLu
06-19-2008, 10:01 AM
Which template should i edit to translate this mod ? Thanks for the job.
ze?ox
06-19-2008, 04:01 PM
Always I get this message:
Moved Temporarily
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, *** and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.8 (Debian) mod_fastcgi/2.4.6 Server at *** Port 80
Whats that?
PtitLu
06-20-2008, 10:53 AM
Which template should i edit to translate this mod ? Thanks for the job.Mod almost translated. I only need to know where to translate the "answers". If i modify the answers for one survey, the translation ain't saved for all the surveys.
Hanoifishing
06-24-2008, 08:21 AM
This hack is good for VBB 3.7.1 patch 2!
I've just installed it (with many many problems but then i was successful)
Thanks the owner of this topic!
You're very nice!
Hanoifishing
07-01-2008, 02:07 AM
Now I have to calculate the results of my survey follow formula.
Example: There are 20 questions in my survey with 4 options in each question: A, B, C, D
After users finished this survey, how do I show their results like this:
(number of option A) * 5 = ..... %A
(number of option B) * 5 = ..... %B
(number of option C) * 5 = ..... %C
(number of option D) * 5 = ..... %D
20 = 100%
Your percent of A-option (B,C,D) is highest so that .... (conclusion of survey)
Anyone can show me how to do it?
harley_m
07-02-2008, 08:22 AM
Just tried to install this on a 3.6.4 and it all went in okay - but when trying to run survey.php it just splurges the php code from input->clean_array_gpc('r', array(... onwards.
Any ideas why that would be?
Great Mod, really hoping I can get it sorted!
Harley
solidlink
07-29-2008, 08:35 PM
waiting for an update for 3.7 :)
rasheed
08-14-2008, 04:35 PM
I am looking for the access control settings? Are they in admincp as I don't see them in the Edit Survey options. Specifically, I am trying to make a public survey with all of the users groups having access, but I still get a login prompt when trying to answer the survey..are there related vb access that are needed that are conflicting with the add-in program?
Thanks.
Rasheed
solidlink
08-18-2008, 09:20 AM
Anyone using it on 3.7.2 ?
edytwinky
09-06-2008, 01:09 AM
Good stuff. Going to install it on my board.
Defkalion
09-06-2008, 04:15 PM
waiting for an update for 3.7 :)
Anyone using it on 3.7.2 ?
I'm using it on my 3.7 and it's working with no problems.
bhr4ce1
09-14-2008, 05:19 AM
Total novice here, but LOVE this program. Works perfectly for my needs.
Any idea why the survey will not show members names (did NOT make it anonymous) or give results in the csv exported files?
Thank you
leonnix
09-21-2008, 06:05 PM
Does it work with 3.7.3
PtitLu
09-22-2008, 08:28 AM
Does it work with 3.7.3Perfectly ;)
leonnix
09-22-2008, 03:06 PM
cool ! this will come into handy ! thx man !
biocyberman
09-29-2008, 11:17 AM
I managed to install this mod after a small tweak:
In file product-vbsurvey.xml, I had to change this line:
<dependency dependencytype="vbulletin" minversion="3.6.0" maxversion="3.6.99"></dependency>
to this:
<dependency dependencytype="vbulletin" minversion="3.6.0" maxversion="3.8.3"></dependency>
The 3.8.3 is just a trick to bypass version checking.
Things work great. But can anybody access security level of this mod when we install to vb 3.7? This mod uses smarty templating system. Do I need to add CSRF protection?
moonclamp
10-02-2008, 07:58 PM
I've just installed on 3.7.2 and can't do anything.
Set the permissions, but clicking on any of the default the links just refreshes the page.
eternal_
10-11-2008, 03:11 PM
I just downloaded but haven't installed. I'm looking at the files first and noticed the AdminCP folder is empty. Is it supposed to be empty?
kiwivc
10-23-2008, 08:07 PM
Running 3.6.8 PL1 with this mod giving no problems until now. I'm wanting to add another usergroup to be able to Create Surveys. I've added the usergroup ID to: Usergroups allowed to create surveys however members from that particular usergroup (51) have no access to the Create New Survey link.
Usergroups allowed to create surveys: 6,9 (old) <-- works for usergroups 6 & 9
Usergroups allowed to create surveys: 6,9,51 (new) <---works ONLY for usergoups 6 & 9
I've also tried adding usergroup 51 to: Usergroups allowed to edit surveys & Usergroups allowed to administrate all surveys without any permission changes being obvious. Usergroup 51 is still unable to create a new survey. :confused:
EDIT: I worked out that the usergroup must be a primary usergroup or it won't work. Using 51 as anyone's secondary usergroup refused to work whereas using 51 as the same persons primary usergroup works perfectly.
Digma
12-10-2008, 10:36 AM
Allright this is weird. Just installed it for 3.7.3 and when running survey.php I get:
Error: Cannot find file: ./survey/smarty/Smarty.class.php
The file is there, everything is placed as it should be. Though this error. Tried solving it by changing the file it includes where it happens but to no effect.
Any ideas (oh and my forum is not placed directly at domain root but in a director like /forum)
solidlink
12-13-2008, 08:03 AM
waiting for someone to revise the version :(
DanTHEGREAT
12-13-2008, 12:49 PM
It doesn't work with vB 8................................................. ..............
jammiedodger546
12-15-2008, 10:29 PM
running smoothly on 3.8 rc1
Neutral Singh
01-26-2009, 10:02 AM
Is this working on 3.8.0 Gold?
biocyberman
02-02-2009, 07:07 AM
Is this mod abandoned? I hope somebody will make it to stable and working with vb3.8
AyeCapn
02-12-2009, 12:29 PM
I managed to install this mod after a small tweak:
In file product-vbsurvey.xml, I had to change this line:
<dependency dependencytype="vbulletin" minversion="3.6.0" maxversion="3.6.99"></dependency>
to this:
<dependency dependencytype="vbulletin" minversion="3.6.0" maxversion="3.8.3"></dependency>
The 3.8.3 is just a trick to bypass version checking.
Things work great. But can anybody access security level of this mod when we install to vb 3.7? This mod uses smarty templating system. Do I need to add CSRF protection?works great once I made this change. It's no survey monkey, but I really like it.
kiwivc
02-12-2009, 03:29 PM
I've used this mod on 3.6.8 for ages with no problem. I reinstalled this same mod on a new server and I can't get it to show the results in table view. The results of any questionnaire/survey shows the answers as a graphic result however the table view result appears empty. I've uninstalled/reinstalled twice with the same outcome. Any help would be appreciated thanks :)
Solved: uninstalled
Matt_Crawford
04-07-2009, 05:50 PM
Any updates on releasing this for 3.8 - or has anyone else run it?
AyeCapn
04-07-2009, 08:17 PM
see my previous post - about 2 posts up :)
Runs fine on 3.8.2
http://pollsuk.com/forum
Board is new unfinished btw.
Trying to get itto work on vBadvanced CMPS v3.2.0 without success so fatr
Spikeman
05-27-2009, 09:11 AM
There is a 3.8.2 version in 3.8 mod section ;)
vitrag24
06-07-2009, 05:01 AM
will this work for vb 3.7.1?
demo?
Elenna
06-07-2009, 11:57 PM
It worked on my 3.7.2, so I would imagine so.
ludachris
06-26-2009, 04:19 PM
Anyone have conflicts with this hack when using vbGallery? We're getting errors a the top of the survey.php page:
Notice: Use of undefined constant PP_SCRIPT - assumed 'PP_SCRIPT' in /home/site/public_html/forums/includes/functions_gallery_store.php on line 47
Notice: Undefined variable: phrasegroups in /home/site/public_html/forums/includes/functions_gallery_store.php on line 72
Notice: Undefined variable: specialtemplates in /home/site/public_html/forums/includes/functions_gallery_store.php on line 77
Notice: Undefined index: HTTPS in /home/site/public_html/forums/includes/class_core.php on line 1575
Notice: Undefined index: HTTPS in /home/site/public_html/forums/includes/class_core.php on line 1575
Notice: Undefined index: HTTP_REFERER in /home/site/public_html/forums/includes/class_core.php on line 1602
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/site/public_html/forums/includes/functions_gallery_store.php:47) in /survey/classes/main.class.php on line 32
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/site/public_html/forums/includes/functions_gallery_store.php:47) in /survey/classes/main.class.php on line 32
vizitor
10-13-2009, 08:34 AM
Hi,
I've a problem with the layout. I attached a screenshot where you can see what I'm talking about (red marker) ;).
I bet this can be fixed fast but I don't find the solution ;).
BucWiLd
10-15-2009, 09:38 PM
any one know if this works on 3.8.4? im looking for a survey system
edit: works great
istvan
12-03-2009, 02:49 PM
I've used this mod on 3.6.8 for ages with no problem. I reinstalled this same mod on a new server and I can't get it to show the results in table view. The results of any questionnaire/survey shows the answers as a graphic result however the table view result appears empty. I've uninstalled/reinstalled twice with the same outcome. Any help would be appreciated thanks :)
Solved: uninstalled
i got this same problem anyone who might know how to fix this?
Export to CSV is also empty
hoangminh
12-22-2009, 01:19 AM
i got this same problem anyone who might know how to fix this?
Export to CSV is also empty
I've used this mod on 3.6.8 for ages with no problem. I reinstalled this same mod on a new server and I can't get it to show the results in table view. The results of any questionnaire/survey shows the answers as a graphic result however the table view result appears empty. I've uninstalled/reinstalled twice with the same outcome. Any help would be appreciated thanks :)
Solved: uninstalled
Hi, I have same problem. anyone can fix this?
fulviods
06-19-2010, 03:12 PM
vb 4 ??
veritygill
07-08-2010, 05:59 PM
How do I install the product-survey.xml file?
mawby
11-05-2010, 05:47 PM
VB 4.0 Capable?It is, but you need to change the template and the survey.php file. I've had this installed on my site since vB3.5 and have managed to keep it going all this time. I could try and port this to vB4 if there is enough demand for it. (And with the owners permission)
jcard
12-02-2010, 04:15 PM
It is, but you need to change the template and the survey.php file. I've had this installed on my site since vB3.5 and have managed to keep it going all this time. I could try and port this to vB4 if there is enough demand for it. (And with the owners permission)
Hi Mawby
Could you provide more details on what exactly you changed in "the template and the survey.php file" to make it work with 4.0??
Or if you have it ported to vB4?
Thank you so much in advance!
JC
mawby
12-06-2010, 09:21 AM
Hi. This is the contents of my vbsurvey template...
{vb:stylevar htmldoctype}
<html xmlns="http://www.w3.org/1999/xhtml" dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html">
<head>
<title>{vb:raw vboptions.bbtitle} - {vb:raw pagetitle}</title>
{vb:raw headinclude}
{vb:raw headinclude_bottom}
</head>
<body>
{vb:raw header}
{vb:raw navbar}
<div id="pagetitle">
<h1>{vb:raw pagetitle}</h1>
</div>
{vb:raw body}
{vb:raw footer}
</body>
</html>
And attached is my survey.php file.
Hope it helps.
jcard
12-06-2010, 02:21 PM
Thank you mawby, that's excellent. I'll set aside some time to try this out. Appreciate your reply greatly!
JC
brianb825
10-16-2011, 11:56 PM
any updates on a vb v4.1 + compat version of this mod?
HMBeaty
10-17-2011, 12:02 AM
any updates on a vb v4.1 + compat version of this mod?
Read the posts above yours.....
brianb825
05-04-2012, 06:23 PM
i was more of referring to the functionality of the modification. Many of the features do not work i.e. results, exporting, etc... not to mention styling issues
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.