vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - Discuss!! A Yahoo Answers Clone for vB3 (https://vborg.vbsupport.ru/showthread.php?t=281840)

klaush 05-24-2012 10:38 AM

Hi Chris, any update to this:

Quote:

Originally Posted by klaush (Post 2325806)
Yes, they can. Thanks for fixing that.


TheComputerGuy 06-25-2012 10:25 PM

your demo doesn't work.

klaush 06-26-2012 07:07 AM

Hello Chris, is ths still supportet?

3raq4all 06-26-2012 02:36 PM

Does not appear to me
Do not know where I find?

Christos Teriakis 06-26-2012 04:23 PM

@klaush
@3raq4all
-------------
Why do you think that is not supporting? Is there any bug report that I didn't replied and fixed? Of course I'm greatfull to all of you for your nice comments, but I was very busy to come online just to reply to compliments.

Chris

klaush 06-26-2012 04:57 PM

Quote:

members are able to post without choosing a category? eg letting the default "Select Category"?. That's a bug, I'll check it.
There was this bug, if you remember? Did you fix it already?

Thanks for feedback, Chris!

Christos Teriakis 06-26-2012 05:32 PM

Quote:

Originally Posted by klaush (Post 2343099)
There was this bug, if you remember? Did you fix it already?

Thanks for feedback, Chris!

Is someone else who can confirm this bug? I checked the code and is correct:
Code:

                        if(document.forms["question"].categoryid != undefined){
                                if(!isNaN(document.forms["question"].categoryid.value) == 0) {
                                        alert('$vbphrase[discuss_error_category_number]');
                                        return false;
                                }else if(document.forms["question"].categoryid.value ==0){
                                        alert("$vbphrase[discuss_error_category_zero]");
                                        return false;
                                }
                        }

The problem is that I don't have any vB3 installation to check it in real. But the same code exists in the version for vB4, and I didn't got any report there.

Can you give me your installation URL to try it? or better goto Add question form, and right click to see the page's code, and save that code in a file. Then post it here to give a look.

Chris

klaush 06-26-2012 06:27 PM

Here we are:

Quote:

function validateForm_question()
{
if(document.forms["question"].title.value.length == 0) {
alert('You need to enter a title for your Question.');
return false;
}
if(document.forms["question"].categoryid != undefined){
if(!isNaN(document.forms["question"].categoryid.value) == 0) {
alert('Category id must be a number.');
return false;
}else if(document.forms["question"].categoryid.value ==0){
alert("Please Select a Category.");
return false;
}
}
if(document.forms["question"].categoryid != undefined){
if(document.forms["question"].type.value == 0){
alert("");
return false;
}
}
return true;
}
And you can choose "Please choose a category".


All times are GMT. The time now is 06:49 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.01046 seconds
  • Memory Usage 1,738KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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