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)

BlackJacket 06-02-2009 02:51 AM

Quote:

Originally Posted by Spikeman (Post 1821727)
I have not tested it, however you will need to change the variables in survey.php to begin with and take it from there. If you need help on the changes let me know.

I need help with the changes, lol. :)

PM what you need. :) Thank you so much for your help. It is greatly appreciated!

Nadeemjp 06-02-2009 09:06 AM

Quote:

Originally Posted by Spikeman (Post 1821721)
Add this to your navbar template where you want it to appear

Code:

<!-- Survey -->
<td class="vbmenu_control"><a href="survey.php$session[sessionurl_q]" rel="nofollow">Survey</a></td>
<!-- / Survey -->


thank you very much for the help:)

Spikeman 06-02-2009 09:07 AM

Quote:

Originally Posted by NittoMOD (Post 1821763)
I need help with the changes, lol. :)

PM what you need. :) Thank you so much for your help. It is greatly appreciated!

PM sent

Spinball 06-03-2009 11:53 AM

Is it possible to embed the survey results within a post? Or below it?

Spikeman 06-03-2009 06:00 PM

Quote:

Originally Posted by Spinball (Post 1822689)
Is it possible to embed the survey results within a post? Or below it?


I am looking into making the results available within the ACP, also auto creation of thread when new surveys are posted allowing for a much greater control over permissions, users can then access the survey link from the thread with the inclusion of an invite system for greater control (for Example) invite 100, 200 random users to take survey over a specified time period.

These are just my thoughts, I have some code that is already done its just all a time factor ;)

Spinball 06-03-2009 06:58 PM

Interesting, thanks. I ask for a specific reason. We need to implement a survey to accompany a thread about a specific product. We need to display the survey results in that thread. When people take the survey they are first asked whether they own the product. If they do, then they take the next step which is 5 questions on what they think about the product, each a rating 1 to 5. Simple enough. The results of the ratings need to be displayed in the format of average scores (total scores divided by the number of responders) and a graphic score bar (as per your demo) for each question.

There are several products, each with their own thread and survey. All the surveys are roughly the same.

Can we do this - or will we soon - with this mod?
Thanks

Pottsy 06-03-2009 08:12 PM

Spikeman,

Thanks for a great mod - using the version for 3.6 on vb 3.7.2 with vbseo.

On the text results page, the next and previous buttons don't work - they give a 406 error. There were some random characters in the URL if, when removed, caused it to work. I changed results_text.tpl from:

PHP Code:

{section name="prev" loop=1 show=$button.previous}
  <
input type="submit" name="prev" value="&lt;&lt;&nbsp;Previous Page">&nbsp;
  {/
section}
                                        
  {
section name="next" loop=1 show=$button.next}
  <
input type="submit" name="next" value="Next Page&nbsp;&gt;&gt;">
  {/
section

to

PHP Code:

{section name="prev" loop=1 show=$button.previous}
  <
input type="submit" name="prev" value="Previous Page">&nbsp;
  {/
section}
                                        
  {
section name="next" loop=1 show=$button.next}
  <
input type="submit" name="next" value="Next Page">
  {/
section

And this seems to have fixed it.

socalsoccer 06-04-2009 04:10 AM

I get this error when trying to view the answers in edit mode The requested URL /forum/display_answers.php was not found on this server.

I noticed you admin directory you have for upload is empty. Could you please post the correct admin directory for upload.

thanks

andreamarucci 06-04-2009 11:30 AM

There's a problem with accented characters. If I insert a question using accented chars and save the question, all the question's text disappear. If I type, for example, perch? when I save the question, this text disappear, but if I type perche' everything works fine.

How can I fix this?

Spikeman 06-05-2009 07:12 AM

Quote:

Originally Posted by Spinball (Post 1822929)
Interesting, thanks. I ask for a specific reason. We need to implement a survey to accompany a thread about a specific product. We need to display the survey results in that thread. When people take the survey they are first asked whether they own the product. If they do, then they take the next step which is 5 questions on what they think about the product, each a rating 1 to 5. Simple enough. The results of the ratings need to be displayed in the format of average scores (total scores divided by the number of responders) and a graphic score bar (as per your demo) for each question.

There are several products, each with their own thread and survey. All the surveys are roughly the same.

Can we do this - or will we soon - with this mod?
Thanks

I am hoping to accomplish something along those lines, not sure I can give you a time frame for this but it has always been something that I wanted vBsurvey to do, so its up there on the list.

Quote:

Originally Posted by Pottsy (Post 1822959)
Spikeman,

Thanks for a great mod - using the version for 3.6 on vb 3.7.2 with vbseo.

On the text results page, the next and previous buttons don't work - they give a 406 error. There were some random characters in the URL if, when removed, caused it to work. I changed results_text.tpl from:

PHP Code:

{section name="prev" loop=1 show=$button.previous}
  <
input type="submit" name="prev" value="&lt;&lt;&nbsp;Previous Page">&nbsp;
  {/
section}
                                        
  {
section name="next" loop=1 show=$button.next}
  <
input type="submit" name="next" value="Next Page&nbsp;&gt;&gt;">
  {/
section

to

PHP Code:

{section name="prev" loop=1 show=$button.previous}
  <
input type="submit" name="prev" value="Previous Page">&nbsp;
  {/
section}
                                        
  {
section name="next" loop=1 show=$button.next}
  <
input type="submit" name="next" value="Next Page">
  {/
section

And this seems to have fixed it.

Corrected in next version

Quote:

Originally Posted by socalsoccer (Post 1823141)
I get this error when trying to view the answers in edit mode The requested URL /forum/display_answers.php was not found on this server.

I noticed you admin directory you have for upload is empty. Could you please post the correct admin directory for upload.

thanks

display_answers.php is not a file within vBsurvey, this was reported earlier and i am trying to get that fixed...

The admin directory, is empty it was originally in there for structure and I forgot to remove it, it will be used when I add the new features.

Quote:

Originally Posted by andreamarucci (Post 1823251)
There's a problem with accented characters. If I insert a question using accented chars and save the question, all the question's text disappear. If I type, for example, perch? when I save the question, this text disappear, but if I type perche' everything works fine.

How can I fix this?

I will take a look into this, and get back to you.

socalsoccer 06-06-2009 02:05 PM

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.

Webmaster961 06-14-2009 07:22 PM

I seem to have run into a problem while using this survey plugin. As of right now, the survey page is just a blank, white page. That's it; nothing else.

http://www.totalgamingnetwork.com/main/survey.php

I managed to create a survey just fine and had people take it. I came back this morning and the entire page is white. Last night the survey was also saying requested questions weren't answered on pages I had already successfully completed (sending me back to those pages from a later page).

Spinball 06-22-2009 07:43 AM

Hi, I sent you a PM asking whether you would do some enhancements sooner rather than later if I paid you. Can you let me know whether this is possible, please?

Spinball 06-27-2009 08:40 PM

1 Attachment(s)
Bit quiet round here.
FYI I managed to do it. Survey results in a post - see the attachment.
A request and a question.

Can we specify that once the survey is complete, we can redirect to a specific URL rather than the survey home or the results?

Also is there a way to display a thank you page once the survey is complete?
I used the None question type for now, but it displays in the answers, which is not ideal.

Thanks

Spinball 06-30-2009 08:15 AM

Quote:

Originally Posted by Spinball (Post 1838581)
Can we specify that once the survey is complete, we can redirect to a specific URL rather than the survey home or the results?

Found the answer to this myself. Edit the survey_survey table and enter the URL of the target page into the redirect_page field of the survey in question.
Needs to be in the Edit Survey Properties page though, otherwise if you try to save edits, there are problems.

Also the Limited HTML option doesn't seem to work for questions.

Spikeman 07-02-2009 10:50 AM

@spinball have PM you

Quote:

Also is there a way to display a thank you page once the survey is complete?
Yes this is doable, standard or maybe a customised option through ACP? To be added with redirect to show results?

Spikeman 07-02-2009 11:06 AM

Quote:

Originally Posted by Webmaster961 (Post 1829739)
I seem to have run into a problem while using this survey plugin. As of right now, the survey page is just a blank, white page. That's it; nothing else.

http://www.totalgamingnetwork.com/main/survey.php

I managed to create a survey just fine and had people take it. I came back this morning and the entire page is white. Last night the survey was also saying requested questions weren't answered on pages I had already successfully completed (sending me back to those pages from a later page).

Is this still an issue or is it now working?

Spinball 07-02-2009 01:55 PM

Quote:

Originally Posted by Spikeman (Post 1841336)
@spinball have PM you



Yes this is doable, standard or maybe a customised option through ACP? To be added with redirect to show results?

Actually you know, though we need a custom page facility for the redirect, I would still like to thank people before we get there. I am having to have a dedicated 'NONE' type question to display thanks to people before they hit the finish button. Kind of messes up the results.
I would like to have a general 'message' type question which does not get added to the results.

tandy 07-11-2009 06:47 AM

Quote:

Originally Posted by andreamarucci (Post 1823251)
There's a problem with accented characters. If I insert a question using accented chars and save the question, all the question's text disappear. If I type, for example, perch? when I save the question, this text disappear, but if I type perche' everything works fine.

How can I fix this?

I have the same problem, only with french characters like ?, ? and ?.

tandy 07-11-2009 04:57 PM

Quote:

Originally Posted by andreamarucci (Post 1823251)
There's a problem with accented characters. If I insert a question using accented chars and save the question, all the question's text disappear. If I type, for example, perch? when I save the question, this text disappear, but if I type perche' everything works fine.

How can I fix this?

I found the solution.
You have to edit "safestring.class.php" in the classes folder and change "utf-8" with "iso-8859-1" at lines 142 and 158.

joe1989 07-13-2009 05:45 PM

There is no vbsurvey_install.php in the admincp folder. In the readme included, it does not mention this file, but the readme contained in an html document within the uploads says there should be a vbsurvey_install.php file. This file is non-existent. I tried to install it thinking this file was no longer needed, but it doesn't work, so I assume that file is, in fact, needed. My VB Options window does have all the options, and I am able to configure the options, but then what? There's nothing else in admincp, and there is nothing on the forum pages, either. I'm guessing the .zip file is missing something...

Spinball 07-13-2009 05:58 PM

Quote:

Originally Posted by joe1989 (Post 1848230)
There is no vbsurvey_install.php in the admincp folder. In the readme included, it does not mention this file, but the readme contained in an html document within the uploads says there should be a vbsurvey_install.php file. This file is non-existent. I tried to install it thinking this file was no longer needed, but it doesn't work, so I assume that file is, in fact, needed. My VB Options window does have all the options, and I am able to configure the options, but then what? There's nothing else in admincp, and there is nothing on the forum pages, either. I'm guessing the .zip file is missing something...

Have you tried going to http://www.yourforum.com/forum/survey.php ?

tandy 07-20-2009 10:39 AM

1 Attachment(s)
For those who search for french default.
If you want to activate the Hidden survey feature, just leave a note.
Try at your own risk, its going well for vb 3.8.3
Attachment 102269

Kayden 08-19-2009 10:15 PM

There's nothing in the 'acp' folder?

Miras 08-20-2009 06:48 PM

hi,

installed as the instructions told, but getting this error:
Code:

WARNING: Cannot find default template path. Expecting: C:\Inetpub\wwwroot/survey/templates/Default
structure for the page is:
Code:

c
- inetpub
-- wwwroot
--- DNW
---- forum
----- survey

http://www.dieneuewelt.de/forum/survey.php

ZexTasy 10-04-2009 04:30 PM

Installed and working! Only thing is that usergroup settings only work on primary and not secondary usergroups which give some problems where I want user to be able to answer for one usergroup and someone has this usergroup as secondary ...

kushal 10-21-2009 02:52 PM

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?

kushal 10-22-2009 03:13 AM

Replace GREATEST with COALESCE in classes/special_results.class (6 replaces)

And it solved the problem.

Front Range 4x4 10-31-2009 05:00 PM

Quote:

Originally Posted by joe1989 (Post 1848230)
There is no vbsurvey_install.php in the admincp folder.

Quote:

Originally Posted by Kayden (Post 1870706)
There's nothing in the 'acp' folder?

Same here. :(

jonah1892 11-30-2009 07:39 AM

Quote:

Originally Posted by Webmaster961 (Post 1829739)
I seem to have run into a problem while using this survey plugin. As of right now, the survey page is just a blank, white page. That's it; nothing else.

http://www.totalgamingnetwork.com/main/survey.php

I managed to create a survey just fine and had people take it. I came back this morning and the entire page is white. Last night the survey was also saying requested questions weren't answered on pages I had already successfully completed (sending me back to those pages from a later page).

similar problem, installed the system but when i go to survey.php i get a white blank screen, did you manage to get yours fixed?

elz3abi M.D 12-06-2009 03:03 AM

How can I add new surveys?

Scalemotorcars 12-11-2009 07:59 PM

Works perfectly.

Only flaw Ive found is a little problem with the layout in the results page but since for my site only Admins see it then its really no big deal.

Thanks for this great site tool.

Nominated... :up:

Edit. Layout issue is in FF only IE and Google chrome look fine to me.

Bernd Glasstett 12-13-2009 07:59 PM

I am currently translating the tool into german, and I am pretty far.

However something came up: Whatever you do, of you insert an "Umlaut" i.e. the title won't be saved. That is a bug, which needs immediate attention, or else the translation I am doing is senseless.

xyzmary2001 12-14-2009 12:54 PM

I installed and have this problem...

1. In case I let survey on CHMOD on 755 I get this:

WARNING: Compiled template directory is not writable (./survey/smarty/templates_c). Please refer to the installation document for instructions.

2. In case I change to CHMOD 744, I get this:

Warning: require(survey/classes/main.class.php) [function.require]: failed to open stream: Permission denied in [path]/survey.php on line 8

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/share/php5:/usr/share/php') in /var/www/www.forum.com/htdocs/forum/survey.php on line 8


3. I must add that I cannot change the name of the user or of the group - I have no idea why, but I don't have access.


Thanks!

Scalemotorcars 12-15-2009 01:41 PM

Quote:

Originally Posted by xyzmary2001 (Post 1930467)
I installed and have this problem...

1. In case I let survey on CHMOD on 755 I get this:

WARNING: Compiled template directory is not writable (./survey/smarty/templates_c). Please refer to the installation document for instructions.

2. In case I change to CHMOD 744, I get this:

Warning: require(survey/classes/main.class.php) [function.require]: failed to open stream: Permission denied in [path]/survey.php on line 8

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/share/php5:/usr/share/php') in /var/www/www.anime-empire.ro/htdocs/forum/survey.php on line 8


3. I must add that I cannot change the name of the user or of the group - I have no idea why, but I don't have access.

Please, can someone help me with this.

Also, there is no .php file in the admin cp directory from the zip and have no idea how to set a new survey.

I find this mod very nice and helpful, it would be sad to have no chance to use it.

Thanks!


Why not set it to 777? I know it leaves it open but shouldn't that clear up this problem.

As for no .php file in the admincp. I had the same thing and installed it anyway. Works perfectly. I think that may be a left over folder from an earlier version.

xyzmary2001 12-18-2009 08:06 AM

Thank you so much. Indeed, this solves the issue, I don't know why I didn't think about it earlier.

Alfa1 12-20-2009 12:13 AM

I see this author has not been online for half a year. It would be great to have this ported to vb4 CMS.

Scalemotorcars 06-08-2010 11:42 PM

Ill 2nd that. It would be nice to have ported to 4.0.+

deadlySniper 06-13-2010 01:47 AM

Is there suppose to be anything in the admincp folder for this hack? I have nothing in it.

Bergler 09-19-2010 08:17 PM

Any chance of getting this to work with 4.0 ??


All times are GMT. The time now is 07:15 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.01944 seconds
  • Memory Usage 1,872KB
  • 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
  • (3)bbcode_code_printable
  • (4)bbcode_php_printable
  • (19)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
  • (40)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