Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 19 Dec 2012, 15:17
m3rl1n m3rl1n is offline
 
Join Date: Feb 2007
Unhappy 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.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

sorry put it in wrong section :-(
Reply With Quote
  #2  
Old 19 Dec 2012, 15:43
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
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:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Another way would be to make your html a template, then your forum block code would just render the template.
Reply With Quote
  #3  
Old 19 Dec 2012, 16:04
m3rl1n m3rl1n is offline
 
Join Date: Feb 2007
yup that done the trick much appreciated
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 20:49.

Layout Options | Width: Wide Color: