vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Add-On Releases - Advanced Application Forms (https://vborg.vbsupport.ru/showthread.php?t=263944)

Alan_SP 06-04-2011 02:21 AM

Quote:

Originally Posted by nhawk (Post 2202998)
If that ever happens again and you have access to phpMyAdmin, I'd appreciate it if you could immediately export the 3 advapp tables so I can see what might be causing the problem.

I still have all of your requests, but haven't had enough time to work on them. I haven't forgotten about them. ;)

Please try to reproduce bug on your installation, if you couldn't I'll post you tables. Bug is very easy to reproduce.

About requests, thanks, you really made excellent mod. :up: If I can suggest, making one (or even more than one) answer variable that we can use for thread (or PM) title is number one on my list. :) Even ability to use only first answer as variable is enough, but if you could make filed in answers that gets "promoted" to variable would add flexibility.

And one more request. If you could make your mod appear as navtab button (with Home, Forum, Blog, What's new buttons) with all application types and positions in one place. This is to be an option on global level. Of course, each application type still could be placed in Community drop down menu and to have it's own link.

I'd like to make applications more prominent and have one central place for different applications. User than would choose what they want using descriptions of application types. And on different places I too would like to use direct link to certain applications.

Jeremy8 06-04-2011 05:01 AM

Quote:

Originally Posted by Alan_SP (Post 2203269)
This could be cause of problem. I remember that I did something stupid when I was testing mod. I added default questions when there already were default questions. Then I deleted duplicate questions, so everything looked normal to outside, but when I started answering only first answer was recorded and repeated as answer for all questions.

As I wrote, deleting all questions and using default ones from beginning solved problem.

Obviously there's a problem with order of questions when using default ones after there are questions already.

From what Jeremy8 said, some answers are paired with wrong questions. Something like that could happened in my case too.

Important: I just repeated bug. It's very easy to do.

First create some questions, I think that even one is enough for bug to get triggered. In any case I had 6 questions before bug was triggered. Then insert default questions. And that is it, bug is there.

In my case last 6 (as I had 6 questions) default questions as they are last couldn't be entered. I'm sure that if I remove that they are not optional answer would be repeted.

I tested repositioning questions before this and everything worked fine. The problem is with putting default questions after there are questions already. It seems like they are hardcoded in their positions or something like that.

Yeah because I just redid the application and now it's fine.

Speaking of the default questions, it might work better if you don't insert them into an application, but instead you enable them for an application. And when you make a change to the default questions, it affects all of the applications they are enabled in. The way it works now is kind of like a template where you add them in. But if you change a default question, you'd have to change it in the application it's used in as well.

nhawk 06-04-2011 09:59 AM

Thank you for your very descriptive method of reproducing the problem.

This helps me (and any other coder) go straight to the problem and correct it. I should have a fix out sometime today. If not, it will be out Monday.

nhawk 06-04-2011 04:54 PM

Quote:

Originally Posted by Alan_SP (Post 2203274)
....
About requests, thanks, you really made excellent mod. :up: If I can suggest, making one (or even more than one) answer variable that we can use for thread (or PM) title is number one on my list. :) Even ability to use only first answer as variable is enough, but if you could make filed in answers that gets "promoted" to variable would add flexibility.

And one more request. If you could make your mod appear as navtab button (with Home, Forum, Blog, What's new buttons) with all application types and positions in one place. This is to be an option on global level. Of course, each application type still could be placed in Community drop down menu and to have it's own link.

I'd like to make applications more prominent and have one central place for different applications. User than would choose what they want using descriptions of application types. And on different places I too would like to use direct link to certain applications.

I was able to incorporate placing the applications types in the navbar tabs along with the fix for the answer problem today.

All of your other requests will come. Just time is not my friend today.

A note about the navbar tab option... You have to turn on "show in navbar tab" in both the main settings and in the application type for the application type to show there.

Alan_SP 06-05-2011 12:51 AM

Quote:

Originally Posted by nhawk (Post 2203490)
A note about the navbar tab option... You have to turn on "show in navbar tab" in both the main settings and in the application type for the application type to show there.

You are really fast. :up:

The way you incorporated the mod in navbar is excellent, I like option to decide which application types are shown there, much better than my suggestion to have them all listed automatically. :up:

I also tested fix for the bug and it's fixed. :) Only thing to do is delete old questions as they still carry bug within themselves. But when you create them from start everything works great. :up:

And yes, I have one more suggestion (I'm a bit shameless :o). After completing application, could user be redirected to somewhere we want them? Now they go again to application type they just filled up. For example, if they could go to thread that's created if it is public one (this couldn't be fixed link as thread don't exist when we set application position), or to redirect them to forum home, or to any other existing link on our website (possibly thread we created to explain them why we want them to apply to position they just applied, or whatever else).

So we would have three options:

a) as it is now, to the application type they just filled up
b) link thread that is just created (we need to take in account if it is visible to user, if not visible he'll receive error message that he doesn't have permission to view thread and this is not your problem)
c) some fixed link we supply

Of course, this is settable for every application position we create

Alan_SP 06-05-2011 12:59 AM

Quote:

Originally Posted by Jeremy8 (Post 2203304)
Speaking of the default questions, it might work better if you don't insert them into an application, but instead you enable them for an application. And when you make a change to the default questions, it affects all of the applications they are enabled in. The way it works now is kind of like a template where you add them in. But if you change a default question, you'd have to change it in the application it's used in as well.

Yes, your suggestion has it's own merits. But I think that system as it's now is better. Now we can delete some default questions and reposition them, also mix them with custom questions etc.

If we would be able to make our own default question sets (and nhawk said he'd try to make it so) then it would be easy to create different positions with similar question sets.

Ellendway 06-05-2011 08:07 AM

Can I do "custom thread name"?

I mean that user can do his own name of thread.

nhawk 06-05-2011 10:37 AM

Quote:

Originally Posted by Ellendway (Post 2203713)
Can I do "custom thread name"?

I mean that user can do his own name of thread.

At this point in time the thread name is set in the Application Position setting by whoever makes the position application. It can not be selected or changed by the person filling out the application.

Ellendway 06-05-2011 10:50 AM

Quote:

Originally Posted by nhawk (Post 2203754)
At this point in time the thread name is set in the Application Position setting by whoever makes the position application. It can not be selected or changed by the person filling out the application.

Oh... Is there any chance to do it in future?

nhawk 06-05-2011 10:59 AM

Quote:

Originally Posted by Ellendway (Post 2203760)
Oh... Is there any chance to do it in future?

That is similar to one of the requests already made. Where a certain answer would become the topic of the thread that's created. So, yes it will eventually happen.


All times are GMT. The time now is 02:04 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.01414 seconds
  • Memory Usage 1,757KB
  • 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
  • (2)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