vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   Private Messages Enhancements - View Your PM Conversation (https://vborg.vbsupport.ru/showthread.php?t=201039)

ThorstenA 01-07-2009 10:00 PM

View Your PM Conversation
 
1 Attachment(s)
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
Code:

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

<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 01-08-2009 08:52 PM

Great idea, thanks for sharing! :)

Hornstar 01-08-2009 11:41 PM

very nice. thanks for this.

Brandon Sheley 01-08-2009 11:44 PM

I 2nd the Great idea!

/me clicks install

adhmwagde 01-09-2009 03:04 PM

great
but sorry i didn't find

PHP Code:

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

in pm_showpm template

you can do it in XML File ?

thanks

ThorstenA 01-09-2009 03:14 PM

Quote:

Originally Posted by adhmwagde (Post 1706407)
great
but sorry i didn't find

PHP Code:

    <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
Code:

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

<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 01-09-2009 03:26 PM

Quote:

Originally Posted by ThorstenA (Post 1706418)
1. In template pm_showpm replace
Code:

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

<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

PHP Code:

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

PHP Code:

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

PHP Code:

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

PHP Code:

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

i don't have

PHP Code:

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


ThorstenA 01-09-2009 03:29 PM

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 01-09-2009 03:35 PM

Quote:

Originally Posted by ThorstenA (Post 1706418)
1. In template pm_showpm replace
Code:

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

<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 :)

Quote:

Originally Posted by ThorstenA (Post 1706426)
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-04-2009 01:49 PM

Doesn't work. I get
Quote:

There are no messages to display. Try a different search.
even though there are messages in my inbox from the person.

RedeemedWarrior 04-04-2009 02:56 PM

isn't there something like this anyway in default vb?

Message history > View History

mrtroybaker 04-04-2009 06:12 PM

Works great. Thanks.
*installed clicked*

sheppardzwc 04-04-2009 10:42 PM

Great job, great idea, great mod. :)

whitetigergrowl 04-05-2009 12:36 AM

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 04-08-2009 05:46 PM

Quote:

Originally Posted by RedeemedWarrior (Post 1783754)
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? 04-10-2009 08:07 AM

Nice stuff;
TNX

drsli 04-10-2009 01:30 PM

Awesome enhancement! Thank you very much! :)

ThorstenA 04-10-2009 07:47 PM

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 05-26-2009 10:05 PM

Quote:

Originally Posted by adhmwagde (Post 1706433)
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 05-29-2009 09:02 AM

easy and useful. also used the suggested made by alfaowner. installed

Macgiber 07-05-2009 07:20 PM

thanks

dominiqueC 08-12-2009 09:54 PM

thanks ThorstenA !

woffie 08-13-2009 10:54 AM

Excellent Mod! Thanks!

popowich 08-29-2009 06:14 PM

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 08-29-2009 06:48 PM

I guess this doesn't work with vb3.7x?

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

ThorstenA 11-17-2009 10:40 PM

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

caoanh204 09-14-2012 06:09 PM

Thanks ThorstenA, for vBulletin 4:

1. In template pm_showpm replace

PHP Code:

{vb:raw postbit

with

PHP Code:

<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


All times are GMT. The time now is 01:02 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03304 seconds
  • Memory Usage 1,788KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (8)bbcode_code_printable
  • (9)bbcode_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (27)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete