HI,
I messed up big time. I wasnt paying to close attention and I modified the usercp.php even though I have 3.5.x, and published the changes, then I got an error message:
Parse error: parse error, unexpected '[' in /home/jeffsmit/public_html/forum/usercp.php(467) : eval()'d code on line 3
at the top of my usercp page on the forum.
I went back and looked over the directions and noticed I was only supposed to modify if I was using 3.0.x. So I erased the:
// REFERRALS
$refcount = $DB_site->query_first("SELECT COUNT(*) AS count FROM " . TABLE_PREFIX . "user WHERE referrerid = '".$bbuserinfo['userid']."'");
$referrals = vb_number_format($refcount['count']); [/CODE]
That I had previoulsy inserted. Then I republished, now I get the same error message at the top of my user cp.
This is lines: 461-474 as of right now:
// draw cp nav bar
construct_usercp_nav('usercp');
$frmjmpsel['usercp'] = 'class="fjsel" selected="selected"';
construct_forum_jump();
($hook = vBulletinHook::fetch_hook('usercp_complete')) ? eval($hook) : false;
eval('$HTML = "' . fetch_template('USERCP') . '";');
// build navbar
$navbits = construct_navbits(array('' => $vbphrase['user_control_panel']));
eval('$navbar = "' . fetch_template('navbar') . '";');
eval('print_output("' . fetch_template('USERCP_SHELL') . '");');
Does anyone know what I can do to fix this, I dont really even know what I am doing but I am trying to learn as I go. I goofed this time... HELP!
Thank You,
Jeff Smith
|