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
In my first comment on this forum I brought this up, but in a different way. I suggested that it would be good if in the user accounts profile page the Comments Added & Disscussions Started should be links to the search function they represent.
So clicking on Comments Added would bring up the list of the threads (Discussions) participated in, and clicking on Disscussions Started would be similar to the link http://lussumo.com/community/discussions/?View=YourDiscussions, but it would function for that user rather than whoever is logged in.
Also I would change the Participated Threads to Participated Discussions, in keeping with the vanilla style of naming, but that's just a personal preference.
Anyway, for anyone that may be interested, to utilize this nice feature what I did was upload and enable the extension. I then created a new page with PageManager and assigned it with the base URL appended with ?ParticipatedThreads. [www.site.com/vanilla/?ParticipatedThreads] and everything worked smoothly.
Except 1 thing: the numbering is off. It says: "1 to 13 of 13" when there are actually only 11 threads. 13 is the total number of threads on the discussions page, if that helps.
And thanks for the resync tip
Any ideas would be greatly appreciated. Thanks.
Looks promising, however, I did encounter an error and the links didn't actually work:
Notice: Undefined variable: AccountUser in /home/.lasorda/nca/members.cavern.com/forum/extensions/UserFilters-2006-07-16/default.php on line 23
Notice: Trying to get property of non-object in /home/.lasorda/nca/members.cavern.com/forum/extensions/UserFilters-2006-07-16/default.php on line 23
Notice: Undefined variable: AccountUser in /home/.lasorda/nca/members.cavern.com/forum/extensions/UserFilters-2006-07-16/default.php on line 24
Notice: Trying to get property of non-object in /home/.lasorda/nca/members.cavern.com/forum/extensions/UserFilters-2006-07-16/default.php on line 24
Notice: Undefined variable: AccountUser in /home/.lasorda/nca/members.cavern.com/forum/extensions/UserFilters-2006-07-16/default.php on line 27
Notice: Trying to get property of non-object in /home/.lasorda/nca/members.cavern.com/forum/extensions/UserFilters-2006-07-16/default.php on line 27
Also I would label the sidebar heading with the user's name as in, AssProphet's Activity, or AssPropeht's History or something. I realize you took "filters" from Discussion Filters, but this extension doesn't really behave as much like a filter because it widens the scope of information rather than narrowing/filtering it. Again I'm not sure what word, history, activity, or other should replace filters. Any ideas?
I won't be able to troubleshoot your error messages it until I get home this evening, but I'll see what I can find. I like your suggested naming of 'username's Activity' so I'll go with that instead of Filters in the next version.
Trouble is I'm not getting that error myself...I see it's been downloaded by several others - anyone else have experience with User Filters working/not working on your installation?
Anyway, I've uploaded a new version (downgraded to 0.9) with the following added at line 22:
//Define the account that is being viewed $AccountUserID = ForceIncomingInt("u", $Context->Session->UserID); $AccountUser = $UserManager->GetUserById($AccountUserID);
I think that sets the definition properly. Can you give the new version a try?
http://lussumo.com/addons/index.php?PostBackAction=AddOn&AddOnID=107
I installed this extension a while ago and it works fine. However, for some reason it's displayed not only on the disussion tab, but on all tabs, including the settings, account and search pages, which doesn't really make sense. Since I noticed it's not the case here in the community forum, I'd like to know if there's a way to make it only appear on the discussions & categories tab.
I'm also using the Page Manager and the Panel Re-Order, maybe there's a problem with that.
It works fine now, but (sorry for sucking at PHP) what should I need to change to make it also appear on the category tab?
if(PT_ADD_FILTER && $Context->SelfUrl == 'category.php') { if(!isset($Context->Dictionary['DiscussionFilters'])) { $DiscussionFilters = 'Discussion Filters'; $Panel->AddList($DiscussionFilters, $Position = '000', $ForcePosition = '1'); } else $DiscussionFilters = $Context->GetDefinition('DiscussionFilters'); $Panel->AddListItem($DiscussionFilters, $Context->GetDefinition('ParticipatedThreads'), $Context->Configuration['WEB_ROOT'].'?View=ParticipatedThreads'); }
However I doubt it's optimized...
if(PT_ADD_FILTER && in_array($Context->SelfUrl,array('index.php','categories.php'))