Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Ajax add-on Form Hack Details »»
Ajax add-on Form Hack
Version: 0.1.3, by Deepdog009 Deepdog009 is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.6.x Rating:
Released: 06-10-2008 Last Update: 07-21-2008 Installs: 16
Uses Plugins Template Edits Auto-Templates
Additional Files  
No support by the author.

Ajax addon FORM HACK
********************

ATTENTION: please try the tutorial first...

Installation
************

{1} FORM HACK must be installed and working...>>>FORM HACK<<<

{2} Open tutorial folder and view setup information...

{3} upload clientscripts folder to your forum root... http://yoursite.com/forum/

{4} Basic knowledge working with javascript required...

{5} Open setup folder thats holds plugincode,,, answertemplatecode and maintemplatecodes...

{6} Again FORM HACK must be installed correctly and Forms working before using this minor ajax mod...


Ver...>>> 0.1.1
************

Added xml files to make things easier to setup...
Added new clientscript files...


Ver...>>> 0.1.2
************

Added Triple Dropdowns... Testers wanted


Save to Form Hack mod and view...

http://yoursite.com/forums/newthread.php?do=video

http://yoursite.com/forums/newthread.php?do=disable

http://yoursite.com/forums/newthread.php?do=dd1


What's the purpose of this mod???

Help folks add AJAX to FORM HACK...

Co-Authors:
*********
Vrokar & Ccplim


************************************************** ***


Added XML setup files to make things a bit easier for some...

Download XML's and clientscript zip also...

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 07-22-2008, 03:56 AM
Deepdog009's Avatar
Deepdog009 Deepdog009 is offline
 
Join Date: Dec 2004
Location: Almost out of PHP TZone
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ccplim View Post
You want me to re-post the issues that I have sent you through PM again in here?
No worries ccplim... If you find anything helpful to others,,, post it...
Reply With Quote
  #13  
Old 07-28-2008, 12:55 PM
Stryker412 Stryker412 is offline
 
Join Date: May 2005
Posts: 326
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm trying to add just the triple drop down code into an existing form. How would I do this?
Reply With Quote
  #14  
Old 07-29-2008, 12:07 AM
ccplim ccplim is offline
 
Join Date: Feb 2005
Location: SG
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Stryker412 View Post
I'm trying to add just the triple drop down code into an existing form. How would I do this?
How do you want to go about doing it and at which stage are you at at this this moment?

I may not be very good in programming stuff but I'll see if I can help.
Reply With Quote
  #15  
Old 07-29-2008, 12:14 AM
ccplim ccplim is offline
 
Join Date: Feb 2005
Location: SG
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Deepdog009,

I see that there is a "Ajax Dual Dropdowns Form ver{1}.zip" which appears to be a little different in the dropdowns codings. Is this something new that I have missed out?

I haven't get any chance to do much of a testing as I have been sick for the past one week and is still in the stage of recovery.
Reply With Quote
  #16  
Old 07-29-2008, 12:35 AM
Stryker412 Stryker412 is offline
 
Join Date: May 2005
Posts: 326
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ccplim View Post
How do you want to go about doing it and at which stage are you at at this this moment?

I may not be very good in programming stuff but I'll see if I can help.
I already have the 4.0 Form Hack done, the only thing I'm waiting for is to implement a birthday question so I want the triple dropdown for month/day/year. I already have a birthday question but with only one drop down for month (placeholder).
Reply With Quote
  #17  
Old 07-29-2008, 12:51 AM
ccplim ccplim is offline
 
Join Date: Feb 2005
Location: SG
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Stryker412 View Post
I already have the 4.0 Form Hack done, the only thing I'm waiting for is to implement a birthday question so I want the triple dropdown for month/day/year. I already have a birthday question but with only one drop down for month (placeholder).
From what I see, what you need seem to be pretty straight forward (unless you want to make it into something that is really complicated).

In fact, if you just need to have a simple dropdown for your users to select month, day and year without any fanciful stuff, you might not need the triple dropdown add-on at all.
Reply With Quote
  #18  
Old 07-29-2008, 01:35 AM
Stryker412 Stryker412 is offline
 
Join Date: May 2005
Posts: 326
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oh? I thought that was the only way to do it?
Reply With Quote
  #19  
Old 07-29-2008, 01:42 AM
ccplim ccplim is offline
 
Join Date: Feb 2005
Location: SG
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Stryker412 View Post
oh? I thought that was the only way to do it?
Not really. The double and triple dropdown are actually more useful if you need to have a list of standard values tied to another value. You can use it for your birth date entry but that will required lots of condition checking if I am not mistaken.
Reply With Quote
  #20  
Old 07-29-2008, 02:03 AM
ccplim ccplim is offline
 
Join Date: Feb 2005
Location: SG
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

One thing just came across my mind. By using a simple dropdown, you might have problem with the year especially if the list is long. I'm not sure if there's any other alternative for this.
Reply With Quote
  #21  
Old 07-29-2008, 02:42 AM
ccplim ccplim is offline
 
Join Date: Feb 2005
Location: SG
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Deepdog009,

Just tested your Ajax Dual Dropdowns Form ver{1} and here are the problems that I discovered.

Testing was done by selecting all required values in $dropanswer1, $dropanswer2, $dropanswer21, $dropanswer22, $dropanswer23 and perform a preview before submitting the form. (Attachment "01 - All values selected.JPG")

Issues in Dual dropdown
$dropdownanswer1 remain in selected value but cannot select value in $dropdownanswer2 anymore. (Attachment "02 - How form look like after preview.JPG")

At this stage, selecting a different value from $dropdownanswer1 will bypass the issue but this is not a solution as some people might not notice the error and went straight for the "Submit" button after they perform a preview.

Issues in Triple dropdown
Values selected for $dropanswer21, $dropanswer22, and $dropanswer23 were all reset to default after preview. (Attachment "02 - How form look like after preview.JPG")
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:34 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.04271 seconds
  • Memory Usage 2,313KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete