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)

Lionel 06-04-2005 03:30 AM

I know this has nothing to do with your hack, but maybe you can help and give me some explanation or solution. When I try to run the install file from admincp, the page times out on first step and cannot be found...

OrangeFlea 06-04-2005 08:59 AM

Hey, everything is working almost perfectly. Only issue is that when I look at the results, the images come up as red x's. I checked and it seems to be looking for the survey folder from the root directory, not the forum directory. How do I change this?

tamarian 06-04-2005 10:42 AM

Quote:

Originally Posted by Lionel
I know this has nothing to do with your hack, but maybe you can help and give me some explanation or solution. When I try to run the install file from admincp, the page times out on first step and cannot be found...

Is it in the admincp directory?

OrangeFlea 06-04-2005 11:15 AM

All problems fixed.

I found a bug, though. It seems that when you erase the results of a survey, members who took it before it was erased are still blocked from taking the survey again.

tamarian 06-04-2005 11:18 AM

Quote:

Originally Posted by OrangeFlea
Hey, everything is working almost perfectly. Only issue is that when I look at the results, the images come up as red x's. I checked and it seems to be looking for the survey folder from the root directory, not the forum directory. How do I change this?


Edit the file main.class.php find this line:

Quote:

if(!$this->set_template_paths($this->CONF['default_template']))
Add above it:
Quote:

$this->CONF['html'] = $vboptions['bburl'];
Let me know if this fixes it.

tamarian 06-04-2005 11:38 AM

Quote:

Originally Posted by OrangeFlea
All problems fixed.

I found a bug, though. It seems that when you erase the results of a survey, members who took it before it was erased are still blocked from taking the survey again.

What did you change to get the images working?

To fix the "already taken" thing, Edit editsurvey.class.php

Find:
Quote:

$tables = array('results','results_text','ip_track','time_li mit');
Replace with:
Quote:

$tables = array('results','results_text','ip_track','time_li mit', 'completed_surveys');
OR, wait till later today, I'll make an update with a few added features.

tamarian 06-04-2005 12:51 PM

Just uploaded the new version, 1.1 No upgrade script needed, just re-upload the files. Here's what's changed:
  • Added anonymity option. This is decided when creating the survey. Once set, it cannot be changed. If the survey is not anonymous, users will see on the survey intro a message that they survey is not anonymous, and that their usernames will show in the results table. The results table will show the usernames and a link to their profile.
  • Added Hidden option: By default, all active surveys show up on the main page as available surveys. If you set the survey propert to hidden, the survey can still be active, but not show up for members. This can be useful if you want to email the link to a selected user group. Admins and the survey author will still be able to see hidden surveys.
  • Navbar update to list the various locations in the survey pages.
  • The previous version showed the "no permission" to guests. Now you can allow guests to view the surveys and results by putting usergoup 0 in the admin panel in usergroups who may see the results. But other priviliges will be ignored.
  • A couple of bug fixes
  • Upgrade instructions: Just re-upload all the files, including survey.php

dsboyce8624 06-04-2005 02:58 PM

Thaks for the update.

OrangeFlea 06-04-2005 09:19 PM

Quote:

What did you change to get the images working?
LOL, I just created a new folder at the area the hack was looking at and uploaded the images there. :P

Awesome hack, man.

tamarian 06-05-2005 12:16 AM

Another update :)

Added in v1.2 (June 4th, 2005)
  • Removed the "Previous page" button, if the page is the first page of a survey.
  • Answers in the new/edit answer page are sorted by the numeric value. This allows you to add a later value, but set the order higher, without re-editing the whole list to arrange it.
  • Fixed a bug in quotes and escapes in the answer types edit.
  • Upgrade instructions: Just re-upload the classes directory.


All times are GMT. The time now is 10:42 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.01175 seconds
  • Memory Usage 1,740KB
  • 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
  • (8)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
  • (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