vb.org Archive

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

Spikeman 10-22-2006 12:15 PM

Quote:

You should include a link to your test survey into one of your post
Make it font size 5 and bold and tell people to test because you are trying to port it to 3.6.2
This was already mentioned in my earlier posts.

Quote:

If I go to http://www.internetwatchers.co.uk/fo...?do=new_survey
I am required to register in order to see the survey
It was setup for guests until my last post to stop spammers inputting thier rubbish to the survey

Quote:

If you can't get the guest option to work why not create a test account on your forum for us
so that we can start testing untill you figured out how to allow guests as well to take the survey?
this has been enabled for guests again

Quote:

Ahh and did you get permission from "tamarian" to port this hack?
was not aware that I needed to get permission to get a hack to work, if i were indeed to release this as a new port I would ask tamarian and include all the necessary credits, to be fair i really do not care about the credit I just want to get it working, If there is a problem then I shall leave it, after all it works on my site ;)

Ok guests can now view and create survey url here
http://www.internetwatchers.co.uk/forums/survey.php

Datenpapst 10-22-2006 04:01 PM

hmm the example andinternetwatchers survey are the same? so tells me the site. hmm its not storing all of the answers and also does not show me every question.

Spikeman 10-22-2006 04:12 PM

Quote:

Originally Posted by Datenpapst
hmm the example andinternetwatchers survey are the same? so tells me the site. hmm its not storing all of the answers and also does not show me every question.

Yes those 2 surveys are the same, all i did was to create a new survey using an existing survey to test that function.

I could not replicate your other error, I get all the questions and can see the results after survey.

DS MrSinister 10-22-2006 07:11 PM

I hope i don't piss off anyone here!! No credit here.

You must have this install before upgrading to 3.6.X this is want is missing to make it work....Not sure if this a 100% fix good luck with it..

add new template called

Code:

vbsurvey
Code:

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<title>$vboptions[bbtitle] - $vbphrase[report_bad_post]</title>
$headinclude
</head>
<body>
$header
$navbar
$body
<div class="smallfont" align="center">
<BR />
      Powered by <a href="http://www.bigredspark.com/survey.html">UCCASS  1.8</a>. Copyright &copy; 2004 <a href="http://www.bigredspark.com/">John W. Holmes</a>, All Rights Reserved <!-- YOU MAY NOT REMOVE THIS COPYRIGHT NOTICE WITHOUT PERMISSION FROM THE UCCASS AUTHOR -->
</div>
$footer
</body>
</html>


Spikeman 10-22-2006 11:18 PM

Well that template is already installed on the installation, or it did on my install, it probably failed to install on your install, so there must have been a problem in the config somewhere.

StarBuG 10-23-2006 11:26 AM

It does not seem to work propaly

If I want to take a survey as a guest I get

"You have already completed the requested survey."

also guests should not be able to create new surveys.
Is this controlled via the permission system?

Spikeman 10-23-2006 03:01 PM

Quote:

Originally Posted by StarBuG
It does not seem to work propaly

If I want to take a survey as a guest I get

"You have already completed the requested survey."

Normally, you can only complete a survey once, the same as polls, but i did not think this applied to guests in this case, have you already taken the survey once on my site?

Quote:

Originally Posted by StarBuG
also guests should not be able to create new surveys.
Is this controlled via the permission system?

The only reason guests are allowed to create surveys on my site is so you guys can test it, i changed the perms to allow for the testing

4yBak 10-23-2006 04:38 PM

does this work correctly on vB 3.6.x ?

ChurchMedia 10-23-2006 06:22 PM

I finally got mine working on 3.6.1. I had this installed on 3.5, so if you try a fresh install on 3.6.x I think you will get some database errors. The install script needs to be re-written for 3.6.x.

To get it working I had to:

1) Upload the survey directory to the main forums directory
2) AND ALSO upload the survey directory to the /forums/include directory (that's where it was looking for the templates for some reason)
3) chmod both survey directories and everything in them to 744
4) chown both survey directories to nobody.nobody (might be apache.apache for some people)

And presto! It works great :)

StarBuG 10-23-2006 07:52 PM

Quote:

Originally Posted by Spikeman
Normally, you can only complete a survey once, the same as polls, but i did not think this applied to guests in this case, have you already taken the survey once on my site?

No I did not ;)

Spikeman 10-26-2006 06:05 PM

tamarian has given me his permission to release this as a 3.6.2 port, so as and when I have completed this I shall release it under the 3.6 mod section. I will post here when that has been done.

yes it will work on 3.6.2 if you hack this existing mod, but I believe it best if it can be ported and setup properly without any further changes to the code by users.

I do not know when I will finish and release this so please bear with me ;)

DarthCarl 10-27-2006 02:13 AM

I also get:

Code:

Database error in vBulletin 3.6.2:

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

Any thoughts?

Spikeman 10-27-2006 06:57 AM

It will not work on vB 3.6.2 at this time without modifications to the database, phrasetypeid amongst other fields were removed from vB 3.6 by vb.com. New install script is being rewritten.

DarthCarl 10-27-2006 03:02 PM

Quote:

Originally Posted by Spikeman
New install script is being rewritten.

Excellent... I installed the regular UCCASS Survey and I really like it. Thanks for working on the port.

hoangminh 10-30-2006 09:33 AM

Quote:

Originally Posted by Spikeman
It will not work on vB 3.6.2 at this time without modifications to the database, phrasetypeid amongst other fields were removed from vB 3.6 by vb.com. New install script is being rewritten.

SpikeMan, I'm waiting for your new script, every day.

One thousand Thanks message send to you

allanh 11-04-2006 03:54 AM

is there any update on this mod?

allanh 11-06-2006 07:52 AM

another bump.. truely hoping that a 3.6.2 version of this gread mod can be done...

Kihon Kata 11-14-2006 12:03 AM

BUMP! Me too! Anyone porting this to 3.6.3?

Spikeman 11-14-2006 02:43 AM

Update

I have almost finished the port to 3.6.3.

Complete:
1. vB Survey now installed through product manager
2. wol supported

Todo:
1.Permissions
2.SQL import

Should all be finished soon, its worth the wait ;)

hoangminh 11-14-2006 03:52 AM

Quote:

Originally Posted by Spikeman (Post 1116814)
Update

I have almost finished the port to 3.6.3.

Complete:
1. vB Survey now installed through product manager
2. wol supported

Todo:
1.Permissions
2.SQL import

Should all be finished soon, its worth the wait ;)

i'm very appriciate your works

Hope that it's soon released

Kihon Kata 11-14-2006 04:44 AM

Oh, that's great! waits for it

COBRAws 11-14-2006 04:48 AM

Quote:

Originally Posted by Spikeman (Post 1116814)
Update

I have almost finished the port to 3.6.3.

Complete:
1. vB Survey now installed through product manager
2. wol supported

Todo:
1.Permissions
2.SQL import

Should all be finished soon, its worth the wait ;)

Thanks for working on this :)

Spikeman 11-15-2006 03:32 PM

The port to 3.6.3 has been completed, you can all find it here https://vborg.vbsupport.ru/showthread.php?t=131650 please click install if you use.

TheBlackPoet 02-28-2007 07:15 AM

i installed this a few weeks or so ago... sorry it took so long to click install... i was so excited about it... you know how it is when you find a really great hack!!!!

good job......

Thomas P 04-21-2007 09:23 AM

Good work :)

Can I set Surveys so that I see the results who voted for what?

We want to use a survey for a online contest, so I need to determine who answered the questions correct...

Thanks

zkilzz 04-23-2007 04:44 PM

I have some problems with this mod. I had an old version installed before when i ran VB 3.0. I have tried to remove it manually by doing the stuff in the uninstall/install file.

But i always get the same error when i try to install the new one.

Anyways.. here is the error.

Database error in vBulletin 3.6.3:

Invalid SQL:

INSERT INTO setting
(varname, grouptitle, value, defaultvalue, datatype, optioncode, displayorder, advanced, volatile, validationcode, blacklist, product)
VALUES
(
'vb_survey_admin_groups',
'vbsurvey',
'6',
'5,6',
'free',
'',
10,
0,
1,
'',
0,
'vbsurvey'
),
(
'vb_survey_create_groups',
'vbsurvey',
'6',
'5,6',
'free',
'',
20,
0,
1,
'',
0,
'vbsurvey'
),
(
'vb_survey_take_groups',
'vbsurvey',
'2,6,10,11',
'5,6',
'free',
'',
30,
0,
1,
'',
0,
'vbsurvey'
),
(
'vb_survey_result_groups',
'vbsurvey',
'6,1,5',
'5,6',
'free',
'',
40,
0,
1,
'',
0,
'vbsurvey'
),
(
'vb_survey_edit_groups',
'vbsurvey',
'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 : Monday, April 23rd 2007 @ 07:29:55 PM
Script : http://www.bilforumet.no/admincp/plu...=productimport
Referrer : http://www.bilforumet.no/admincp/plu...?do=productadd

TotalTorque.net 05-11-2007 12:25 PM

Maybe I'm having a bad day, but...

The installation process was seamless. Smooth as anything.

I've set all the usergroup options and other bits in AdminCP as instructed.

Then I've gone to my Forum.

Where the heck do you gain access to the system to set up a new survey? I can see no links to it at all? Do I need a direct URL to specific location on my server for setting surveys up? I'm puzzled. And stuck.

TotalTorque.net 05-11-2007 12:41 PM

By the way, I have tried going to /survey.php via a URL suffixed onto my forum home, but all I get is a blank screen. No errors mind. I'm doing something wrong. Tell me I'm doing something wrong. :)

TotalTorque.net 05-14-2007 10:18 AM

Can anyone help with the above? I'd love to get this fantastic add-on working.

TotalTorque.net 05-16-2007 11:58 AM

*Bump* Please? Anyone?

TotalTorque.net 05-18-2007 04:33 PM

Ok, one last desperate *bump* and plea for help.

This installed seamlessly...but where the heck do you go to start a survey!! There are no links on my forum, and the link to survey.php simply returns a blank 'Done' page.

TotalTorque.net 05-23-2007 08:43 PM

Shame this, but as support appears to be zero, I'll uninstall.

Bro_Joey_Gowdy 07-31-2007 09:00 PM

Uninstalled and Reinstalled updated version here:
https://vborg.vbsupport.ru/showthread.php?t=131650

patch developer 12-05-2007 04:59 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

JADM 12-21-2007 03:35 AM

I am using Spikeman's version of this for 3.6.8... this should be an easy fix, I just don't know where to find it... When I load a survey, it says "Survey Questions" then underneath it says "class="thead">" (the first and close quotations are mine). What file do I edit to fix this? Thanks in advance!


All times are GMT. The time now is 11:28 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.01559 seconds
  • Memory Usage 1,834KB
  • 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
  • (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
  • (35)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