Announcement

Collapse
No announcement yet.

Re: Display Options table...

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

  • Re: Display Options table...

    On the vB.org site the display options table is above the threads in the forums. On ours it is below. Moving it to the top would solve A LOT of the complaints with our members. Is there an easy way to do this or does it always require modifying the code. If it does require modifying the code, can you tell me how?

    Thanks!
    Christine
    SheKnows Network Director

  • #2
    What 'display options' table exactly?
    Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
    Change CKEditor Colors to Match Style (for 4.1.4 and above)

    Steve Machol Photography


    Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


    Comment


    • #3
      The one on the bottom that shows Display Options, Current Active Users, and Moderators. It is after the threads on this forums main page as well.

      Comment


      • #4
        Find the following code in your FORUMHOME template highlight and cut it (CRTL+X):
        Code:
        <!-- what's going on box -->
        <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
        <thead>
        	<tr>
        		<td class="tcat" colspan="2">$vbphrase[whats_going_on]</td>
        	</tr>
        </thead>
        <if condition="$show['loggedinusers']">
        <!-- logged-in users -->
        <tbody>
        	<tr>
        		<td class="thead" colspan="2">
        			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_activeusers')"><img id="collapseimg_forumhome_activeusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a>
        			<a href="online.php?$session[sessionurl]">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>)
        		</td>
        	</tr>
        </tbody>
        <tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]">
        	<tr>
        		<td class="alt2"><a href="online.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="$vbphrase[view_whos_online]" border="0" /></a></td>
        		<td class="alt1" width="100%">
        			<div class="smallfont">
        				<div style="white-space: nowrap"><phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase></div>
        				<div>$activeusers</div>
        			</div>
        		</td>
        	</tr>
        </tbody>
        <!-- end logged-in users -->
        </if>
        <tbody>
        	<tr>
        		<td class="thead" colspan="2">
        			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_stats')"><img id="collapseimg_forumhome_stats" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_stats].gif" alt="" border="0" /></a>
        			<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>
        		</td>
        	</tr>
        </tbody>
        <tbody id="collapseobj_forumhome_stats" style="$vbcollapse[collapseobj_forumhome_stats]">
        	<tr>
        		<td class="alt2"><img src="$stylevar[imgdir_misc]/stats.gif" alt="<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>" border="0" /></td>
        		<td class="alt1" width="100%">
        		<div class="smallfont">
        			<div>$vbphrase[threads]: $totalthreads, $vbphrase[posts]: $totalposts, $vbphrase[members]: $numbermembers</div>
        			<div><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase></div>
        		</div>
        		</td>
        	</tr>
        </tbody>
        <if condition="$show['birthdays']">
        <!-- today's birthdays -->
        <tbody>
        	<tr>
        		<td class="thead" colspan="2">
        			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_birthdays')"><img id="collapseimg_forumhome_birthdays" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_birthdays].gif" alt="" border="0" /></a>
        			$vbphrase[todays_birthdays]
        		</td>
        	</tr>
        </tbody>
        <tbody id="collapseobj_forumhome_birthdays" style="$vbcollapse[collapseobj_forumhome_birthdays]">
        	<tr>
        		<td class="alt2"><a href="calendar.php?$session[sessionurl]do=getday&amp;day=$today&amp;sb=1"><img src="$stylevar[imgdir_misc]/birthday.gif" alt="$vbphrase[view_birthdays]" border="0" /></a></td>
        		<td class="alt1" width="100%"><div class="smallfont">$birthdays</div></td>
        	</tr>
        </tbody>
        <!-- end today's birthdays -->
        </if>
        <if condition="$show['upcomingevents']">
        <tbody>
        	<tr>
        		<td class="thead" colspan="2">
        			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_events')"><img id="collapseimg_forumhome_events" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_events].gif" alt="" border="0" /></a>
        			<if condition="$show['todaysevents']">$vbphrase[todays_events]<else /><phrase 1="$vboptions[showevents]">$vbphrase[upcoming_events_for_the_next_x_days]</phrase></if>
        		</td>
        	</tr>
        </tbody>
        <tbody id="collapseobj_forumhome_events" style="$vbcollapse[collapseobj_forumhome_events]">
        	<tr>
        		<td class="alt2"><a href="calendar.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/calendar.gif" alt="$vbphrase[calendar]" border="0" /></a></td>
        		<td class="alt1" width="100%"><div class="smallfont">$upcomingevents</div></td>
        	</tr>
        </tbody>
        </if>
        </table>
        <br />
        <!-- end what's going on box -->
        Go to the top of your FORUMHOME template and paste where indicated:
        Code:
        $stylevar[htmldoctype]
        <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
        <head>
        	<!-- no cache headers -->
        	<meta http-equiv="Pragma" content="no-cache" />
        	<meta http-equiv="Expires" content="-1" />
        	<meta http-equiv="Cache-Control" content="no-cache" />
        	<!-- end no cache headers -->
        	<title><phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase></title>
        	$headinclude
        </head>
        <body>
        $header
        $navbar
        
        [COLOR=Red]Paste Here (CRTL+V)[/COLOR]
        
        <!-- main -->

        Comment


        • #5
          Awesome! TY!

          Comment


          • #6
            Hmmm...all that moved was the list of users online, birthdays, etc. It didn't move the display options box that lists moderators.... ????

            Comment


            • #7
              Which box is that? I don't recall ever seeing a box at the bottom of forum home that lists moderators.

              [edit]Nevermind I see what you were asking for. BRB[/edit]

              Comment


              • #8
                Find the following code in your FORUMDISPLAY template highlight and cut it (CRTL+X):
                Code:
                <!-- Active Users in this Forum (and sub-forums) and Moderators -->
                
                <form action="forumdisplay.php" method="get">
                <input type="hidden" name="s" value="$session[sessionhash]" />
                <input type="hidden" name="f" value="$forumid" />
                <input type="hidden" name="page" value="$pagenumber" />
                <input type="hidden" name="pp" value="$perpage" />
                
                <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
                <tr>
                	<td class="tcat">$vbphrase[display_options]</td>
                	<if condition="$show['activeusers']">
                	<td class="tcat">$vbphrase[currently_active_users]</td>
                	</if>
                	<if condition="$show['moderators']">
                	<td class="tcat">$vbphrase[moderators]</td>
                	</if>
                </tr>
                <tr>
                	<td class="thead"><phrase 1="$limitlower" 2="$limitupper" 3="$totalthreads">$vbphrase[showing_threads_x_to_y_of_z]</phrase></td>
                	<if condition="$show['activeusers']">
                	<td class="thead">$totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_y_guests]</phrase>)</td>
                	</if>
                	<if condition="$show['moderators']">
                	<td class="thead">$vbphrase[moderators]: $totalmods</td>
                	</if>
                </tr>
                <tr valign="top">
                	<td class="alt1">
                	
                		<table cellpadding="0" cellspacing="1" border="0" width="100%">
                		<tr>
                			<td class="smallfont">$vbphrase[sorted_by]:</td>
                			<td><select name="sort" style="width:125px">
                				<option value="title" $sort[title]>$vbphrase[thread_title]</option>
                				<option value="lastpost" $sort[lastpost]>$vbphrase[last_post_time]</option>
                				<option value="replycount" $sort[replycount]>$vbphrase[number_of_replies]</option>
                				<option value="views" $sort[views]>$vbphrase[number_of_views]</option>
                				<option value="postusername" $sort[postusername]>$vbphrase[thread_starter]</option>
                				<if condition="$show['threadratings']"><option value="voteavg" $sort[voteavg]>$vbphrase[thread_rating]</option></if>
                			</select></td>
                			<td class="smallfont">$vbphrase[sort_order]:</td>
                			<td><select name="order" style="width:100px">
                				<option value="asc" $order[asc]>$vbphrase[ascending]</option>
                				<option value="desc" $order[desc]>$vbphrase[descending]</option>
                			</select></td>
                		</tr>
                		<tr>
                			<td class="smallfont">$vbphrase[from_the]:</td>
                			<td><select name="daysprune" style="width:125px">
                				<option value="1" $daysprunesel[1]>$vbphrase[last_day]</option>
                				<option value="2" $daysprunesel[2]>$vbphrase[last_2_days]</option>
                				<option value="7" $daysprunesel[7]>$vbphrase[last_week]</option>
                				<option value="10" $daysprunesel[10]>$vbphrase[last_10_days]</option>
                				<option value="14" $daysprunesel[14]>$vbphrase[last_2_weeks]</option>
                				<option value="30" $daysprunesel[30]>$vbphrase[last_month]</option>
                				<option value="45" $daysprunesel[45]>$vbphrase[last_45_days]</option>
                				<option value="60" $daysprunesel[60]>$vbphrase[last_2_months]</option>
                				<option value="75" $daysprunesel[75]>$vbphrase[last_75_days]</option>
                				<option value="100" $daysprunesel[100]>$vbphrase[last_100_days]</option>
                				<option value="365" $daysprunesel[365]>$vbphrase[last_year]</option>
                				<option value="-1" $daysprunesel[all]>$vbphrase[beginning]</option>
                			</select></td>
                			<td class="smallfont">&nbsp;</td>
                			<td><input type="submit" class="button" value="$vbphrase[show_threads]" style="width:100px" /></td>
                		</tr>
                		</table>
                	
                	</td>
                	<if condition="$show['activeusers']">
                	<td class="alt1"><div class="smallfont">$activeusers</div></td>
                	</if>
                	<if condition="$show['moderators']">
                	<td class="alt1"><div class="smallfont">$moderatorslist&nbsp;</div></td>
                	</if>
                </tr>
                </table>
                
                </form>
                <!-- End Active Users in this Forum (and sub-forums) and Moderators -->
                Go to the top of your FORUMDISPLAY template and paste where indicated:
                Code:
                $stylevar[htmldoctype]
                <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
                <head>
                <meta name="description" content="$foruminfo[description]" />
                <title>$vboptions[bbtitle] - $foruminfo[title]</title>
                $headinclude
                </head>
                <body>
                $header
                $navbar
                
                [color=red]Paste Here (CRTL+V)[/color]
                
                <if condition="$show['forumslist']">
                <!-- sub-forum list  -->
                Now add <br />'s after this line until you have the spacing you want:
                Code:
                <!-- End Active Users in this Forum (and sub-forums) and Moderators -->
                
                [COLOR=Red]<br />[/COLOR]
                Attached Files
                Last edited by MegaHertz; Fri 2 Jul '04, 10:34am. Reason: added screenshot

                Comment

                Loading...
                Working...
                X