Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online Now
3 registered members (Geoff, JAISP, Gizmo), 63 guests, and 109 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
Softrak
Softrak
Vancouver, BC
Posts: 72
Joined: January 2007
Show All Member Profiles 
Top Posters(30 Days)
isaac 21
Ruben 10
Gizmo 8
Geoff 3
Slaz 2
FREAK 2
DennyP 1
Latest Photos
Testing to drag photos
Comfortable Cats
Test
BSA photos
Chinese Buddhist temple.
Previous Thread
Next Thread
Print Thread
Bug in 6.0.1 #130057
10/01/06 02:14 PM
10/01/06 02:14 PM
arentzen  Offline OP
journeyman
Joined: Oct 2006
Posts: 76
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
[:"red"]</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>
[:"red"]</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
[:"red"]ORDER BY w3t_Posts.B_Last_Post [/]
-----------------------------------------------
Then edit the last line in the query: [:"red"] ORDER BY w3t_Posts.B_Last_Post
[/]
to
[:"blue"] ORDER BY 'F_Number' [/]

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


trosfrihed.dk
Custom Ubb 7.5.2
Re: Bug in 6.0.1 #130058
10/02/06 04:10 PM
10/02/06 04:10 PM
R
Ron M  Offline
enthusiast
Joined: Jun 2006
Posts: 361
Des Moines, IA
Moving this to Threads v6.

FYI - Threads v6 is no longer accepting bug reports.


Shout Box
Today's Birthdays
No Birthdays
Recent Topics
UBB.threads 7.6.2 - Released
by isaac. 09/17/18 08:08 AM
7.6.2 Changelog Discussion
by isaac. 09/17/18 06:35 AM
Upgrade Documentation
by DennyP. 09/15/18 03:55 PM
PHP 7.2
by Geoff. 09/12/18 10:22 PM
Email Cleanup-Is it possible?
by Ruben. 09/06/18 11:25 AM
Forum Statistics
Forums36
Topics35,139
Posts191,439
Members12,106
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.6.2