Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online Now
0 registered members (), 59 guests, and 388 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
Gizmo
Gizmo
Portland, OR; USA
Posts: 16,788
Joined: June 2006
Show All Member Profiles 
Top Posters(30 Days)
Gizmo 18
M4TT 12
FREAK 11
Ruben 8
isaac 4
mmkk 4
Latest Photos
Chinese Buddhist temple.
My buddha beads.
Rendered Walls
Multi-Screen wallpaper
Stockholm Metro
Previous Thread
Next Thread
Print Thread
Bug in 6.0.1 #130057
10/01/06 01:14 PM
10/01/06 01:14 PM
Joined: Oct 2006
Posts: 76
Sunny island, Denmark
arentzen Offline OP
journeyman
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 03:10 PM
10/02/06 03:10 PM
Joined: Jun 2006
Posts: 361
Des Moines, IA
Ron M Offline
enthusiast
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
Users Unable to Upload Avatar [Not a Bug]
by M4TT. 12/13/17 08:51 AM
Shout Box Sound Effect
by M4TT. 11/29/17 08:28 PM
Ad island
by TGCsanderson. 11/25/17 06:41 PM
Taking to long to connect to DB
by AstroCat. 11/24/17 12:34 PM
Forum Statistics
Forums36
Topics35,015
Posts190,544
Members12,045
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.6.1
(Snapshot build 20171106)