I got the same problem with the code ...
nothing wrong ... just when you add the lines it make that parse error
unexpected T_STRING in Line 311
PHP Code:
if_($forum['sponsorimg']_&&_$forum['cancontainthreads']==0_&&_$depth==1)_{
Thats this line ...
Its right the same probl. littlebit got ...
So perhaps it is a bug ? Something with the vbb 2.2.6 ? With php ?
Greetz
rob