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)

tamarian 10-14-2005 02:07 AM

Quote:

Originally Posted by nailerpa
I'm not seeing a link to create a survey on my main page. I've given permissions to the appropriate groups. Is it possible to provide a screen shot as to what it looks like (i.e. the location on the page of the link)? Thanks!

It should be at the bottom of the page:

https://vborg.vbsupport.ru/attachmen...chmentid=27047

DrewM 10-15-2005 08:49 PM

Quote:

Originally Posted by tamarian
And you belong to the usergoup than can create surveys? Note this has to be a promary group, not secondary group.

I have checked (& doubly checked) this...The only thing I can find is that when I go to view my user, It shows me in no public groups, but when I go to add, it shows me in the groups (primary & sub) that I expected.

I set the VBSurvey groups to 2,5,6,7 on all sections, for testing...

Still no go...Any other ideas??

DrewM 10-15-2005 08:52 PM

I did notice that it mentions Template Changes are needed during the install...Was this done automatically, during the installation, or did it need to be done manually??

tamarian 10-15-2005 09:15 PM

Quote:

Originally Posted by Larrysw
I did notice that it mentions Template Changes are needed during the install...Was this done automatically, during the installation, or did it need to be done manually??

No template edits required. So you are logged in as admin, and your primary group is admin = 6, and you cannot see the create button shown in the screenshot?

nailerpa 10-15-2005 10:07 PM

Quote:

Originally Posted by Larrysw
I have checked (& doubly checked) this...The only thing I can find is that when I go to view my user, It shows me in no public groups, but when I go to add, it shows me in the groups (primary & sub) that I expected.

I set the VBSurvey groups to 2,5,6,7 on all sections, for testing...

Still no go...Any other ideas??

I'm still having the problem of the Create New Survey button not showing, too. I've double-checked to make sure all of the files were uploaded. They are. The install script seems to have run successfully. Anything else I should look for?

tamarian 10-15-2005 11:48 PM

So far no one has confirmed that they have logged in as an admin.

I have just uninstalled, downloaded the zip file, re-installed from scratch, and I can see the create link.

Not saying there isn't a problem, maybe there is, but without any details as to what steps you followed and what settings you have, and how you're logged in, I would not be able to reproduce the problem.

nailerpa 10-16-2005 12:29 AM

Quote:

Originally Posted by tamarian
So far no one has confirmed that they have logged in as an admin.

I have just uninstalled, downloaded the zip file, re-installed from scratch, and I can see the create link.

Not saying there isn't a problem, maybe there is, but without any details as to what steps you followed and what settings you have, and how you're logged in, I would not be able to reproduce the problem.

Oops...I was looking at the wrong page all along. I wasn't looking at survey.php. I was looking at my main page. Sorry for the inconvenience.

djmac 10-16-2005 07:58 AM

I love this hack.... Installed without a hitch. I hit a couple of CHMOD errors but it was nothing I couldn't fix. Great work! :cool:

subnet_rx 10-22-2005 08:20 PM

I have upgraded to 3.5 but erased all the old files from 3.x. I have installed this hack, but just get a blank page when I click on survey.php. The settings screen in AdminCP works fine. Should I use one of the installation/upgrade options in vbsurvey_install?

tamarian 10-22-2005 08:31 PM

Quote:

Originally Posted by subnet_rx
I have upgraded to 3.5 but erased all the old files from 3.x. I have installed this hack, but just get a blank page when I click on survey.php. The settings screen in AdminCP works fine. Should I use one of the installation/upgrade options in vbsurvey_install?

You have uploaded survey.php and the survey directory? Don't forget to re-do the chmod instructions, as the upload may alter the file permissions.

subnet_rx 10-22-2005 08:44 PM

the only chmod instructions I see are making survey.php 744, which I have done that. I also uploaded everything in the forum folder.

tamarian 10-22-2005 08:58 PM

Quote:

Originally Posted by subnet_rx
the only chmod instructions I see are making survey.php 744, which I have done that.

No, it's for the entire survey directory.

Quote:

* If you get permission errors, change file permissions for the survey directory and its contents to 744, and the owner/group to apache:apache (or, some servers are setup to nobody:nobody):

cd /path/to/main/forum
chown -R apache:apache survey
chmod -R 744 survey

subnet_rx 10-22-2005 09:14 PM

Still nothing. I couldn't execute the chown command, but this worked perfectly on 3.x without any of this. Default permissions on my server is 755 on folders and 644 for files.

Onimua 10-22-2005 09:33 PM

Not sure if it's been mentioned (large thread, bit too much reading for me), but for some reason isn't working with my sub-domain.

For example, I have the following: http://sub.domain.com/survey.php

However, when I click anything, it will suddenly switch to: http://www.domain.com/survey.php [or anything I click, like even: http://www.marchosis.com/survey.php?do=new_survey ]

For some reason it won't stay on the subdomain but switch to the domain itself. Did I do something wrong? :ermm:

tamarian 10-22-2005 09:57 PM

Quote:

Originally Posted by Onimua
Not sure if it's been mentioned (large thread, bit too much reading for me), but for some reason isn't working with my sub-domain.

For example, I have the following: http://sub.domain.com/survey.php

However, when I click anything, it will suddenly switch to: http://www.domain.com/survey.php [or anything I click, like even: http://www.marchosis.com/survey.php?do=new_survey ]

For some reason it won't stay on the subdomain but switch to the domain itself. Did I do something wrong? :ermm:

It was meant to run on your forum URL.

Onimua 10-22-2005 10:11 PM

Quote:

Originally Posted by tamarian
It was meant to run on your forum URL.

That's what I mean't. It's if I edit the URL manually (checked) fine, but the URL changes from my forum URL to my regular URL whenever I click something. It loses the subdomain part (and my forums are on my subdomain).

tamarian 10-22-2005 10:17 PM

Quote:

Originally Posted by Onimua
That's what I mean't. It's if I edit the URL manually (checked) fine, but the URL changes from my forum URL to my regular URL whenever I click something. It loses the subdomain part (and my forums are on my subdomain).

Check your vBulletin Options -> Site Name/URL and make sure your forum URL is using that subdomain.

Onimua 10-22-2005 11:26 PM

Quote:

Originally Posted by tamarian
Check your vBulletin Options -> Site Name/URL and make sure your forum URL is using that subdomain.

Thought it was correct when I installed it; oh well... works now, thanks. :)

Ozster 10-25-2005 07:31 AM

im told by our server admin that the permissions are automatically set to give me write permissions (windows server), when i go to survey.php and click any link it just refreshes

mikadit 10-25-2005 10:16 AM

This mod is quite interesting, a great work.
I have just a question about the unistaling part. If I'd like to unistall the mod, do I have to delete the new db tables and delete the uploaded files to go back to my original forum' set? Just it or something more?

- Edit ---------
Ok, founded by myself, by reading the code of the vbsurvey_install.php file, everything is automated by running the vbsurvey_install.php itself, install and unistall options are integrated in the same file. Clear and smooth.

secret1980 11-02-2005 05:01 AM

works good :) clicked install :D

is there a way such tht we can add our own options ?

tamarian 11-02-2005 03:46 PM

Quote:

Originally Posted by Ozster
im told by our server admin that the permissions are automatically set to give me write permissions (windows server), when i go to survey.php and click any link it just refreshes

The permission needs to be given to the apache server, not the user.

tamarian 11-02-2005 03:47 PM

Quote:

Originally Posted by secret1980
is there a way such tht we can add our own options ?

Not sure what you mean. Options for survey answers? Those can be easily created in the new/edit answers.

dilbert 11-09-2005 10:34 PM

The last time I looked at the survey section of my site it worked, today I updated to 3.5.1 and now my survey is a blank page.
Does this work with 3.5.1?
Here is my forum: http://www.bloodbanktalk.com/forum/survey.php - the survey page is listed in the links on the left under Forum Extras.
Here is a direct link to the survey page: http://www.bloodbanktalk.com/forum/survey.php.

tamarian 11-09-2005 10:59 PM

Quote:

Originally Posted by dilbert
The last time I looked at the survey section of my site it worked, today I updated to 3.5.1 and now my survey is a blank page.
Does this work with 3.5.1?
Here is my forum: http://www.bloodbanktalk.com/forum/survey.php - the survey page is listed in the links on the left under Forum Extras.
Here is a direct link to the survey page: http://www.bloodbanktalk.com/forum/survey.php.

vB Survey was done before the new vB product system. So an upgrade to 3.5.1 will overwrite the vbsurvey template. To fix this, just create a new vbsurvey template:
HTML 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
$footer
<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>
</body>
</html>

I'll add an XML product file to avoid this in the future.

dilbert 11-09-2005 11:13 PM

Wow, thanks for the quick reply.
Silly question, what do I name the template?

tamarian 11-09-2005 11:21 PM

vbsurvey :)

dilbert 11-09-2005 11:25 PM

That's what I thought it might be, and I tried that, but it gave me errors - http://www.bloodbanktalk.com/forum/survey.php?.

Is it supposed to be a custom template?

dilbert 11-09-2005 11:38 PM

Doh, nevermind, I re-uploaded the files when I fist had trouble and I never reset the folder permissions. It seems to be working fine now.

hoangminh 11-15-2005 07:25 PM

This version of UCCASS (1.8) does not support Unicode. But the 1.8.1 version does.

Would you please show me how to upgrade to this version ?

Thanks in advanced.

tamarian 11-16-2005 01:36 AM

Quote:

Originally Posted by hoangminh
This version of UCCASS (1.8) does not support Unicode. But the 1.8.1 version does.

Would you please show me how to upgrade to this version ?

There's no easy way of showing you how to upgrade, since this involves several code changes in several files. The problem with those changes is that it will render the survey not compatible with any MySQL prior to 4.x.

hoangminh 11-16-2005 03:49 AM

Quote:

Originally Posted by tamarian
There's no easy way of showing you how to upgrade, since this involves several code changes in several files. The problem with those changes is that it will render the survey not compatible with any MySQL prior to 4.x.

Oh, thanks for your quick reply. But I'm Vietnamese, so I have to use Unicode to show content. Everytime I try to submit Unicode character, it converts 2 times so the data display correctly.

For example, when I try to enter the value v? dụ, in database, it should store data as v&#237; d&#7909; , but the current Survey class file parse again the value v&#237; d&#7909; to v&amp;#237; d&amp;#7909; (means it convert & to &amp etc.) before save it to database show the data encoded twice.

Is there any way you could suggest me to solve this problem ?

Thanks in advanced

stutefc 11-16-2005 11:30 AM

Getting this error...any ideas.

Fatal error: Call to a member function on a non-object in /home2/irishlea/public_html/includes/config.php on line 170

tamarian 11-17-2005 02:53 AM

Quote:

Originally Posted by stutefc
Getting this error...any ideas.

Fatal error: Call to a member function on a non-object in /home2/irishlea/public_html/includes/config.php on line 170

You might have installed the wrong version? This one is for vB 3.5, there's another version for 3.0.x

tamarian 11-17-2005 02:54 AM

Quote:

Originally Posted by hoangminh
Oh, thanks for your quick reply. But I'm Vietnamese, so I have to use Unicode to show content. Everytime I try to submit Unicode character, it converts 2 times so the data display correctly.

For example, when I try to enter the value v? dụ, in database, it should store data as v&#237; d&#7909; , but the current Survey class file parse again the value v&#237; d&#7909; to v&amp;#237; d&amp;#7909; (means it convert & to &amp etc.) before save it to database show the data encoded twice.

Is there any way you could suggest me to solve this problem ?

Looks like it will require an upgrade to 1.8.1. I'll add this to my to-do list, but can't promise anything soon.

hoangminh 11-17-2005 02:57 AM

Quote:

Originally Posted by tamarian
Looks like it will require an upgrade to 1.8.1. I'll add this to my to-do list, but can't promise anything soon.

Thank a lot for your support,

I'm looking forward to your new release, again, thank you very much

hoangminh 11-21-2005 06:59 AM

Edit: my problem solved by edit code in survey.class.php.

Another question, How can I know that which member is participate in the survey and their answer, How to send member a PM his answers in the survey ?

Thanks in advanced

tamarian 11-21-2005 10:43 AM

Quote:

Originally Posted by hoangminh
Edit: my problem solved by edit code in survey.class.php.

Another question, How can I know that which member is participate in the survey and their answer, How to send member a PM his answers in the survey ?

You can click on view results as table to see how members voted, if the survey is not anonymous. But it does not send PM's to members.

dc3dreamer 11-22-2005 05:19 AM

Works fine here on vB 3.5.1, except I had to comment out a chown() call in Survey.class.php. Apache server. This is an awesome app, thanks very much for integrating into VB!!! I am amazed.

WNxWakko 12-10-2005 05:24 PM

I am getting this error at the top when I access the survey.php file.

Quote:

Notice: Undefined index: HTTP_REFERER in /*****/Forum/includes/class_core.php on line 1555

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /*****/Forum/includes/class_core.php:1555) in /survey/classes/main.class.php on line 28

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /*****/Forum/includes/class_core.php:1555) in /survey/classes/main.class.php on line 28


All times are GMT. The time now is 08:11 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.01574 seconds
  • Memory Usage 1,846KB
  • 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_html_printable
  • (22)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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