Previous Thread
Next Thread
Print Thread
Hop To
Anonymous
Unregistered
Anonymous
Unregistered
I've added a new menu item in the CP Admin menu (in cp2_lib around line 1200), but when I click on the option, I get the following error message:
<pre> The page and/or tab you requested is unavailable. The required code could not be properly loaded. Please ensure
that all scripts, libraries, and templates have been properly uploaded.
</pre>

I called the new page 'test' and uploaded cp2_test.pl (a copy of cp2_paths.pl) to my Templates directory. What other changes should I perform in order to display a page?

Anonymous
Unregistered
Anonymous
Unregistered
I've found it: I forgot to add the cp2_page_test procedure. I think I can manage it from here.

P.S. May I make a kind of 'hack' to manage my menu bar? May I distribute it?

Anonymous
Unregistered
Anonymous
Unregistered
Sure, just head over to UBBDev.

You'll probably want to read this article on working with the new control panel as well: https://www.ubbdev.com/ubb/ultimatebb.php/ubb/get_topic/f/8/t/003595

--
Charles Capps
UBB.classic™ Developer
Having problems? Open up a support ticket!

Anonymous
Unregistered
Anonymous
Unregistered
Thanks a lot!


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Version 7.7.5 Images suddenly not displaying
by Stovebolt - 05/04/2024 11:19 AM
Bots
by Outdoorking - 04/13/2024 5:08 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
Who's Online Now
1 members (Ruben), 814 guests, and 236 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240506)