![]() |
Passing title to newthread form
I want someone to be able to enter in the thread title on one page for a particular forum and then be brought to the newthread form to fill in the rest of the details.
I have a simple form in a new template: PHP Code:
I get redirected to the sign-in page (Perfectly acceptable :)), but when I sign-in and I get the following error: "Your submission could not be processed because a security token was missing or mismatched. If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error." As a workaround I have tried using the PHP Code:
Any suggestions appreciated |
view this thread for security token help
|
I am still using version 3.7 therefore it is not anything to do with 3.8.
I also set up a vanilla style and the problem still occurred, albeit I was still using my little form. I disabled the blog as I am using 1.05 but still no joy. Is there a way of turning this check off? |
Security tokens where added in 3.6.10. That article is in regards to all versions that have the security token added.
|
The inital section was about uploading 3.8 files, but I have gone through the articles.
As I mention above I tried to use the csrf_skip_list but I still can't get it to work. A lot of the article seems to be around isolating whats causing the error. I'm trying to write a plugin that causes the error to occur so I know the code that indirectly causing it I just don't know how to fix it. Is there any other way of turning it off for posting new threads from within vb environment. |
Did you see the article here - Implementing CSRF Protection in modifications. It talks about exempting certain actions. You'll see it tells you two pieces of code you can use depending on what you are doing.
|
All times are GMT. The time now is 06:16 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|