2012-08-30, 11:25 PM
Parse error: syntax error, unexpected '/' in /home/uocluv/public_html/inc/plugins/profilexli.php on line 31
i get the error when i try to access plugins through acp.
please help!!
<?php
if(!defined("IN_MYBB"))
{
die("Direct initialization of this file is not allowed.<br /><br />Please make sure IN_MYBB is defined.");
}
$plugins->add_hook("datahandler_user_update", "profilepni_update");
function profilepni_info()
{
return array(
"name" => "Profile Playstation Network ID",
"description" => "Adds a Playstation Network ID to the User CP",
"website" => "http://www.xpresionzone.net/",
"author" => "Walkman 5.0",
"authorsite" => "http://www.xpresionzone.net/",
"version" => "1.0",
"guid" => "11c8d8bf95166e6eb737c23a9387a91b",
"compatibility" => "16*"
);
}
function profilepni_activate()
{
global $db;
/* TODO: Should the possibility be added to disable pni from admin cp? */
$db->query("ALTER TABLE ".TABLE_PREFIX."users ADD pni VARCHAR(200) NOT NULL AFTER msn");
/* TODO: Language support? */
require_once MYBB_ROOT."inc/adminfunctions_templates.php";
/* Insert fields into usercp for editing */
i get the error when i try to access plugins through acp.
please help!!