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.


All times are GMT. The time now is 03:25 AM.

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.01810 seconds
  • Memory Usage 1,754KB
  • 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
  • (7)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete