The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
GTUserCP - Enhanced USERCP Interface + USERCP Menu Details »» | |||||||||||||||||||||||||||
GTUserCP - Enhanced USERCP Interface + USERCP Menu
Developer Last Online: Nov 2022
NEW 1.1.1 VERSION (download GTUSERCP_111-2.zip)
The 1.1.0+ version now replaces the USERCP_SHELL template. No edits are necessary. However, manual edits are required if you wish to use the UserCP Menu like we have here on vbulletin.org. If upgrading from a previous version you can revert the "USERCP_SHELL", "SUBSCRIBE", and "usercp_nav_folderbit" template. Custom modification brought to you by Joe Velez (aka Princeton vbulletin.org Admin). This modification is a combination of the new vb.org USERCP and the UserCP dropdown menu. Why would you want to install these features?
How does this help with server resources? Typically if you want to edit or view your personal information you would click the UserCP navbar link (wait for the page to load) and click the option you wish to view. Did you know? You just hit the server with 11 Queries + HTTP Request + Bandwidth just for visiting the UserCP default page. What's worst is that this is not even the page that you want to view. Yep, you guessed it there goes an additional hit to the server. Add this modification to bypass the UserCP default page. The savings are HUGE especially on a big-board site. How does this help with usability?
Instructions:
v 1.1.1-2 : Missing phrase v 1.1.1 : Added SUBSCRIBE template replacements v 1.1.0 : New 3.6.8 version released (w/ template hook)v 1.0.2 : Added missing template changes v 1.0.1 : Added missing template changes You may also be interested in: Show Your Support
|
Comments |
#272
|
|||
|
|||
Excellent mod. Thanks for sharing!
|
#273
|
|||
|
|||
Working fine on 3.6.8 now
|
#274
|
||||
|
||||
thanks for the update .. you may want to click INSTALL to receive future modification updates
|
#275
|
|||
|
|||
Oops, I forgot actually
|
#276
|
|||
|
|||
Installed on 3.6.8 and it works nicely. Thank you very much!
Also, I made an enhancement for my site that was pretty easy to do. I added two links for users to display all their own posts, and all their own threads. A modification of the links from the public profile. The code is pretty simple. Add it before the </table> html in the navbar template. Code:
<tr><td class="vbmenu_option" align="$stylevar[left]"><a href="search.php?$session[sessionurl]do=finduser&u=$bbuserinfo[userid]" rel="nofollow">$vbphrase[display_your_posts]</a></td></tr> <tr><td class="vbmenu_option" align="$stylevar[left]"><a href="search.php?$session[sessionurl]do=finduser&u=$bbuserinfo[userid]&starteronly=1" rel="nofollow">$vbphrase[display_your_threads]</a></td></tr> Note, you'll need to create two new global phrases for this code to work as drop-in. display_your_posts and display_your_threads. Otherwise, I think you can enter in straight text if you're not worried about phrases or language support. This is one of my first self code changes, so if any of the experts see where the code should be better, appreciate the input! |
#277
|
|||
|
|||
^ Pretty nice idea ... I added it :up: for you ...
|
#278
|
|||
|
|||
works great but small problem in style of subscribed_threads
|
#279
|
||||
|
||||
Why when I add new option in the menu always the first item isn't displayed properly at the main forum page?
For illustration I have two pictures, the first picture is from the main forum page, the second is from the menu what is displayed inside the UserCP. Here is the code what is modified: Code:
<if condition="$show['popups'] AND $show['member']"> <div class="vbmenu_popup" id="usercpoptions_menu" style="display:none"> <table cellpadding="4" cellspacing="1" border="0"> <tr><td class="thead" align="$stylevar[left]"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_control_panel]</a></td></tr> <if condition="$show['pmstats']"><tr><td class="vbmenu_option" align="$stylevar[left]"><a href="private.php$session[sessionurl_q]" rel="nofollow">$vbphrase[private_messages]</a></td></tr></if> <tr><td class="vbmenu_option" align="$stylevar[left]"><a href="subscription.php$session[sessionurl_q]" rel="nofollow">$vbphrase[subscribed_threads]</a></td></tr> <if condition="$show['siglink']"><tr><td class="vbmenu_option" align="$stylevar[left]"><a href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td></tr></if> <tr><td class="vbmenu_option" align="$stylevar[left]"><a href="profile.php?$session[sessionurl]do=editpassword">$vbphrase[edit_email_and_password]</a></td></tr> <tr><td class="vbmenu_option" align="$stylevar[left]"><a href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_profile]</a></td></tr> <tr><td class="vbmenu_option" align="$stylevar[left]"><a href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td></tr> <tr><td class="vbmenu_option" align="$stylevar[left]"><a href="profile.php?$session[sessionurl]do=editavatar">$vbphrase[edit_avatar]</a></td></tr> <tr><td class="thead" align="$stylevar[left]">$vbphrase[miscellaneous]</td></tr> <tr><td class="vbmenu_option" align="$stylevar[left]"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[my_profile]</a></td></tr> </table> </div> </if> Code:
<tr><td class="vbmenu_option" align="$stylevar[left]"><a href="profile.php?$session[sessionurl]do=editpassword">TEST ITEM</a></td></tr> Doesn't matter what option is first, "do=editavatar", "do=editprofile", "do=editpassword", etc. always the text from the phrase doesn't appear. |
#280
|
||||
|
||||
set the phrase to GLOBAL
click "mark as installed" to get future update notifications |
#281
|
||||
|
||||
It looks like replacing the usercp shell will delete any template hooks? Is this correct?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|