Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Search and Quicklink Images Details »»
Search and Quicklink Images
Version: 1.01, by TheProphet TheProphet is offline
Developer Last Online: Sep 2010 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.7.2 Rating:
Released: 08-27-2008 Last Update: 08-28-2008 Installs: 42
Template Edits
Re-useable Code  
No support by the author.

This hack works with the icons from: Icons for UserCP Navigation

Installation is very easy and only 4 steps.

1. Find in your navbar template:
<!-- header quick search form --> till <!-- / header quick search form -->

replace by:
HTML Code:
<!-- header quick search form -->
	<div class="vbmenu_popup" id="navbar_search_menu" style="display:none" align="$stylevar[left]">
		<table cellpadding="4" cellspacing="1" border="0">
		<tr>
			<td class="thead">$vbphrase[search_forums]</td>
		</tr>
		<tr>
			<td class="vbmenu_option" title="nohilite">
				<form action="search.php?do=process" method="post">

					<input type="hidden" name="do" value="process" />
					<input type="hidden" name="quicksearch" value="1" />
					<input type="hidden" name="childforums" value="1" />
					<input type="hidden" name="exactname" value="1" />
					<input type="hidden" name="s" value="$session[sessionhash]" />
					<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
					<div><input type="text" class="bginput" name="query" size="25" tabindex="1001" /><input type="submit" class="button" value="$vbphrase[go]" tabindex="1004" /></div>
					<div style="margin-top:$stylevar[cellpadding]px">
						<label for="rb_nb_sp0"><input type="radio" name="showposts" value="0" id="rb_nb_sp0" tabindex="1002" checked="checked" />$vbphrase[show_threads]</label>
						&nbsp;
						<label for="rb_nb_sp1"><input type="radio" name="showposts" value="1" id="rb_nb_sp1" tabindex="1003" />$vbphrase[show_posts]</label>
					</div>
				</form>
			</td>
		</tr>
		<if condition="$vboptions[threadtagging]">
		<tr>
			<td class="vbmenu_option"><img src="$stylevar[imgdir_misc]/tag.png"><a href="tags.php$session[sessionurl_q]" rel="nofollow">&nbsp;$vbphrase[tag_search]</a></td>
		</tr>
		</if>
		<tr>
			<td class="vbmenu_option"><img src="$stylevar[imgdir_misc]/usercp_icons/cog.gif"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">&nbsp;$vbphrase[advanced_search]</a></td>
		</tr>
		$template_hook[navbar_search_menu]
		</table>
	</div>
	<!-- / header quick search form -->

2. Find in your navbar template:
<!-- user cp tools menu --> till <!-- / user cp tools menu -->

replace by:
HTML Code:
<!-- user cp tools menu -->
	<div class="vbmenu_popup" id="usercptools_menu" style="display:none" align="$stylevar[left]">
		<table cellpadding="4" cellspacing="1" border="0">

		<tr><td class="thead">$vbphrase[quick_links]</td></tr>
		<if condition="$vboptions['enablesearches']"><tr><td class="vbmenu_option"><img src="$stylevar[imgdir_misc]/usercp_icons/page_white_copy.gif"><a href="search.php?$session[sessionurl]do=getdaily">&nbsp;$vbphrase[todays_posts]</a></td></tr></if>
		<tr><td class="vbmenu_option"><img src="$stylevar[imgdir_misc]/usercp_icons/page_white_get.gif"><a href="forumdisplay.php?$session[sessionurl]do=markread">&nbsp;$vbphrase[mark_forums_read]</a></td></tr>
		<tr><td class="vbmenu_option"><img src="$stylevar[imgdir_misc]/usercp_icons/group.gif"><a href="#" onClick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">&nbsp;$vbphrase[open_contacts]</a></td></tr>
		$template_hook[navbar_quick_links_menu_pos1]

		<tr><td class="thead">$vbphrase[networking]</td></tr>
		<tr><td class="vbmenu_option"><img src="$stylevar[imgdir_misc]/usercp_icons/emoticon_smile.gif"><a href="profile.php?$session[sessionurl]do=buddylist"><if condition="$show['friends_and_contacts']">&nbsp;$vbphrase[contacts_and_friends]<else />&nbsp;$vbphrase[contacts]</if></a></td></tr>
		<if condition="$show['quick_links_groups']">
			<tr><td class="vbmenu_option"><img src="$stylevar[imgdir_misc]/usercp_icons/group.gif"><a href="group.php$session[sessionurl_q]">&nbsp;$vbphrase[social_groups]</a></td></tr>
		</if>
		<if condition="$show['quick_links_albums']">
			<tr><td class="vbmenu_option"><img src="$stylevar[imgdir_misc]/usercp_icons/photos.gif"><a href="album.php?$session[sessionurl]u=$bbuserinfo[userid]">&nbsp;$vbphrase[pictures_and_albums]</a></td></tr>
		</if>
		$template_hook[navbar_quick_links_menu_pos2]

		<tr><td class="thead"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_control_panel]</a></td></tr>
		<if condition="$show['siglink']"><tr><td class="vbmenu_option"><img src="$stylevar[imgdir_misc]/usercp_icons/page_red.gif"><a href="profile.php?$session[sessionurl]do=editsignature">&nbsp;$vbphrase[edit_signature]</a></td></tr></if>
		<!--<if condition="$show['avatarlink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editavatar">$vbphrase[edit_avatar]</a></td></tr></if>-->
		<tr><td class="vbmenu_option"><img src="$stylevar[imgdir_misc]/usercp_icons/user_edit.gif"><a href="profile.php?$session[sessionurl]do=editprofile">&nbsp;$vbphrase[edit_your_details]</a></td></tr>
		<tr><td class="vbmenu_option"><img src="$stylevar[imgdir_misc]/usercp_icons/cog.gif"><a href="profile.php?$session[sessionurl]do=editoptions">&nbsp;$vbphrase[edit_options]</a></td></tr>
		$template_hook[navbar_quick_links_menu_pos3]

		<tr><td class="thead">$vbphrase[miscellaneous]</td></tr>
		<if condition="$show['pmmainlink']"><tr><td class="vbmenu_option"><img src="$stylevar[imgdir_misc]/usercp_icons/email_open.gif"><a href="private.php$session[sessionurl_q]" rel="nofollow">&nbsp;$vbphrase[private_messages]</a></td></tr></if>
		<tr><td class="vbmenu_option"><img src="$stylevar[imgdir_misc]/usercp_icons/newspaper.gif"><a href="subscription.php$session[sessionurl_q]" rel="nofollow">&nbsp;$vbphrase[subscribed_threads]</a></td></tr>
		<tr><td class="vbmenu_option"><img src="$stylevar[imgdir_misc]/usercp_icons/user_edit.gif"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">&nbsp;$vbphrase[your_profile]</a></td></tr>
		<if condition="$show['wollink']"><tr><td class="vbmenu_option"><img src="$stylevar[imgdir_misc]/usercp_icons/group.gif"><a href="online.php$session[sessionurl_q]">&nbsp;$vbphrase[whos_online]</a></td></tr></if>
		$template_hook[navbar_quick_links_menu_pos4]

		</table>
	</div>
	<!-- / user cp tools menu -->
3. Find in your forumdisplay template:
<!-- forum search menu --> till <!-- / forum search menu -->

replace by:
HTML Code:
<!-- forum search menu -->
<div class="vbmenu_popup" id="forumsearch_menu" style="display:none">
<form action="search.php?do=process" method="post">
	<table cellpadding="4" cellspacing="1" border="0">
	<tr>
		<td class="thead">$vbphrase[search_this_forum]<a name="goto_forumsearch"></a></td>
	</tr>
	<tr>
		<td class="vbmenu_option" title="nohilite">
			<input type="hidden" name="s" value="$session[sessionhash]" />
			<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
			<input type="hidden" name="do" value="process" />
			<input type="hidden" name="forumchoice[]" value="$forumid" />
			<input type="hidden" name="childforums" value="1" />
			<input type="hidden" name="exactname" value="1" />
			<div><input type="text" class="bginput" name="query" size="25" tabindex="1001" /><input type="submit" class="button" value="$vbphrase[go]" accesskey="s" tabindex="1004" /></div>
		</td>
	</tr>
	<tr>
		<td class="vbmenu_option" title="nohilite">
			<label for="rb_fd_sp0"><input type="radio" name="showposts" value="0" id="rb_fd_sp0" tabindex="1002" checked="checked" />$vbphrase[show_threads]</label>
			&nbsp;
			<label for="rb_fd_sp1"><input type="radio" name="showposts" value="1" id="rb_fd_sp1" tabindex="1003" />$vbphrase[show_posts]</label>
		</td>
	</tr>
	<tr>
		<td class="vbmenu_option"><img src="$stylevar[imgdir_misc]/usercp_icons/cog.gif"><a href="search.php?$session[sessionurl]f=$forumid" rel="nofollow">&nbsp;$vbphrase[advanced_search]</a></td>
	</tr>
	</table>
</form>
</div>
<!-- / forum search menu -->

4. Find in your showthread template:
<!-- thread search menu --> till <!-- / thread search menu -->

replace by:
HTML Code:
<!-- thread search menu -->
<div class="vbmenu_popup" id="threadsearch_menu" style="display:none">
<form action="search.php?do=process&amp;searchthreadid=$threadid" method="post">
	<table cellpadding="4" cellspacing="1" border="0">
	<tr>
		<td class="thead">$vbphrase[search_this_thread]<a name="goto_threadsearch"></a></td>
	</tr>
	<tr>
		<td class="vbmenu_option" title="nohilite">
			<input type="hidden" name="s" value="$session[sessionhash]" />
			<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
			<input type="hidden" name="do" value="process" />
			<input type="hidden" name="searchthreadid" value="$threadid" />
			<input type="text" class="bginput" name="query" size="25" />$gobutton<br />
		</td>
	</tr>
	<tr>
		<td class="vbmenu_option"><img src="$stylevar[imgdir_misc]/usercp_icons/cog.gif"><a href="search.php?$session[sessionurl]searchthreadid=$threadid">&nbsp;$vbphrase[advanced_search]</a></td>
	</tr>
	</table>
</form>
</div>
<!-- / thread search menu -->
Now your done!

Click install if you like the mod

Show Your Support

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

Comments
  #12  
Old 09-19-2008, 03:50 AM
Baldilocks's Avatar
Baldilocks Baldilocks is offline
 
Join Date: Jan 2008
Location: Delaware, USA
Posts: 297
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A smart ass answer wasn't needed. I was just trying to make sure that others understood this.

I tell you, a lot of you designers and coders here need to learn people skills. It's amazing any of you can even keep a forum community together with your attitudes.
Reply With Quote
  #13  
Old 09-19-2008, 05:21 PM
TheProphet TheProphet is offline
 
Join Date: Apr 2004
Posts: 139
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I wasn't being a smart ass, just notice you of a unwritten rule on template modifications.
Reply With Quote
  #14  
Old 09-19-2008, 05:44 PM
Baldilocks's Avatar
Baldilocks Baldilocks is offline
 
Join Date: Jan 2008
Location: Delaware, USA
Posts: 297
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Gotcha! Sorry for the misunderstanding.
Reply With Quote
  #15  
Old 09-19-2008, 07:47 PM
TheProphet TheProphet is offline
 
Join Date: Apr 2004
Posts: 139
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No worry m8
Reply With Quote
  #16  
Old 10-16-2008, 11:03 PM
Replicators's Avatar
Replicators Replicators is offline
 
Join Date: Jul 2005
Location: Jamestown, NY
Posts: 344
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Some people do use the png's as they have a dark style. I can edit myself in the png code, but you may wanna give instructions for both.

EDIT: I have attached instructions for png users to use.
Reply With Quote
  #17  
Old 12-27-2008, 10:41 PM
sparklywater sparklywater is offline
 
Join Date: Jun 2008
Posts: 248
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank u, TheProphet and Replicators.
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:56 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.05612 seconds
  • Memory Usage 2,320KB
  • Queries Executed 21 (?)
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
  • (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
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (7)postbit_onlinestatus
  • (7)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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete