Added Contributions Account Pluggin which displays assets a user has contributed to the site

This commit is contained in:
Frank Dillon 2008-11-19 07:44:22 +00:00
parent a30520e871
commit a50414025e
5 changed files with 303 additions and 0 deletions

View file

@ -8,6 +8,7 @@
- New Profile Account module added providing a better interface for users to view and update their profile
- New Inbox Account module added providing a better interface into WebGUI's various messaging systems
- New Friends Account module added providing a better interface into WebGUI's friends system
- New Contributions Account module added which displays public assets a user has contributed to the website
- rfe: Event hover detail exclusions (#8761)
- rfe: Database Link test (#513)
- rfe: User Profile Privacy Settings (#507) - users now have granular control of whether or not their profile fields are viewable - admin settings still apply

View file

@ -409,6 +409,11 @@ sub upgradeAccount {
title => "^International(title,Account_Friends);",
className => "WebGUI::Account::Friends"
},
{
identifier => "contributions",
title => "^International(title,Account_Contributions);",
className => "WebGUI::Account::Contributions"
},
{
identifier => "shop",
title => "^International(title,Account_Shop);",
@ -487,6 +492,12 @@ sub upgradeAccount {
$setting->add("shopStyleTemplateId",""); #Use the userStyle by default
$setting->add("shopLayoutTemplateId","aUDsJ-vB9RgP-AYvPOy8FQ");
#Add the settings for the contributions module
$setting->add("contribStyleTemplateId",""); #Use the userStyle by default
$setting->add("contribLayoutTemplateId","b4n3VyUIsAHyIvT-W-jziA");
$setting->add("contribViewTemplateId","1IzRpX0tgW7iuCfaU2Kk0A");
#Add inbox changes
$session->db->write(q{
create table inbox_messageState (