vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=329209

vb4's each condition
by Dr.CustUmz
30 Mar 2022 05:34

in vb4 we can use <vb:each> as a foreach within templates. This is actually a very cool feature.

I am trying to port it to vb3 but am having some difficulty.

Looking into the files I have found 3 that correspond to this feature.
class_template_parser.php
adminfunctions_template.php
template_tag_defs.php

for creating vb3 if conditions the only file I could come up with that was responsible for them was.
adminfunctions_template.php

how could I go about adding this into vb3 so I could use for each's within templates?

The complete class is:

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



All times are GMT. The time now is 18:51.

Powered by vBulletin® Version 3.8.14
Copyright © 2022, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.