![]() |
Creating a custom block help
I have created a custom forum block using the below code i took from within.
Your submission could not be processed because a security token was invalid. This happens in all browsers using a default forum style and a custom style. I know this is probably error on my part not being a coder as such and probably missed something. Spent hours reading and trying different things suggested here and at vb.com but nothing :-( Code i am using when creating the block below. Code:
<form action="search.php?do=process" method="post" name="vbform" id="searchform" class=""> |
I assume this is for vb4? The problem is that an html type forum block isn't a template, so the curly brace expression that's supposed to insert the security token doesn't work. What you can do is change the type to php and use code like this:
Code:
global $vbulletin; Another way would be to make your html a template, then your forum block code would just render the template. |
yup that done the trick much appreciated
|
All times are GMT. The time now is 07:31 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|