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)
-   -   Mini Mods - Moderation menu (Navbar Dropdown) (https://vborg.vbsupport.ru/showthread.php?t=134384)

Roms 12-18-2006 10:00 PM

Moderation menu (Navbar Dropdown)
 
Moderation menu (Navbar Dropdown)

Moderation menu (Navbar Dropdown)
By: Roms
Easy, about 1-2 mins


This simple modification adds a dropdown menu to the navigation bar
with moderation links. The main link is only visible to staff members.

Only those staff members who can use the Moderator CP can see the main link, only Admins can see the Admin links (Admin CP, Users) in the drop down...

Please remember to click Mark as Installed if you use this modification. (See Mod Options >)

Please make sure you click INSTALL if you use it. :cool:

Hornstar 12-19-2006 11:53 PM

nice and handy, nice work.

Roms 12-20-2006 12:40 AM

Quote:

Originally Posted by hornstar1337 (Post 1141942)
nice and handy, nice work.

Thank, please click install if you end up using it. :)

djlotus 12-20-2006 10:22 AM

Another mod perfect for my board. Thanks CLICKS INSTALL

Roms 12-20-2006 08:51 PM

Quote:

Originally Posted by djlotus (Post 1142139)
Another mod perfect for my board. Thanks CLICKS INSTALL

Thanks :)

chick 12-20-2006 09:13 PM

Thanks CLICKS INSTALL

Roms 12-20-2006 09:51 PM

Quote:

Originally Posted by chick (Post 1142461)
Thanks CLICKS INSTALL

Thanks for using it. :)

bplinson 01-01-2007 06:36 PM

Installed - Works Great

I had to change the code though since my AdminCP and ModCP are not using the default names.

Roms 01-02-2007 12:31 AM

Quote:

Originally Posted by bplinson (Post 1148653)
Installed - Works Great

I had to change the code though since my AdminCP and ModCP are not using the default names.

Thanks for using it. :)

wengi 01-05-2007 10:41 PM

Installed thnks gr8 post nd hack

Roms 01-07-2007 02:51 AM

Quote:

Originally Posted by wengi (Post 1151631)
Installed thnks gr8 post nd hack

Thanks :)

TheFrienzNet 01-13-2007 05:39 PM

Thank you, that's great. :)

Roms 01-14-2007 02:50 AM

Quote:

Originally Posted by TheFrienzNet (Post 1158223)
Thank you, that's great. :)

Thank you and thanks for clicking install. :)

stwilson 01-15-2007 02:00 AM

Installed and working like a charm. Thank you!

ST

Roms 01-23-2007 09:57 PM

Quote:

Originally Posted by stwilson (Post 1159499)
Installed and working like a charm. Thank you!

ST


Glad you like it. :)

ShackMaster 01-29-2007 04:51 AM

Hey Roms... nice mod. I actually used it to get me a dropdown menu with a different menu.

I'm having a problem getting the dropdown box to dropdown directly below the dropdown link.

You can check it out at http://www.hometheatershack.com/forums ... it's on the bottom navbar row and the title is Shack Stores Shopping Mall. Clicking on the link the dropdown menu opens to the far left of the screen.

Any ideas on what might cause this?

Thanks,
Sonnie

Roms 01-29-2007 11:16 AM

Quote:

Originally Posted by ShackMaster (Post 1169524)
Hey Roms... nice mod. I actually used it to get me a dropdown menu with a different menu.

I'm having a problem getting the dropdown box to dropdown directly below the dropdown link.

You can check it out at http://www.hometheatershack.com/forums ... it's on the bottom navbar row and the title is Shack Stores Shopping Mall. Clicking on the link the dropdown menu opens to the far left of the screen.

Any ideas on what might cause this?

Thanks,
Sonnie

That's normal. That's just the way VB's javascript popup is written, it will position itself in the most left of the cell. If you just want to move it you'll have to align that cell to the left or add more links to the navbar (the more links on the navbar the smaller the cells, then the dropdowns are forced next to the links...).

I hope that helps. :)

ShackMaster 01-29-2007 11:13 PM

What's the chances of getting the code to center it in the cell?

Thanks!

Roms 02-05-2007 01:08 AM

Quote:

Originally Posted by ShackMaster (Post 1170163)
What's the chances of getting the code to center it in the cell?

Thanks!

You would need to play with the code and try adding align=center in the cell....

Thanks,
Roms

ChristDivers 02-21-2007 05:33 PM

I'd love to install this Mod but I already have enough links on my nav bar already. Does anyone here know where I need to go to add another nav bar above the original nav bar. A nav bar above the main login feature not directly above the original.
Example:

.................................................. ......Navbar.................. .........................................
|............................New.................. .............................. ..Navbar.............................|

|main |login area |

.................................................. ......Navbar.................. ..........................................
|.............................Original............ ..........................Navb ar...................................|

Sorry I don't have snapshot ..... lmoao !!!

Any help would be greatly appreciated

God Bless !!!

Gerry

ChristDivers 02-21-2007 05:40 PM

<a href="http://www.hometheatershack.com/" target="_blank">http://www.hometheatershack.com/</a>

How can I get another nav bar like the one in the above website. My guess would be its located some where in the header or nav bar template. Any input would be helpful so I can not clutter my original with more links. I need this user friendly Mod for my site.

Thanks & God Bless !!!

Gerry

ChristDivers 02-22-2007 01:08 AM

I've went into the navbar template & copied the Nav bar section twice then pasted above breadcrumb section. I took out the unnecessary links like: Search, Faq Register, etc.

I seem to be answering my own questions :D

God Bless !!!

Gerry

kylek 02-25-2007 12:54 AM

Thanks for this, exactly what we were looking for.

Admins see the moderation link in the navbar and access works but when signed on as moderator it does not show in the navbar. Is there something to set or change for regular mods to see the moderation link in the navbar?

Thanks!!

Masiello 02-25-2007 07:48 AM

Thanks, great and usefull Hack :)

But this mod waste the w3c forum validation if anybody like me have, the code need to be fixed

Quote:

Line 266, column 35: end tag for element "a" which is not open .
<tr><td class="thead">Moderation</a></td></tr>

The Validator found an end tag for the above element, but that element is not currently open. This is often caused by a leftover end tag from an element that was removed during editing, or by an implicitly closed element (if you have an error related to an element being used where it is not allowed, this is almost certainly the case). In the latter case this error will disappear as soon as you fix the original problem.

If this error occured in a script section of your document, you should probably read this FAQ entry.

Roms 02-28-2007 01:09 AM

Thanks :) Updated.

parabat 08-23-2007 02:15 PM

Quote:

Originally Posted by kylek (Post 1190074)
Thanks for this, exactly what we were looking for.

Admins see the moderation link in the navbar and access works but when signed on as moderator it does not show in the navbar. Is there something to set or change for regular mods to see the moderation link in the navbar?

Thanks!!

I'm having the same issues. Can anyone assist please??

-PB

Roms 09-01-2007 08:35 PM

Quote:

Originally Posted by parabat (Post 1324014)
I'm having the same issues. Can anyone assist please??

-PB

The only ones who can see that link is Admins, and super moderators unless you change the permissions... ;)

parabat 09-06-2007 03:22 PM

Quote:

Originally Posted by Roms (Post 1330353)
The only ones who can see that link is Admins, and super moderators unless you change the permissions... ;)

Thanx Roms and where do I change these permissions?

-PB

Roms 09-10-2007 03:17 AM

Quote:

Originally Posted by parabat (Post 1333643)
Thanx Roms and where do I change these permissions?

-PB

Anyone who you want to see the links needs to be a super moderator or an administrator.

You can change the permission statements but it wont do you much good if the member can't even use the Moderator CP. For more info search for facts on this site about changing the <IF> tags in my code. That's as much info as I'll give about this subject. Support is given for the modification in it's present state, not altered. This modification was meant for super moderators or administrators. They will be able to see the links.

Thanks :)


All times are GMT. The time now is 06:37 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.01175 seconds
  • Memory Usage 1,782KB
  • 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
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (29)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