vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Designing a mod.. lil help needed. (https://vborg.vbsupport.ru/showthread.php?t=218989)

nirvana43 07-20-2009 04:47 AM

Designing a mod.. lil help needed.
 
Hello
I've designed a control panel for my mod and trying to integrate it in to vbulletin admincp.
Following are the issues i'm facing with integration :


I can't find what i'm suppose to write in xml (product) file to integrate my mod control panel in to vbulletin admincp (under vbulletin options drop down list). I referred to this tutorial.
  • My xml product file contains :
    Code:

    <?xml version="1.0" encoding="ISO-8859-1"?>
    <navgroups product="vbulletin">
            <navgroup phrase="AdiInviter_Settings" displayorder="60">
                    <navoption displayorder="1">
                            <phrase>AdiInviter_Settings</phrase>
                            <link>adiinviter_settings.php</link>
                    </navoption>
            </navgroup>
    </navgroups>

  • Error i'm getting is :

    http://img154.imageshack.us/img154/5664/94472208.jpg



Now there is 1 problem with theme/style/colors. I've reffered this tutorial.
Kindly help me with these issues. :o
Thanks in advance.

Marco van Herwaarden 07-20-2009 01:13 PM

You should not edit the XML-files manually. Set your board in debug-mode and add the new options using the normal interface. If you export your product, the options you have created will be included.

nirvana43 07-20-2009 02:28 PM

Quote:

Originally Posted by Marco van Herwaarden (Post 1852180)
You should not edit the XML-files manually. Set your board in debug-mode and add the new options using the normal interface. If you export your product, the options you have created will be included.

thank you very much for reply.
Is there any article/tute avail on this? :o
or lil bit more descriptive contents avail somewhere? b'cuz i googled a lot since past 2 days but couldn't find any full shot written material.
By referring to above HOW TO written in vb.org, i somehow designed that control panel


EDIT :
Found the solution! Posting it for future mod developerz : :)
Download and install this plugin :
Activate Debug Mode
Now you can edit/add/delete every single thing in admincp/forums. ;)

toonysnn 07-20-2009 02:36 PM

That is not a product file, btw. That is a cpnav file. For the sidebar in the admincp, you know?

nirvana43 07-20-2009 03:03 PM

Quote:

Originally Posted by toonysnn (Post 1852236)
That is not a product file, btw. That is a cpnav file. For the sidebar in the admincp, you know?

nop i really didn't knew that...
ok now can you tell me how do i add my custom control panel file link in admincp?


All times are GMT. The time now is 01:07 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
  • Page Generation 0.01002 seconds
  • Memory Usage 1,725KB
  • 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
  • (5)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