Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 04-17-2009, 10:12 PM
U.K.Visuals U.K.Visuals is offline
 
Join Date: Jan 2006
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Missing Menu in User CP?

Hello Guys

Since upgrading to VB3.8 there are some menus missing in my UserCP.
Could someone help me out with this? i'm not very expirienced with template stuff.

In the Attachement you can see that two menu points are missing.

thanks for your help.
Attached Images
File Type: jpg usercp.jpg (33.3 KB, 0 views)
Reply With Quote
  #2  
Old 04-17-2009, 11:32 PM
BBR-APBT's Avatar
BBR-APBT BBR-APBT is offline
 
Join Date: Feb 2009
Location: Maryland
Posts: 946
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you uninstall any mods that you manually edited the templates for? Both seem to be unneeded menu options unless you needed it for a mod of some type.

You can fix it by editing your templates.
User Control Panel Templates -> USERCP_SHELL
Reply With Quote
  #3  
Old 04-18-2009, 09:56 AM
U.K.Visuals U.K.Visuals is offline
 
Join Date: Jan 2006
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

as far as i know there are no template edits done in this template. but TMS shows me that something was changed.
in my point ov view it looks okay.

here is the template i have active in USERCP_SHELL

PHP Code:
$stylevar[htmldoctype]
<
html dir="$stylevar[textdirection]lang="$stylevar[languagecode]">
<
head>
$headinclude
    
<title>$vboptions[bbtitle] - $pagetitle</title>
</
head>
<
body$onload>
$header
$navbar

<!-- table to support left column nav -->
<
table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<
tr valign="top">
<
td>
    
<!-- 
usercp nav -->
<
ul class="navlist">
    <
li class="navheader"><a href="usercp.php$session[sessionurl_q]">$vbphrase[control_panel]</a></li>
    <
li class="navsubheader">$vbphrase[settings_and_options]</li>
    <if 
condition="$show['siglink']">
        <
li><class="smallfont" href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></li>
    </if>
    <
li><class="smallfont" href="profile.php?$session[sessionurl]do=editpassword">$vbphrase[edit_email_and_password]</a></li>
    <
li><class="smallfont" href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_profile]</a></li>
    <
li><class="smallfont" href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></li>
    <if 
condition="$show['avatarlink']">
        <
li><class="smallfont" href="profile.php?$session[sessionurl]do=editavatar">$vbphrase[edit_avatar]</a></li>
    </if>
    <if 
condition="$show['profilepiclink']">
        <
li><class="smallfont" href="profile.php?$session[sessionurl]do=editprofilepic">$vbphrase[edit_profile_picture]</a></li>
    </if>
    <if 
condition="$show['pmstats']">
        <
li class="navsubheader">
            <
span id="nav_pmfolders">$vbphrase[private_messages
                <if 
condition="$show['popups']">
                    <
script type="text/javascript"vbmenu_register("nav_pmfolders"); </script>
                </if>
            </
span>
            <if 
condition="$show['popups']">            
                <
div class="vbmenu_popup" id="nav_pmfolders_menu" style="display:<if condition="$show['popups']">none<else />block</if>">
                    <
table cellpadding="4" cellspacing="1" border="0">
                    <
tr>
                        <
td class="thead" nowrap="nowrap">$vbphrase[folders]</td>
                    </
tr>
                    
$cpnav[pmfolders]
                    </
table>
                </
div>
            </if>
        </
li>
        
        
        
        <
li><class="smallfont" href="private.php$session[sessionurl_q]">$vbphrase[list_messages]</a></li>
        <
li><class="smallfont" href="private.php?$session[sessionurl]do=newpm">$vbphrase[send_new_message]</a></li>
        <if 
condition="$show['pmtracklink']">
            <
li><class="smallfont" href="private.php?$session[sessionurl]do=trackpm">$vbphrase[track_messages]</a></li>
        </if>
        <
li><class="smallfont" href="private.php?$session[sessionurl]do=editfolders">$vbphrase[edit_folders]</a></li>
    </if>
    <
li class="navsubheader">
        <
span id="nav_subsfolders">$vbphrase[subscribed_threads
            <if 
condition="$show['popups']">
                <
script type="text/javascript"vbmenu_register("nav_subsfolders"); </script>
            </if>
        </
span>
        <if 
condition="$show['popups']">
            <
div class="vbmenu_popup" id="nav_subsfolders_menu" style="display:<if condition="$show['popups']">none<else />block</if>">
                <
table cellpadding="4" cellspacing="1" border="0">
                <
tr>
                    <
td class="thead" nowrap="nowrap">$vbphrase[folders]</td>
                </
tr>
                
$cpnav[subsfolders]
                </
table>
            </
div>
        </if>
    </
li>
    <
li><class="smallfont" href="subscription.php?$session[sessionurl]do=viewsubscription">$vbphrase[list_subscriptions]</a></li>
    <
li><class="smallfont" href="subscription.php?$session[sessionurl]do=editfolders">$vbphrase[edit_folders]</a></li>

    <if 
condition="$show['deleteditems'] OR $show['moderateditems']">

        <
li class="navsubheader">$vbphrase[moderation]</li>
        <if 
condition="$show['deleteditems']">
            <
li><class="smallfont" href="moderation.php?$session[sessionurl]do=viewthreads&amp;type=deleted">$vbphrase[deleted_threads]</a></li>
            <
li><class="smallfont" href="moderation.php?$session[sessionurl]do=viewposts&amp;type=deleted">$vbphrase[deleted_posts]</a></li>
        </if>
        <if 
condition="$show['moderateditems']">
            <
li><class="smallfont" href="moderation.php?$session[sessionurl]do=viewthreads&amp;type=moderated">$vbphrase[moderated_threads]</a></li>
            <
li><class="smallfont" href="moderation.php?$session[sessionurl]do=viewposts&amp;type=moderated">$vbphrase[moderated_posts]</a></li>
        </if>   
    </if>
    <
li class="navsubheader">$vbphrase[miscellaneous]</li>
    <
li><class="smallfont" href="calendar.php?$session[sessionurl]do=viewreminder">$vbphrase[event_reminders]</a></li>

    <if 
condition="$show['paidsubscriptions']">
        <
li><class="smallfont" href="payments.php$session[sessionurl_q]">$vbphrase[paid_subscriptions]</a></li>
    </if>
    <if 
condition="$show['publicgroups']">
        <
li><class="smallfont" href="profile.php?$session[sessionurl]do=editusergroups">$vbphrase[group_memberships]</a></li>
    </if>
    <
li><class="smallfont" href="profile.php?$session[sessionurl]do=editlist">$vbphrase[buddy_ignore_lists]</a></li>
    <if 
condition="$show['attachments']">
        <
li><class="smallfont" href="profile.php?$session[sessionurl]do=editattachments">$vbphrase[attachments]</a></li>
    </if>
    <
li class="last">&nbsp;</li>
</
ul>





<!-- / 
usercp nav -->
    
</
td>
<
td>&nbsp;&nbsp;</td>
<
td width="100%">

<!-- 
main page contents -->
$HTML
<!-- / main page contents -->
    
</
td>
</
tr>
</
table>
<!-- / 
table to support left column nav -->
$footer
</body>
</
html
Reply With Quote
  #4  
Old 04-18-2009, 11:52 AM
BBR-APBT's Avatar
BBR-APBT BBR-APBT is offline
 
Join Date: Feb 2009
Location: Maryland
Posts: 946
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It seems you never updated your style when you upgraded your vbulletin. This will fix your problems for this template.

Code:
Find this:
$vbphrase[edit_profile]

Replace with this:
$vbphrase[edit_your_details]

Find this:
    <li><a class="smallfont" href="profile.php?$session[sessionurl]do=editlist">$vbphrase[buddy_ignore_lists]</a></li>

Replace with this:
<li><a class="smallfont" href="profile.php?$session[sessionurl]do=ignorelist">$vbphrase[edit_ignore_list]</a></li>
You should update your style as you may find out you have more problems later depending what version you updated from.
Reply With Quote
  #5  
Old 04-19-2009, 02:13 PM
U.K.Visuals U.K.Visuals is offline
 
Join Date: Jan 2006
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i updated my style and everything looks fine now! there where a lot of old templates in my style beacause i updated from 3.6 to 3.8
thanks for your help!
Reply With Quote
  #6  
Old 04-19-2009, 02:37 PM
BBR-APBT's Avatar
BBR-APBT BBR-APBT is offline
 
Join Date: Feb 2009
Location: Maryland
Posts: 946
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Your welcome.
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 07:37 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.04003 seconds
  • Memory Usage 2,316KB
  • Queries Executed 14 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (1)postbit_attachment
  • (6)postbit_onlinestatus
  • (6)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_postinfo_query
  • fetch_postinfo
  • 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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete