Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Need to add stuff to profile sidebar [2.2.4]
Zhaan
✭✭
So I want to add some links and icons to the profile sidebar/panel.. but where exactly is it? I can't find it in views/profile so I'm guessing it's a module or something.
Can anyone help me out? Any help will be appreciated, as always.
0
Best Answer
-
peregrine MVP
or do you mean
public function ProfileController_AddProfileTabs_handler($Sender) { $Sender->AddProfileTab('Zhaan', "/profile/zhaan/".$Sender->User->UserID."/".Gdn_Format::Url($Sender->User->Name), 'ZhannClass', T('The Zhaan')); }
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
6
Answers
Just to be more specific.. I mean the panel that shows links to a user's discussions, comments etc.
I think you are speaking about the UserInfoModule. You can use
public function UserInfoModule_OnBasicInfo_Handler($Sender) {
and add definition lists here. See that as an example: https://github.com/R-J/Alias/blob/master/class.alias.plugin.php#L25-50Thanks for your reply!
I couldn't find what I needed in UserInfoModule though.. could it be somewhere else? I need to directly edit the menu (called FilterMenu?) for various reasons.
or do you mean
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Ah, I found what I needed in profilefilter.php. Thanks for your help though!