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)

CoZmicShReddeR 12-06-2011 08:58 PM

I love this mod just wish the questions order could be moved by changing numbers or with ajax because its a pain in the ass to up and down arrow a new question to the top when you have a lot of questions... :) Also too for some reason I cannot put a ' Apostrophe in the questions gives me a database error...

Thanks!

nhawk 12-06-2011 09:19 PM

Quote:

Originally Posted by CoZmicShReddeR (Post 2275306)
I love this mod just wish the questions order could be moved by changing numbers or with ajax because its a pain in the ass to up and down arrow a new question to the top when you have a lot of questions... :) Also too for some reason I cannot put a ' Apostrophe in the questions gives me a database error...

Thanks!

I'll see what I can do for the question positions.

Did this problem with the apostrophe just start or has it always been there for you? (I can't duplicate the problem)

CoZmicShReddeR 12-07-2011 09:13 AM

It only happens in the Expected Answers box

Code:

Database error in vBulletin 4.1.8:

Invalid SQL:
UPDATE advapp_questions
                SET text = 'Testing Don\'t s',
                        description = '',
                        type = '2',
                        error = '',
                        expected = 'don't',
                        display = '17'
                WHERE questionid = '66';

MySQL Error  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 't',
                        display = '17'
                WHERE questionid = '66'' at line 6
Error Number  : 1064
Request Date  : Wednesday, December 7th 2011 @ 11:10:23 AM
Error Date    : Wednesday, December 7th 2011 @ 11:10:25 AM
Script        : http://www.cozworld.com/admincp/advappadmin.php?do=updateques
Referrer      : http://www.cozworld.com/admincp/advappadmin.php?do=editques&posid=2&qid=66
IP Address    : 99.158.232.194
Username      : CoZmicShReddeR
Classname    : vB_Database
MySQL Version : 5.1.51-community

The question box is fine... I only used version 117 and 118 so far and same issue....

Alan_SP 12-07-2011 11:25 AM

I sometimes need to have html code posted as an answer to my questions (I use it for link exchange), but it get's parsed in this strange way:

HTML Code:

<a href="http://www.licnioglasi.org/" title="Licni Oglasi" target="_blank">Licni Oglasi</a>
Is it possible to have it unparsed? Or that question has option that would tell it is HTML code in answer and wrap it with html BBcode and leave as it should look like?

And yes, I still want to have links parsed, but html code unparsed. Is there a way to have it both work together?

nhawk 12-07-2011 02:11 PM

Quote:

Originally Posted by Alan_SP (Post 2275508)
I sometimes need to have html code posted as an answer to my questions (I use it for link exchange), but it get's parsed in this strange way:

HTML Code:

<a href="http://www.licnioglasi.org/" title="Licni Oglasi" target="_blank">Licni Oglasi</a>
Is it possible to have it unparsed? Or that question has option that would tell it is HTML code in answer and wrap it with html BBcode and leave as it should look like?

And yes, I still want to have links parsed, but html code unparsed. Is there a way to have it both work together?

URLs can only be entered using BBCode.

So the BBCode for that site would be..
PHP Code:

[URL="http://www.licnioglasi.org/"]Licni Oglasi[/URL


Alan_SP 12-07-2011 02:16 PM

Actually, I want that people enter HTML code that I later copy in my special page for links. They are needed as HTML. Of course, I could write them in HTML from scratch, but I'm a bit lazy. :)

Anyway, is it possible not to parse things like <>" in &lt &gt etc, as that is what is messed up now?

nhawk 12-07-2011 03:28 PM

Quote:

Originally Posted by Alan_SP (Post 2275552)
Actually, I want that people enter HTML code that I later copy in my special page for links. They are needed as HTML. Of course, I could write them in HTML from scratch, but I'm a bit lazy. :)

Anyway, is it possible not to parse things like <>" in &lt &gt etc, as that is what is messed up now?

Today's update kills two birds with one stone.

It fixes the database error when an apostrophe (single quote) is used.

And you should now be able to see full html URLs. (the links will not be active, but the actual HTML should be visible).

Alan_SP 12-08-2011 06:57 AM

Excellent, you're really fast. :)

Only problem I see now that when you editing questions (entering new ones, or editing existing) template is messed up.

For some reason lower part starting with Expected Answers (Answer type is still ok) stops being inside normal posting area and it also affects the way footer looks like. At the moment couldn't figured out what template it is.

nhawk 12-08-2011 10:59 AM

Quote:

Originally Posted by Alan_SP (Post 2275807)
Excellent, you're really fast. :)

Only problem I see now that when you editing questions (entering new ones, or editing existing) template is messed up.

For some reason lower part starting with Expected Answers (Answer type is still ok) stops being inside normal posting area and it also affects the way footer looks like. At the moment couldn't figured out what template it is.

The ACP has no templates.

I need a screenshot to see what you're talking about.

Alan_SP 12-09-2011 12:36 PM

Strange, now everything is ok.

It must be something with browser's cache or something similar. Now I have it ok, as it should be... Sorry.

iiFragyyHD 12-11-2011 08:24 AM

where do I check my submitted apps?

nhawk 12-11-2011 11:08 AM

Quote:

Originally Posted by iiFragyyHD (Post 2276700)
where do I check my submitted apps?

They are either posted, sent you you by PM or emailed to you.

Lethal234 12-11-2011 06:28 PM

If I create a new group they can apply for, it never seems to show up. Only the default group called "Moderator" always shops up. How can I fix this?

nhawk 12-11-2011 06:41 PM

Quote:

Originally Posted by Lethal234 (Post 2276817)
If I create a new group they can apply for, it never seems to show up. Only the default group called "Moderator" always shops up. How can I fix this?

Make sure you set the Application Group Type for the new application. And make sure the Allowed Usergroups for the new application are properly set.

See this post https://vborg.vbsupport.ru/showpost....&postcount=184 for a flow chart that should help you diagnose what is set wrong.

maxxamillion 12-14-2011 12:57 PM

i have selected it to appear in nav bar it show but the drop down menu wont appear??

nhawk 12-14-2011 07:07 PM

Quote:

Originally Posted by maxxamillion (Post 2277688)
i have selected it to appear in nav bar it show but the drop down menu wont appear??

That means the Application Type doesn't have your usergroup set as an allowed usergroup.

sacrolash 12-20-2011 10:02 PM

Hey,

Sorry for what is probably a stupid question, but I would like to change the "Application Forms" Title in the navbar to something else. Where can I do this.

Thanks!

GreyGhost 12-20-2011 10:25 PM

Quote:

Originally Posted by sacrolash (Post 2279552)
Hey,

Sorry for what is probably a stupid question, but I would like to change the "Application Forms" Title in the navbar to something else. Where can I do this.

Thanks!

Search in Languages & Phrases for "Application Forms" or (from memory, I think)... "advapp_title" is the phrase you need.

8-)

sacrolash 12-20-2011 10:32 PM

Worked like a charm. Thank you!

nhawk 12-20-2011 10:49 PM

LOL, Thanks GreyGhost. :)

I must be slow on the draw today. :D

nhawk 12-26-2011 01:57 PM

Quote:

Originally Posted by CoZmicShReddeR (Post 2275306)
I love this mod just wish the questions order could be moved by changing numbers or with ajax because its a pain in the ass to up and down arrow a new question to the top when you have a lot of questions... :) Also too for some reason I cannot put a ' Apostrophe in the questions gives me a database error...

Thanks!

Sort by numeric position is now in the current release.

persianpros 12-28-2011 11:32 AM

wow great job

after submit (vBulletin 4.1.9) :

Warning: Invalid argument supplied for foreach() in [path]/application-forms.php on line 563

Warning: Cannot modify header information - headers already sent by (output started at [path]/includes/class_core.php:5570) in [path]/includes/functions.php on line 5279

nhawk 12-28-2011 01:31 PM

Quote:

Originally Posted by artman_hacker (Post 2281624)
wow great job

after submit (vBulletin 4.1.9) :

Warning: Invalid argument supplied for foreach() in [path]/application-forms.php on line 563

Warning: Cannot modify header information - headers already sent by (output started at [path]/includes/class_core.php:5570) in [path]/includes/functions.php on line 5279

Do you have questions to be answered defined for the application? (that error says your submitting an application without any questions).

Go to ACP->Application Forms->Application Postions and click on Questions for the postition that's giving you the error. There probably aren't any questions there.

CoZmicShReddeR 12-28-2011 10:52 PM

Yay, Great job adding a question sorter!

Is it possible to leave a question blank? I wanted to have it possible for someone to leave a comment or not but tried it kept asking me to leave something in the section...

Is it possible to have it where someone could click on a answer to chose all answers above or below the answer?

And one last would be to add it where you can have the questions and answers be different colors... And or have it post it in the forums with different colors...

Thanks!

nhawk 12-29-2011 11:09 AM

Quote:

Originally Posted by CoZmicShReddeR (Post 2281769)
Yay, Great job adding a question sorter!

Is it possible to leave a question blank? I wanted to have it possible for someone to leave a comment or not but tried it kept asking me to leave something in the section...

This has always been possible. Just don't enter anything in the Error section when creating a question.

Quote:

Originally Posted by CoZmicShReddeR (Post 2281769)
Is it possible to have it where someone could click on a answer to chose all answers above or below the answer?

I don't know about this one. Let me put it on my list and think about it.

Quote:

Originally Posted by CoZmicShReddeR (Post 2281769)
And one last would be to add it where you can have the questions and answers be different colors... And or have it post it in the forums with different colors...

Thanks!

You mean something like this for the post?

What is your real name?: Jim

So far as the questions and answers in the form itself, I'll really have to think that one over too. Those colors are controlled by the Style settings for a site and could end up messing things up for people.

CoZmicShReddeR 12-29-2011 02:46 PM

Quote:

Originally Posted by nhawk (Post 2281893)
This has always been possible. Just don't enter anything in the Error section when creating a question.



I don't know about this one. Let me put it on my list and think about it.



You mean something like this for the post?

What is your real name?: Jim

So far as the questions and answers in the form itself, I'll really have to think that one over too. Those colors are controlled by the Style settings for a site and could end up messing things up for people.

Yes that is exactly what I was talking about something to majorly separate the posted answers from the questions...

I was just thinking in regards when you put multiple answers is it possible to have an option for it post the answers in a column under the question rather then a row?

What size Crater did the Meteor leave? Enormous Crater, Huge Crater, Big Crater, Little Crater, Small Crater, Tiny Crater

What size Crater did the Meteor leave?
Enormous Crater,
Huge Crater,
Big Crater,
Little Crater,
Small Crater
Tiny Crater


That last was just an idea have no issues the way things are with the way the answers look just thought for some with a lot of answers it might get a little ugly have everything all bunched up...

Thanks!

Linue_DarkStar 01-04-2012 07:27 AM

My Applications are not showing up in the Community Area or as a Nav Tabs. Everything is enabled. I re-installed as well.

EDIT: Belay my last.

Well I figured it out, but now it's hidden behind the Nav Bar tab. I can see it try to open, but I can't get to the application process.

Take a look, www.ClanPF.com.

nhawk 01-04-2012 11:33 AM

Quote:

Originally Posted by Linue_DarkStar (Post 2283672)
My Applications are not showing up in the Community Area or as a Nav Tabs. Everything is enabled. I re-installed as well.

EDIT: Belay my last.

Well I figured it out, but now it's hidden behind the Nav Bar tab. I can see it try to open, but I can't get to the application process.

Take a look, www.ClanPF.com.

It seems to be working fine for me when I go to select an application. Using IE:9.

Linue_DarkStar 01-04-2012 09:47 PM

I'm using IE9 as well. And still nothing on my side. Is there some coding that could extend that box further down? or reposition where/how the box is display...say an arrow pointing up with the application block open above the Nav Tab?

nhawk 01-04-2012 10:56 PM

Quote:

Originally Posted by Linue_DarkStar (Post 2283927)
I'm using IE9 as well. And still nothing on my side. Is there some coding that could extend that box further down? or reposition where/how the box is display...say an arrow pointing up with the application block open above the Nav Tab?

If all you see is a very small box for the dropdown with nothing in it, then your usergroup doesn't have permission to access the 'Clan Application' application type.

Linue_DarkStar 01-05-2012 01:53 AM

Ok. And nest issue is answers are showing up next to the wrong questions when the PM is sent to the webmaster/admins or e-mailed to me.

EDIT: Nevermind. As soon as I posted this I went back and tested it out again, twice....and it worked perfectly. So no issue there.

Linue_DarkStar 01-05-2012 08:26 AM

Quote:

Originally Posted by nhawk (Post 2283967)
If all you see is a very small box for the dropdown with nothing in it, then your usergroup doesn't have permission to access the 'Clan Application' application type.

Well I'm the Admin for the site, and I set it so that every usergroup can see the applications, yet no one can. we all see a tiny black box open up but either it has nothing in it or you can't see the application.

nhawk 01-05-2012 10:38 AM

Quote:

Originally Posted by Linue_DarkStar (Post 2284052)
Well I'm the Admin for the site, and I set it so that every usergroup can see the applications, yet no one can. we all see a tiny black box open up but either it has nothing in it or you can't see the application.

See this image for a troubleshooting flowchart.

https://vborg.vbsupport.ru/attachmen...9&d=1320417104

Go to ACP->Application Forms->Application Types and edit each application type. Set the 'Allowed Usergroups' to include those you want to be able to see the application type.

MNNLeafre 01-08-2012 12:15 AM

It seems for me that the 3rd to last question overlaps the 2nd to last question.
Here's how to duplicate the method (or just how my app looks like at the moment):

Header
One-line Question
One-line Question
One-line Question
Multiple-line Question
Multiple-line Question
Header
One-line Question
One-line Question
Multiple Choice
Multiple-line Question
Header
One-line Question
One-line Question
Header
One-line Question
Multiple-line Question
Multiple-line Question
One-line Question
Multiple-line Question
Multiple-line Question
Multiple-line Question

I even tried deleting one question and it still happens

Ellendway 01-08-2012 08:31 AM

Hello,

I bought new design and I've got some problems with popup menu. Background and font is white. Any idea what I must change in .css files?

nhawk 01-08-2012 11:11 AM

Quote:

Originally Posted by Ellendway (Post 2285104)
Hello,

I bought new design and I've got some problems with popup menu. Background and font is white. Any idea what I must change in .css files?

The CSS values are all the standard vBulletin values popupmenu, popupctrl, popupbody, popuphover and navbar_selected_popup_body_a_Color. You might want to ask the style designer why those aren't properly definded in the style.

nhawk 01-08-2012 11:21 AM

Quote:

Originally Posted by MNNLeafre (Post 2285022)
It seems for me that the 3rd to last question overlaps the 2nd to last question.
Here's how to duplicate the method (or just how my app looks like at the moment):

Header
One-line Question
One-line Question
One-line Question
Multiple-line Question
Multiple-line Question
Header
One-line Question
One-line Question
Multiple Choice
Multiple-line Question
Header
One-line Question
One-line Question
Header
One-line Question
Multiple-line Question
Multiple-line Question
One-line Question
Multiple-line Question
Multiple-line Question
Multiple-line Question


I even tried deleting one question and it still happens

What do you mean it overlaps? I've duplicated that question order and see no problems with it.

nhawk 01-11-2012 05:43 PM

Quote:

Originally Posted by CoZmicShReddeR (Post 2281932)
Yes that is exactly what I was talking about something to majorly separate the posted answers from the questions...

I was just thinking in regards when you put multiple answers is it possible to have an option for it post the answers in a column under the question rather then a row?

What size Crater did the Meteor leave? Enormous Crater, Huge Crater, Big Crater, Little Crater, Small Crater, Tiny Crater

What size Crater did the Meteor leave?
Enormous Crater,
Huge Crater,
Big Crater,
Little Crater,
Small Crater
Tiny Crater


That last was just an idea have no issues the way things are with the way the answers look just thought for some with a lot of answers it might get a little ugly have everything all bunched up...

Thanks!

Answer color and Multiple Choice answers in column format added in today's release.

Also.. This mod has been nominated for the January 2012 MOTM.. if you like AAF, please do vote.
https://vborg.vbsupport.ru/showthread.php?t=276275 ;)

CharlieDelta 01-11-2012 08:47 PM

Great update Nhawk! The replacement variables is a nice touch. :)

Nominated. :up:

Alan_SP 01-12-2012 11:16 PM

I just updated to new version. I read about numbering, that it must be in 1,2,3...

But, this is a bit hard to enter some question between already existing ones. What would happen if there are two questions with number 2? Is it possible that you somehow program it that we could use 10, 20 etc?

Just to know what I can expect.

You really do great job with this mod. :up: Hope you'll win MOTM.


All times are GMT. The time now is 12:41 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.01816 seconds
  • Memory Usage 1,862KB
  • 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_code_printable
  • (2)bbcode_html_printable
  • (1)bbcode_php_printable
  • (21)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
  • (40)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