vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Major Additions - vB Survey: Add a full-featured survey tool to your forum (https://vborg.vbsupport.ru/showthread.php?t=212244)

bestword 09-25-2010 06:41 AM

would it have a 4.x version?

Manoel J?nior 09-25-2010 09:39 PM

Other DEMO?

Bergler 09-29-2010 11:03 PM

Anyone want to convert this to 4.0.X?

Bergler 10-04-2010 02:49 PM

Maybe those who are also interested, we could get together split the cost and get someone to convert it to 4.X.X. for us?

Eric 10-05-2010 01:37 PM

Well,

Quote:

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)
Which would mean this port is also under the Aferro GPL, so someone could update & release for vB 4 if they so choose.

Bergler 10-11-2010 06:25 AM

Quote:

Originally Posted by SecondV (Post 2107056)
Well,



Which would mean this port is also under the Aferro GPL, so someone could update & release for vB 4 if they so choose.

Anyone? Anyone. :)

begin 10-13-2010 09:21 AM

looking this for 4+ , anyone help me ?

jcard 10-25-2010 09:47 PM

bummer - not compatible with 4.x - thought my needs were answered, and than dashed....

bestword 10-27-2010 01:29 AM

it can run under 4.x,but can't view result as table or Export Results to CSV(you will get a empty table or file)

to let it show in 4.x and do not report template error,you can do this change:

edit survey.php

find:

Code:

$navbits = construct_navbits($navbits);
eval('$navbar = "' . fetch_template('navbar') . '";');
eval('print_output("' . fetch_template('vbsurvey') . '");');

replace them to:

Code:

$navbar = render_navbar_template(construct_navbits($navbits));
$templater = vB_Template::create('vbsurvey');
    $templater->register_page_templates();
    $templater->register('navbar', $navbar);
    $templater->register('body', $body);
print_output($templater->render());


DonLKSAB 11-01-2010 01:33 PM

Quote:

Originally Posted by socalsoccer (Post 1824482)
Thanks Spikeman. To be more detailed I get this error The requested URL /forum/display_answers.php was not found on this server. when I click on values.

Did anyone solve this?
I have exactly the same problem :-(

Bergler 02-27-2011 05:25 PM

Is anyone willing to covert this to 4.1.2? I would be will to pay someone, I really need this option. :)

Bergler 03-02-2011 10:09 PM

Quote:

Originally Posted by Bergler (Post 2167596)
Is anyone willing to covert this to 4.1.2? I would be will to pay someone, I really need this option. :)

Someone must be willing to convert to vb 4.1.2 for cash?

Lpspider 03-19-2011 08:56 AM

Is it possible to enable it so the admin can see results from users?

For my survey needs I ask users a handful of questions where I need to know there identities... suggestions appreciated.

Bergler 03-30-2011 05:25 AM

Is anyone willing to covert this to 4.1.2? I would be will to pay someone, I really need this option. :)

Sevo 04-29-2011 02:29 AM

when I put in www.myboards.com/survey.php I get this

Quote:

nput->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') . '");'); ?>


Any ideas what I have done wrong?

Lpspider 05-20-2011 04:09 AM

I'm having a problem. On page two some members cannot progress to the next page - it just refreshes the current one. Any idea what might cause this?

Spinball 06-20-2011 09:29 PM

Looks like there is no support for this mod.
But just in case...

I edited the results.tpl as the margin-left:25px; in there throws the table rows out of whack.
A very minor problem.

But then when I FTP'd the results.tpl up, I then get an error when trying to view results:
Quote:

Warning: chmod() [function.chmod]: Operation not permitted in [path]/survey/smarty/Smarty.class.php on line 1454

Warning: require_once(SMARTY_CORE_DIRcore.load_plugins.php) [function.require-once]: failed to open stream: No such file or directory in [path]/survey/smarty/templates_c/Default^results.tpl on line 3

Fatal error: require_once() [function.require]: Failed opening required 'SMARTY_CORE_DIRcore.load_plugins.php' (include_path='.:/usr/share/pear:/usr/share/php') in /home/sites/avforums/public_html/forums/survey/smarty/templates_c/Default^results.tpl on line 3
Please help!

Alfa1 06-20-2011 11:25 PM

Please port this to the CMS. The CMS is a much better place for surveys.

TheSpetsnaz 07-07-2011 03:27 AM

Hey does this work the current version of Vbulletin?
4.1.x or so?

bentwood 09-05-2011 03:54 PM

Quote:

Originally Posted by Alfa1 (Post 2210638)
Please port this to the CMS. The CMS is a much better place for surveys.

What do you mean that the CMS is a better place? Does the CMS have this capability?

Sorry but I am new to the product.

imedic 10-28-2011 07:10 AM

Quote:

Originally Posted by kushal (Post 1903229)
Survey working fine. Though when I try exporting the result in table or csv, the column headers do get exported but without the values.

Can you tell me why this would happen?

Quote:

Originally Posted by kushal (Post 1903508)
Replace GREATEST with COALESCE in classes/special_results.class (6 replaces)

And it solved the problem.


Man, you are the best! Many thanks.
Indeed results appear ONLY on your edit.

Spinball 03-02-2012 05:23 PM

I assume there is no support for this mod?
Had the survey system running for a long while.
Today I duplicated the default template and edited a .tpl template file in the new template set.
When I chose that set for a survey and tried to take it, all I get is a blank screen.
Any ideas?

Alfa1 03-03-2012 02:50 AM

Im afraid that this mod is unsupported.

Spinball 03-03-2012 08:05 AM

Quote:

Originally Posted by Alfa1 (Post 2305564)
Im afraid that this mod is unsupported.

Cool. I'll pay a coder to rewrite it, then.

Alfa1 03-03-2012 11:09 AM

Wouldn't it be easier to create a survey system within vbulletin, instead of bridging UCCASS?

Tru2Chevy 05-09-2012 08:40 PM

Just recently found this mod and installed it on my 3.8 board. Trying to setup a survey that any user who has the link can take, whether or not they are logged in. Has anyone else been successful in allowing unregistered users to access a survey?

In the ACP options I have the "Usergroups allowed to answer (take) surveys" option set to include #1, the Unregistered / Not Logged In usergroup, but when I log out and click the link for the survey I am just prompted to log in.

Any ideas?

- Justin

Simon Lloyd 05-10-2012 10:37 AM

I need a little help with this, it's installed fine and i have had users take my first survey, however clicking on results as table simply shows me the questions in columns i dont see any usernames....etc

I've read 90% of the posts in this thread but dont see anyone with this issue, any ideas?

advancedgamerz 08-06-2012 06:17 PM

do you have anything like this for 4.2

Ramsesx 11-08-2014 01:23 PM

Quote:

Originally Posted by Sevo (Post 2189875)
when I put in www.myboards.com/survey.php I get this





Any ideas what I have done wrong?

In survey.php replace in the first line:
Code:

<?
with
Code:

<?php

ozzy47 11-08-2014 01:28 PM

Quote:

Originally Posted by Ramsesx (Post 2521930)
In survey.php replace in the first line:
Code:

<?
with
Code:

<?php

You do realize you are replying to a post that is over three years old, and that member has not been on in over a year? :)

Spinball 11-08-2014 03:08 PM

Wow! My first thread update email from vb.org in years.


All times are GMT. The time now is 07:31 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
  • Page Generation 0.01401 seconds
  • Memory Usage 1,817KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_code_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (31)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete