Search and Quicklink Images
This modification is in the archives.
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> <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"> $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"> $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"> $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"> $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&focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;"> $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']"> $vbphrase[contacts_and_friends]<else /> $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]"> $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]"> $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"> $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"> $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"> $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"> $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"> $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]"> $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]"> $vbphrase[whos_online]</a></td></tr></if> $template_hook[navbar_quick_links_menu_pos4] </table> </div> <!-- / user cp tools menu --> <!-- 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> <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"> $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&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"> $vbphrase[advanced_search]</a></td> </tr> </table> </form> </div> <!-- / thread search menu --> Click if you like the mod Download
This modification is archived, downloads are still allowed. Screenshots |