Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
7 registered (Mindraven, Dunny, driv, Gizmo, Ruben, Iann128, Stan), 25 Guests and 13 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 07/04/06
Posts: 4447
Top Posters (30 Days)
Ruben 68
Gizmo 57
SD 57
gliderdad 33
Dunny 22
Iann128 22
Steve C 20
driv 18
dbremer 16
Stan 15
Latest Photos
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Gizzo Marx
Topic Options
#130057 - 10/01/06 02:14 PM Bug in 6.0.1
arentzen Offline
journeyman
Registered: 10/01/06
Posts: 70
Loc: Sunny island, Denmark
Hej!
I found a bug in version 6.0.1. In the viewreminders.tmpl file. The page was generated in a wrong way, and I found the tmpl.file contains too much html code. I have removed
</td>
</tr>
</table>
the red marked html codes in line 11,12 and 13. After this, the page was generated correctly.

<table width="{$theme['tablewidth']}" align="center" cellpadding="1" cellspacing="1" class="tablesurround">
<tr>
<td>
<table cellpadding="{$theme['cellpadding']}" cellspacing="{$theme['cellspacing']}" width="100%" class="tableborders">
<tr>
<td class="tdheader">
{$ubbt_lang['VIEW_REM']}
</td>
</tr>
</table>
</td>
</tr>
</table>

<form method="post" action="{$config['phpurl']}/removefav.php">
..................................................
This one is not a bug, but something i'd fixed on users requests.

On "my home" page its possible to see added favorite posts, ordered by F_numbers, but when you click on " view all", the favorite posts are ordered by lastpost. To fix that, open your viewreminders.php and find the lines:
----------------------------------------
$query = "
SELECT w3t_Favorites.F_Thread,w3t_Posts.B_Subject,w3t_Favorites.F_Number,w3t_Posts.B_Board,w3t_Favorites.F_LastPost,w3t_Posts.B_Username,w3t_Posts.B_Main
FROM w3t_Posts,w3t_Favorites
WHERE w3t_Favorites.F_Owner = '$username_q'
AND w3t_Favorites.F_Type = 'r'
AND w3t_Favorites.F_Thread = w3t_Posts.B_Number
ORDER BY w3t_Posts.B_Last_Post
-----------------------------------------------
Then edit the last line in the query: ORDER BY w3t_Posts.B_Last_Post

to
ORDER BY 'F_Number'

The "view all" favoritelist will then be sorted in the same way as the favoritelist on "my home".
_________________________

www.trosfrihed.dk/debat

Ubb 7.5.2
Top
#130058 - 10/02/06 04:10 PM Re: Bug in 6.0.1
Ron M Offline
Registered: 06/04/06
Posts: 361
Loc: Des Moines, IA
Moving this to Threads v6.

FYI - Threads v6 is no longer accepting bug reports.
_________________________
Threads Alpha Tester
My Homepage
Top



Shout Box

Today's Birthdays
No Birthdays
Recent Topics
How to locate links to particular site if they are only used in images?
by Conrad
09:41 PM
Pictures not displaying
by Marker23
02/09/12 10:04 PM
Issue with logging out constantly
by Flanuva
02/09/12 07:05 PM
Long thread, UBB code not parsing
by Bad Frog
02/09/12 07:47 AM
Most Recent Posts
by Bert
02/09/12 12:21 AM
Forum Stats
10210 Members
36 Forums
33665 Topics
180900 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image