View Full Version : Only show posts begining with letter
ade_dnb
06-23-2008, 02:59 PM
How would I only show posts in forum beginning with selected letter like the memberlist has?
So at the top above all the posts you would have...
[#] [A] [B] [C] [D].............etc
When user clicks on letter, it will only display posts beginning with that letter.
Any help on this would be grateful. Thanks
Dismounted
06-24-2008, 07:31 AM
I have not seen a modification for this, put the query that fetches them would probably be pretty simple.
ade_dnb
06-25-2008, 02:04 PM
I have not seen a modification for this, put the query that fetches them would probably be pretty simple.
Thanks for replying. Could you explain that a little more. Im not experienced in this.
Dismounted
06-26-2008, 06:37 AM
Replicate how member.php generates the letters, and then just run queries:
SELECT *
FROM post
WHERE pagetext LIKE 'A%'
ade_dnb
06-26-2008, 11:19 AM
Replicate how member.php generates the letters, and then just run queries:
SELECT *
FROM post
WHERE pagetext LIKE 'A%'
Thanks for the explanation. Im going to investigate this now.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.