PDA

View Full Version : Private Messages Enhancements - View Your PM Conversation


ThorstenA
08 Jan 2009, 06:04
Notice: This mod uses Re-usable Code, so please feel free to port it to vbulletin 4 under your username. Thanks.

View Your Conversation
This mod puts a link "view your conversation with user ..." above received private messages to show all incoming private messages from this user.

1. In template pm_showpm replace
<if condition="$show['reportlink']">
with
<a href="private.php?$session[sessionurl]searchuser=$pm[fromusername]"><phrase 1="$pm[fromusername]">$vbphrase[view_your_conversation_with_x]</phrase></a>
<if condition="$show['reportlink']">
2. Done :)

About this modification
It uses standard vbulletin phrase view_your_conversation_with_x from profile page. If there are enough installs, I will make an auto-template product out of this template modification.

MrNase
08 Jan 2009, 21:52
Great idea, thanks for sharing! :)

Hornstar
09 Jan 2009, 00:41
very nice. thanks for this.

Brandon Sheley
09 Jan 2009, 00:44
I 2nd the Great idea!

/me clicks install

adhmwagde
09 Jan 2009, 16:04
great
but sorry i didn't find

<div class="normal" style="float:$stylevar[right]">
<if condition="$show['reportlink']">

in pm_showpm template

you can do it in XML File ?

thanks

ThorstenA
09 Jan 2009, 16:14
great
but sorry i didn't find

<div class="normal" style="float:$stylevar[right]">
<if condition="$show['reportlink']">

in pm_showpm template

you can do it in XML File ?

thanks
1. In template pm_showpm replace
<if condition="$show['reportlink']">
with
<a href="private.php?$session[sessionurl]searchuser=$pm[fromusername]"><phrase 1="$pm[fromusername]">$vbphrase[view_your_conversation_with_x]</phrase></a>
<if condition="$show['reportlink']">
2. Done :)

adhmwagde
09 Jan 2009, 16:26
1. In template pm_showpm replace
<if condition="$show['reportlink']">
with
<a href="private.php?$session[sessionurl]searchuser=$pm[fromusername]"><phrase 1="$pm[fromusername]">$vbphrase[view_your_conversation_with_x]</phrase></a>
<if condition="$show['reportlink']">
2. Done :)


sorry is the same i have in pm_showpm life is

<if condition="$show['receiptprompt']">

<if condition="$show['receiptpopup']">


<if condition="$show['recipients']">

<if condition="$show['receiptprompt']">

i don't have

<if condition="$show['reportlink']">

ThorstenA
09 Jan 2009, 16:29
This Template Modification is for vbulletin 3.8 templates. It is possible, that while you have vbulletin 3.8 installed, your template pm_showpm needs to be reverted to vbulletin 3.8 standard.

adhmwagde
09 Jan 2009, 16:35
1. In template pm_showpm replace
<if condition="$show['reportlink']">
with
<a href="private.php?$session[sessionurl]searchuser=$pm[fromusername]"><phrase 1="$pm[fromusername]">$vbphrase[view_your_conversation_with_x]</phrase></a>
<if condition="$show['reportlink']">
2. Done :)

This Template Modification is for vbulletin 3.8 templates. It is possible, that while you have vbulletin 3.8 installed, your template pm_showpm needs to be reverted to vbulletin 3.8 standard.


Yes is true thanks :)

Spinball
04 Apr 2009, 15:49
Doesn't work. I get There are no messages to display. Try a different search. even though there are messages in my inbox from the person.

RedeemedWarrior
04 Apr 2009, 16:56
isn't there something like this anyway in default vb?

Message history > View History

mrtroybaker
04 Apr 2009, 20:12
Works great. Thanks.
*installed clicked*

sheppardzwc
05 Apr 2009, 00:42
Great job, great idea, great mod. :)

whitetigergrowl
05 Apr 2009, 02:36
I think it would be a great idea to find a way to show the entire pm chat session. Similar to how some cell phone and cell phone companies do it. Where it shows all of your pm's from that person 'chat style'. Would be a great way to enhance this.

ThorstenA
08 Apr 2009, 19:46
isn't there something like this anyway in default vb?

Message history > View History

View history shows the conversation about the actual topic with the other user. View Your PM Conversation shows all topics from incoming pms with the other user.

Alexey™
10 Apr 2009, 10:07
Nice stuff;
TNX

drsli
10 Apr 2009, 15:30
Awesome enhancement! Thank you very much! :)

ThorstenA
10 Apr 2009, 21:47
Re-usable Code: This code may be used in other modifications as long as the original author is credited. So if you want to do a product out of it, you're welcome :D

alfaowner
27 May 2009, 00:05
Yes is true thanks :)

Great easy mod, although I added "&nbsp;&nbsp" on the end of your code to give a small gap between the link and the report button :up:

shinng
29 May 2009, 11:02
easy and useful. also used the suggested made by alfaowner. installed

Macgiber
05 Jul 2009, 21:20
thanks

dominiqueC
12 Aug 2009, 23:54
thanks ThorstenA !

woffie
13 Aug 2009, 12:54
Excellent Mod! Thanks!

popowich
29 Aug 2009, 20:14
Is there a way to make this work in the sent items folder too, or include those messages in the results when clicking the view conversation link from the inbox?

-Raymond

yotsume
29 Aug 2009, 20:48
I guess this doesn't work with vb3.7x?

I dont have the line of code:
<if condition="$show['reportlink']">

ThorstenA
17 Nov 2009, 23:40
Notice: This mod uses Re-usable Code, so please feel free to port it to vbulletin 4 under your username. Thanks.

caoanh204
14 Sep 2012, 20:09
Thanks ThorstenA, for vBulletin 4:

1. In template pm_showpm replace

{vb:raw postbit}

with

<a href="private.php?{vb:raw session.sessionurl}searchuser={vb:raw pm.fromusername}">{vb:rawphrase view_your_conversation_with_x, {vb:raw pm.fromusername}}</a>
{vb:raw postbit}

2. Done