![]() |
Quote:
Quote:
|
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? |
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') . '");'); ?> |
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 |
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.
|
somebody already translated this hack in French? :D
thx in advance... :D |
[QUOTE=Spikeman;1136474][QUOTE=nanaimobar;1136365]
Quote:
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 |
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. |
i saw also some bad viruses...
|
Where can I translate this sentence: "Required questions were not answered"
I have been looking everywhere, thats one downside about this hack: no phrases.... |
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 |
Quote:
Thanks |
anyone know if this works with 3.6.8 or if there is one that is compatible with 3.6.8?
|
I have seen several other posts with this error:
Quote:
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? |
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 |
i get this error:
Error: Cannot find file: ./survey/smarty/Smarty.class.php |
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: Quote:
<rootweb>\links\FORUM\survey\templates\default.. . Or something like that. On line 7 of the survey.php it has: Code:
require("./global.php"); |
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? |
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! |
Quote:
|
Hello,
I got in, I think, (see previous post) but I am getting this; Quote:
What am I doing wrong? Thanks...:confused: |
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...
|
Quote:
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? |
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 |
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? |
Quote:
|
Quote:
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 |
Thank you very much, it's working great on my site.
http://www.hallagulla.com/urdu/survey.php Regards, |
Quote:
Thanks |
Quote:
Can anyone help me? greeting Indy |
Can anyone port this to work with v3.7 also? It is a very useful tool to ignore!
|
Quote:
|
Ive just removed
Quote:
|
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 |
Did you access the survey page? (yourforumname.com/forumdirectory/survey.php) ?
|
Nice hack!
|
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. |
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. |
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 |
All times are GMT. The time now is 04:41 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|