The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
invalid tag nesting in my postbit template when I save
I'm having problems with my postbit_legacy template. I have both my private message and my post bit template in the same template.
I use <vb:if condition="THIS_SCRIPT == 'private'"> and and else tag and I closed it with an if tag. It was working perfectly fine. Only problem was this last change. I didn't save my previous template (was too sleepy) After my latest update on the template, that started to happen and now the private messages look broken. Code:
The following error occurred when attempting to evaluate this template: Invalid Tag Nesting This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish. Code: solved Thank you in advance. |
#4
|
|||
|
|||
Quote:
Quote:
I will just put it on pastebin and link it on my first post and here. The code: solved |
#5
|
||||
|
||||
I'm afraid you'll just have to go through all that mess and make sure that when ANY "if" conditional is opened, it is also later closed, "/if" ...
|
#6
|
|||
|
|||
Quote:
However, no one will have the time to go through that amount of code for you. If you have and can post a prior version that worked, maybe I can use a comparison program to narrow down the field enough where I can help. Also, along with the previous version: What version of vb? Mods that you have included in your postbit? A better practice in the future is to create a new template with your new code and insert it via a variable into the 'postbit' template. This will keep the template manageable. |
Благодарность от: | ||
Max Taxable |
#7
|
||||
|
||||
You've got an else (<!-- if pm end -->) that doesn't seem to belong to an if. So, I would go through and check that.
|
#8
|
|||
|
|||
Quote:
Yeah I have been doing it for the past couple hours non-stop, I finally found the tag. Thanks everyone for the help and who gave a quick look, it seemed like I would never find it somehow |
Благодарность от: | ||
tbworld |
#9
|
||||
|
||||
Quote:
Glad you found it, those can be a real pain in the rear. |
#10
|
|||
|
|||
Quote:
On the to-do list someday. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|