Hello,
Some of our registered users would like to opt-in to ads, since we only show them to unregistered users.
So, we created a $bbuserinfo['field13'] in the adminCP with values "On" and "Off" and are trying to add the conditional to the right place in the code.
I searched the templates and this pointed me to the code:
Code:
/var/www/includes/vb_ad_management/global_start.php
and the variable $do_ads;
So, I edited global_start.php by adding this conditional:
Code:
.... || ($bbuserinfo['field13'] == 'On')
but this does not seem to work.
Any ideas?
PS: Installed on vB 3.7.1+