vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   forum jump menu... (https://vborg.vbsupport.ru/showthread.php?t=43708)

-=dm=- 09-18-2002 10:50 PM

forum jump menu...
 
1 Attachment(s)
Hi
I want to move forum jump options somewhere else, can someone please help me?

Code:

<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

Code:

<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:

PHP Code:

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

Code:

<!-- 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.


All times are GMT. The time now is 10:04 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01779 seconds
  • Memory Usage 1,734KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete