PDA


View Full Version : Admincp options are showing in popup's


PoNi
01-28-2006, 12:08 AM
Question I just installed the CMPS v2.x on vB 3.0.11 and during the install I did the optional file modifications. After the file modifications my admincp options are popping up in another window.

In other words when i log in and say choose option vBa CMPS and then edit modules. Instead of showing up to the right, it shows up in a popup window?

Did I do something wrong in the install?

Thx

Brian
01-30-2006, 04:37 PM
Sounds like you didn't make the changes to your admincp/index.php file correctly.

PoNi
02-10-2006, 08:57 AM
Ok .. I just added the lines .. like the directions said...

above this..

$printhr = false;
if (can_administer('canadmincalendars'))

I put ..

// *************************************************
construct_nav_option($vbphrase['default_settings'], 'vba_cmps_admin.php?do=modifysettings');
construct_nav_option($vbphrase['edit_modules'], 'vba_cmps_admin.php?do=listmodules');
construct_nav_option($vbphrase['add_module'], 'vba_cmps_admin.php?do=newmodule');
construct_nav_option($vbphrase['edit_pages'], 'vba_cmps_admin.php?do=listpages');
construct_nav_option($vbphrase['add_page'], 'vba_cmps_admin.php?do=newpage');
construct_nav_option($vbphrase['download_upload_module'], 'vba_cmps_admin.php?do=download');
construct_nav_option($vbphrase['quick_permissions_editor'], 'vba_cmps_admin.php?do=permissions');
construct_nav_group($vbphrase['vba_cmps']);

construct_nav_spacer();

now I delete it and still get the same error ?

dont understand

Brian
02-10-2006, 05:12 PM
Get a fresh, un-hacked version of your admincp/index.php file and reapply the changes using Notepad. Do NOT use Dreamweaver or any similar programs as they have been known to cause problems.

PoNi
02-11-2006, 02:12 AM
Ok great that fixed the pop up problem thanks :)

Another quick question though .. I am getting this error when loading my cmps_index.php file ?

Fatal error: Call to undefined function: print_portal_output() in /var/www/site/forum/cmps_index.php on line 35

any idea's why ?

Brian
02-11-2006, 04:02 PM
If you're running v2.0, that means you didn't make the changes to your global.php file.