The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
I am not a coder so I really have no clue how easy it may be to remove. I have never seen a modification that did it, nor anyone else ever asking to do it - which may be why it caught my eye. Well, that and the fact you have something wrong with yours already with the bad overlap.
|
#12
|
||||
|
||||
I can tell you how to remove it but then how would people change subscription folders etc ...
So here is the code edited to show only the subscription block. Copy and paste it in USERCP_SHELL template. (Save the original code) HTML Code:
{vb:stylevar htmldoctype} <html xmlns="http://www.w3.org/1999/xhtml" <vb:if condition="!is_browser('ie') OR is_browser('ie',8)"> dir="{vb:stylevar textdirection}"</vb:if> lang="{vb:stylevar languagecode}" id="vbulletin_html"> <head> {vb:raw headinclude} <vb:if condition="$vboptions['storecssasfile']"> <link rel="stylesheet" type="text/css" href="{vb:raw vbcsspath}usercp-rollup.css" /> <vb:else /> <link rel="stylesheet" type="text/css" href="{vb:raw vbcsspath}attachments.css,forumbits.css,forumdisplay.css,postlist.css,projecttools.css,threadlist.css,usercp.css" /> </vb:if> <vb:if condition="THIS_SCRIPT == 'subscription'"><script type="text/javascript" src="clientscript/vbulletin-threadbit.js?v={vb:raw vboptions.simpleversion}"></script></vb:if> <!--[if IE 6]><link rel="stylesheet" type="text/css" href="{vb:raw vbcsspath}usercp-ie.css" /><![endif]--> <!--[if lt IE 8]> <script type="text/javascript" src="clientscript/vbulletin-threadlist-ie.js?v={vb:raw vboptions.simpleversion}"></script> <link rel="stylesheet" type="text/css" href="{vb:raw vbcsspath}threadlist-ie.css" /> <![endif]--> <vb:if condition="$includecss"> <vb:each from="includecss" value="file"> <link rel="stylesheet" type="text/css" href="{vb:raw vbcsspath}{vb:raw file}.css" /> </vb:each> </vb:if> <!--[if lt IE 8]> <script type="text/javascript" src="clientscript/vbulletin-threadlist-ie.js?v={vb:raw vboptions.simpleversion}"></script> <link rel="stylesheet" type="text/css" href="{vb:raw vbcsspath}threadlist-ie.css" /> <noscript> <style type="text/css"> .threadinfo { width:59.9%; } .threadstats { width:15%; } .threadlastpost { width:25%; } </style> </noscript> <![endif]--> {vb:raw clientscripts} <title>{vb:raw pagetitle} - {vb:raw vboptions.bbtitle}</title> {vb:raw headinclude_bottom} </head> <body> {vb:raw header} {vb:raw navbar} <vb:comment> <div id="pagetitle"> <h1>{vb:raw pagetitle}</h1> <p class="description">{vb:raw pagedescription}</p> </div> </vb:comment> <div id="usercp_content"> <div class="cp_content"> {vb:raw HTML} </div> </div> <vb:if condition="THIS_SCRIPT == 'subscription'"> <div id="usercp_nav"> <div class="block"> <h2 class="blockhead">{vb:rawphrase my_subscribed_threads}</h2> <div class="blockbody"> <ul class="blockrow"> {vb:raw cpnav.subsfolders} </ul> <hr /> <ul class="blockrow"> <li class="{vb:raw navclass.substhreads_listthreads}"><a href="subscription.php?{vb:raw session.sessionurl}do=viewsubscription">{vb:rawphrase list_subscriptions}</a></li> <li class="{vb:raw navclass.substhreads_editfolders}"><a href="subscription.php?{vb:raw session.sessionurl}do=editfolders">{vb:rawphrase edit_folders}</a></li> </ul> </div> </div> </div> <vb:else /> <div id="usercp_nav"> <vb:if condition="$show['pmmainlink']"> <div class="block"> <h2 class="blockhead">{vb:rawphrase my_private_messages}</h2> <div class="blockbody"> <ul class="blockrow"> <!-- <li class="{vb:raw navclass.pm_messagelist}"><a href="private.php{vb:raw session.sessionurl_q}">{vb:rawphrase inbox}</a></li> --> {vb:raw cpnav.pmfolders} </ul> <hr /> <ul class="blockrow"> <li class="{vb:raw navclass.pm_newpm}"><a href="private.php?{vb:raw session.sessionurl}do=newpm"><strong>{vb:rawphrase send_new_message}</strong></a></li> <li class="{vb:raw navclass.pm_trackpm}"><a href="private.php?{vb:raw session.sessionurl}do=trackpm">{vb:rawphrase track_messages}</a></li> <li class="{vb:raw navclass.pm_editfolders}"><a href="private.php?{vb:raw session.sessionurl}do=editfolders">{vb:rawphrase edit_folders}</a></li> </ul> </div> </div> </vb:if> <div class="block"> <h2 class="blockhead">{vb:rawphrase my_subscribed_threads}</h2> <div class="blockbody"> <ul class="blockrow"> {vb:raw cpnav.subsfolders} </ul> <hr /> <ul class="blockrow"> <li class="{vb:raw navclass.substhreads_listthreads}"><a href="subscription.php?{vb:raw session.sessionurl}do=viewsubscription">{vb:rawphrase list_subscriptions}</a></li> <li class="{vb:raw navclass.substhreads_editfolders}"><a href="subscription.php?{vb:raw session.sessionurl}do=editfolders">{vb:rawphrase edit_folders}</a></li> </ul> </div> </div> <div class="block"> <h2 class="blockhead">{vb:rawphrase my_settings}</h2> <ul class="blockbody"> <li> <h3 class="blocksubhead profile"><img class="usercpimage" src="{vb:stylevar imgdir_siteicons}/profile.png" alt="{vb:rawphrase your_profile}" border="0" /> {vb:rawphrase your_profile}</h3> <ul class="blockrow"> <li class="{vb:raw navclass.profile}"><a href="profile.php?{vb:raw session.sessionurl}do=editprofile">{vb:rawphrase edit_your_details}</a></li> <vb:if condition="$show['profilepiclink']"> <li class="{vb:raw navclass.profilepic}"><a href="profile.php?{vb:raw session.sessionurl}do=editprofilepic">{vb:rawphrase edit_profile_picture}</a></li> </vb:if> <vb:if condition="$show['avatarlink']"> <li class="{vb:raw navclass.avatar}"><a href="profile.php?{vb:raw session.sessionurl}do=editavatar">{vb:rawphrase edit_avatar}</a></li> </vb:if> <vb:if condition="$show['siglink']"> <li class="{vb:raw navclass.signature}"><a href="profile.php?{vb:raw session.sessionurl}do=editsignature">{vb:rawphrase edit_signature}</a></li> </vb:if> <vb:if condition="$show['privacylink']"> <li class="{vb:raw navclass.privacy}"><a href="profile.php?{vb:raw session.sessionurl}do=privacy">{vb:rawphrase profile_privacy}</a></li> </vb:if> </ul> </li> {vb:raw template_hook.usercp_navbar_profile} <li> <h3 class="blocksubhead"><img class="usercpimage" src="{vb:stylevar imgdir_siteicons}/account.png" alt="{vb:rawphrase my_account}" border="0" /> {vb:rawphrase my_account}</h3> <ul class="blockrow"> <li class="{vb:raw navclass.password}"><a href="profile.php?{vb:raw session.sessionurl}do=editpassword">{vb:rawphrase edit_email_and_password}</a></li> <li class="{vb:raw navclass.options}"><a href="profile.php?{vb:raw session.sessionurl}do=editoptions">{vb:rawphrase edit_options}</a></li> <vb:if condition="$show['publicgroups']"> <li class="{vb:raw navclass.usergroups}"><a href="profile.php?{vb:raw session.sessionurl}do=editusergroups">{vb:rawphrase group_memberships}</a></li> </vb:if> <li class="{vb:raw navclass.ignorelist}"><a href="profile.php?{vb:raw session.sessionurl}do=ignorelist">{vb:rawphrase edit_ignore_list}</a></li> <vb:if condition="$show['paidsubscriptions']"> <li class="{vb:raw navclass.paid_subscriptions}"><a href="payments.php{vb:raw session.sessionurl_q}">{vb:rawphrase paid_subscriptions}</a></li> </vb:if> </ul> </li> {vb:raw template_hook.usercp_navbar_myaccount} <li> <h3 class="blocksubhead"><img class="usercpimage" src="{vb:stylevar imgdir_siteicons}/network.png" alt="{vb:rawphrase networking}" border="0" /> {vb:rawphrase networking}</h3> <ul class="blockrow"> <li class="{vb:raw navclass.buddylist}"><a href="profile.php?{vb:raw session.sessionurl}do=buddylist"><vb:if condition="$show['friends_and_contacts']">{vb:rawphrase contacts_and_friends}<vb:else />{vb:rawphrase contacts}</vb:if></a></li> <li class="{vb:raw navclass.event_reminders}"><a href="calendar.php?{vb:raw session.sessionurl}do=viewreminder">{vb:rawphrase event_reminders}</a></li> </ul> </li> {vb:raw template_hook.usercp_navbar_networking} <li> <h3 class="blocksubhead"><img class="usercpimage" src="{vb:stylevar imgdir_siteicons}/forum.png" alt="{vb:rawphrase forums}" border="0" /> {vb:rawphrase miscellaneous}</h3> <ul class="blockrow"> <vb:if condition="$show['attachments']"> <li class="{vb:raw navclass.attachments}"><a href="profile.php?{vb:raw session.sessionurl}do=editattachments">{vb:rawphrase attachments}</a></li> </vb:if> </ul> </li> {vb:raw template_hook.usercp_navbar_miscellaneous} <vb:if condition="$show['moderation']"> <li> <h3 class="blocksubhead"><img class="usercpimage" src="{vb:stylevar imgdir_siteicons}/moderation.png" alt="{vb:rawphrase moderation}" border="0" /> {vb:rawphrase moderation}</h3> <ul class="blockrow"> <li class="popupmenu {vb:raw navclass.deleteditems}"> <a href="javascript://" class="popupctrl">{vb:rawphrase deleted_items}</a> <ul class="popupbody popuphover"> <li><a href="moderation.php?{vb:raw session.sessionurl}do=viewthreads&type=deleted">{vb:rawphrase threads}</a></li> <li><a href="moderation.php?{vb:raw session.sessionurl}do=viewposts&type=deleted">{vb:rawphrase posts}</a></li> <vb:if condition="$show['deletedvms']"> <li><a href="moderation.php?{vb:raw session.sessionurl}do=viewvms&type=deleted">{vb:rawphrase visitor_messages}</a></li> </vb:if> <vb:if condition="$show['deletedgms']"> <li><a href="moderation.php?{vb:raw session.sessionurl}do=viewgms&type=deleted">{vb:rawphrase group_messages}</a></li> </vb:if> <vb:if condition="$show['deleteddiscussions']"> <li><a href="moderation.php?{vb:raw session.sessionurl}do=viewdiscussions&type=deleted">{vb:rawphrase group_discussions}</a></li> </vb:if> <vb:if condition="$show['deletedpcs']"> <li><a href="moderation.php?{vb:raw session.sessionurl}do=viewpcs&type=deleted">{vb:rawphrase picture_comments}</a></li> </vb:if> </ul> </li> <vb:if condition="$show['moderateditems']"> <li class="popupmenu {vb:raw navclass.moderateditems}"> <a href="javascript://" class="popupctrl">{vb:rawphrase moderated_items}</a> <ul class="popupbody popuphover"> <vb:if condition="$show['moderatedposts']"> <li><a href="moderation.php?{vb:raw session.sessionurl}do=viewthreads&type=moderated">{vb:rawphrase threads}</a></li> <li><a href="moderation.php?{vb:raw session.sessionurl}do=viewposts&type=moderated">{vb:rawphrase posts}</a></li> </vb:if> <vb:if condition="$show['moderatedvms']"> <li><a href="moderation.php?{vb:raw session.sessionurl}do=viewvms&type=moderated">{vb:rawphrase visitor_messages}</a></li> </vb:if> <vb:if condition="$show['moderatedgms']"> <li><a href="moderation.php?{vb:raw session.sessionurl}do=viewgms&type=moderated">{vb:rawphrase group_messages}</a></li> </vb:if> <vb:if condition="$show['moderateddiscussions']"> <li><a href="moderation.php?{vb:raw session.sessionurl}do=viewdiscussions&type=moderated">{vb:rawphrase group_discussions}</a></li> </vb:if> <vb:if condition="$show['moderatedpcs']"> <li><a href="moderation.php?{vb:raw session.sessionurl}do=viewpcs&type=moderated">{vb:rawphrase picture_comments}</a></li> </vb:if> <vb:if condition="$show['moderatedpics']"> <li><a href="moderation.php?{vb:raw session.sessionurl}do=viewattachments">{vb:rawphrase attachments}</a></li> </vb:if> </ul> </li> </vb:if> <li class="popupmenu {vb:raw navclass.newitems}"> <a href="javascript://" class="popupctrl">{vb:rawphrase new_items}</a> <ul class="popupbody popuphover"> <vb:if condition="$show['newvms']"> <li><a href="moderation.php?{vb:raw session.sessionurl}do=viewvms&type=new">{vb:rawphrase visitor_messages}</a></li> </vb:if> <vb:if condition="$show['newgms']"> <li><a href="moderation.php?{vb:raw session.sessionurl}do=viewgms&type=new">{vb:rawphrase group_messages}</a></li> </vb:if> <vb:if condition="$show['newdiscussions']"> <li><a href="moderation.php?{vb:raw session.sessionurl}do=viewdiscussions&type=new">{vb:rawphrase group_discussions}</a></li> </vb:if> <vb:if condition="$show['newpcs']"> <li><a href="moderation.php?{vb:raw session.sessionurl}do=viewpcs&type=new">{vb:rawphrase picture_comments}</a></li> </vb:if> <vb:if condition="$show['newpics']"> <li><a href="moderation.php?{vb:raw session.sessionurl}do=viewattachments&type=new">{vb:rawphrase attachments}</a></li> </vb:if> </ul> </li> </ul> </li> </vb:if> {vb:raw template_hook.usercp_navbar_bottom} </ul> </div> </div> </vb:if> {vb:raw footer} </body> </html> Hope this helps. . |
#13
|
|||
|
|||
Hey Seven thank you very much for the code! One thing though, what part would I remove to get rid of the "My subscription" block? I don't need people to change folders, I just want the thread portion (so none of the left sidebar). Thank you again for your help!
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|