vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   add plug-in, can't submit (https://vborg.vbsupport.ru/showthread.php?t=291515)

kh99 11-25-2012 03:01 PM

What nhawk said before is true - you cannot use the <form> tags. What problem are you having now? I didn't understand the error message you posted above, maybe because I don't understand exactly what the javascript is trying to do.

Easy5s.net 11-25-2012 03:16 PM

Quote:

Originally Posted by kh99 (Post 2384928)
What nhawk said before is true - you cannot use the <form> tags. What problem are you having now? I didn't understand the error message you posted above, maybe because I don't understand exactly what the javascript is trying to do.

I did as nhawk said, but not work, and in VB3 it still works fine :(.
This is file .js

Lynne 11-25-2012 03:22 PM

This line in your plugin:
PHP Code:

$templater->register('mylist'$mylist); 

You have no variable $mylist, so why are you registering it for use? Don't you mean $mylistcardposted ? If so, you also need to change that variable name in the template too.

kh99 11-25-2012 03:27 PM

Quote:

Originally Posted by Easy5s.net (Post 2384935)
I did as nhawk said, but not work, and in VB3 it still works fine :(.

Oh, I missed the part where it works in vb3. Maybe that will work then, I'm not sure.

Easy5s.net 11-25-2012 03:28 PM

Quote:

Originally Posted by Lynne (Post 2384942)
This line in your plugin:
PHP Code:

$templater->register('mylist'$mylist); 

You have no variable $mylist, so why are you registering it for use? Don't you mean $mylistcardposted ? If so, you also need to change that variable name in the template too.

I changed it to sync, but it is only current issues show up temp (or can add temp by hand).The problem I'm interested in is this plug in it can not submit thread.

Please review video once more options has been shown on newthread but cannot be submit

You can add my plugin to attach and test.

Lynne 11-25-2012 04:13 PM

I cannot test something that is incorrect. You CANNOT have <form> tags in your template. You CANNOT put a form within a form or it WILL NOT WORK. Take a look at your page source - you have a form within a form. That WILL NOT WORK.

Easy5s.net 11-25-2012 04:37 PM

I tried again and it worked, thank for all :)


All times are GMT. The time now is 06:56 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.01142 seconds
  • Memory Usage 1,729KB
  • 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
  • (2)bbcode_php_printable
  • (3)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
  • (7)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