Comments Support & FAQ

← Back to Support & FAQ — Help for Comments

Introduction
Profile Comments extends the Profile System to allow users to write comments on each other's profile. It's a simple system that (sort of) replicates how Facebook works; a user creates a conversation on a profile to which others can respond to.

Users have basic privacy controls that gives certain permissions over who can post comments; nobody, only my friends (users on their buddy list) and everyone. When a user receives a new comment on their profile, a notification banner (similar to the PM notice banner) appears. In the future, these notifications will only be available via the MyNetwork Notifications feature.

The entire system is powered by JavaScript, meaning those users who don't have this enabled will not be allowed to post comments. Profile Comments features inline editing of a comment too.


Installing Profile Comments
To install Profile Comments, you must have installed the Profile System first. Upload all the files included in your download to your forum and once completed, visit the MyNetwork Overview in your Admin Control Panel (ACP). Select the Profile System module and Profile Comments should be listed within the available features. From the options menu, select Install.

Once installed, Profile Comments introduces 2 new database tables (myn_comments and myn_conversations). It also adds 13 templates, 1 new setting group, 5 settings and modifies the usergroup table (canpostmync, caneditmync and candeletemync) and users table (myncnotify, myncnotice and myncprivacy). Profile Comments also adds CSS to the MyNetwork profile.css stylesheet.

There are two optional edits to make once installation has finished. These are to provide a notice to users when they receive a comment on their profile and to provide options for them to manage how comments are controlled.

Comment Notice
In your header template, place the following code where you would like the notification to appear:

Code:
<!--COMMENT_NOTIFICATION-->

Comment Options
In your usercp_options template, place the following code where you would like the comment options to appear:

Code:
<!--PROFILE_COMMENT_OPTIONS-->

The recommended place would be just after the PM Notice option so the template looks something like this:

Code:
...
<tr>
<td valign="top" width="1"><input type="checkbox" class="checkbox" name="pmnotify" id="pmnotify" value="1" {$pmnotifycheck} /></td>
<td><span class="smalltext"><label for="pmnotify">{$lang->pm_notify}</label></span></td>
</tr>
<!-- PROFILE_COMMENT_OPTIONS -->
<tr>
<td colspan="2"><span class="smalltext"><label for="subscriptionmethod">{$lang->subscription_method}</label></span></td>
</tr>
...

Not performing this edit would allow you, or other administrators, to control the comment settings for users via the ACP.


Using Profile Comments
Before using Profile Comments, you must setup the correct permissions for each usergroup. You will find these permissions (whether users can post, edit and delete comments) in the Users and Permissions when you edit a usergroup.

To post comments on profiles, the profile user must determine their privacy settings. You can manage the privacy settings by visiting the User CP and in the menu selecting Edit Options. For these options to appear, you must have performed the Comment Options edit mentioned in the Installing Profile Comments section above. Once permissions have been granted, either by the profile user or an administrator, the ability to post comments will appear.

You can edit users' default settings en-mass by using the Force Settings on Users tool available in the Profile Comments Settings in the ACP. You can find this tool either by selecting the MyNetwork Profile System - Comments settings in the Configuration tab in the ACP or by visiting the MyNetwork Overview, selecting Profile System and then the MyNetwork Profile System - Comments settings within the Settings tab. This tool will update the users specified with the permissions you select.

To use this feature, select the User Permissions you wish to force on users. Next, select which Affected Users option best suits the permissions - for example, if you're giving users permission to edit or delete other's comments (i.e. Moderators or Administrators), you will be wanting to set the permissions for all users. If you are not giving users moderating permissions on comments, it is heavily recommended that you only update the permissions for users that have posted recently ('active' users) to avoid necroposting on old profiles. Finally, you need to select which Affected Usergroups these permissions should be forced on to.


Upgrading from Alpha to 1.0.1
If you've been using the Alpha version of Profile Comments, follow this upgrade procedure.

Deactivate Profile Comments from the MyNetwork Overview and then download v1.0.1 from the Download Centre. Upload all the files in your download to your forum - and then revisit the Overview and activate the feature.

Next, open the MyNetwork Templates from the ACP Style and Themes tab (and Templates in the menu). Find the member_profile_comments_modbit_edit template. Remove the script that is contained in this template. After removing the script, save the template then choose the Make Default Template tab. Make this new template the default template.

You should be good after this. Please start a new thread in the support forum if you experience any issues.


Support and Known Issues
There are currently no known issues with Profile Comments.

If you require support with this feature, please use the MyNetwork Profile System Support forum.