vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Administrative and Maintenance Tools - Put [Add/Import Product] link in your admincp menu (https://vborg.vbsupport.ru/showthread.php?t=128831)

ericgtr 10-10-2006 10:00 PM

Put [Add/Import Product] link in your admincp menu
 
Do you have a bunch of products installed? If so, clicking on the "Manage Products" links and scrolling all the way to the bottom can be cumbersome. This will simply add a direct link to it from the side menu and put it under the products group.

Installation is simple:

Import the product-add_product_link.xml
Upload cpnav_product.xml to your /includes/xml folder.

Done :)

eNforce 10-11-2006 05:00 PM

Is it supposed to display all of the products installed still? It does for me after clicking the Add New Product link, still having to scroll.

Edit:

Fixed it, it should be:

PHP Code:

<navoption displayorder="50">
            <
phrase>add_product</phrase>
            <
link>plugin.php?do=productadd</link>
        </
navoption


ericgtr 10-11-2006 05:15 PM

Quote:

Originally Posted by eNforce
Is it supposed to display all of the products installed still? It does for me after clicking the Add New Product link, still having to scroll.

Edit:

Fixed it, it should be:

PHP Code:

<navoption displayorder="50">
            <
phrase>add_product</phrase>
            <
link>plugin.php?do=productadd</link>
        </
navoption


Sorry about that, I didn't put the right link in it. I've changed the instructions.

Tulsa 10-15-2006 04:31 AM

Now this is a useful little hack!

Canis Firebrand 10-27-2006 03:10 PM

Great little piece of code.
I changed the order a bit myself, as I wanted to have Add New Product right under Manage products.

So I had to edit the 10 20 30, etc so they lined up.

Works quite nicely. :)

Thanks again.

Paul M 10-27-2006 03:45 PM

You would be better off adding this in a seperate cpnav file, otherwise it will be lost everytime you upgrade.

ericgtr 10-27-2006 04:32 PM

Quote:

Originally Posted by Paul M
You would be better off adding this in a seperate cpnav file, otherwise it will be lost everytime you upgrade.

Good idea, Paul. I even created product for the phrase ;)

Tulsa 11-26-2006 03:09 PM

I'm surprised more people haven't installed this? I think it's a great mod.

o0Hubba0o 04-14-2007 10:27 PM

Ha, I just posted how to add that link to the top of the page and this one showed up under the similar threads listings. I actually like this idea better lol.

UltimateOreo! 04-14-2007 10:41 PM

Already done-https://vborg.vbsupport.ru/showthread.php?t=135253 Correct me if this hack does something different, not my fault there isnt a demo or screenshots.


All times are GMT. The time now is 03:06 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.01059 seconds
  • Memory Usage 1,737KB
  • 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
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete