vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Private Messages Enhancements - PM Preview (https://vborg.vbsupport.ru/showthread.php?t=259318)

Stefan118 05-17-2011 09:45 PM

please help ^

ForumsMods 05-18-2011 01:54 AM

Quote:

Originally Posted by Stefan118 (Post 2196125)
I have installed this mod, but how to go from here?

It is in my installed plugin list, and set Active.
It is NOT in the settings --> options list.

Where can I change the settings, becouse nothing happent in my PM list.
I still only see the senders name and the subject. (not the first line of the PM)
Also tried to send myselfe a PM, so i had 1 unread, but nope. no changes.

Using vB 4.1.3

Can you find the following code in private_messagelist_start template?
HTML Code:

{vb:raw pm.title}</a>

lolly01 05-18-2011 05:44 AM

The same Problem on my Board.

private_messagelist_start

has following Content:

Code:

require_once(DIR . '/includes/class_template_parser.php');
$parser = new vB_TemplateParser('{vb:raw pm.title}</a>');
$parser->dom_doc = new vB_DomDocument($parser->fetch_dom_compatible());
$find = trim($parser->_parse_nodes($parser->dom_doc->childNodes()));

$parser = new vB_TemplateParser('{vb:raw pm.title}</a> <div>{vb:raw pm.preview}</div>');
$parser->dom_doc = new vB_DomDocument($parser->fetch_dom_compatible());
$replace = trim($parser->_parse_nodes($parser->dom_doc->childNodes()));
$vbulletin->templatecache['pm_messagelistbit'] = str_replace($find, $replace, $vbulletin->templatecache['pm_messagelistbit']);


Boofo 05-18-2011 09:18 AM

Are you using the default style?

Stefan118 05-18-2011 06:43 PM

I searched for templates with this content:

{vb:raw pm.title}</a>

The only template that has this code in it is: pm_messagelistbit.

This is the content:
Code:

<li class="blockrow pmbit" id="pm_{vb:raw pm.pmid}">
        <div class="datetime">
                <label for="pm_imod_checkbox_{vb:raw pmid}">{vb:raw pm.senddate} <span class="time">{vb:raw pm.sendtime}</span> <vb:if condition="$show['pmcheckbox']"><input type="checkbox" name="pm[{vb:raw pmid}]" id="pm_imod_checkbox_{vb:raw pmid}" value="{vb:raw groupid}" /></vb:if></label>
        </div>
        <img src="{vb:stylevar imgdir_statusicon}/pm_{vb:raw pm.statusicon}.png" class="threadicon" alt="" />
        <vb:if condition="$show['pmicon']">
                <img src="{vb:raw pm.iconpath}" class="posticon" alt="{vb:raw pm.icontitle}" />
        </vb:if>
        <vb:if condition="!$show['unread']">
                <a href="private.php?{vb:raw session.sessionurl}do=showpm&amp;pmid={vb:raw pm.pmid}" class="title">{vb:raw pm.title}</a>
                <ol class="commalist">{vb:raw userbit}</ol>
        <vb:else />
                <span class="unread">
                        <a href="private.php?{vb:raw session.sessionurl}do=showpm&amp;pmid={vb:raw pm.pmid}" class="title">{vb:raw pm.title}</a>
                </span>
                        <ol class="commalist">{vb:raw userbit}</ol>
               
        </vb:if>
        <hr class="none" />
</li>

I use a default style and a customized style.
Both not working.

I cant even find the private_messagelist_start template!
Even not when i try to search for templates with the folowing content (copied the first line of code from Lolly01)

The only PM templates I have are these:
pm_editfolderbit
pm_editfolders
pm_emptyfolder
pm_filter
pm_messagelist
pm_messagelistbit
pm_messagelistbit_ignore
pm_messagelistbit_user
pm_messagelist_periodgroup
pm_movepm
pm_newpm
pm_nomessagehistory
pm_popup_script
pm_quickreply
pm_receipts
pm_receiptsbit
pm_showpm
pm_trackpm

ForumsMods 05-18-2011 10:04 PM

Quote:

Originally Posted by Stefan118 (Post 2197279)
I searched for templates with this content:

{vb:raw pm.title}</a>

The only template that has this code in it is: pm_messagelistbit.

This is the content:
Code:

<li class="blockrow pmbit" id="pm_{vb:raw pm.pmid}">
    <div class="datetime">
        <label for="pm_imod_checkbox_{vb:raw pmid}">{vb:raw pm.senddate} <span class="time">{vb:raw pm.sendtime}</span> <vb:if condition="$show['pmcheckbox']"><input type="checkbox" name="pm[{vb:raw pmid}]" id="pm_imod_checkbox_{vb:raw pmid}" value="{vb:raw groupid}" /></vb:if></label>
    </div>
    <img src="{vb:stylevar imgdir_statusicon}/pm_{vb:raw pm.statusicon}.png" class="threadicon" alt="" />
    <vb:if condition="$show['pmicon']">
        <img src="{vb:raw pm.iconpath}" class="posticon" alt="{vb:raw pm.icontitle}" />
    </vb:if>
    <vb:if condition="!$show['unread']">
        <a href="private.php?{vb:raw session.sessionurl}do=showpm&amp;pmid={vb:raw pm.pmid}" class="title">{vb:raw pm.title}</a>
        <ol class="commalist">{vb:raw userbit}</ol>
    <vb:else />
        <span class="unread">
            <a href="private.php?{vb:raw session.sessionurl}do=showpm&amp;pmid={vb:raw pm.pmid}" class="title">{vb:raw pm.title}</a>
        </span>
            <ol class="commalist">{vb:raw userbit}</ol>
       
    </vb:if>
    <hr class="none" />
</li>

I use a default style and a customized style.
Both not working.

I cant even find the private_messagelist_start template!
Even not when i try to search for templates with the folowing content (copied the first line of code from Lolly01)

The only PM templates I have are these:
pm_editfolderbit
pm_editfolders
pm_emptyfolder
pm_filter
pm_messagelist
pm_messagelistbit
pm_messagelistbit_ignore
pm_messagelistbit_user
pm_messagelist_periodgroup
pm_movepm
pm_newpm
pm_nomessagehistory
pm_popup_script
pm_quickreply
pm_receipts
pm_receiptsbit
pm_showpm
pm_trackpm

Sorry template is pm_messagelistbit and private_messagelist_start is the plugin where the code is execute.

Sent you a PM.

Boofo 05-18-2011 11:05 PM

Adrian, are you planning up updating this with the changes you said or do we need to look elsewhere?

ForumsMods 05-19-2011 01:56 AM

Quote:

Originally Posted by Boofo (Post 2197358)
Adrian, are you planning up updating this with the changes you said or do we need to look elsewhere?

http://img24.imageshack.us/img24/531...terminator.png

The first task is update this add-on

Boofo 05-19-2011 02:25 AM

LOL Glad to have you back, sir. What does the pd stand for in the pic?

Juggernaut 05-19-2011 04:01 AM

@Boofo
I don't know if ForumsMods speaks spanish, but in spanish, it's the same as PS, it means Posdata in spanish. :D


All times are GMT. The time now is 04:55 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.01119 seconds
  • Memory Usage 1,752KB
  • 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
  • (3)bbcode_code_printable
  • (1)bbcode_html_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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