Created: 10/02/2011 (DD/MM/YYYY)
By: Santiago Dimattía
Email: master@teleportz.com.ar
Twitter: santiagodi
Thank you for using my plugin. If you have any questions that are beyond the scope of this help file, feel free to post about it on the official thread.
ProfileComments was created because so many people wanted to create a community around their MyBB forum. This plugin intends to help do this adding a little comments section on each member profile.
Some features:
Installing ProfileComments is easy like any other plugin on MyBB. But if you need a minitutorial, here it is:
And you are good to go.
Updating the plugin is easy, but you need to take a few minutes extra to make everything work. Here is the minitutorial:
And you are done.
It can be possible that, on some themes, ProfileComments won't show by default. Don't worry, you can still use it, but you have to do a few changes manually.
To do this changes, go to the MyBB Admin Control Panel > Templates & Styles > Templates. You will see a list of all your themes. Select the one you are using and you will see a list containing all the templates categories belonging to your theme. You will need to make the following changes to the templates:
Note that some changes could be in the templates. Only make the changes the installer couldn't do.
You need to make two changes in this template. First, find:
{$warning_level}
And add this below:
<!-- ProfileComments -->{$pf_statistics}<!-- /ProfileComments -->
Then, find:
{$modoptions}
And add this below:
<!-- ProfileComments -->{$comments_index}<!-- /ProfileComments -->
You only need to make one change in this template. Find:
{$lang->welcome_pms_usage}
And add this below:
<!-- ProfileComments --> | <a href="{$mybb->settings['bburl']}/member.php?action=profile&uid={$mybb->user['uid']}" title="{$lang->profile_comments}">{$lang->profile_comments_new_inmenu}</a> {$lang->profile_comments_new_inmenu_count}<!-- /ProfileComments -->
You only need to make one change in this template. Find:
{$unreadreports}
And add this below:
<!-- ProfileComments -->{$commentalert}<!-- /ProfileComments -->
</span></td>
And add this below:
<!-- ProfileComments -->
<tr>
<td valign="top" width="1"><input type="checkbox" class="checkbox" name="commentnotify" id="commentnotify" value="1" {$commentnotifycheck} /></td>
<td><span class="smalltext"><label for="commentnotify">{$lang->comment_notify}</label></span></td>
</tr>
<tr>
<td colspan="2"><span class="smalltext"><label for="commentnotify">{$lang->who_can_leave_comments}</label></span></td>
<tr>
<td colspan="2">
<select name="commentsfilter" id="commentsfilter">
<option value="0" {$anyone_can_leave_comments}>{$lang->anyone_can_leave_comments}</option>
<option value="1" {$only_friends_can_leave_comments}>{$lang->only_friends_can_leave_comments}</option>
<option value="2" {$nobody_can_leave_comments}>{$lang->nobody_can_leave_comments}</option>
</select>
</td>
<!-- /ProfileComments -->
And you are done! If all this changes are OK, you should see all the ProfileComments funcionality.
Post something about it on the official thread! I can't guarantee you anything, but if it's something cool I could take the time to think about adding it :P.
Don't worry. If you need extra help, visit the official thread. I reply in there when I have some free time, so be patient!
Oh, and please note that I don't have the time to read the MyBB Forums as I did before, so if you create a new thread, I probably won't be able to see it.
Santiago Dimattía