vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   "Quick Links" Menu in three columns (https://vborg.vbsupport.ru/showthread.php?t=95279)

Snort_2005 08-28-2005 09:00 PM

"Quick Links" Menu in three columns
 
This is my first time ever releasing something like this so don't byte. :p

Ever got annoyed how the quick links menu was a tad tall? (those of you with the lower resolutions.) I have devised a solution.

Installation:

  1. Login to your Admin Control panel and open the style manager.
  2. Edit the templates of the style you wish to apply this to.
  3. Double-click Navigation / Breadcrumb Templates to expand it.
  4. Double-click the template bit "navbar".
  5. Find
    Code:

            <!-- user cp tools menu -->
     
            <div class="vbmenu_popup" id="usercptools_menu" style="display:none">
     
                    <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"><a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[todays_posts]</a></td></tr></if>
     
                    <tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td></tr>
     
                    <tr><td class="vbmenu_option"><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;">$vbphrase[open_buddy_list]</a></td></tr>
     
                                   
     
                    <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"><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"><a href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_profile]</a></td></tr>
     
                    <tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td></tr>
     
                   
     
                    <tr><td class="thead">$vbphrase[miscellaneous]</td></tr>
     
                    <if condition="$show['pmstats']"><tr><td class="vbmenu_option"><a href="private.php$session[sessionurl_q]">$vbphrase[private_messages]</a></td></tr></if>
     
                    <tr><td class="vbmenu_option"><a href="subscription.php$session[sessionurl_q]">$vbphrase[subscribed_threads]</a></td></tr>
     
                    <tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[my_profile]</a></td></tr>
     
                    <if condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="online.php$session[sessionurl_q]">$vbphrase[whos_online]</a></td></tr></if>
     
                   
     
                    </table>
     
            </div>
     
            <!-- / user cp tools menu -->

  6. Replace with:
    Code:

        <!-- user cp tools menu -->
     
            <div class="vbmenu_popup" id="usercptools_menu" style="display:none">
     
                    <table cellpadding="4" cellspacing="1" border="0">
     
                    <tr>
     
                            <td class="thead">
     
                                    $vbphrase[quick_links]
     
                            </td>
     
                            <td class="thead">
     
                            <a href="usercp.php?$session[sessionurl]">$vbphrase[user_control_panel]</a>
     
                            </td>
     
                            <td class="thead">
     
                                    $vbphrase[miscellaneous]
     
                            </td>
     
                    </tr>
     
                    <tr>
     
                            <if condition="$vboptions['enablesearches']">
     
                            <td class="vbmenu_option">
     
                            <a href="search.php?$session[sessionurl]do=getnew">$vbphrase[new_posts_nav]</a>
     
                            </td>
     
                            <else />
     
                            <td class="vbmenu_option">
     
                                    &nbsp;
     
                            </td>
     
                            </if>
     
                            <if condition="$show['siglink']">
     
                            <td class="vbmenu_option">
     
                            <a href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a>
     
                            </td>
     
                            <else />
     
                            <td class="vbmenu_option">
     
                                    &nbsp;
     
                            </td>
     
                            </if>
     
                            <if condition="$show['pmstats']">
     
                            <td class="vbmenu_option">
     
                            <a href="private.php?$session[sessionurl]">$vbphrase[private_messages]</a>
     
                            </td>
     
                            <else />
     
                            <td class="vbmenu_option">
     
                                    &nbsp;
     
                            </td>
     
                            </if>
     
                    </tr>
     
                    <tr>
     
                            <td class="vbmenu_option">
     
                            <a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a>
     
                            </td>
     
                            <if condition="$show['avatarlink']">
     
                            <td class="vbmenu_option">
     
                            <a href="profile.php?$session[sessionurl]do=editavatar">$vbphrase[edit_avatar]</a>
     
                            </td>
     
                            <else />
     
                            <td class="vbmenu_option">
     
                                    &nbsp;
     
                            </td>
     
                            </if>
     
                            <td class="vbmenu_option">
     
                            <a href="subscription.php?$session[sessionurl]">$vbphrase[subscribed_threads]</a>
     
                            </td>
     
                    </tr>
     
                    <tr>
     
                            <td class="vbmenu_option">
     
                            <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;">$vbphrase[open_buddy_list]</a>
     
                            </td>
     
                            <td class="vbmenu_option">
     
                            <a href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_profile]</a>
     
                            </td>
     
                            <td class="vbmenu_option">
     
                            <a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[my_profile]</a>
     
                            </td>
     
                    </tr>
     
                    <tr>
     
                            <td class="vbmenu_option">
     
                                    &nbsp;
     
                            </td>
     
                            <td class="vbmenu_option">
     
                            <a href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a>
     
                            </td>
     
                            <if condition="$show['wollink']">
     
                            <td class="vbmenu_option">
     
                            <a href="online.php?$session[sessionurl]">$vbphrase[whos_online]</a>
     
                            </td>
     
                            <else />
     
                            <td class="vbmenu_option">
     
                                    &nbsp;
     
                            </td>
     
                            </if>
     
                    </tr>
     
                    </table>
     
            </div>
     
            <!-- / user cp tools menu -->

  7. Repeat for other styles. :)
Enjoy!


EDIT: Included installation instructions as a .txt file.

Snort_2005 08-29-2005 03:09 PM

Oh.. forgot to add. This will also work well on vB 3.0.X series as well.

Live Demo: http://www.zcworld.net/

KuRi 08-29-2005 04:10 PM

very good, allthough I wont be using this as i have moved the user control panel links to a usercp drop menu... Still a good idea, keep em coming

Bacon Butty 08-29-2005 06:32 PM

Nice little modification. Just added it to my site, thanks!

Nordinho 08-29-2005 06:35 PM

Quote:

Originally Posted by Bacon Butty
Nice little modification. Just added it to my site, thanks!

nice one...btw your VBadvanced newstemplate is messed up...

Snort_2005 08-29-2005 08:41 PM

the custom quote box got cut off. X_X OMG.. Must fix. o.o

EDIT: Thanks.. I bumped thread disply cutoff to unlimited characters to show the full post.

Scooterpig 08-29-2005 09:38 PM

Quote:

Originally Posted by Snort_2005
the custom quote box got cut off. X_X OMG.. Must fix. o.o

EDIT: Thanks.. I bumped thread disply cutoff to unlimited characters to show the full post.

Very neat, cool..thank you..:)...ya might just wanna add it to a .txt file & attach in 1st post for download so people can save it..:)

Snort_2005 08-29-2005 11:12 PM

Quote:

Originally Posted by Intrepid
Very neat, cool..thank you..:)...ya might just wanna add it to a .txt file & attach in 1st post for download so people can save it..:)

Good idea.. and Done. :)

Floris 08-30-2005 09:58 PM

Quote:

Originally Posted by Snort_2005
Oh.. forgot to add. This will also work well on vB 3.0.X series as well.

Live Demo: http://www.zcworld.net/

Do you have a test account?

Snort_2005 08-31-2005 09:13 AM

Quote:

Originally Posted by floris
Do you have a test account?

... >_<

Username: Testor Dudzor
Password: test


All times are GMT. The time now is 06:08 AM.

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.02278 seconds
  • Memory Usage 1,774KB
  • 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
  • (2)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete