View Single Post
  #1  
Old 30 Mar 2022, 05:34
Dr.CustUmz's Avatar
Dr.CustUmz Dr.CustUmz is offline
 
Join Date: Aug 2013
Real name: Ryan
Question vb4's each condition

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.

__________________
If you need custom work done please use Dirt RIF CustUmz
Owner of vBTeam
vBulletin 3.8.14 DRC Edition PHP 7.4 Compatible- NOT a null, NOT complete files Requires a legit copy of vBulletin 3.8.11.
Reply With Quote