Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
TW7S - Remove Subscription and/or RSS buttons from forums Details »»
TW7S - Remove Subscription and/or RSS buttons from forums
Version: 1.00, by LifesGreatestGift LifesGreatestGift is offline
Developer Last Online: Apr 2015 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 4.0.0 Rating:
Released: 01-01-2010 Last Update: Never Installs: 71
Template Edits
Re-useable Code Translations  
No support by the author.

To remove Subscription button only

Open forumhome_forumbit_level1_post (This is for Sub-Forums)

Find and Remove:
PHP Code:
<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:
PHP Code:
<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:
PHP Code:
<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:
PHP Code:
<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:
PHP Code:
<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:
PHP Code:
<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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
farzam.parto, kizy

Comments
  #12  
Old 12-25-2010, 01:42 PM
xbrian88 xbrian88 is offline
 
Join Date: Jul 2006
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

?????????????? nothing?
Reply With Quote
  #13  
Old 01-01-2011, 11:09 PM
xbrian88 xbrian88 is offline
 
Join Date: Jul 2006
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by xbrian88 View Post
?????????????? nothing?
????????????
Reply With Quote
  #14  
Old 01-02-2011, 04:59 PM
rajubd rajubd is offline
 
Join Date: Jun 2009
Posts: 209
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this is for forum home not forum display. also this mod not work with 4.1
Reply With Quote
  #15  
Old 01-30-2011, 02:04 PM
dnk.it dnk.it is offline
 
Join Date: Aug 2009
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works well on my forum

vbulletin: 4.1.1
Reply With Quote
  #16  
Old 04-06-2011, 08:09 PM
theoutlawed's Avatar
theoutlawed theoutlawed is offline
 
Join Date: Sep 2010
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #17  
Old 07-22-2011, 12:01 PM
james7zt james7zt is offline
 
Join Date: Jul 2011
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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,
Reply With Quote
  #18  
Old 10-12-2011, 08:51 AM
Divokymuz Divokymuz is offline
 
Join Date: Jan 2002
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:
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:
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>
Reply With Quote
  #19  
Old 11-05-2011, 03:42 AM
imported_dfmafia's Avatar
imported_dfmafia imported_dfmafia is offline
 
Join Date: Jun 2004
Location: Wherever Uncle Sam Needs!
Posts: 141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:

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;projectid={vb:raw project.projectid}" title="{vb:rawphrase subscribe_to_this_project}">{vb:rawphrase subscribe_to_this_project}</a></li></vb:if>
    </
ul
Reply With Quote
  #20  
Old 01-10-2012, 05:15 AM
bskr84 bskr84 is offline
 
Join Date: Aug 2010
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how can i do that in 4.1.8
Reply With Quote
  #21  
Old 01-13-2012, 03:17 PM
LifesGreatestGift's Avatar
LifesGreatestGift LifesGreatestGift is offline
 
Join Date: Jul 2009
Location: Louisville, KY USA
Posts: 885
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To remove while retaining style structure add the following to additional.css
Code:
.forumactionlinks{visibility:hidden !important}
To remove without regard to style structure add the following to additional.css
Code:
.forumactionlinks{display:none !important}
keep in mind all these do is visibly hide the elements. They still load, just cant see them
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 04:03 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.04906 seconds
  • Memory Usage 2,395KB
  • Queries Executed 26 (?)
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
  • (4)bbcode_code
  • (7)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (2)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • 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