vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Need lil XML / Admincp template editing help (https://vborg.vbsupport.ru/showthread.php?t=219866)

nirvana43 07-31-2009 01:42 AM

Need lil XML / Admincp template editing help
 
Hello

http://img378.imageshack.us/img378/3055/admincpmenu.jpg

I want to have custom link in admincp as shown in above pic.
I have "settings.php" file located under forums/admincp/ folder. I wanna have link to that file in admincp.... when its clicked, it doesn't take you off admincp but it should display that page on right side frame.. I hope i'm explaining it rite...
Can somebody tell me the code or edit :o


Regards
Aditya

HMBeaty 07-31-2009 01:45 AM

https://vborg.vbsupport.ru/showthrea...t=admincp+menu

https://vborg.vbsupport.ru/showthrea...t=admincp+menu

nirvana43 07-31-2009 02:28 AM

I'm running on 3.7.. I already referred those 2 topics... in fact i used 'em to design my custom pages... But when i import XML written as follows, it gives me invalid file error :

Code:

<?xml version="1.0" encoding="ISO-8859-1"?>
<navgroups product="vbulletin">
        <navgroup phrase="forums_and_moderators" displayorder="60">
                <navoption displayorder="1">
                        <text>My Test Settings</text>
                        <link>settings.php?do=foo</link>
                </navoption>
        </navgroup>
</navgroups>


Marco van Herwaarden 07-31-2009 01:54 PM

How do you try to import this? :confused:

nirvana43 07-31-2009 02:27 PM

Quote:

Originally Posted by Marco van Herwaarden (Post 1859066)
How do you try to import this? :confused:

from add/import products... am i missing something? :o

Marco van Herwaarden 07-31-2009 02:54 PM

This is a cpnav file, you don't import these you just place the XML-file (with the correct name, ie: cpnav_<productid>.xml) in the ./includes/xml directory.

PS There is probably an article on AdminCP menu's in our articles section.

nirvana43 07-31-2009 03:32 PM

Thanks a lot for reply marco... i strongly appreciate that...
I found solution in afternoon only... sorry i forgot to mention that here..
I referred :
http://www.vbulletin.com/forum/showthread.php?t=234240

And

http://search.code-head.com/F-Admin-...ummies-1199444

Google is really my friend!! haha http://img33.imageshack.us/img33/7453/biglaugh.gif


All times are GMT. The time now is 05:02 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01078 seconds
  • Memory Usage 1,726KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete