vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   custompage with a form submit to private.php for multiple recipients pm (https://vborg.vbsupport.ru/showthread.php?t=216883)

pigsy 06-23-2009 07:50 AM

custompage with a form submit to private.php for multiple recipients pm
 
I've a custompage with a form submitted to private.php with do=newpm that doesn't seems to work anymore with vbulletin 3.8.
We're used to select from this page multiple recipients for the private message filling a sendmultiple[] array with users id, but this variable doesnt seems to be understood from private.php, how to do that with vbulletin 3.8 ?
thanks!

Lynne 06-23-2009 01:32 PM

If you need help with the coding, the best thing to do is to actually post your code. Please use the code/html/php tags when you post it. Thanks.

pigsy 06-24-2009 07:23 AM

this is a simplified version of HTML that was working before the update:
HTML Code:

<form action="/private.php" method="get" >

        <input type="checkbox" name="sendmultiple[]" class="sendmultiple" value="55527" />
        <input type="checkbox" name="sendmultiple[]" class="sendmultiple" value="241586" />
      <!-- MANY sendmultiple checkbox here! -->

    <input type="hidden" name="do" id="mydo" value="newpm" />
    <input type="hidden" name="s" value="" />
    <input type="hidden" name="userlist" value="buddy" />
    <input type="hidden" name="ttype" value="" />
    <input type="hidden" name="securitytoken" value="1245834853-2216c1a0f058f13f2eff8e092b9c87ed280aebd6" />
    <input type="submit" name="pm" value="Send PM" />
   
</form>

now sendmultiple doesnt seems to be recognized and the private.php form is not already filled with the selected users.


All times are GMT. The time now is 04:35 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.05417 seconds
  • Memory Usage 1,714KB
  • 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_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete