Announcement

Collapse
No announcement yet.

How to remove...

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

  • How to remove...

    Hello,

    Thanks for your time!

    I'm cleaning up my forum footers and the bottom of my forum display templates. I've removed the "New Thread" button from bottom of the forum display template. I'm also trying to move the page skip box (Don't know the proper name, see the below image) however I keep getting errors when I attempt to remove it, possibly to do with the moderation box below it? I want to keep that!!



    I presume it's somewhere in the below code, I've tried moving what I think it is and get errors. Any help would be appreciated.

    PHP Code:
    <!-- controls below thread list -->
    <
    table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:3px">
    <
    tr valign="top">
        <if 
    condition="$show['pagenav'] OR $show['inlinemod']"
            <
    td align="$stylevar[right]">$pagenav 
            
    <if condition="$show['inlinemod']">
            <
    div class="smallfont" style="text-align:$stylevar[left]; white-space:nowrap; float:$stylevar[right]"
            <if 
    condition="$show['pagenav']"><br /></if><strong>$vbphrase[moderation]</strong><br /> 

                <
    select name="do">
                    <
    optgroup label="$vbphrase[option]">
                        <if 
    condition="$show['deletethread']">
                        <
    option value="deletethread">$vbphrase[delete_threads]</option>
                        <
    option value="undeletethread">$vbphrase[undelete_threads]</option>
                        </if>
                        <if 
    condition="$show['openthread']">
                        <
    option value="open">$vbphrase[open_threads]</option>
                        <
    option value="close">$vbphrase[close_threads]</option>
                        </if>
                        <if 
    condition="$show['approvethread']">
                        <
    option value="approvethread">$vbphrase[approve_threads]</option>
                        <
    option value="unapprovethread">$vbphrase[unapprove_threads]</option>
                        </if>
                        <if 
    condition="$show['movethread']">
                        <
    option value="stick">$vbphrase[stick_threads]</option>
                        <
    option value="unstick">$vbphrase[unstick_threads]</option>
                        <
    option value="movethread">$vbphrase[move_threads]</option>
                        <
    option value="mergethread">$vbphrase[merge_threads]</option>
                        </if>
                    </
    optgroup>
                    <
    optgroup label="____________________">
                        <
    option value="clearthread">$vbphrase[clear_thread_list]</option>
                    </
    optgroup>
                </
    select><input type="submit" class="button" id="inlinego" value="$vbphrase[go]/> </div>
                <
    script type="text/javascript">
                <!--
                
    inlineMod = new vB_Inline_Mod('inlineMod''thread''inlinemodform''$vbphrase[go_x]');
                
    //-->
                
    </script>
            </if>
            </
    td>
        </if>
    </
    tr>
    </
    table>
    <!-- / 
    controls below thread list --> 

  • #2
    Where do you want to move the pagenav to?

    Comment


    • #3
      Originally posted by Jake Bunce
      Where do you want to move the pagenav to?
      I want to remove it completely. As there's also one at the top of the forum display, I don't personally see the point in having two of them.

      Cheers.

      EDIT: Nevermind I've sorted it now. Thanks!
      Last edited by TNAChris; Fri 20 Jan '06, 4:04pm.

      Comment


      • #4
        Remove the red code:

        Code:
        <!-- controls below thread list -->
        <table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:3px">
        <tr valign="top">
        	<td class="smallfont"><if condition="$show['newthreadlink']"><a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]" rel="nofollow"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a><else />&nbsp;</if></td>
        	<if condition="$show['pagenav'] OR $show['inlinemod']">
        		<td align="$stylevar[right]">$pagenav
        		<if condition="$show['inlinemod']">
        			<div class="smallfont" style="text-align:$stylevar[left]; white-space:nowrap; float:$stylevar[right]">
        			<if condition="$show['pagenav']"><br /></if><strong>$vbphrase[moderation]</strong><br />
        			<select name="do">

        Comment


        • #5
          The point of having two is so you don't have to scroll all the way back to the top to change pages.
          vBulletin v3.8.0's Implementation of Google Adsense Should Be Avoided At All Costs - Do Your Own Adsense Implementation

          Comment

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