![]() |
Is there a hack to allow users to set the post order (ascending/descending) in their profile?
Also...when the post order is reversed and someone replies to a multiple page thread they are sent to the oldest page and not the page that they replied on! Any fixes/ideas? Thanks, AustinChief http://www.chiefsplanet.com |
create a new user field called postsorder and set it to default @ 0 (oldest first) and do all the stuff in member.php to allow the user to change it, etc.
in showthread.php find Code:
// oldest first or newest first Code:
if ($userinfo[postsorder]==0) { |
No change. It isn't having any effect at all.
Do I need to make a change elswhere, so that my postorder field is passed to the $userinfo array? Thanks, Kyle |
You need to add postsorder to the query that starts:
$userinfo=$DB_site->query_first("SELECT Just add it in with a preceding comma before the closing "); |
I finally got around to doing this hack. Thanks for the help... it works great.
--Kyle |
All times are GMT. The time now is 10:47 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|