Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product
Vanilla 2.6 is here! It includes security fixes and requires PHP 7.0. We have therefore ALSO released Vanilla 2.5.2 with security patches if you are still on PHP 5.6 to give you additional time to upgrade.
Please upgrade to 2.3 here. The 2.2 and earlier branches are no longer being updated.

Viewing PM as one page

This discussion is related to the Vanilla addon.

Hi,

I wonder if there's a hack that can be done to view private messages that has been going on for a while and has taken up few pages, to display all of the messages in one long page? I would like to save the message in a form of a PDF and were wondering if there's another way other than manually capture each page and combined them later?

Comments

  • You could increase Conversations.Conversations.PerPage in the config.php to a really high number temporarily.

    My themes: pure | minusbaseline - My plugins: CSSedit | HTMLedit | InfiniteScroll | BirthdayModule | [all] - PM me about customizations

    hgtonightapitlekays
  • @Bleistivt thanks! But I don't have access to the server.

    I found a workaround while looking at the url generated, and thought I should share this, in case if someone else is wondering how to do this.

    When I look at the URL of the first page on the PM, it looked like this:

    .../messages/8736/0/50/

    And when I view the next page, it looked like this:

    .../messages/8736/50/50/

    So I played around with the url to get it display all of the messages in one page and manage to get it right. So I added this to the url to view all of the messages:

    .../messages/8736/0/150/

    I don't know what that means but it works. So hopefully this will benefit others who are trying to achieve the same thing, without access to the server, or being a mod in the forum.

    Cheers.

    Bleistivt
  • R_JR_J Cheerleader & Troubleshooter Munich Moderator

    @apitlekays said:
    .../messages/8736/0/150/

    >

    This is /messages/ConversationID/offset/limit which means you get the messages of that conversation starting from the first one (offset = zero) and limit the result to 150 messages.

    If you like to print the conversation, you might like to try /messages/8736/0/150&DeliveryType=VIEW

    apitlekays
  • hgtonighthgtonight ∞ · New Moderator

    Note to Self - Looks like the messages controller should be modified to use the Vanilla pagination scheme.

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

    Bleistivt
Sign In or Register to comment.