The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $newpmmsg - Line: 40 - File: global.php(841) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/global.php(841) : eval()'d code 40 errorHandler->error
/global.php 841 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 909 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 909 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5024 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 5024 errorHandler->error
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions.php 5044 is_member
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1370 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
Same form, different URLs? - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1)
+--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5)
+--- Thread: Same form, different URLs? (/showthread.php?tid=515)



Same form, different URLs? - Jaace - Feb 15th, 2010

I'm running WordPress MU and FormTools on my site. I have an issue where I want to use the same exact form on different blogs through my Wordpress MU installation. These forms are exactly the same, except for their URLs...which is an issue when setting up the form. In step 2 I need to give it a specific URL for both the form and the redirect.

Is there a way to specify a URL like so? http://always-the-same/VARIABLE_PART/always-the-same

I really want these forms to save to the same database table...and not have to create a new one for each blog...as it will be used only once per blog. It's basically a feedback form that I will save to the database table (the same one ideally).

The way that Wordpress resolves URLs is based upon the site name, e.g: http://mysite.com/blog1 and http://mysite.com/blog2. On this site I will have this form...call it feedback that will reside on http://mysite.com/blog1/feedback and http://mysite.com/blog2/feedback etc. ...but it needs to be the same form, saving to the same database table. Make sense? Is this possible?

Thanks!
Hey everyone,

I didn't actually test this before trying it (the hard-coded URL prompt on step 2 was throwing me off ;-) ). It turns out that it really doesn't matter what URL the form is coming from as long as the ft_api_init_form_page(); contains the correct id as the parameter.

Also, I'm posting to <?php bloginfo('wpurl') ?>/my-page-name instead of SELF due to Wordpress URL resolving issues.

Cheers!


RE: Same form, different URLs? - Ben - Feb 16th, 2010

Thanks for posting the fix, Jaace! Smile

- Ben