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
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
0 members (), 872 guests, and 248 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 20230217)