Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vB Survey: Add a full-featured survey tool to your forum Details »»
vB Survey: Add a full-featured survey tool to your forum
Version: 1.9a, by Spikeman Spikeman is offline
Developer Last Online: Apr 2014 Show Printable Version Email this Page

Category: Major Additions - Version: 3.6.4 Rating:
Released: 11-14-2006 Last Update: Never Installs: 261
Uses Plugins Template Edits
Additional Files Is in Beta Stage  
No support by the author.

What this hack does:

This hack will add a full featured survey application system to your forum. You can survey your members opinions on various topics, or allow usergroups to create their own surveys.

Credits: John W. Holmes: Author of UCCASS Survey.
tamarian: Who originally made this a vB hack for vB 3.5

Application Features: See the UCCASS site for full details.

http://www.bigredspark.com/survey.html

The UCCASS offers some advanced features such as branching conditionals (allows hiding/displaying questions based on specific answers), result filtrations and much more.

Integration features:
Replaced authentication with VB's user database
Set permissions per usergroup, for admin/edit/create/take and view results priviliges.
Replaced config files with vB admin settings
Applied vB style to the UCCASS templates (it uses Smarty)

vB Survey added features: (some will be ported back to UCCASS)
Added anonymity option. If a survey is not anonymous, members can see how other members answered.
Added Hide/unhide survey option. This is useful to send surveys to specific users or usergroups.
Added Date answer types (D), with dropdown lists for day, month, year to ensure correct date entry.
Added REGEX control for new answer types, to control the answer format.
Added size control for single like text answers and REGEX answers.

Liscense: The original UCCASS Survey application is released under a modified GPL Liscense (Aferro GPL) : http://www.bigredspark.com/survey/license.txt (or look under the /docs directory in the zip file)

Installation difficulty:
2 mins, all done via product file.

Installation:

* Unpack the included file
* Copy survey.php to your main forum directory
* Copy the survey directory into your forum directory (cannot change the directory name)
* Install the Product-Survey.xml
* The product file will also install all data for the 2 default surveys to get you started.
* Go to AdminCP => vBulletin Options => Survey System Options - and set the options for access and other settings
* 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

Notes:

The "do not remove" comment on the copyright link in the footer is from the original UCCASS footer template. You may contact the original author, John W. Holmes, for permission to remove the copyright notice, he's willing to talk according to their support forum.

Please click Install if you have installed this mod.

I personally do not claim credit for this hack, however this is what I have done to port over to 3.6.3 :-

1. All tables, templates, phrases etc are installed via product file.
2. Support for wol has been added.
3. Some bugs fixed with the UCCASS system

This hack is for 3.6.3 not 3.5, the 3.5 version can be seen and downloaded here this will not upgrade the 3.5 version.

I did obtain the permission from tamarian to port this to 3.6.

This is my first big hack here so I would grateful if you did click Install if you use it. Remember you only get notified of updates if you Install

Demo Here :- http://www.internetwatchers.co.uk/forums/survey.php please note the Demo may have restrictions as it is a live board. You may or may not be able to test the survey as a guest, this will not affect your sites as generally why would you want guests taking a survey on your site, you would never get a true survey result, I have only enabled this on my board so as to get the ball rolling and you guys can see it. you should all be able to see results page though.

If you have the older 3.5 Hack installed you MUST uninstall that before installing 3.6.3

vB Survey for vB 3.0 version by tamarian
vB Survey for vB 3.5 version by tamarian

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #42  
Old 11-17-2006, 12:30 AM
Spikeman Spikeman is offline
 
Join Date: Aug 2006
Location: UK
Posts: 203
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by drdeathuk69 View Post
i have an admincp folder with nothing in it is that right?
I deliberatly left it in there so users would see the structure showing that folders needed to go into forum folder well that was the logic.

Dont forget to click install

Quote:
Originally Posted by hoangminh View Post
Thank you very much. I have waited for this for long time.

Love you!
Your welcome
Reply With Quote
  #43  
Old 11-17-2006, 12:52 AM
hoangminh hoangminh is offline
 
Join Date: Jan 2005
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi SpikeMan, after remove all previous version, I install this hack, no error occured, but when I click on Edit Survey, Create new survey, view result or Click on the link of existed survey, only that page refresh, no other page

I logged in as the super administrator (usergroup 6).

Can you help me ? Thanks a lot
Reply With Quote
  #44  
Old 11-17-2006, 12:59 AM
Spikeman Spikeman is offline
 
Join Date: Aug 2006
Location: UK
Posts: 203
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hoangminh View Post
Hi SpikeMan, after remove all previous version, I install this hack, no error occured, but when I click on Edit Survey, Create new survey, view result or Click on the link of existed survey, only that page refresh, no other page

I logged in as the super administrator (usergroup 6).

Can you help me ? Thanks a lot
How did you remove previous version? Did you uninstall using the original script? If not try this

1. Install previous version with install script
2. Uninstall previous version with install script
3. Delete Survey Folder and survey.php from server
4. Follow instructions for this version.

If it does not work after you have completed all above, pm me url and admin details and I will take a look for you.

If you did uninstall previous version with script pm details.
Reply With Quote
  #45  
Old 11-17-2006, 06:55 AM
StarBuG's Avatar
StarBuG StarBuG is offline
 
Join Date: Dec 2001
Location: Germany
Posts: 1,033
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What about using cookies for guests?
After a guest took the survey, place a cookie to stop him from doing the survey again?

I know this is easy to circumvent but better then guests not beeing able to take the survey

Would be great

StarBuG
Reply With Quote
  #46  
Old 11-17-2006, 09:54 AM
Datenpapst Datenpapst is offline
 
Join Date: Mar 2004
Location: Vienna
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes, the surveys are deleted.
Reply With Quote
  #47  
Old 11-17-2006, 09:55 AM
Datenpapst Datenpapst is offline
 
Join Date: Mar 2004
Location: Vienna
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Spikeman View Post
I have seen this before and will look into it, although you receive this message is the survey still deleted?
yes, the surveys are deleted.


Quote:
Originally Posted by Spikeman View Post
Have you tried to change the server permissions on the directory?
I gave the directory a 777 chmod permission.
Reply With Quote
  #48  
Old 11-17-2006, 04:46 PM
Spikeman Spikeman is offline
 
Join Date: Aug 2006
Location: UK
Posts: 203
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I know this may seem a little strange to you guys, but anyway, i have had 2 emails stating that there are 2 new posts here however, i cannot see them!! I have emailed vb.org and informed them of this, hopefully I will get an answer soon, and can reply to the posts.
Reply With Quote
  #49  
Old 11-17-2006, 05:13 PM
EasyTarget EasyTarget is offline
 
Join Date: Nov 2004
Posts: 660
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've been meaning to give this a try for a long time.. time to do it.

/me clicks install
Reply With Quote
  #50  
Old 11-18-2006, 03:41 AM
blogtorank's Avatar
blogtorank blogtorank is offline
 
Join Date: Jan 2006
Posts: 450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Spikeman View Post
How did you remove previous version? Did you uninstall using the original script? If not try this

1. Install previous version with install script
2. Uninstall previous version with install script
3. Delete Survey Folder and survey.php from server
4. Follow instructions for this version.

If it does not work after you have completed all above, pm me url and admin details and I will take a look for you.

If you did uninstall previous version with script pm details.
How can you install it if the install.php file is not correct for vb 3.6.3?

Columns don't match and etc... So there is no way around it I suppose but to modify the install file to make this new version you have here to work on a 3.6.3 version... I have tried everything and nothing is happening....

I wouldn't suggest sending no more people to the other thread unless this portion is fixed. Because the refresh issue is what I'm facing and I found your thread saying to install the OLD version of this survey script, well the area of this issue is below...

Just some old code that needs to be fixed in the vbsurvey_install.php file:

PHP Code:
    $db->query_write("REPLACE INTO " TABLE_PREFIX "phrase (phraseid, languageid, varname, text, phrasetypeid) VALUES (NULL, '0', '" $varname "', '" addslashes($text) ."', '$phrasetype')"); 
and:

PHP Code:
$db->query_write("REPLACE INTO " TABLE_PREFIX "phrase (phraseid, languageid, varname, text, phrasetypeid) VALUES (NULL, '0', '" $varname "', '" addslashes($text) ."', '$phrasetype')"); 

Just my thoughts.
Reply With Quote
  #51  
Old 11-18-2006, 07:22 AM
Spikeman Spikeman is offline
 
Join Date: Aug 2006
Location: UK
Posts: 203
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by blogtorank View Post
How can you install it if the install.php file is not correct for vb 3.6.3?

Columns don't match and etc... So there is no way around it I suppose but to modify the install file to make this new version you have here to work on a 3.6.3 version... I have tried everything and nothing is happening....

I wouldn't suggest sending no more people to the other thread unless this portion is fixed. Because the refresh issue is what I'm facing and I found your thread saying to install the OLD version of this survey script, well the area of this issue is below...

Just some old code that needs to be fixed in the vbsurvey_install.php file:

PHP Code:
    $db->query_write("REPLACE INTO " TABLE_PREFIX "phrase (phraseid, languageid, varname, text, phrasetypeid) VALUES (NULL, '0', '" $varname "', '" addslashes($text) ."', '$phrasetype')"); 
and:

PHP Code:
$db->query_write("REPLACE INTO " TABLE_PREFIX "phrase (phraseid, languageid, varname, text, phrasetypeid) VALUES (NULL, '0', '" $varname "', '" addslashes($text) ."', '$phrasetype')"); 

Just my thoughts.
The old code cannot be fixed to work on 3.6.3, that is why it was rewritten.

1.Do you host with yahoo? or another host that does not allow special characters on the server?
2.Check that all the files from the survey folder are on your server.
3.Have you set the permissions for the files?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01: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.06167 seconds
  • Memory Usage 2,346KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_php
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete