Changed boards based on a variable
So say I wanted to do a kind-of prank thing to some users.
Have something like
if {$_SESSION['clickCount'] >= 10}{
$_SESSION['clickCount'] == 0;
// hide forumids 4, 5, 6, 10
}else{
$_SESSION['clickCount'] ++;
}
What could go into the "// hide forumids 4,5,6,10" area? I want to make it so when a user visits 10 pages (or maybe change it to random...), the focus area of our site is hidden for one page load.
Anyone have any ideas? I'm comfortable coding in the plugin system, I just don't know what to change around...
|