Previous Thread
Next Thread
Print Thread
Hop To
Joined: Nov 2006
Posts: 4
A
ASN
Offline
stranger
stranger
A Offline
Joined: Nov 2006
Posts: 4
One of my users wanted to know if she could change her setting so that when she clicks on a topic it shows the very 1st post (oldest) instead of the first unread (newest). She wants to read in reverse to see what the original topic was about before posting a reply.

Can this setting be changed on an individual setting instead of global?

UBBThread 7.4.2

Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
yes.. you need to take advantage of one of the 5 extra fields in the user profile..

then go to control panel and add that to the profile settings..

then make a small modification to postlist.inc.php to jump to 1st or 1st unread, based upon this preference..

smile

Joined: Nov 2006
Posts: 4
A
ASN
Offline
stranger
stranger
A Offline
Joined: Nov 2006
Posts: 4
There is so many "unread" code in the postlink.inc.php. Does a new bit of code need to be written into it or one of the lines modified?

Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
well, the amount of code is perty small, using something like extra field 3...

but it is large enough to be a 'mod' and best for ubbdev..

summary:

you'll be testing something like:
PHP Code
if ($newthread) {
	if ($user['USER_EXTRA_FIELD_3'] != '1') {
		$postrow[$z]['goto'] = "&gonew=1#UNREAD";
	}
} 

also, you'll need to add it to the user_fields array on line 43, so it gets queried on a per/user basis..

smile



Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
PHP 8 bug in membermanage.tmpl
by phoenix011235 - 09/08/2026 7:47 PM
Are any of these legitmate?
by Baldeagle - 09/06/2026 1:37 PM
After server reboot
by Morgan - 09/02/2026 8:27 AM
Email Settings
by Outdoorking - 05/13/2026 2:44 AM
Who's Online Now
0 members (), 166 guests, and 137 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260527)