Results 1 to 6 of 6

Thread: Code to Improve Private Messages

  1. #1

    Thread Starter
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431

    Code to Improve Private Messages

    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.

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    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.

  3. #3

  4. #4
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    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?

  5. #5

  6. #6
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    OK.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width