![]() |
Instructions are incorrect:
In instructions above it says: * Copy survey.php to your main forum directory * Copy the survey directory into your forum directory (cannot change the directory name) In instructions with hack, it says: Copy survey.php to your main forum directory Copy the survey directory below your forum directory (cannot change the directory name) |
We get errors.
Warning: require(survey/classes/main.class.php) [function.require]: failed to open stream: Permission denied in [path]/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 /home/oursite/public_html/forum/survey.php on line 8 Installed as per VB instruction set not your txt version with download. |
how to limit the number of times a user can take a survey?
|
Quote:
Find this line in survey/classes/survey.class.php around line 129, comment these lines out. Code:
$check = $this->_CheckAccess($sid,TAKE_PRIV,"survey.php?sid=$sid"); |
Quote:
Quote:
2.ensure that you set the permissions correctly 3.some servers will be a pain!, try a 777 chmod on the survey folder and included directories and file 4. Also verify that all files were uploaded, this has happened before when files were missing and it throws an error, this is normally caused by the server and not user/admin. |
Will see what others say, and then give it another go. Many thanks for prompt response.
Watching :) |
Spikeman, just wanted to say 'nice job', adaptation to vB, working great on 3.8.2
I added the "custom url" redirect at survey end back in, it seems to be working fine after limited testing. To accomplish in "\survey\templates\Default\edit_survey_properties. tpl": Find: Code:
<input type="radio" name="redirect_page" value="results"{$data.redirect_results}> Survey Results Page <span class="example">(Results Access should be Public)</span><br /> Code:
<input type="radio" name="redirect_page" value="custom"{$data.redirect_custom}> Custom URL <span class="example">(If URL does not start with http:// or https://, it is assumed to be a relative URL from {$conf.html})</span><br /> Thanks! Rabbit |
how to sort results based on the total for each answer?
|
I downloaded it and there is no admin cp modual.
|
Quote:
Quote:
|
All times are GMT. The time now is 12:17 AM. |
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:
|