It's the simplest plugin ever - but I don't get it to work.
Hook: forumhome_start
PHP Code:
if($bbuserinfo['field63']=='Random'){
$variablename = "1";
}
else{
$variablename = "2";
}
The profile field #63 has the options "Random" and "Latest".
But $variablename is always 2!
--------------- Added [DATE]1228050472[/DATE] at [TIME]1228050472[/TIME] ---------------
Ah, okay.
The solution: $vbulletin->userinfo['field63']