Announcement

Collapse
No announcement yet.

Removing "New Thread" Icon

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Removing "New Thread" Icon

    When viewing threads there are TWO "new thread" icons (one on top and one on bottom of thread).

    How can I remove either of those icons so there's only one showing?


    Aslo...

    How can I remove the "Posting Rules" box as well as the "display options" menu at the bottom of all the threads?



    TIA

  • #2
    Originally posted by Samthesham
    When viewing threads there are TWO "new thread" icons (one on top and one on bottom of thread).

    How can I remove either of those icons so there's only one showing?
    Are you talking about the View First Unread link? There is only one of those links on the showthread page in the default templates. Did you add an extra one somewhere?

    Originally posted by Samthesham
    How can I remove the "Posting Rules" box as well as the "display options" menu at the bottom of all the threads?
    Go to your:

    Admin CP -> Styles & Templates -> Style Manager -> « » -> Show Thread Templates -> SHOWTHREAD

    Find this code and remove the red code:

    Code:
    <!-- forum rules and admin links -->
    <table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
    <tr valign="bottom">
    	[color=red]<td class="smallfont" align="$stylevar[left]">
    		$forumrules
    	</td>[/color]
    	<td class="smallfont" align="$stylevar[right]">
    		<table cellpadding="0" cellspacing="0" border="0">
    		<if condition="!$show['popups'] AND $show['adminoptions']">
    		<tr>
    Then remove this red code and add the green code:

    Code:
    <tr>
    	[color=red]<td class="thead">$vbphrase[display_modes]<a name="goto_displaymodes"></a></td>[/color]
    	<td class="thead" [color=green]colspan="2"[/color]>$vbphrase[rate_this_thread]<a name="goto_threadrating"></a></td>
    </tr>
    <tr valign="top">
    	[color=red]<td class="alt2">
    	
    	<!-- thread display modes -->
    	
    	<div class="smallfont">
    		<div><img class="inlineimg" src="$stylevar[imgdir_button]/mode_linear.gif" alt="$vbphrase[linear_mode]" vspace="1" /> <if condition="$show['linearmode']"><strong>$vbphrase[linear_mode]</strong><else /><a href="showthread.php?$session[sessionurl]p=$FIRSTPOSTID&amp;mode=linear#post$FIRSTPOSTID">$vbphrase[switch_to_linear_mode]</a></if></div>
    		<div><img class="inlineimg" src="$stylevar[imgdir_button]/mode_hybrid.gif" alt="$vbphrase[hybrid_mode]" vspace="1" /> <if condition="$show['hybridmode']"><strong>$vbphrase[hybrid_mode]</strong><else /><a href="showthread.php?$session[sessionurl]mode=hybrid&amp;t=$thread[threadid]">$vbphrase[switch_to_hybrid_mode]</a></if></div>
    		<div><img class="inlineimg" src="$stylevar[imgdir_button]/mode_threaded.gif" alt="$vbphrase[threaded_mode]" vspace="1" /> <if condition="$show['threadedmode']"><strong>$vbphrase[threaded_mode]</strong><else /><a href="showthread.php?$session[sessionurl]p=$FIRSTPOSTID&amp;mode=threaded#post$FIRSTPOSTID">$vbphrase[switch_to_threaded_mode]</a></if></div>
    	</div>
    	
    	<!-- / thread display modes -->
    	
    	</td>[/color]
    	<td class="alt2" [color=green]colspan="2"[/color]>
    	
    	<!-- rate this thread -->
    	<form action="threadrate.php" method="post">
    	<div class="smallfont">
    		<input type="hidden" name="s" value="$session[dbsessionhash]" />
    		<input type="hidden" name="t" value="$threadid" />
    		<input type="hidden" name="pp" value="$perpage" />
    		<input type="hidden" name="page" value="$pagenumber" />
    		<strong>$vbphrase[rate_this_thread]</strong>:<br />
    		<select name="vote" onchange="this.form.submit()" style="width:175px">
    			<optgroup label="$vbphrase[choose_a_rating]">
    				<option value="5" $voteselected[5]>5 : $vbphrase[excellent]</option>
    				<option value="4" $voteselected[4]>4 : $vbphrase[good]</option>
    				<option value="3" $voteselected[3]>3 : $vbphrase[average]</option>
    				<option value="2" $voteselected[2]>2 : $vbphrase[bad]</option>
    				<option value="1" $voteselected[1]>1 : $vbphrase[terrible]</option>
    			</optgroup>
    		</select>$gobutton
    	</div>
    	</form>
    	<!-- / rate this thread -->
    	
    	</td>
    </tr>
    </table>
    <br />
    
    
    <!-- / controls for non-popup browsers -->

    Comment


    • #3
      Thanks for the help on those two...



      The "new thread" icon I'm talking about is the button to post a new thread or new post. There are two buttons, one of top of the thread and one on the bottom. I'd like to have only one.

      The same goes for the "new post" buttons. There's one on top and one on the bottom. I'd like to have only one (pref on the bottom of the page).


      Another thing I need help with is the tool bar(?).

      I'd like to remove or edit "members list", "calendar" and "quick links" from the top of the page.

      Thanks for the help and I love the new version of software.

      Comment


      • #4
        Originally posted by Jake Bunce
        Are you talking about the View First Unread link? There is only one of those links on the showthread page in the default templates. Did you add an extra one somewhere?



        Go to your:

        Admin CP -> Styles & Templates -> Style Manager -> « » -> Show Thread Templates -> SHOWTHREAD

        Find this code and remove the red code:

        Code:
        <!-- forum rules and admin links -->
        <table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
        <tr valign="bottom">
        	[color=red]<td class="smallfont" align="$stylevar[left]">
        		$forumrules
        	</td>[/color]
        	<td class="smallfont" align="$stylevar[right]">
        		<table cellpadding="0" cellspacing="0" border="0">
        		<if condition="!$show['popups'] AND $show['adminoptions']">
        		<tr>
        I tried it and it didn't work. Perhaps I should have said it was in the FORUM display and not the thread?

        Comment


        • #5
          Originally posted by Samthesham
          The "new thread" icon I'm talking about is the button to post a new thread or new post. There are two buttons, one of top of the thread and one on the bottom. I'd like to have only one.
          To remove the top reply button go to your:

          Admin CP -> Styles & Templates -> Style Manager -> « » -> Show Thread Templates -> SHOWTHREAD

          Remove the red code:

          Code:
          <!-- controls above postbits -->
          <table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px">
          <tr valign="bottom">
          	[color=red]<if condition="$show['largereplybutton']">
          		<td class="smallfont"><a href="newreply.php?$session[sessionurl]do=newreply&amp;noquote=1&amp;p=$FIRSTPOSTID"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" ></if></a></td>
          	</if>[/color]	
          	<if condition="$show['pagenav']"><td align="$stylevar[right]">$pagenav</td></if>
          </tr>
          </table>
          <!-- / controls above postbits -->
          Originally posted by Samthesham
          The same goes for the "new post" buttons. There's one on top and one on the bottom. I'd like to have only one (pref on the bottom of the page).
          Admin CP -> Styles & Templates -> Style Manager -> « » -> Forum Display Templates -> FORUMDISPLAY

          Remove the red code:

          Code:
          <!-- controls above thread list -->
          <table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px">
          <tr valign="bottom">
          	<td class="smallfont">[color=red]<if condition="$show['newthreadlink']"><a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a><else />&nbsp;</if>[/color]</td>
          	<if condition="$pagenav"><td align="$stylevar[right]">$pagenav</td></if>
          </tr>
          </table>
          <!-- / controls above thread list -->
          Originally posted by Samthesham
          Another thing I need help with is the tool bar(?).

          I'd like to remove or edit "members list", "calendar" and "quick links" from the top of the page.
          Admin CP -> Styles & Templates -> Style Manager -> « » -> Navigation / Breadcrumb Templates -> navbar

          Remove the red code:

          Code:
          		<td class="vbmenu_control"><a href="faq.php?$session[sessionurl]">$vbphrase[faq]</a></td>
          		[color=red]<td class="vbmenu_control"><a href="memberlist.php?$session[sessionurl]">$vbphrase[members_list]</a></td>
          		<td class="vbmenu_control"><a href="calendar.php?$session[sessionurl]">$vbphrase[calendar]</a></td>[/color]
          		<if condition="$show['popups']">		
          			<if condition="$show['searchbuttons']">
          				<if condition="$show['member']">
          				<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew">$vbphrase[new_posts_nav]</a></td>
          				<else />
          				<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[todays_posts]</a></td>
          				</if>
          				<td id="navbar_search" class="vbmenu_control"><a href="search.php?$session[sessionurl]">$vbphrase[search]</a> <script type="text/javascript"> vbmenu_register("navbar_search"); </script></td>
          			</if>
          			[color=red]<if condition="$bbuserinfo['userid']">
          				<td id="usercptools" class="vbmenu_control"><a href="#usercptools">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>		
          			</if>[/color]
          		<else />
          Originally posted by Samthesham
          I tried it and it didn't work. Perhaps I should have said it was in the FORUM display and not the thread?
          Admin CP -> Styles & Templates -> Style Manager -> « » -> Forum Display Templates -> FORUMDISPLAY

          Remove the red code:

          Code:
          <!-- forum rules & forum jump -->
          <table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
          <tr valign="top">
          	[color=red]<td width="100%">
          		<div class="smallfont">&nbsp;</div>
          		$forumrules
          	</td>[/color]
          	<td>
          		$forumjump
          		<if condition="!$show['popups'] AND $show['adminoptions']">

          Comment

          widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
          Working...
          X