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 08-07-2005 10:29 PM

Quote:

Originally Posted by Drakah
I get this error when I click on the "Values" link.
".../forums/display_answers.php?sid=28
could not be found."

The "values" link opens a popup windows with a list of possible values of the answers. What was the actual link? It should link to the main survey.php page.

Quote:

Originally Posted by Drakah
The setting for when users complete the page, I clicked on the [?] and the document told me there is a place to put in your own URL as a thank-you page. Where is the field to add this?

It's one of the options when creating a survey.

Quote:

Also, I would like to figure out how to have a "If Statement" to display on the home page whether they have taken the survey or not. I am thinking of creating a survey graphic to display on my CMPS (vbadvanced) portal home page saying to take the survey, and when they do, it would disappear. Any ideas?
This will require a query each time the main page is loaded, so I wouldn't recommend it. But it isn't hard. The only problem is which survey you want to check. If you have only one survey, say #28, you can query it like this:

$TookSurvey = $DB_site->query_first("SELECT uid FROM " . TABLE_PREFIX . "vbsurvey_completed_surveys WHERE uid = $bbuserinfo[userid])

Drakah 08-07-2005 10:41 PM

Quote:

Originally Posted by tamarian
The "values" link opens a popup windows with a list of possible values of the answers. What was the actual link? It should link to the main survey.php page.

No it doesn't. Somehow it is looking for a display_answers.php file and not looking in the survey folder in any rate, and there is no such PHP file in the survey files, although there is a tpl file I think. The actual link pointed to my forum home directory and not the place where it needs to look. Seems like the only link that really didn't work for me.


Quote:

Originally Posted by tamarian
It's one of the options when creating a survey.

I don't see that option when creating or even in the edit survey area, as per screenshot. I looked in the TPL file and there is no reference to a field in making a URL as the redirect.



Thanks for your help :)

hydrostatic 08-08-2005 01:22 AM

Also, when you go to Edit Survey, the top of the page doesn't say anthing. It just says:

Code:

[Forum Name] - - Mozilla Firefox

TTG 08-08-2005 01:36 AM

All seemed to be working well until I installed the new 1.7 survey.php .. now I just get a blank page !?

tamarian 08-08-2005 11:58 AM

I don't see that option when creating or even in the edit survey area, as per screenshot. I looked in the TPL file and there is no reference to a field in making a URL as the redirect.[/QUOTE]

It's the "Completion Redirect Page" section in the survey properties. It has two choices, back to the main survey page, or to the results page.

Drakah 08-08-2005 12:00 PM

Quote:

Originally Posted by tamarian
It's the "Completion Redirect Page" section in the survey properties. It has two choices, back to the main survey page, or to the results page.

Right, but isn't there supposed to be 3 choices, 1 being a URL to enter instead?

tamarian 08-08-2005 12:04 PM

Quote:

Originally Posted by hydrostatic
Also, when you go to Edit Survey, the top of the page doesn't say anthing. It just says:

Code:

[Forum Name] - - Mozilla Firefox

This is true of all the pages :) I have not paid attention to the page titles. I'll take care of it on the next update. For now, you can edit the vbsurvey template, to get rid of the dash if you want, or make a generic title like "Survey".

tamarian 08-08-2005 12:06 PM

Quote:

Originally Posted by TTG
All seemed to be working well until I installed the new 1.7 survey.php .. now I just get a blank page !?

What do you mean? You were upgrading? From which survey version, and from which vB version to which vB version?

tamarian 08-08-2005 12:08 PM

Quote:

Originally Posted by Drakah
Right, but isn't there supposed to be 3 choices, 1 being a URL to enter instead?

You might be talking about the UCCASS survey? The integrated vB version is different than the original product, with added features and some removed features.

Drakah 08-08-2005 12:12 PM

OOOHHH thats why I thought there was a field and didn't see it LOL okay. Well, hmm... anyway of me hacking it to go to a custom template or page of some sort? Just thinking it would be nice to have it bring up a page just saying "Your survey has been completed, thank you! You are now being redirected to the forum home page".


All times are GMT. The time now is 10:37 PM.

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.01101 seconds
  • Memory Usage 1,745KB
  • 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
  • (2)bbcode_code_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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