vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   PHP code help (https://vborg.vbsupport.ru/showthread.php?t=314731)

marysnow786 10-06-2014 11:01 AM

PHP code help
 
1 Attachment(s)
hi there
i want to make a request form where user make a request and pay for it once payment done . user info will be posted on forum as new thread contain user name and other info . here is my script
please guide me it will work or not ?

ozzy47 10-06-2014 11:50 AM

This should be posted in the programming discussions forum, https://vborg.vbsupport.ru/forumdisplay.php?f=252

Lynne 10-06-2014 04:13 PM

Moved to Programming Discussions.

If you need help with coding, then you need to tell us what your script is supposed to do and what it actually is doing. Tell us any errors you are getting or whatever is wrong. It would be helpful to get a link, if possible, to see it in action.

marysnow786 10-14-2014 01:27 PM

https://vborg.vbsupport.ru/external/2014/10/18.jpg

this example image .

1- on index.php some forms where user will type some data like name and other details
2- confirmation.php we will get data from index.php via GET POST function then we will integrate Bitcoin Payment API on confirmation.php once payment completed all data from index.php will be posted as new thread in forum i am using vb.php for this . please guide me how to do it i always see error
" Message
A required field called forumid is missing or has an invalid value."

why this error i put exact value of forum id

ozzy47 10-14-2014 03:57 PM

Where is the script failing and causing that?

Black Snow 10-14-2014 04:00 PM

Quote:

Originally Posted by ozzy47 (Post 2518737)
Where is the script failing and causing that?

Similar error to what I was getting when I was adding a plugin to a mod. Instead mine said it was "product" missing.

Not sure why but I think vB fails to save all values sometimes.

Lynne 10-14-2014 04:37 PM

Quote:

Originally Posted by marysnow786 (Post 2518712)
please guide me how to do it i always see error
" Message
A required field called forumid is missing or has an invalid value."

I have seen that error before when people have put a <form> within another <form>. You didn't post any template changes, so we can't really tell if this is the issue. I'd suggest running the page through an html validator.

marysnow786 10-18-2014 06:14 AM

Please modify code and show here how it will be fixed :( i am little bit confused


All times are GMT. The time now is 11:13 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.01195 seconds
  • Memory Usage 1,724KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete