The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Can someone tell me what I did wrong?
I am trying to move the "Display Options" and "Active Members" and "Moderators" area to the top above the threads. but for some reason its not working right...
http://gods4me.com/forum/forumdisplay.php?f=79 Click here for screen shot Here is my code Code:
<!-- Active Users in this Forum (and sub-forums) and Moderators --> <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> <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" /> <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> <table cellpadding="0" cellspacing="1" border="0"> <tr valign="bottom"> <td class="smallfont" style="padding-$stylevar[right]:$stylevar[cellpadding]px"> <div><label for="sel_sort">$vbphrase[sorted_by]</label></div> <select name="sort" id="sel_sort"> <option value="title" $sort[title]>$vbphrase[thread_title]</option> <option value="lastpost" $sort[lastpost]>$vbphrase[last_post_time]</option> <option value="dateline" $sort[dateline]>$vbphrase[thread_start_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" style="padding-$stylevar[right]:$stylevar[cellpadding]px"> <div><label for="sel_order">$vbphrase[sort_order]</label></div> <select name="order" id="sel_order"> <option value="asc" $order[asc]>$vbphrase[ascending]</option> <option value="desc" $order[desc]>$vbphrase[descending]</option> </select> </td> <td class="smallfont"> <div><label for="sel_daysprune">$vbphrase[from_the]</label></div> <select name="daysprune" id="sel_daysprune"> <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> </tr> <tr valign="bottom"> <td class="smallfont" colspan="2"> <if condition="$prefix_options"> <div><label for="sel_prefixid">$vbphrase[prefix]</label></div> <select name="prefixid" id="sel_prefixid"> <option value=""$prefix_selected[any]>$vbphrase[any_prefix_meta]</option> <option value="-1"$prefix_selected[none]>$vbphrase[no_prefix_meta]</option> $prefix_options </select> <else /> </if> </td> <td class="smallfont" align="$stylevar[right]" style="padding-top:$stylevar[cellpadding]px"> <input type="submit" class="button" value="$vbphrase[show_threads]" /> </td> </tr> </table> </td><table><tr> <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 </div></td> </if> </tr> </table> </form> <!-- End Active Users in this Forum (and sub-forums) and Moderators --> |
#2
|
||||
|
||||
I can't see a thing without a test account to log into. But, from the screenshot I would say what you are missing is the actual list of users/moderators? Those variables/lists need to actually have been determined/parsed in the code in order for them to be displayed. It could be that you are evaling your template/code before those variables are available for display.
|
#3
|
|||
|
|||
well the names are on there
http://i36.tinypic.com/2nrd2ye.png the circled in red part are the user names and moderator names.. |
#4
|
||||
|
||||
Ah, so it's a table structure thing. I didn't see that. Taking a look at that code, it's all off. I'm not sure about this, but give it a try:
HTML Code:
<!-- Active Users in this Forum (and sub-forums) and Moderators --> <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><td class="alt1"> <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 cellpadding="0" cellspacing="1" border="0"> <tr valign="bottom"> <td class="smallfont" style="padding-$stylevar[right]:$stylevar[cellpadding]px"> <div><label for="sel_sort">$vbphrase[sorted_by]</label></div> <select name="sort" id="sel_sort"> <option value="title" $sort[title]>$vbphrase[thread_title]</option> <option value="lastpost" $sort[lastpost]>$vbphrase[last_post_time]</option> <option value="dateline" $sort[dateline]>$vbphrase[thread_start_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" style="padding-$stylevar[right]:$stylevar[cellpadding]px"> <div><label for="sel_order">$vbphrase[sort_order]</label></div> <select name="order" id="sel_order"> <option value="asc" $order[asc]>$vbphrase[ascending]</option> <option value="desc" $order[desc]>$vbphrase[descending]</option> </select> </td> <td class="smallfont"> <div><label for="sel_daysprune">$vbphrase[from_the]</label></div> <select name="daysprune" id="sel_daysprune"> <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> </tr> <tr valign="bottom"> <td class="smallfont" colspan="2"> <if condition="$prefix_options"> <div><label for="sel_prefixid">$vbphrase[prefix]</label></div> <select name="prefixid" id="sel_prefixid"> <option value=""$prefix_selected[any]>$vbphrase[any_prefix_meta]</option> <option value="-1"$prefix_selected[none]>$vbphrase[no_prefix_meta]</option> $prefix_options </select> <else /> </if> </td> <td class="smallfont" align="$stylevar[right]" style="padding-top:$stylevar[cellpadding]px"> <input type="submit" class="button" value="$vbphrase[show_threads]" /> </td> </tr> </table> </form> </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 </div></td> </if> </tr> </table> <!-- End Active Users in this Forum (and sub-forums) and Moderators --> |
#5
|
|||
|
|||
Thank you, hon. That worked perfectly
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|