Previous Thread
Next Thread
Print Thread
Hop To
#130057 10/01/2006 2:14 PM
Joined: Oct 2006
Posts: 67
journeyman
journeyman
Joined: Oct 2006
Posts: 67
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
#130058 10/02/2006 4:10 PM
Joined: Jun 2006
Posts: 346
R
enthusiast
enthusiast
R Offline
Joined: Jun 2006
Posts: 346
Moving this to Threads v6.

FYI - Threads v6 is no longer accepting bug reports.


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Weird characters showing up
by Baldeagle - 06/17/2024 12:36 AM
Upgrading supporting apps (mysql, php)
by Baldeagle - 06/09/2024 8:39 AM
Questions re: forum layout and site issues
by domspeak - 06/03/2024 1:49 AM
Test
by Phun - 05/28/2024 7:31 PM
Who's Online Now
2 members (Ruben, ahmed047), 379 guests, and 147 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240506)