PT Forums Subscription Dashboard
From ADF Docs
Back to Build Templates/Pages
Overview
The Forum Subscription Dashboard page is where your forum users go to manage their thread subscriptions. This dashboard can be a standalone page or just an element on a page geared displaying information to a specific logged in user (ie. a user profile dashboard).
To construct your Subscription Dashboard as a page, complete the following steps.
Steps
- Create a CommonSpot page with a name of 'Subscriptions Dashboard' using the Base Plus One template and place it in the Forums subsite.
- Place the Forum Subscriptions Custom Element on this page.
- Click Render Mode in the element interface.
- Select Display existing element data (content reuse) on the Rendering Mode tab.
- Select the Filter tab. (This Filter is very important! It limits the records so each logged forum user only sees their own subscriptions.)
- Select Filter Type to Show subset of records.
- Select the field drop-down as the User Name field.
- Select the operator as Equals.
- Click the '...' button to open the ColdFusion expression window.
- Enter the text request.user.ptForum.profileid as the expression and check the force cache checkbox. Click OK and then check the box to Ignore ColdFusion error, then click OK.
- Select the sort order drop-down as the Thread Name field and Ascending.
- Click OK on the render mode window.
- Click More in the element interface. Then the Custom Render Handlers menu option, and choose the User Subscriptions Dashboard Render Handler.
- Submit the Page.
Update Configuration
Update the Forums Configuration for the 'UNSUBSCRIBE_DASHBOARD_URL' field. Edit the row in the datasheet and select the CommonSpot page that was just created.
Reset the ADF for the server and site.