Register Members List Search Today's Posts Mark Forums Read

Thread Tools
Old 11 Jul 2014, 05:42
Spit-wad Spit-wad is offline
Join Date: Dec 2009
Is it possible to use template if conditional with cookies?

Is it possible to used template if conditional with cookies?

Right now i'm trying to do something like this:

<vb:if condition="$_COOKIE[$post['postid']"] == "Set" >


on my postbit and for some reason those lines break the entire thing.

Last edited by Spit-wad; 11 Jul 2014 at 06:14.
Reply With Quote
Old 11 Jul 2014, 09:05
Dave Dave is offline
Join Date: Jun 2010
Real name: Dave
It probably didn't work because of the extra double quotes after the first closing square bracket. I can't test it now, but the following should work:

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

__________________ - security, development, exploits, vBulletin

Contact me for custom vBulletin 3/4 work & server/website management.
Reply With Quote

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 14:30.

Layout Options | Width: Wide Color: