PDA

View Full Version : forum jump menu...


-=dm=-
09-18-2002, 10:50 PM
Hi
I want to move forum jump options somewhere else, can someone please help me?


<table cellpadding="0" cellspacing="0" border="0" bgcolor="#555576" width="100%">
<tr>
<td>
<table cellpadding="4" cellspacing="1" border="0" width="100%">

<tr>
<td bgcolor="#DFDFDF" colspan="6">
<table width="100%" border=0 cellspacing=0 cellpadding=0><tr><td>
<p><normalfont><b>$threadstitle</b></normalfont></p>
</td><td align=right>
<form style="margin-bottom:-1;" action="index.php?s=$session[sessionhash]" method="post">
<select name="styleid" onchange="window.location=('index.php?s=$session[sessionhash]&styleid='+this.options[this.selectedIndex].value)">
$dropdownbits
</select>
<select name="action">
<option value="">Show...</option>
<option value="">-----------------</option>
<option value="getactive">Active Threads</option>
<option value="getnew">New Posts</option>
<option value="getsticky">Important Threads</option>
<option value="getdaily">Posts Today</option>
</select>
<select name="numthreads">
<option value="5">#</option>
<option value="5">---</option>
<option value="5">5</option>
<option value="10">10</option>
<option value="15">15</option>
<option value="20">20</option>
<option value="25">25</option>
<option value="30">30</option>
</select>
<input type="image" src="https://vborg.vbsupport.ru/vbimages/go.gif" border="0"
align="absbottom"></form>
</td></tr></table>
</td></tr>
<tr>
<td width="3%"></td>
<td width="30%" align="left"><smallfont color="#EEEEFF"><b>Thread</b></smallfont></td>
<td width="7%" align="center"><smallfont color="#EEEEFF"><b>Threadstarter</b></smallfont></td>
<td width="12%" align="center"><smallfont color="#EEEEFF"><b>Forum</b></smallfont></td>
<td width="3%" align="center"><smallfont color="#EEEEFF"><b>Replies</b></smallfont></td>
<td width="10%" align="center"><smallfont color="#EEEEFF"><b>Last Post</b></smallfont></td>
</tr>
$threadbits
</table>
</td></tr></table>


if possible I want the forum jump menu place together with right before the red aera.

thanx in advance
dm

NTLDR
09-19-2002, 12:41 PM
If you want to combine the forum jump menu and the area in red then this isn't posible, however if you want the forumjump menu to appear by the side of it add $forumjump outside of the <form> tag.

-=dm=-
09-19-2002, 01:45 PM
Thanx NTLDR
Yes I want it by side of it.

I added the $forumjump
but it did still not show up


<table cellpadding="0" cellspacing="0" border="0" bgcolor="#555576" width="100%">
<tr>
<td>
<table cellpadding="4" cellspacing="1" border="0" width="100%">

<tr>
<td bgcolor="#DFDFDF" colspan="6">
<table width="100%" border=0 cellspacing=0 cellpadding=0><tr><td>
<p><normalfont><b>$threadstitle</b></normalfont></p>
</td><td align=right>
<form style="margin-bottom:-1;" action="index.php?s=$session[sessionhash]" method="post">
<select name="styleid" onchange="window.location=('index.php?s=$session[sessionhash]&styleid='+this.options[this.selectedIndex].value)">
$dropdownbits
</select>
<select name="action">
<option value="">Show...</option>
<option value="">-----------------</option>
<option value="getactive">Active Threads</option>
<option value="getnew">New Posts</option>
<option value="getsticky">Important Threads</option>
<option value="getdaily">Posts Today</option>
</select>
<select name="numthreads">
<option value="5">#</option>
<option value="5">---</option>
<option value="5">5</option>
<option value="10">10</option>
<option value="15">15</option>
<option value="20">20</option>
<option value="25">25</option>
<option value="30">30</option>
</select>
<input type="image" src="https://vborg.vbsupport.ru/vbimages/go.gif" border="0"
align="absbottom"></form>
$forumjump
</td></tr></table>
</td></tr>
<tr>
<td width="3%"></td>
<td width="30%" align="left"><smallfont color="#EEEEFF"><b>Thread</b></smallfont></td>
<td width="7%" align="center"><smallfont color="#EEEEFF"><b>Threadstarter</b></smallfont></td>
<td width="12%" align="center"><smallfont color="#EEEEFF"><b>Forum</b></smallfont></td>
<td width="3%" align="center"><smallfont color="#EEEEFF"><b>Replies</b></smallfont></td>
<td width="10%" align="center"><smallfont color="#EEEEFF"><b>Last Post</b></smallfont></td>
</tr>
$threadbits
</table>
</td></tr></table>

NTLDR
09-19-2002, 04:49 PM
Move:

makeforumjump();

to somewhere above the threads code within the PHP file, that will do the trick ;)

-=dm=-
09-19-2002, 06:09 PM
thanx NTLDR :)

now it showing up, but its apear right under the other dropdown menus, I want it on left or right side, how do I align it correct?

Mono
09-19-2002, 10:31 PM
Open Show thread template and find

<!-- forum jump and rate thread -->
<table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center">
<tr>
<td>$forumjump</td>
<td align="right">$threadrateselect</td>
</tr>
</table>
<!-- /Rate this thread -->


Move that code anywhere within the showthread template to tget it to a new location. Or you can set the td tag to align right or center. what evr you like.