PDA

View Full Version : Help listing active variables and their values?


fly
03-14-2011, 01:50 PM
So I'm trying to recreate the hack to hide threads of users on your ignore list. The original hack was posted here:

https://vborg.vbsupport.ru/showthread.php?t=97902

Its a simple template mod, but it doesn't seem the variable $ignore is correct anymore.

How can I find out what the new variable name is? Or even broader, can I somehow actively list variables and their values somehow, live on a forum?

FWIW, the new (non working) vb4 conditional I came up with was this:
<vb:if condition="!$ignore[$thread['postuserid']]">

</vb:if>

Boofo
03-14-2011, 02:30 PM
Have you tried pre-registering ignore in the threadbit template?

fly
03-14-2011, 03:54 PM
I'm having a hard time wrapping my head around this (likely simple) stuff. I found this:

https://vborg.vbsupport.ru/showthread.php?t=228078

Is this what I'm looking for? Am I safe in assuming that this would be more than just a template edit? If I understand this correctly, I need a plugin to register 'ignore'?

BirdOPrey5
03-14-2011, 04:50 PM
Basically, you should start reading at "Save into an array and preregister to use in an existing/stock template."