Does anyone have any code that will allow me to view my Private Messages list as posts rather than as just showing me the subject? I'd also be interested in any other code to improve the handling of PMs.
Printable View
Does anyone have any code that will allow me to view my Private Messages list as posts rather than as just showing me the subject? I'd also be interested in any other code to improve the handling of PMs.
It depends upon which board you're talking about. If you're talking about [i]this[/b] board (or a vBulletin board), then shift this to the PHP forum ;)
Displaying the PMs as posts (kinda like the search we have) isn't so difficult. It's a matter of opening up recordsets to the table/field, and displaying it.
You'll have to specify which board, but it'll still be difficult since most of us don't know the structure of the database there.
I'm talking about this board. I wasn't aware that there were others :)
OK...
Get the structure of the database (mainly: which tables store the text of the private messages, and which store the main info regarding the PMs).
In the private.php page, create a new recordset and retrieve the text corresponding to $privatemessageid for each $privatemessageid in the main PM table.
I guess that's as far as I can go with the explanation. You probably have FTP access, so you can see the PHP code in the pages and the structure.
Another good place for you to search is www.vbulletin.com because all the members there own a vBulletin board, and this may have been discussed before.
You do realize that this change applies to everyone on the forum, right?
Yes, I realize that.
OK. :)