Related files are files that may be in the same folder or category. On wapkiz and wapaxo we can also do this by declaring a variable with the code %foid%, which shows the ID of the folder or category the file is in.

First we must insert a variable in the file manager on the download page, for example:

[fm]to=:to-id:|| %name%..... :*var:folderID=%foid%: [/fm]

Where: :*var:folderID = %foid% - - > the variable declares as value the folder ID of the file.

After having declared, to show the related files we will insert the value of the folder by the ID of the variable declared above.

[fm]d=:*v1:folderID:, l=6, o=u, no=no related files|| %name% [/fm]

Where: d = :*v1:folderID: - -> the value of the folder is the value of the variable declared above.

The files shown are only files that are in the same folder or category.

To learn more about variables read the post.

NOTE: Remove the asterisks.