Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 10-23-2005, 12:02 PM
Swindont Swindont is offline
 
Join Date: Sep 2005
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Make New Menus And Permissions

i would like to be able to have all hacks installed under one menu and set admin permissions for that menu like others in admincp

could somone do that please?
Reply With Quote
  #2  
Old 10-23-2005, 03:13 PM
evenmonkeys's Avatar
evenmonkeys evenmonkeys is offline
 
Join Date: Aug 2004
Location: Iowa
Posts: 896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, I'm not sure if my idea would be better for you as putting all hacks under one group would make it really hard to read. I've attached how I have it setup in my admincp if you would like to try it that way.

Assuming you're using plug-ins for the admincp nav, the following will show you how to make it look like mine. I'll use vBRadio as my example.

In the root/includes/xml directory, find the nav files that you want to be grouped together. Now find this, located at the very top...

Quote:
<?xml version="1.0" encoding="ISO-8859-1"?>
<navgroups product="vbulletin">
<navgroup text="vBRadio Control" permissions="canadminsettings" displayorder="14">
<navoption>
<text>vBRadio Channel Control</text>
<link>admin_vbradio.php?do=channel</link>
</navoption>
<navoption>
<text>vBRadio Category Control</text>
<link>admin_vbradio.php?do=cat</link>
</navoption>
</navgroup>
</navgroups>
In some of these files, you're going to see a phrase called hr="true" in the line that I bolded for you. What this phrase means is that the next group will be another line down, rather than connected to this group. By making that say false or completely removing it as shown in the above example, you can have the outcome of the two attached images. Then just change the display order to fit your liking. Also, the permissions="canadminsettings" is the permissions you are looking for, I believe.

I chose to do it this way because with one category with fifty options in it would be crazy. =P If you'd want to do it that way, you'd have to make your own nav file and delete the others. You would then just throw all of the files into that one file accordingly.
Attached Images
File Type: jpg ex1.jpg (411.1 KB, 0 views)
File Type: jpg ex2.jpg (414.4 KB, 0 views)
Reply With Quote
  #3  
Old 10-23-2005, 03:17 PM
Swindont Swindont is offline
 
Join Date: Sep 2005
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by xYarub
Well, I'm not sure if my idea would be better for you as putting all hacks under one group would make it really hard to read. I've attached how I have it setup in my admincp if you would like to try it that way.

Assuming you're using plug-ins for the admincp nav, the following will show you how to make it look like mine. I'll use vBRadio as my example.

In the root/includes/xml directory, find the nav files that you want to be grouped together. Now find this, located at the very top...



In some of these files, you're going to see a phrase called hr="true" in the line that I bolded for you. What this phrase means is that the next group will be another line down, rather than connected to this group. By making that say false or completely removing it as shown in the above example, you can have the outcome of the two attached images. Then just change the display order to fit your liking. Also, the permissions="canadminsettings" is the permissions you are looking for, I believe.

I chose to do it this way because with one category with fifty options in it would be crazy. =P If you'd want to do it that way, you'd have to make your own nav file and delete the others. You would then just throw all of the files into that one file accordingly.
how would i set it so only admins with Plug permissions can view these menus?

Edit : i tryed ur way but it never seemed to work so i eidted the real menu and added what i wanted that way under Plugins and it works
Reply With Quote
  #4  
Old 10-23-2005, 03:49 PM
evenmonkeys's Avatar
evenmonkeys evenmonkeys is offline
 
Join Date: Aug 2004
Location: Iowa
Posts: 896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Replace:

permissions="canadminsettings"

With:

permissions="canadminplugins"
Reply With Quote
  #5  
Old 10-23-2005, 03:53 PM
Swindont Swindont is offline
 
Join Date: Sep 2005
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks i have installed Vbshout how would i get that page to display in my menu and not in vbulletin optitions?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:48 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.04009 seconds
  • Memory Usage 2,220KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (2)postbit_attachment
  • (5)postbit_onlinestatus
  • (5)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete