Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
PM Preview Details »»
PM Preview
Version: 4.1.1, by ForumsMods ForumsMods is offline
Developer Last Online: Sep 2022 Show Printable Version Email this Page

Category: Private Messages Enhancements - Version: 4.x.x Rating:
Released: 02-22-2011 Last Update: 07-12-2011 Installs: 113
Uses Plugins Auto-Templates
Code Changes Translations  
No support by the author.

PM Preview

Description:
PM Preview

Installation:
  1. Import "product-pm_preview.xml" as a product, overwrite if it's already installed
Where to set option:
Styles & Templates-> Style Manager-> Stylevars-> Private_Messages

Languages:
- English

History:
23-02-11: v4.0 First Release
22-06-11: v4.1 - Font, Color & Padding can be easily changed
13-07-11: v4.1.1 - Minor bug fix (Stylevars were not displayed)

This hack is created for your use free of charge. No payment is requested. However, if you would like to donate money for the work I put in to this hack, a donation would show your appreciation.

Download Now

File Type: xml product-pm_preview.xml (1.7 KB, 149 views)
File Type: xml product-pm_preview-4.1.1.xml (4.1 KB, 256 views)

Screenshots

File Type: png 1.png (15.9 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
3 благодарности(ей) от:
Khriz, Mike-D, Taurus1

Comments
  #22  
Old 05-17-2011, 09:45 PM
Stefan118 Stefan118 is offline
 
Join Date: Dec 2010
Location: Vaassen (Netherlands)
Posts: 299
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

please help ^
Reply With Quote
  #23  
Old 05-18-2011, 01:54 AM
ForumsMods ForumsMods is offline
 
Join Date: Aug 2007
Location: Argentina
Posts: 667
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Stefan118 View Post
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>
Reply With Quote
  #24  
Old 05-18-2011, 05:44 AM
lolly01 lolly01 is offline
 
Join Date: Mar 2011
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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']);
Reply With Quote
  #25  
Old 05-18-2011, 09:18 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are you using the default style?
Reply With Quote
  #26  
Old 05-18-2011, 06:43 PM
Stefan118 Stefan118 is offline
 
Join Date: Dec 2010
Location: Vaassen (Netherlands)
Posts: 299
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #27  
Old 05-18-2011, 10:04 PM
ForumsMods ForumsMods is offline
 
Join Date: Aug 2007
Location: Argentina
Posts: 667
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Stefan118 View Post
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.
Reply With Quote
  #28  
Old 05-18-2011, 11:05 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Adrian, are you planning up updating this with the changes you said or do we need to look elsewhere?
Reply With Quote
  #29  
Old 05-19-2011, 01:56 AM
ForumsMods ForumsMods is offline
 
Join Date: Aug 2007
Location: Argentina
Posts: 667
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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


The first task is update this add-on
Reply With Quote
  #30  
Old 05-19-2011, 02:25 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

LOL Glad to have you back, sir. What does the pd stand for in the pic?
Reply With Quote
  #31  
Old 05-19-2011, 04:01 AM
Juggernaut Juggernaut is offline
 
Join Date: Dec 2009
Location: California
Posts: 589
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:24 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.06774 seconds
  • Memory Usage 2,348KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (1)bbcode_html
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (3)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete