![]() |
Quote:
|
Ok, I've updated the instructions to include both the 3.0.x and 3.5.x versions.
I'll work on getting this packaged for release as a vB 3.5 product. |
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 |
Remove this line of code from the code you provided:
Code:
($hook = vBulletinHook::fetch_hook('usercp_complete')) ? eval($hook) : false; |
Quote:
|
Quote:
|
Thanks alot Resale... waiting for the release
i wish i found your forum before i quit working =) in the sales market.. I got a recommendation though members from around the world. maybe a enter forums link... right under that text on your index page... I recommend some sorta forum link like enter forums or forums somewhere on your page i was a bit lost when i first entered the page because i didnt want to click one of the latest post and that didnt give me any other option other than adsense. |
Whoa thanks for the update.
|
Quote:
|
Clicks Install
Thank You very much for your time |
All times are GMT. The time now is 09:19 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|