|
#46097
02/27/2006 5:13 AM
|
Joined: Feb 2006
Posts: 10
stranger
|
stranger
Joined: Feb 2006
Posts: 10 |
Hello everyone,
I am fairly new here. I have purchased UBBthreads last year already but now I will finally go online with it.
I totally love the board / software. However, there is one slight thing that I don't like about the board: when you click on subject line in the forum views, you get directly to the post, which means the header of the page is cut off. For example, it gets straight to "#Post4" and therefore cuts off the header of the whole page, the actual post is now at the very top of the monitor display and the page has automatically been scrolled down a bit.
Do you know what I mena? (I know it's a bit difficult to explain)
Can I turn this off somehow? Either by customizing the board with the admin panel or by editing one of the templates?
Any help is greatly appreciated. Thank you. jamie
|
|
|
#46098
02/27/2006 2:45 PM
|
Joined: Jun 2006
Posts: 182
member
|
member
Joined: Jun 2006
Posts: 182 |
If I am not mistaken, you can turn of to go directly to the last post. If this is not possible, you can modify the postlist.tmpl template and edit that part with the "#Post4" out.
|
|
|
#46099
03/26/2006 7:57 AM
|
Joined: Feb 2006
Posts: 10
stranger
|
stranger
Joined: Feb 2006
Posts: 10 |
Thanks for your tip. I am now finally customizing the board and I thought it would be easy to find the part in the template but somehow I am confused.
Could someone who knows more about the source code tell me, which part needs to be edited for this?
This is the template:
[code] <!-- <? //UBBTREMARK --> // File Version 6.5.2b1
<!-- echo <<<UBBTPRINT -->
$tbopen <tr> <td colspan="6" class="darktable"> <table width="100%" cellpadding="0" cellspacing="0"> <tr> <td colspan="2" class="catandforum"> <font class="catandforum"> <a href="{$config['phpurl']}/ubbthreads.php{$var_start}Cat{$var_eq}$Cat{$var_sep}C{$var_eq}$C"> $CatName </a> >> <b>$Title</b> </font> </td> <td align="right" valign="bottom"> <table border="0" class="tablesurround"> <tr> <td class="navigation" nowrap="nowrap">
<!-- postoption is either newpost.gif or greynewpost.gif --> $newpoststart <img src="{$config['images']}/$postoption" alt="{$ubbt_lang['MAKE_A_NEW']}" border="0" {$images['newpost']} $imagestyle /> {$ubbt_lang['NEW_POST_ICON']} $newpoststop </td> <td class="navigation" nowrap="nowrap"> <!-- prevoption is either previous.gif or greyprevious.gif --> $prevstart <img src="{$config['images']}/$prevoption" alt="{$ubbt_lang['PREV_PAGE']}" border="0" {$images['previous']} $imagestyle /> {$ubbt_lang['PREV_ICON']} $prevstop </td> <td class="navigation" nowrap="nowrap"> <a href="{$config['phpurl']}/ubbthreads.php{$var_start}Cat{$var_eq}$Cat{$var_sep}C{$var_eq}$C"> <img src="{$config['images']}/all.gif" alt="{$ubbt_lang['FORUM_IND']}" border="0" {$images['all']} $imagestyle /> {$ubbt_lang['INDEX_ICON']} </a> </td> <td class="navigation" nowrap="nowrap"> <!-- nextoption is either next.gif or greynext.gif --> $nextstart <img src="{$config['images']}/$nextoption" alt="{$ubbt_lang['NEXT_PAGE']}" border="0" {$images['next']} $imagestyle /> {$ubbt_lang['NEXT_ICON']} $nextstop </td> <td class="navigation" nowrap="nowrap"> $changestart <img src="{$config['images']}/$changeoption" alt="$changealt" border="0" {$images['expand']} $imagestyle /> $changetext $changestop </td> </tr> </table> </td> </tr> </table> </td> </tr> $tbclose <br />
$tbopen <tr> <td align="center" width="49%" class="tdheader" colspan="3"> <a href="{$config['phpurl']}/postlist.php{$var_start}Cat{$var_eq}$Cat{$var_sep}Board{$var_eq}$Board{$var_sep}page{$var_eq}$page{$var_sep}sb{$var_eq}$sortsubject"> {$ubbt_lang['SUBJECT_TEXT']} </a> $SubjectS </td> <td align="center" nowrap="nowrap" width="15%" class="tdheader"> <a href="{$config['phpurl']}/postlist.php{$var_start}Cat{$var_eq}$Cat{$var_sep}Board{$var_eq}$Board{$var_sep}page{$var_eq}$page{$var_sep}sb{$var_eq}$sortposter"> {$ubbt_lang['POSTER_TEXT']} </a> $PosterS </td> <td nowrap="nowrap" width="5%" class="tdheader" align="center"> <a href="{$config['phpurl']}/postlist.php{$var_start}Cat{$var_eq}$Cat{$var_sep}Board{$var_eq}$Board{$var_sep}page{$var_eq}$page{$var_sep}sb{$var_eq}$sortviews"> {$ubbt_lang['THREAD_VIEWS']} </a> $ViewsS </td> <td nowrap="nowrap" width="5%" class="tdheader" align="center"> <a href="{$config['phpurl']}/postlist.php{$var_start}Cat{$var_eq}$Cat{$var_sep}Board{$var_eq}$Board{$var_sep}page{$var_eq}$page{$var_sep}sb{$var_eq}$sortreplies"> {$ubbt_lang['REPL_TEXT']} </a> $RepliesS </td> <td nowrap="nowrap" width="5%" class="tdheader" align="center"> <a href="{$config['phpurl']}/postlist.php{$var_start}Cat{$var_eq}$Cat{$var_sep}Board{$var_eq}$Board{$var_sep}page{$var_eq}$page{$var_sep}sb{$var_eq}$sortrating"> {$ubbt_lang['RATING']} </a> $RatingS </td> <td nowrap="nowrap" width="20%" class="tdheader" align="center"> <a href="{$config['phpurl']}/postlist.php{$var_start}Cat{$var_eq}$Cat{$var_sep}Board{$var_eq}$Board{$var_sep}page{$var_eq}$page{$var_sep}sb{$var_eq}$sortdate"> $datecolumn </a> $LastS </td> </tr> <!-- BEGIN POST LOOP DO NOT DELETE --> <!-- UBBTPRINT; --> <!-- for ($i=0;$i<$postrowsize;$i++) { //UBBTREMARK --> <!-- echo <<<UBBTPRINT --> <tr> <td align="left" class="{$postrow[$i]['color']}" valign="top" width="1%"> <img alt="$alt" src="{$config['images']}/{$postrow[$i]['specialicon']}" {$images['folders']} $imagestyle /> </td> <td align="left" class="{$postrow[$i]['color']}" valign="top" width="1%"> <img alt="$alt" src="{$config['images']}/{$postrow[$i]['icon']}" {$postrow[$i]['imagesize']} $imagestyle /> </td> <td align="left" class="{$postrow[$i]['color']}" valign="top" width="48%"> <img alt="." src="{$config['images']}/blank.gif" width="{$postrow[$i]['indentsize']}" {$images['blank']} hspace="0" /> <a href="{$config['phpurl']}/$mode.php{$var_start}Cat{$var_eq}$Cat{$var_sep}Number{$var_eq}{$postrow[$i]['Number']}{$var_sep}an{$var_eq}{$postrow[$i]['announce']}{$var_sep}page{$var_eq}$page{$postrow[$i]['goto']}"> {$postrow[$i]['Subject']} </a> {$postrow[$i]['pageprint']} </td> <td align="center" nowrap="nowrap" class="{$postrow[$i]['color']}" valign="top"> {$postrow[$i]['Username']}{$postrow[$i]['UserStatus']} </td> <td align="center" class="{$postrow[$i]['color']}" valign="top"> {$postrow[$i]['Views']} </td> <td align="center" nowrap="nowrap" class="{$postrow[$i]['color']}" valign="top"> {$postrow[$i]['Replies']} {$postrow[$i]['newreplies']} </td> <td align="center" nowrap="nowrap" class="{$postrow[$i]['color']}" valign="top"> {$postrow[$i]['Rating']} </td> <td nowrap="nowrap" align="center" class="{$postrow[$i]['color']}" valign="top"> <span class="small">{$postrow[$i]['time']} <br /> {$postrow[$i]['lastposter']} </span> </td> </tr> <!-- UBBTPRINT; --> <!-- } //UBBTREMARK --> <!-- echo <<<UBBTPRINT -->
<!-- END OF LOOP --> <tr> <td colspan="8" class="tdheader" align="right"> $pagejumpers </td></tr> $tbclose <br />
$tbopen <tr> <td colspan="3" class="tdheader"> {$ubbt_lang['B_INFO']} </td> </tr> <tr> <td width="33%" class="lighttable" valign="top"> <span class="small"> $r {$ubbt_lang['C_ONLINE2']} $a {$ubbt_lang['C_ONLINE4']} <br /> <br /> {$ubbt_lang['USER_MOD']}: $modlist <br /> <br /> $favoriteboardlink $subscribeboardlink <br /> </span> </td> <td valign="top" align="left" class="lighttable" width="33%"> <span class="small"> <b>{$ubbt_lang['PERMPRINT']}</b> <br /> $writeperm <br /> $replyperm <br /> $htmlcode <br /> $ubbcode <br /> <br /> </span> </td> <td class="lighttable" valign="top"> <b>{$ubbt_lang['LEGEND']}</b> <br /> <table border="0" width="100%"> <tr> <td class="lighttable" width="50%"> <span class="small"> <img src="{$config['images']}/newfolder.gif" alt="{$ubbt_lang['L_NEW']}" border="0" /> {$ubbt_lang['L_NEW']} </span> </td> <td class="lighttable"> <span class="small"> <img src="{$config['images']}/nonewfolder.gif" alt="{$ubbt_lang['L_NONEW']}" border="0" /> {$ubbt_lang['L_NONEW']} </span> </td> </tr> <tr> <td class="small"> <img border="0" src="{$config['images']}/announce.gif" alt="{$ubbt_lang['ANNOUNCE']}" /> {$ubbt_lang['ANNOUNCE']} </td> <td class="small"> <img border="0" src="{$config['images']}/sticky.gif" alt="{$ubbt_lang['STICKY']}" /> {$ubbt_lang['STICKY']} </td> </tr> <tr> <td class="small"> <img border="0" src="{$config['images']}/moved.gif" alt="{$ubbt_lang['MOVED']}" /> {$ubbt_lang['MOVED']} </td> <td class="small"> <img border="0" src="{$config['images']}/calevent.gif" alt="{$ubbt_lang['EVENT']}" /> {$ubbt_lang['EVENT']} </td> </tr> <tr> <td class="small"> <img border="0" src="{$config['images']}/poll.gif" alt="{$ubbt_lang['POLL']}" /> {$ubbt_lang['POLL']} </td> <td class="small"> <img border="0" src="{$config['images']}/file.gif" alt="{$ubbt_lang['FILE']}" /> {$ubbt_lang['FILE']} </td> </tr> <tr> <td colspan="2" class="small"> <img border="0" src="{$config['images']}/hottopic.gif" alt="{$ubbt_lang['HOT_TOPIC']}" /> {$ubbt_lang['HOT_TOPIC']} </td> </tr> </table>
</td> </tr> <tr> <td class="lighttable" colspan="3"> <table border="0" width="100%"> <tr> <td width="50%" align="left"> <form method="post" action="{$config['phpurl']}/postlist.php"> <input type="hidden" name="Cat" value="$Cat" /> <input type="hidden" name="Board" value="$Board" /> <input type="hidden" name="page" value="0" /> {$ubbt_lang['SHOW_P']} <select name="o" class="formboxes"> <option value="1" $d1>{$ubbt_lang['ACT_1']}</option> <option value="2" $d2>{$ubbt_lang['ACT_2']}</option> <option value="7" $w1>{$ubbt_lang['ACT_1w']}</option> <option value="14" $w2>{$ubbt_lang['ACT_2w']}</option> <option value="21" $w3>{$ubbt_lang['ACT_3w']}</option> <option value="31" $m1>{$ubbt_lang['ACT_1m']}</option> <option value="93" $m3>{$ubbt_lang['ACT_3m']}</option> <option value="186" $m6>{$ubbt_lang['ACT_6m']}</option> <option value="365" $y1>{$ubbt_lang['ACT_1y']}</option> <option value="all" $allofthem>{$ubbt_lang['ACT_all']}</option> </select> <input type="submit" name="changeit" value="{$ubbt_lang['CHANGE_IT']}" class="buttons" /> </form> </td> <td width="50%" align="right"> $jumpbox </td> </tr> </table> </td> </tr> <tr> <td colspan="3" align="center" class="lighttable"> <form method="post" action="{$config['phpurl']}/dosearch.php"> <input type="hidden" name="Cat" value="$Cat" /> <input type="hidden" name="Forum" value="f$bonumber" /> <input type="hidden" name="daterange" value="0" /> <input type="hidden" name="where" value="bodysub" /> <input type="hidden" name="fromsearch" value="1" /> <input type="hidden" name="checkwords" value="1" /> {$ubbt_lang['SEARCH_FORUM']} <input type="text" name="Words" class="formboxes" /> <input type="submit" name="textsearch" value="{$ubbt_lang['TEXT_SEARCH']}" class="buttons" /> </form> </td> </tr> $tbclose <!-- UBBTPRINT; --> <!-- /* UBBTREMARK */ ?> -->
|
|
|
#46100
03/26/2006 10:27 AM
|
Joined: Jun 2006
Posts: 391
addict
|
addict
Joined: Jun 2006
Posts: 391 |
For mod questions, assistance, etc, you'd be better off going here. Threadsdev
Greg AKA Virgil Earp at the OK Corral Tombstone, AZ
|
|
|
|
Bots
by Outdoorking - 04/13/2024 5:08 PM
|
|
|
|
|
2 members (Geoff, 1 invisible),
692
guests, and
171
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|
|