View Full Version : Please help, how do I remove this?
Jabong82
03-04-2010, 06:52 PM
Hello I am trying to move this left sidebar USER CP area from the subscription.php page. I was looking in the SUBSCRIBE template, but I couldn't figure it out.
I only want to remove it from the subscription.php page (to clear some clutter), but not from the "settings" page (I think when you click settings it goes to usercp.php?
I have attached a photo of the area I am talking about. Thank you again.
Jabong82
03-05-2010, 10:22 PM
Bump for help
Videx
03-05-2010, 10:40 PM
I don't know, but you have something wrong, because mine doesn't overlap like that. Does this happen in multiple browsers? Have you modified the templates? Have you tried disabling your mods?
Jabong82
03-05-2010, 11:34 PM
Hi really? That is not part of the original design?
This appears for me in the usercp.php page (when I hit settings) and the subscription.php page (nowhere else). I thought its kind of a weird placement for it in the subscription.php area.
So are you telling me this doesn't occur in your subscrption.php page? Thanks in advance.
Videx
03-05-2010, 11:46 PM
No, I have a nice space separating them, same as at vb.com. http://www.vbulletin.com/forum/subscription.php?do=viewsubscription
Jabong82
03-06-2010, 12:15 AM
Oh ok I get what you mean.
No I'm not talking about an overlap, I'm talking about that whole sidepanel (User CP?). I want to remove it from the page so it only shows the threads.
So basically all those blocks like inbox, edit profile, etc. are gone. Thank you again for your help.
TimberFloorAu
03-06-2010, 12:20 AM
How will people edit stuff in their profile then ?
Jabong82
03-06-2010, 12:42 AM
If you remove this from the subscribe.php page, will it also be removed from the usercp.php page?
For example I want it to still be there when people click "settings" (usercp.php), but not when people click subscriptions (subscription.php).
Is this even possible? Thank you.
Videx
03-06-2010, 12:47 AM
I've never seen any easy way to do it. I imagine it would take a lot of manual editing. And to what end? As your own picture shows, 75% of the threads are just blank space anyway, so all you'll get is more blank space. And besides, people rarely look at their subscriptions.
Jabong82
03-06-2010, 12:59 AM
Hello thank you for your responses. Subscriptions are actually an important aspect of my site, so I wanted to remove some extra clutter from the page. So are you basically saying there is no way to remove it easily?
I figured there was maybe some small snippet of code I had to remove but couldn't find in the template.
Thank you again.
Videx
03-06-2010, 01:11 AM
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.
Seven Skins
03-06-2010, 08:26 PM
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)
{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,forumdispl ay.css,postlist.css,projecttools.css,threadlist.cs s,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=moderat ed">{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.
.
Jabong82
03-06-2010, 10:22 PM
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!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.