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

Reply
 
Thread Tools
GTUserCP - Enhanced USERCP Interface + USERCP Menu Details »»
GTUserCP - Enhanced USERCP Interface + USERCP Menu
Version: 1.1.1, by Princeton Princeton is offline
Developer Last Online: Nov 2022 Show Printable Version Email this Page

Category: End-User Options - Version: 3.6.8 Rating:
Released: 01-11-2007 Last Update: 11-11-2007 Installs: 782
Template Edits
Additional Files  
No support by the author.

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?
  1. Decrease Server Resources
  2. Increase Usability
Support modification by "Installing", "nominating for MOTM", and/or donating.

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?
  1. Private Messages are the most frequently used user option.
    • Moving this to the top will give members quicker access.
    • Displaying custom folders will also bypass some pages (clicks) and therefore decreases server resources.
  2. Collapsing/Expanding some of the options will provide members quicker access to what is important to them.
This modification has been reported working on earlier vb versions 3.5.4+.

Instructions:
  1. Install product via Product Manager.
  2. If you want to add UserCP Menu read the README file. This has to be done manually.
  3. Show your support click "Mark As Installed", nominate for MOTM, rate this modification, and/or donate.
History:

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

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

Comments
  #272  
Old 07-10-2007, 01:56 AM
slyreptile slyreptile is offline
 
Join Date: Feb 2007
Location: Arizona
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent mod. Thanks for sharing!
Reply With Quote
  #273  
Old 08-07-2007, 06:00 PM
ltd ltd is offline
 
Join Date: Feb 2007
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Working fine on 3.6.8 now
Reply With Quote
  #274  
Old 08-07-2007, 07:07 PM
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Location: Vineland, NJ
Posts: 6,693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for the update .. you may want to click INSTALL to receive future modification updates
Reply With Quote
  #275  
Old 08-09-2007, 02:51 AM
ltd ltd is offline
 
Join Date: Feb 2007
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Princeton View Post
thanks for the update .. you may want to click INSTALL to receive future modification updates
Oops, I forgot actually
Reply With Quote
  #276  
Old 08-09-2007, 08:23 PM
helldorado helldorado is offline
 
Join Date: Feb 2007
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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&amp;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&amp;u=$bbuserinfo[userid]&amp;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!
Reply With Quote
  #277  
Old 08-09-2007, 10:40 PM
Dannyloski Dannyloski is offline
 
Join Date: Jun 2006
Location: FL
Posts: 401
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

^ Pretty nice idea ... I added it :up: for you ...
Reply With Quote
  #278  
Old 08-12-2007, 11:07 AM
nnjj.net nnjj.net is offline
 
Join Date: Dec 2002
Posts: 342
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works great but small problem in style of subscribed_threads
Reply With Quote
  #279  
Old 08-13-2007, 10:55 AM
vmacedonia's Avatar
vmacedonia vmacedonia is offline
 
Join Date: Apr 2007
Location: Macedonia
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
The problem is in the "$vbphrase[edit_email_and_password]", even with a custom phrase the problem exist. It's working correctly only if I replace that phrase directly with some text.

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.
Reply With Quote
  #280  
Old 08-13-2007, 12:20 PM
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Location: Vineland, NJ
Posts: 6,693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

set the phrase to GLOBAL

click "mark as installed" to get future update notifications
Reply With Quote
  #281  
Old 08-15-2007, 02:23 AM
Roxie's Avatar
Roxie Roxie is offline
 
Join Date: May 2002
Location: on vb.org
Posts: 526
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It looks like replacing the usercp shell will delete any template hooks? Is this correct?
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 09:28 AM.


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.17487 seconds
  • Memory Usage 2,321KB
  • Queries Executed 25 (?)
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
  • (3)bbcode_code
  • (1)bbcode_quote
  • (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
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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