SPB-应用管理-投票管理

来自站长百科
跳转至: 导航、​ 搜索

导航: 上一页

投票的管理分为9部分:

1. web/spacebuilder.config中的相关配置

<!—Vote Configuration -->

    <application applicationKey="Vote" applicationName="投票"  
type="SpaceBuilder.Vote.VoteConfiguration, SpaceBuilder.Vote"

            description=""

            channelUrlRouteName="Channel_Vote_Home"

            userDomainRouteName="UserDomain_Vote_Common"

            clubDomainRouteName="ClubDomain_Vote_Home"

            manageRouteName="Manage_Vote_Home"

            isPublicInUserDomain="true"

            threadsPerPage="30"

            commentsPerPage="50">

            <globalEventExtensionModules>
 <add name = "DisposeVoteForDeleteUser" type="SpaceBuilder.Vote.Modules.DisposeVoteForDeleteUser, SpaceBuilder.Vote.Web" />

            </globalEventExtensionModules>

            <serviceEventExtensionModules>

                <add name = "DisposePointForReCommendedVote" 
type="SpaceBuilder.Vote.Modules.DisposePointForReCommendedVote, SpaceBuilder.Vote.Web" />

            </serviceEventExtensionModules>

            <clubEventExtensionModules>
 <add name = "DisposeVoteForDeleteClub" type="SpaceBuilder.Vote.Modules.DisposeVoteForDeleteClub, SpaceBuilder.Vote.Web" />

            </clubEventExtensionModules>

            <eventExtensionModules>

<add name="DisposeActivityForVote" type="SpaceBuilder.Vote.Modules.DisposeActivityForVote, SpaceBuilder.Vote.Web" />

<add name="DisposePointForVote" type="SpaceBuilder.Vote.Modules.DisposePointForVote, SpaceBuilder.Vote.Web" />

<add name="DisposeNoticeForVote" type = "SpaceBuilder.Vote.Modules.DisposeNoticeForVote, SpaceBuilder.Vote.Web" />

<add name="VoteThreadFormatting" type="SpaceBuilder.Vote.Modules.VoteThreadFormatting, SpaceBuilder.Vote.Web" />

<add name="VoteCommentFormatting" type="SpaceBuilder.Vote.Modules.VoteCommentFormatting, SpaceBuilder.Vote.Web" />

            </eventExtensionModules>

            <providers>

                <add

                    name = "VoteDataProvider"

                    type = "SpaceBuilder.Vote.SqlVoteDataProvider, SpaceBuilder.Vote"

 writableConnectionStringName="writableConnection" readOnlyConnectionStringName="readOnlyConnection" 
databaseOwnerStringName = "DatabaseOwner" />

            </providers>

        </application>

2. 更新统计和设置网摘是否启用:[后台管理] ->[管理]->[应用管理] 中的“投票”

3. 站点后台管理:[后台管理] -> [投票]

4. 审核的控制: [后台管理] ->[管理]->[审核设置]-> [投票]

5. 积分设置: [后台管理] ->[管理]->[积分设置]-> [投票相关]

6. 动态设置: [后台管理] ->[管理]->[动态设置]

7. 通知设置: [后台管理] ->[管理]->[通知设置]

8. 清空缓存: [后台管理] ->[管理]->[站点管理]-> [清空缓存]

9. 管理员推荐: [后台管理]->[推荐]

参考资料[ ]