Log in

View Full Version : Forum Home Enhancements - TW7S - Remove Subscription and/or RSS buttons from forums


LifesGreatestGift
01-01-2010, 10:00 PM
To remove Subscription button only

Open forumhome_forumbit_level1_post (This is for Sub-Forums)

Find and Remove:

<vb:if condition="$show['member']"><vb:if condition="$show['forumsubscription']"><li class="forumactionlink unsubslink"> <a href="subscription.php?{vb:raw session.sessionurl}do=removesubscription&amp;f={vb:raw forum.forumid}" title="{vb:rawphrase unsubscribe_from_this_forum}">{vb:rawphrase unsubscribe_from_this_forum}</a></li><vb:else /><li class="forumactionlink subslink"> <a href="subscription.php?{vb:raw session.sessionurl}do=addsubscription&amp;f={vb:raw forum.forumid}" title="{vb:rawphrase subscribe_to_this_forum}">{vb:rawphrase subscribe_to_this_forum}</a></li></vb:if></vb:if>



Open forumhome_forumbit_level2_post (This is for Forum Home Display)

Find and Remove:

<vb:if condition="$show['member']"><vb:if condition="$show['forumsubscription']"><li class="forumactionlink unsubslink"> <a href="subscription.php?{vb:raw session.sessionurl}do=removesubscription&amp;f={vb:raw forum.forumid}" title="{vb:rawphrase unsubscribe_from_this_forum}">{vb:rawphrase unsubscribe_from_this_forum}</a></li><vb:else /><li class="forumactionlink subslink"> <a href="subscription.php?{vb:raw session.sessionurl}do=addsubscription&amp;f={vb:raw forum.forumid}" title="{vb:rawphrase subscribe_to_this_forum}">{vb:rawphrase subscribe_to_this_forum}</a></li></vb:if></vb:if>



To remove RSS button only

Open forumhome_forumbit_level1_post (This is for Sub-Forums)

Find and Remove:

<vb:if condition="$vboptions['externalrss']"><li class="forumactionlink rsslink"><a href="external.php?{vb:raw session.sessionurl}type=RSS2&amp;forumids={vb:raw forum.forumid}" title="{vb:rawphrase view_forum_rss_feed}">{vb:rawphrase view_forum_rss_feed}</a></li></vb:if>



Open forumhome_forumbit_level2_post (This is for Forum Home Display)

Find and Remove:

<vb:if condition="$vboptions['externalrss']"><li class="forumactionlink rsslink"><a href="external.php?{vb:raw session.sessionurl}type=RSS2&amp;forumids={vb:raw forum.forumid}" title="{vb:rawphrase view_forum_rss_feed}">{vb:rawphrase view_forum_rss_feed}</a></li></vb:if>



To remove Subscription & RSS buttons

Open forumhome_forumbit_level1_post (This is for Sub-Forums)

Find and Remove:

<vb:if condition="$forum['statusicon'] != 'link'">
<h4 class="nocss_label">{vb:rawphrase forum_actions}:</h4>
<ul class="forumactionlinks td">
<vb:if condition="$vboptions['externalrss']"><li class="forumactionlink rsslink"><a href="external.php?{vb:raw session.sessionurl}type=RSS2&amp;forumids={vb:raw forum.forumid}" title="{vb:rawphrase view_forum_rss_feed}">{vb:rawphrase view_forum_rss_feed}</a></li></vb:if>
<vb:if condition="$show['member']"><vb:if condition="$show['forumsubscription']"><li class="forumactionlink unsubslink"> <a href="subscription.php?{vb:raw session.sessionurl}do=removesubscription&amp;f={vb:raw forum.forumid}" title="{vb:rawphrase unsubscribe_from_this_forum}">{vb:rawphrase unsubscribe_from_this_forum}</a></li><vb:else /><li class="forumactionlink subslink"> <a href="subscription.php?{vb:raw session.sessionurl}do=addsubscription&amp;f={vb:raw forum.forumid}" title="{vb:rawphrase subscribe_to_this_forum}">{vb:rawphrase subscribe_to_this_forum}</a></li></vb:if></vb:if>
</ul>
<vb:else />
<vb:comment><h4 class="nocss_label">{vb:rawphrase forum_actions}:</h4>
<ul class="forumactionlinks td">
<vb:if condition="$vboptions['externalrss']"><li class="forumactionlink">&nbsp;</li></vb:if>
<vb:if condition="$show['member']"><li class="forumactionlink">&nbsp;</a></li></vb:if>
</ul></vb:comment>
</vb:if>



Open forumhome_forumbit_level2_post (This is for Forum Home Display)

Find and Remove:

<ul class="forumactionlinks td">
<vb:if condition="$vboptions['externalrss']"><li class="forumactionlink rsslink"><a href="external.php?{vb:raw session.sessionurl}type=RSS2&amp;forumids={vb:raw forum.forumid}" title="{vb:rawphrase view_forum_rss_feed}">{vb:rawphrase view_forum_rss_feed}</a></li></vb:if>
<vb:if condition="$show['member']"><vb:if condition="$show['forumsubscription']"><li class="forumactionlink unsubslink"> <a href="subscription.php?{vb:raw session.sessionurl}do=removesubscription&amp;f={vb:raw forum.forumid}" title="{vb:rawphrase unsubscribe_from_this_forum}">{vb:rawphrase unsubscribe_from_this_forum}</a></li><vb:else /><li class="forumactionlink subslink"> <a href="subscription.php?{vb:raw session.sessionurl}do=addsubscription&amp;f={vb:raw forum.forumid}" title="{vb:rawphrase subscribe_to_this_forum}">{vb:rawphrase subscribe_to_this_forum}</a></li></vb:if></vb:if>
</ul>



To UnDo changes simply revert templates forumhome_forumbit_level1_post and forumhome_forumbit_level2_post

vivamexico55
01-02-2010, 08:31 PM
Awesome, thanks!

Dr.osamA
01-03-2010, 02:53 AM
thanxx

installd
________
Babe college (http://www.++++tube.com/categories/178/college/videos/1)

Merjawy
01-03-2010, 03:23 AM
You read my mind
I was going to mess with it before the actual upgrade

Thanks

Allan
01-21-2010, 07:41 AM
Work on 4.0.1 ?

LifesGreatestGift
01-21-2010, 08:01 PM
yes

House M.D.
01-29-2010, 04:18 AM
Thank you

ozzy47
04-13-2010, 09:33 PM
Installed, thanks!

Devanand
06-30-2010, 07:47 PM
Never mind, my mestake. Installed :)

xbrian88
12-23-2010, 12:14 AM
I would like to remove these highlighted. how do I?
I followed the guide, but do not go away!

https://vborg.vbsupport.ru/external/2011/01/10.jpg

xbrian88
12-25-2010, 01:42 PM
?????????????? nothing?

xbrian88
01-01-2011, 11:09 PM
?????????????? nothing?

????????????

rajubd
01-02-2011, 04:59 PM
this is for forum home not forum display. also this mod not work with 4.1

dnk.it
01-30-2011, 02:04 PM
works well on my forum

vbulletin: 4.1.1

theoutlawed
04-06-2011, 08:09 PM
4.1.3 no problems whatsoever.. Works like a charm, thanks. Saved me the time digging through the files until I found them much appreciated!

james7zt
07-22-2011, 12:01 PM
thank you for this mod.

can anyone help, please.... I couldnt find forumhome_forumbit_level1_post and forumhome_forumbit_level2_post please tell me where is it... b/c the green button it very annoyed.... :(

---------------------------------------------------------

never mind, i found it. THankssssssssssssss a 100000000000000000 times!!!!

Appreciate it.

Regards,

Divokymuz
10-12-2011, 08:51 AM
In 4.17 the Templates are different:

To remove Subscription & RSS buttons

Open forumhome_forumbit_level1_post (This is for Sub-Forums)

Find and Remove:
PHP Code:
<vb:if condition="$forum['statusicon'] != 'link'">
<h4 class="nocss_label">{vb:rawphrase forum_actions}:</h4>
<ul class="forumactionlinks td"><vb:if condition="$forum['allowposting']">
<vb:if condition="$vboptions['externalrss']"><li class="forumactionlink rsslink"><a href="external.php?{vb:raw session.sessionurl}type=RSS2&amp;forumids={vb:raw forum.forumid}" title="{vb:rawphrase view_forum_rss_feed}">{vb:rawphrase view_forum_rss_feed}</a></li></vb:if>
<vb:if condition="$show['member']"><vb:if condition="$show['forumsubscription']"><li class="forumactionlink unsubslink"> <a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}subscription.php?{vb:raw session.sessionurl}do=removesubscription&amp;f={vb:raw forum.forumid}" title="{vb:rawphrase unsubscribe_from_this_forum}">{vb:rawphrase unsubscribe_from_this_forum}</a></li><vb:else /><li class="forumactionlink subslink"> <a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}subscription.php?{vb:raw session.sessionurl}do=addsubscription&amp;f={vb:raw forum.forumid}" title="{vb:rawphrase subscribe_to_this_forum}">{vb:rawphrase subscribe_to_this_forum}</a></li></vb:if></vb:if>
</vb:if></ul>
<vb:else />
<vb:comment><h4 class="nocss_label">{vb:rawphrase forum_actions}:</h4>
<ul class="forumactionlinks td">
<vb:if condition="$vboptions['externalrss']"><li class="forumactionlink">&nbsp;</li></vb:if>
<vb:if condition="$show['member']"><li class="forumactionlink">&nbsp;</li></vb:if>
</ul></vb:comment>
</vb:if>

Next -->

Open forumhome_forumbit_level2_post (This is for Forum Home Display)

Find and Remove:
PHP Code:
<ul class="forumactionlinks td">
<vb:if condition="$forum['allowposting']"><vb:if condition="$vboptions['externalrss']"><li class="forumactionlink rsslink"><a href="external.php?{vb:raw session.sessionurl}type=RSS2&amp;forumids={vb:raw forum.forumid}" title="{vb:rawphrase view_forum_rss_feed}">{vb:rawphrase view_forum_rss_feed}</a></li></vb:if>
<vb:if condition="$show['member']"><vb:if condition="$show['forumsubscription']"><li class="forumactionlink unsubslink"> <a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}subscription.php?{vb:raw session.sessionurl}do=removesubscription&amp;f={vb:raw forum.forumid}" title="{vb:rawphrase unsubscribe_from_this_forum}">{vb:rawphrase unsubscribe_from_this_forum}</a></li><vb:else /><li class="forumactionlink subslink"> <a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}subscription.php?{vb:raw session.sessionurl}do=addsubscription&amp;f={vb:raw forum.forumid}" title="{vb:rawphrase subscribe_to_this_forum}">{vb:rawphrase subscribe_to_this_forum}</a></li></vb:if></vb:if></vb:if>
</ul>

imported_dfmafia
11-05-2011, 03:42 AM
In 4.1.7 and using Project Tools:

To remove Subscription & RSS buttons

Open pt_forumbit_project (This is for Forum Home Display)

Find and Remove:
PHP Code:


<ul class="forumactionlinks td">
<vb:if condition="$vboptions['externalrss']"><li class="forumactionlink rsslink"><a href="projectexternal.php?projectid={vb:raw project.projectid}" title="{vb:rawphrase project_rss_feed}">{vb:rawphrase project_rss_feed}</a></li></vb:if>
<vb:if condition="$show['member']"><li class="forumactionlink subslink"><a href="projectpost.php?{vb:raw session.sessionurl}do=manageprojectsubscription&amp;pr ojectid={vb:raw project.projectid}" title="{vb:rawphrase subscribe_to_this_project}">{vb:rawphrase subscribe_to_this_project}</a></li></vb:if>
</ul>

bskr84
01-10-2012, 05:15 AM
how can i do that in 4.1.8

LifesGreatestGift
01-13-2012, 03:17 PM
To remove while retaining style structure add the following to additional.css
.forumactionlinks{visibility:hidden !important}

To remove without regard to style structure add the following to additional.css
.forumactionlinks{display:none !important}

keep in mind all these do is visibly hide the elements. They still load, just cant see them :)

yamahapaul
07-09-2012, 05:44 AM
Does this work for 4.2?