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-08-2005 12:20 PM

Quote:

Originally Posted by Drakah
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".

You can edit these lines in survey/classes/survey.class.php
PHP Code:

                    case 'index':
                    case 
'':
                        
$url $this->CONF['html'] . '/survey.php?$session[sessionurl]';
                    break;
                    case 
'results':
                        
$url $this->CONF['html'] . '/survey.php?$session[sessionurl]&do=results&sid=' $sid;
                    break; 

And replace with the page you want.

Drakah 08-08-2005 12:24 PM

Very cool, thank you so much!!

peterska2 08-19-2005 12:58 PM

Hiya, I've just installed and I am getting the following errors when I go to access myforums/survey.php

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

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

Fatal error: main(): Failed opening required 'survey/classes/main.class.php' (include_path='.:/php/includes') in /home/www/*******/survey.php on line 8

I have tried both versions 1.6 and 1.7 and have CHMod'ed my survey directory to both 744 and 777 with no joy on either.

My forums are on my site root ie mysite/index.php is my forums homepage.

tamarian 08-19-2005 01:01 PM

Quote:

Originally Posted by peterska2
I have tried both versions 1.6 and 1.7 and have CHMod'ed my survey directory to both 744 and 777 with no joy on either.

Was chmod, or chmod -R? Make sure you use -R as described in the first post.

peterska2 08-19-2005 01:08 PM

I'm doing it via FlashFXP so it has the option to set the chmod value and a check box for apply to all files and subfolders.

I'm just re-chmod'ing so bear with a min and I'll see if this fixes it.

[edit]

The chmod has now finished. I've set it to 777 again and now I have these messages.

Quote:

Missing file: /home/www/*****/survey/ADOdb/drivers/adodb-mysql.inc.php
ADONewConnection: Unable to load database driver ''


Fatal error: Call to a member function on a non-object in /home/www/******/survey/classes/main.class.php on line 165



tamarian 08-19-2005 01:19 PM

I'm not familiar with FlashFXP. Have you verified that the permissions and ownership have been correctly set in the sub directories?

peterska2 08-19-2005 01:25 PM

Found the problem. All the files hadn't uploaded properly. I'm reuploading then I'll report back. Might be some time though.

peterska2 08-19-2005 02:12 PM

Ok crakced it. It was the missing files so once they were uploaded I chmod'ed to 777 again and now I've got it up and running.

tamarian 08-19-2005 02:37 PM

Quote:

Originally Posted by peterska2
Ok crakced it. It was the missing files so once they were uploaded I chmod'ed to 777 again and now I've got it up and running.

Glad to hear it :)

Cheertobi 10-01-2005 09:19 PM

Hi,

does this work with 3.5 Gold?! Loved it on my 3.0.7 forum ;)

Regards,

Tobi


All times are GMT. The time now is 10: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.01260 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
  • (1)bbcode_php_printable
  • (4)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