MyBB Community Forums

Full Version: Can't update profile comments
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
So i tried installing profile comments v5 and um i uploaded all the files then i went to http://forums.penhacks.net/update_profilecomments.php it gives me this error
[attachment=15277]


So then i changed the file permissions to 777 and everything... i dunno the error didn't show up but it didn't really do anything it just sent me to my forum so then i went to the ACP and activated it but it doesn't show up in peoples profiles. What to do?
The update file can show that error if you have accessed to it 2 or more times.

If the plugin is active in ACP, create a new PHP file with this content and access it:
<?php

/**
 * MyBB 1.4
 * Copyright © 2008 MyBB Group, All Rights Reserved
 *
 * ProfileComments by Santiago Dimattia
 * http://www.teleportz.com.ar
 * 
 */

define("IN_MYBB", 1);
define('THIS_SCRIPT', 'index.php');

require_once "./global.php";

echo "PF: " . $mybb->user['newcomments'];

?>

If it says "PF: 0" or "PF: 1" the DB is updated to v0.5 and its a template-related problem (You will need to manually edit the templates or reactivate the plugin).
Okay i will try that thanks Big Grin


EDIT: It said PF: 0 soooo i will try to do the template edit... what do i need to add?
Go to:
Home » Template Sets » Default Templates » Edit Template: member_profile

And add this code:
<!-- ProfileComments -->{$comments_index}<!-- /ProfileComments -->

Before (or after):
{$signature}