Skip to:
Content
Pages
Categories
Search
Top
Bottom

Use PM component to send data

  • @ashfame

    Participant

    I was thinking of sending some data to the user inbox so that user can access it anytime as per his needs. Where should I be looking to accomplish this?

Viewing 7 replies - 1 through 7 (of 7 total)
  • @ashfame

    Participant

    I guess I need to create an instance of a class, fill up the data and call send member function. right?
    what should I store in thread id? I mean are there any special values for it or using a plain 0 or any negative number will do?

    @ashfame

    Participant

    your thoughts on the subject?

    @r-a-y

    Keymaster

    “so that user can access it anytime as per his needs”

    Not sure what you’re trying to do.

    Can you clarify?

    @ashfame

    Participant

    i want to use the messages as a place holder for some more info related to user. I want that the user can access his previous info from his inbox.. (just the contents is what i want to store)

    its hard to explain but pretty simple. can you just help me on what value should I store in thread id so that it doesn’t conflict with anything?

    @ashfame

    Participant

    I get it. I can just use `messages_new_message()`

    @r-a-y

    Keymaster

    If you’re simply looking at sending a message, then you’re right! messages_new_message() is the way to go.

    If you’re looking to modify this private message over time, you can’t do it via a function because such a function doesn’t exist; you’d have to modify the content via the DB. I’m probably just reading into your use-case a little too much!

    @ashfame

    Participant

    @r-a-y
    hey! thanks :)

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Use PM component to send data’ is closed to new replies.
Skip to toolbar