Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Help Desk / Navigation Drop Down Details »»
Help Desk / Navigation Drop Down
Version: 1.00, by vBTotal vBTotal is offline
Developer Last Online: Jul 2006 Show Printable Version Email this Page

Version: 3.0.7 Rating:
Released: 02-26-2005 Last Update: Never Installs: 12
 
No support by the author.

This turns your current link on your navbar from "Help Desk" into a Drop Down menu like Search, Quickinks etc. Only One Simple Template Edit!

Open up your Navbar Template

Find
HTML Code:
<td class="vbmenu_control"><a href="helpdesk.php?$session[sessionurl]">$vbphrase[helpdesk]</a></td>
Replace With
HTML Code:
<if condition="$show['member']">
		<td id="hd" class="vbmenu_control"><a href="#top">Help Desk</a> <script type="text/javascript"> vbmenu_register("hd"); </script></td>
		</if>
Next Find
HTML Code:
<if condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="online.php?$session[sessionurl]">$vbphrase[whos_online]</a></td></tr></if>
		
		</table>
	</div>
	<!-- / user cp tools menu -->
	</if>
<!-- / NAVBAR POPUP MENUS -->
Below Add

HTML Code:
<!-- HelpDesk -->
	<div class="vbmenu_popup" id="hd_menu" style="display:none">
	<table cellpadding="4" cellspacing="1" border="0">
			<if condition="$bbuserinfo[permissions][adminpermissions]>0">
			<tr><td class="thead">Admin Options</td>
			<tr><td class="vbmenu_option"><a href="helpdesk.php?$session[sessionurl]">$vbphrase[open_tickets]</a></td></tr>
			<tr><td class="vbmenu_option"><a href="helpdesk.php?$session[sessionurl]do=mytickets">$vbphrase[my_tickets]</a></td></tr>
			<tr><td class="vbmenu_option"><a href="helpdesk.php?$session[sessionurl]do=newtickets">$vbphrase[new_tickets]</a></td></tr>
			<tr><td class="vbmenu_option"><a href="helpdesk.php?$session[sessionurl]do=newreplies">$vbphrase[new_replies]</a></td></tr>
			</if>
			<tr><td class="thead">Options</td>		
			<tr><td class="vbmenu_option"><a href="helpdesk.php?$session[sessionurl]do=newticket">New Ticket</a></td></tr>
			<tr><td class="vbmenu_option"><a href="helpdesk.php?$session[sessionurl]do=unresolved">Unresolved Tickets</a></td></tr>
			<tr><td class="vbmenu_option"><a href="helpdesk.php?$session[sessionurl]do=resolved">Resolved Tickets</a></td></tr>
	</table>
	</div>
	<!-- / HelpDesk -->
Thats all, Enjoy

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 02-27-2005, 08:25 PM
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Location: New Zealand
Posts: 2,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This should really go in the original thread...it's a Template modification, not a hack.
Reply With Quote
  #3  
Old 02-27-2005, 08:30 PM
Creed's Avatar
Creed Creed is offline
 
Join Date: May 2002
Location: The Matrix
Posts: 281
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I added
Reply With Quote
  #4  
Old 02-28-2005, 02:05 AM
HuangA's Avatar
HuangA HuangA is offline
 
Join Date: Jun 2004
Posts: 102
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

just exactly where is he getting the helpdesk from? I don't see helpdesk as any part of standard vb bundle...
Reply With Quote
  #5  
Old 02-28-2005, 02:39 AM
Polo's Avatar
Polo Polo is offline
 
Join Date: Jun 2004
Posts: 893
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yeah... this definetly doesnt belong here.. should go in the original thread and the author of the help desk should just post it on the first thread as an addition... anyways, thanks for sharing.. i'm sure many will find this helpful...
Reply With Quote
  #6  
Old 03-01-2005, 01:04 AM
CyberSlash69 CyberSlash69 is offline
 
Join Date: Jan 2005
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed. very nice!
Reply With Quote
  #7  
Old 03-05-2005, 05:56 PM
WhSox21 WhSox21 is offline
 
Join Date: Feb 2004
Posts: 328
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As a note this will not work in version 1.50 without file edits!
Reply With Quote
  #8  
Old 03-06-2005, 07:33 AM
Creed's Avatar
Creed Creed is offline
 
Join Date: May 2002
Location: The Matrix
Posts: 281
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hrmn, it works fine without file edits for me. Although I did add a couple of the options to the install

replace:
Code:
<!-- HelpDesk -->
	<div class="vbmenu_popup" id="hd_menu" style="display:none">
	<table cellpadding="4" cellspacing="1" border="0">
			<if condition="$bbuserinfo[permissions][adminpermissions]>0">
			<tr><td class="thead">Admin Options</td>
			<tr><td class="vbmenu_option"><a href="helpdesk.php?$session[sessionurl]">$vbphrase[open_tickets]</a></td></tr>
			<tr><td class="vbmenu_option"><a href="helpdesk.php?$session[sessionurl]do=mytickets">$vbphrase[my_tickets]</a></td></tr>
			<tr><td class="vbmenu_option"><a href="helpdesk.php?$session[sessionurl]do=newtickets">$vbphrase[new_tickets]</a></td></tr>
			<tr><td class="vbmenu_option"><a href="helpdesk.php?$session[sessionurl]do=newreplies">$vbphrase[new_replies]</a></td></tr>
			</if>
			<tr><td class="thead">Options</td>		
			<tr><td class="vbmenu_option"><a href="helpdesk.php?$session[sessionurl]do=newticket">New Ticket</a></td></tr>
			<tr><td class="vbmenu_option"><a href="helpdesk.php?$session[sessionurl]do=unresolved">Unresolved Tickets</a></td></tr>
			<tr><td class="vbmenu_option"><a href="helpdesk.php?$session[sessionurl]do=resolved">Resolved Tickets</a></td></tr>
	</table>
	</div>
	<!-- / HelpDesk -->
with:
Code:
<!-- HelpDesk -->
	<div class="vbmenu_popup" id="hd_menu" style="display:none">
	<table cellpadding="4" cellspacing="1" border="0">
			<if condition="$bbuserinfo[permissions][adminpermissions]>0">
			<tr><td class="thead">Admin Options</td>
			<tr><td class="vbmenu_option"><a href="helpdesk.php?$session[sessionurl]">$vbphrase[open_tickets]</a></td></tr>
			<tr><td class="vbmenu_option"><a href="helpdesk.php?$session[sessionurl]do=mytickets">$vbphrase[my_tickets]</a></td></tr>
			<tr><td class="vbmenu_option"><a href="helpdesk.php?$session[sessionurl]do=newtickets">$vbphrase[new_tickets]</a></td></tr>
			<tr><td class="vbmenu_option"><a href="helpdesk.php?$session[sessionurl]do=newreplies">$vbphrase[new_replies]</a></td></tr>
<tr><td class="vbmenu_option"><a href="helpdesk.php?$session[sessionurl]do=departments">$vbphrase[departments]</a></td></tr>
<tr><td class="vbmenu_option"><a href="helpdesk.php?$session[sessionurl]do=usergroup">$vbphrase[usergroup_settings]</a></td></tr>
			</if>
			<tr><td class="thead">Options</td>		
			<tr><td class="vbmenu_option"><a href="helpdesk.php?$session[sessionurl]do=newticket">New Ticket</a></td></tr>
			<tr><td class="vbmenu_option"><a href="helpdesk.php?$session[sessionurl]do=unresolved">Unresolved Tickets</a></td></tr>
			<tr><td class="vbmenu_option"><a href="helpdesk.php?$session[sessionurl]do=resolved">Resolved Tickets</a></td></tr>
	</table>
	</div>
	<!-- / HelpDesk -->
Reply With Quote
  #9  
Old 03-06-2005, 04:17 PM
WhSox21 WhSox21 is offline
 
Join Date: Feb 2004
Posts: 328
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It will work fine but not how it should under the new usergroup settings.
Reply With Quote
  #10  
Old 03-28-2005, 02:29 PM
Julie's Avatar
Julie Julie is offline
 
Join Date: Mar 2005
Location: Oslo, Norway
Posts: 187
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works perfectly

*installs*
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 03:10 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07426 seconds
  • Memory Usage 2,309KB
  • Queries Executed 23 (?)
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
  • (2)bbcode_code
  • (4)bbcode_html
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete