“ProfileComments v0.9.1” Documentation by “Santiago Dimattía”


“ProfileComments”

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.


Frequently Asked Questions (FAQs)

  1. About the plugin
  2. How can I install the plugin?
  3. How can I update the plugin?
  4. I installed/updated the plugin but it dosn't show!
  5. I want some cool feature, can you add it?
  6. I still can't fix it! Heeeeeeeelpppp!

A) About the plugin - top

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:

  1. 1-click install
  2. You can select who can comment on your profile: Anyone, only your friends, or nobody
  3. You can choose if you want to receive an email when you receive a new comment on your profile
  4. A nice cool alertbar appears if you have a new comment
  5. Group-based permissions to edit, delete or manage comments
  6. Simple "comments given", "comments received" statistics on Member profile (Deactivated by default)
  7. Send comments via AJAX
  8. Comments supports BBCodes! You can even use the BBCode editor!

B) How can I install the plugin? - top

Installing ProfileComments is easy like any other plugin on MyBB. But if you need a minitutorial, here it is:

  1. (Backup your forum files and database before installing any plugin!)
  2. Download the plugin (Duh!)
  3. Extract the zip file
  4. Upload the "inc" and the "jscripts" folder to your MyBB installation
  5. Access the MyBB Admin Control Panel. Go to Configuration -> Plugins -> Search for "ProfileComments" and click in "Install & Activate"

And you are good to go.


C) How can I Update the plugin? - top

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.


D) I installed/updated the plugin but it dosn't show! - top

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.

Member Templates > member_profile

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 -->

Header Templates > header_welcomeblock_member

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 -->

Header Templates > header

You only need to make one change in this template. Find:

{$unreadreports}

And add this below:

<!-- ProfileComments -->{$commentalert}<!-- /ProfileComments -->

User Control Panel Templates > usercp_options

</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.


E) I want some cool feature, can you add it? - top

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.


F) I still can't fix it! Heeeeeeeelpppp! - top

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

Go To Table of Contents