Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Is it wrong to want a Participated Threads extension?
This discussion has been closed.
Comments
Parse error: parse error, unexpected '{' in ..\forum\extensions\ParticipatedThreads\default.php on line 22
My code looks like this as you suggested:
if(PT_ADD_FILTER && in_array($Context->SelfUrl,array('index.php','categories.php')) { if(!isset($Context->Dictionary['DiscussionFilters'])) { $DiscussionFilters = 'Discussion Filters'; $Panel->AddList($DiscussionFilters, 10); } else $DiscussionFilters = $Context->GetDefinition('DiscussionFilters'); $Panel->AddListItem($DiscussionFilters, $Context->GetDefinition('ParticipatedThreads'), $Context->Configuration['WEB_ROOT'].'?View=ParticipatedThreads'); }
I was stupidly looking for a misplaced "}" or "{".
Many thanks