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.


All times are GMT. The time now is 11:01 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.01451 seconds
  • Memory Usage 1,752KB
  • 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
  • (4)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