PDA

View Full Version : Some help is needed. Pretty please :)


bitbender
03-09-2011, 08:07 PM
Ok folks,

I took on rewriting the welcome panel rewrite to 4.1.2 This mod was operational to 3.8, and then sort of sunsetted. I've been reading up in the last week or so, and so I tried to make some progress. I did post and ask King K if he had a beef, but I saw no negative reply, so in I dove... :)

I think I've got the plugin updated ok, and now I've moved on to the templates. I thought I had changed all that needed changing in there, but I've a error saying I've a malformed conditional...or is it that the software thinks I'm a malformed individual..;) - I've looked at it two hours trying to see why my vb:if's are broke and I'm insane..well, moreso than normal.

I've attached the before and after as text files, can someone help me out a bit?

Many thanks

Lynne
03-09-2011, 08:45 PM
You didn't upgrade to the proper vb4 syntax. Take a look in your current templates or in the vB4 articles forum for info on proper syntax. For instance:
{vb:phrase $vbphrase[wp_welcomeback]} and {vb:raw $stylevar[block_border]}
should be:
{vb:rawphrase wp_welcomeback} and {vb:stylevar block_border}

Several other similar syntax errors also.

bitbender
03-09-2011, 11:51 PM
Thx, Lynne.. All I'm looking for is a steer as I am trying to learn this amongst all my other daily items.