vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vB Survey (UCCASS Survey app integration) (https://vborg.vbsupport.ru/showthread.php?t=82384)

dsboyce8624 06-05-2005 09:05 PM

Quote:

Originally Posted by tamarian
I just did that, for the first time :)

Thanks!

tamarian 06-14-2005 01:08 AM

vB Survey has now been ported to vB 3.5 beta 1
https://vborg.vbsupport.ru/showthread.php?t=83038

subnet_rx 07-13-2005 04:34 AM

anyone that has tried this and vBSurvey 1.0? I'm looking for something that is viewable by guests, but they can't vote.

tamarian 07-13-2005 09:40 AM

Quote:

Originally Posted by subnet_rx
anyone that has tried this and vBSurvey 1.0? I'm looking for something that is viewable by guests, but they can't vote.

What part do you want viewable by guests? The list of surveys can be viewd by guests. But the actualy survey questions canot be viewd, since that will start entry/answer mode.

subnet_rx 07-13-2005 03:35 PM

Can the results and comments be viewed?

Also, how this different from Zero Tolerance's vbSurvey 1.0? I'm sure that's a question that many people would like to know that look through both survey mods.

tamarian 07-13-2005 04:35 PM

Quote:

Originally Posted by subnet_rx
Can the results and comments be viewed?

Not currently, as I didn't think of that. But should be easy to add this ability.

Quote:

Also, how this different from Zero Tolerance's vbSurvey 1.0? I'm sure that's a question that many people would like to know that look through both survey mods.
This is the first time I heard of this :) I just took a look, and sure enough it's there, and he used the name before I did. I have not used his version, so I'm not sure about the differences.

subnet_rx 07-13-2005 10:58 PM

yes, I'm using his system now, because when I searched, it's the only result that was a vB Survey mod at the time. I'd like for guests to be able to view the results so that these surveys could be indexed.

tamarian 07-13-2005 11:07 PM

Quote:

Originally Posted by subnet_rx
yes, I'm using his system now, because when I searched, it's the only result that was a vB Survey mod at the time. I'd like for guests to be able to view the results so that these surveys could be indexed.

Could you elaborate on what you want, in as much details as possible.

The surveys are indexed, they are listed by title for all to see. Some surveys can be set as hidden, and some as anonymous. Do you really mean guets, as in unsubscribed members, or do you mean you want members to see the results of the survey?

subnet_rx 07-14-2005 03:30 AM

hmm, if they are indexed, and can have properties like you say, then I think this is worth a download instead of talking more about it. Thanks for your help, clicking install.

subnet_rx 07-16-2005 05:05 AM

Another question, what's the version of the UCCASS script included in the mod?

tamarian 07-16-2005 07:22 AM

Quote:

Originally Posted by subnet_rx
Another question, what's the version of the UCCASS script included in the mod?

1.8.0 plus some of 1.8.1. I didn't put in all of the 1.8.1 since it won't work on MySQL less than 4.

Tradjick 07-25-2005 05:37 PM

This is an incredibly useful hack! Thanks a million :)))

chrisu 08-08-2005 04:37 PM

I guess this is only in english, and no language support available? Didn't find any front-end phrases in language manager...

/chris

tamarian 08-08-2005 05:20 PM

Quote:

Originally Posted by chrisu
I guess this is only in english, and no language support available? Didn't find any front-end phrases in language manager...

No, not yet :) However, you can edite the templates in the template directory.

tomshawk 08-09-2005 11:40 PM

Anybody know why I would be getting this

Error: Cannot find file: ./survey/ADOdb/adodb.inc.php

when running survey.php
http://www.golfinforums.com/forums/survey.php

the 2 require statements in survey.php

Code:

require("./global.php");
require('./survey/classes/main.class.php');

any help would be appriciated

tamarian 08-10-2005 07:24 AM

Quote:

Originally Posted by tomshawk
Anybody know why I would be getting this

Error: Cannot find file: ./survey/ADOdb/adodb.inc.php

Have you uploaded the entire content of the zip file in the exact directory structure? And did you set the file permissions and ownership?

tomshawk 08-10-2005 12:38 PM

Quote:

Originally Posted by tamarian
Have you uploaded the entire content of the zip file in the exact directory structure? And did you set the file permissions and ownership?

Yes I did, and for some reason, I logged in today and its working.

wierd, but Thanks for the quick response ;)

zkilzz 08-10-2005 04:04 PM

I have now installed this and made a survey. But everyone has acces to edit the survey? I cannot find any admin options for rhis nor to happend.

Neither any were i can type how many times they can answer it etc...
Please help me out... :disappointed:

tamarian 08-10-2005 04:15 PM

Quote:

Originally Posted by zkilzz
I have now installed this and made a survey. But everyone has acces to edit the survey? I cannot find any admin options for rhis nor to happend.

Neither any were i can type how many times they can answer it etc...
Please help me out... :disappointed:

The edit permissions are set for usergroups in vBulletin options -> vB Survey.

Users can only fill the survey once.

eljeffe 08-22-2005 08:44 PM

I installed this hack and ran the install process. Everything seemed to install just fine. Went to run the hack at http://www.mydoman.com/forums/survey.php and the browser just hangs.

Any ideas?

tamarian 08-22-2005 09:00 PM

Quote:

Originally Posted by eljeffe
I installed this hack and ran the install process. Everything seemed to install just fine. Went to run the hack at http://www.mydoman.com/forums/survey.php and the browser just hangs.

Any ideas?

You have posted this twice, in the 3.0 version, and the 3.5 version, so I don't know which hack you installed.

Second, the link you posted shows that the file was not there, so you may not have uploaded it, or uploaded it to the wrong location.

eljeffe 08-22-2005 10:13 PM

Quote:

Originally Posted by tamarian
You have posted this twice, in the 3.0 version, and the 3.5 version, so I don't know which hack you installed.

Second, the link you posted shows that the file was not there, so you may not have uploaded it, or uploaded it to the wrong location.

Sorry, I accidently posted in the 3.5 forum. I thought I deleted it.

Anyway it's the 3.0 version (1.5 vBSurvey).

The URL is just an example. I'll PM you the URL when I get it reinstalled again.

eljeffe 08-26-2005 03:25 AM

Quote:

Originally Posted by eljeffe
Sorry, I accidently posted in the 3.5 forum. I thought I deleted it.

Anyway it's the 3.0 version (1.5 vBSurvey).

The URL is just an example. I'll PM you the URL when I get it reinstalled again.

I got it to work. For some reason, it doesn't like running on a NFS mounted volume. Every time I tried to access the survey.php file, it would hang at the first function call and create a .nfs<string of 9 numbers> file in the template/Default directory. I've got no idea why, but that is the behavior that is being exhibited.

The work around was to create the survey directory on the local disk and create a symbolic link to that directory in the /home/www/mydomain.com/forums directory.

I've created my first survey and it works great.

A couple questions:

1. Is there a modification or hack to the survey that will make Multiple Choice Single Selection into a dropdown listbox instead of a bunch of radio select buttons?

2. I'd like to only display the "Edit Survey" box only when a user has the permissions to do so. Have you got anything to do that?

Thanks. Works great -- very flexible, very powerful!!!

tamarian 08-26-2005 11:57 AM

Quote:

Originally Posted by eljeffe
I got it to work. For some reason, it doesn't like running on a NFS mounted volume. Every time I tried to access the survey.php file, it would hang at the first function call and create a .nfs<string of 9 numbers> file in the template/Default directory. I've got no idea why, but that is the behavior that is being exhibited.

The work around was to create the survey directory on the local disk and create a symbolic link to that directory in the /home/www/mydomain.com/forums directory.

Glad you got it to work :)

Quote:

1. Is there a modification or hack to the survey that will make Multiple Choice Single Selection into a dropdown listbox instead of a bunch of radio select buttons?
It's already available. Just edit the multiple choice question, change it from vertical to dropdown, then it will become a select box allowing multiple picks.

Quote:

2. I'd like to only display the "Edit Survey" box only when a user has the permissions to do so. Have you got anything to do that?
I've overlooked this, but it does make sense. Download the new zip file, and just upload 2 files:
1. survey/templates/Default/available_surveys.tpl
2. survey/classes/survey.class.php

eljeffe 08-26-2005 02:53 PM

Quote:

Originally Posted by tamarian
Glad you got it to work :)



It's already available. Just edit the multiple choice question, change it from vertical to dropdown, then it will become a select box allowing multiple picks.



I've overlooked this, but it does make sense. Download the new zip file, and just upload 2 files:
1. survey/templates/Default/available_surveys.tpl
2. survey/classes/survey.class.php

You are DA-MAN!!!

Thanks.

BTW, I added the following to survey.php to keep people who didn't belong in the survey page in the first place completely out:

Find:

PHP Code:

require("./global.php");
require(
'survey/classes/main.class.php'); 

Paste After:

PHP Code:

// enabled check
        
if (!$vboptions['enablememberlist'])
        {
                eval(
print_standard_error('error_nomemberlist'));
        }

// permissions check
        
if (!($permissions['forumpermissions'] & CANVIEW) OR !($permissions['genericpermissions'] & CANVIEWMEMBERS))
        {
                
print_no_permission();
        } 


pachitalk 09-02-2005 03:40 PM

Looking forward to using this! Installed fine, changed the survey folder to 744 and all subfolders. Did the Admincp changes. Using vb 3.07

Getting Warning: main(survey/classes/main.class.php): failed to open stream: Permission denied in /survey.php on line 8

Line 8 is require('survey/classes/main.class.php'); CHMOD is 744

What am I missing?

Did I delete my install file too soon?

tamarian 09-02-2005 03:45 PM

Quote:

Originally Posted by pachitalk
Looking forward to using this! Installed fine, changed the survey folder to 744 and all subfolders. Did the Admincp changes. Using vb 3.07

Getting Warning: main(survey/classes/main.class.php): failed to open stream: Permission denied in /survey.php on line 8

Line 8 is require('survey/classes/main.class.php'); CHMOD is 744

What am I missing?

Did I delete my install file too soon?

For this error, no need to re-install, just check the ownership on the directories.

pachitalk 09-02-2005 03:51 PM

Thanks for the quick reply, is that setting through my FTP program?

tamarian 09-02-2005 03:59 PM

Quote:

Originally Posted by pachitalk
Thanks for the quick reply, is that setting through my FTP program?


I don't think so, I usually set it from the command line through SSH.

But to confirm that it's an ownership issue, chmod to 777, and see if it works. With FTP, make sure you give it enough time to recursively change all files and directories.

pachitalk 09-02-2005 04:10 PM

Okay, 777 allows it to work. So??? The 744 isn't sticking? Or is it's the SSH?

My parent folder "forums" is set to 755. Could that be interfering?

tamarian 09-02-2005 04:19 PM

Quote:

Originally Posted by pachitalk
Okay, 777 allows it to work. So??? The 744 isn't sticking? Or is it's the SSH?

My parent folder "forums" is set to 755. Could that be interfering?

No, the forums directory shouldn't be a problem. Since 777 works, and 744 doesn't, this means it's the group ownership issue. If you have telnet or SSH, login and change the ownership to the apache process, as mentioned in the first post.

pachitalk 09-02-2005 05:06 PM

Thanks for your help guys! That worked!

gregwatson 09-05-2005 07:30 PM

I've worked through most of the "fixes" already mentioned ...

However, I haven't seen this one - I am now down to the following error:

Fatal error: session_start(): Failed to initialize storage module: user (path: /tmp) in /home/bhm1264/public_html/forums/survey/classes/main.class.php on line 28

Any tips on what to look for here?

Thanks
GW

tamarian 09-05-2005 07:53 PM

Quote:

Originally Posted by gregwatson
I've worked through most of the "fixes" already mentioned ...

However, I haven't seen this one - I am now down to the following error:

Fatal error: session_start(): Failed to initialize storage module: user (path: /tmp) in /home/bhm1264/public_html/forums/survey/classes/main.class.php on line 28

Any tips on what to look for here?

Thanks
GW

It's PHP session issue. Check this fix:

http://forum.mamboserver.com/showthread.php?t=14198

gregwatson 09-05-2005 09:17 PM

Quote:

Originally Posted by tamarian
It's PHP session issue. Check this fix:

http://forum.mamboserver.com/showthread.php?t=14198

Any quick way a remote user with cpanel can check for this? I don't think I've ever seen anything about users vs files in a setting I have access to, either in through a control panel or file edit ...

Greg

subnet_rx 09-05-2005 09:35 PM

Quote:

Originally Posted by gregwatson
Any quick way a remote user with cpanel can check for this? I don't think I've ever seen anything about users vs files in a setting I have access to, either in through a control panel or file edit ...

Greg

I'm looking for a quick way to add choices to this system. I have it installed, but so far, have not used it since most of my surveys are more like elaborate polls. For instance, how could I add a list of restaurants to chose from or a list of Presidents? Right now, I have to add a category, the add all the choices, then set up the survey. I have very few questions in my surveys that use the default answer sets. Any solutions?

tamarian 09-05-2005 10:04 PM

Quote:

Originally Posted by gregwatson
Any quick way a remote user with cpanel can check for this? I don't think I've ever seen anything about users vs files in a setting I have access to, either in through a control panel or file edit ...

Yes, I should have been more specific :) That fix is php.ini which is the PHP config file. It's usually placed in /etc/php.ini

tamarian 09-05-2005 10:05 PM

Quote:

Originally Posted by subnet_rx
For instance, how could I add a list of restaurants to chose from or a list of Presidents? Right now, I have to add a category, the add all the choices, then set up the survey. I have very few questions in my surveys that use the default answer sets. Any solutions?

In UCCASS/vB Survey, you can easily create new answer types, where you can define the available answer choices.

gregwatson 09-06-2005 01:29 AM

Quote:

Originally Posted by tamarian
Yes, I should have been more specific :) That fix is php.ini which is the PHP config file. It's usually placed in /etc/php.ini

<grin> ... before I try this and bring down about 20 websites <grin> ... I don't have a php.ini file in that directory, so I assume that php.ini will essentially create a local override ...

Anyspecial formating other than a blank text file with the following command line in it?

-----php.ini--------------
php_value session.save_handler files
-------------------------

Greg

tamarian 09-06-2005 01:41 AM

Quote:

Originally Posted by gregwatson
<grin> ... before I try this and bring down about 20 websites <grin> ... I don't have a php.ini file in that directory, so I assume that php.ini will essentially create a local override ...

Anyspecial formating other than a blank text file with the following command line in it?

-----php.ini--------------
php_value session.save_handler files
-------------------------

No, there's a single php.ini file for your PHP server

You will find in it a line like this one:

session.save_handler = user

Change to this:

session.save_handler = files


All times are GMT. The time now is 04:19 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.01545 seconds
  • Memory Usage 1,850KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (27)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