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

Reply
 
Thread Tools
PM Preview Details »»
PM Preview
Version: 0.1, by m03 m03 is offline
Developer Last Online: Aug 2010 Show Printable Version Email this Page

Category: Private Messages Enhancements - Version: 3.8.4 Rating:
Released: 02-20-2010 Last Update: Never Installs: 41
Uses Plugins Auto-Templates
Re-useable Code Translations  
No support by the author.

Info:
Add a Preview to the PM Inbox making it easier to manage your Private Messages

This is a "backported" vb3 version of my new vb4 hack (https://vborg.vbsupport.ru/showthrea...27#post1988327)


Main Features:
- One step installation (no file uploads, no manual template modifications required)
- Option to enable/disable the Preview
- Preview Character Length can be altered by Admin.


Installation:
-Import XML file (as product): AdminCP > Plugin System > Manage Products > [Add/Import Product]


To set options:
Go to: AdminCP > vBulletin Options > PM Preview


Versions:
v0.1 - Feb 21, 2010 - First Version.

Download Now

File Type: xml product-pmpreview.xml (4.0 KB, 193 views)

Screenshots

File Type: png pmpreview.png (389.1 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 02-22-2010, 06:33 PM
m03 m03 is offline
 
Join Date: Oct 2007
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Daryn View Post
The only hacks that do anything related to PM are the "Quote Post to PM" mod and the "Pretty PM Notification". I don't know if that has anything to do with it.
Will get those installed and see if I can the problem.
Reply With Quote
  #13  
Old 02-22-2010, 09:50 PM
Daryn Daryn is offline
 
Join Date: Nov 2008
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by m03 View Post
Will get those installed and see if I can the problem.
I disabled those two and still had the same problem. If you can't reproduce it I'll provide a list of all the hacks installed, one of them may be the culprit, but as of now I can't seem to get any of the messages to select if I check the "All" box. It's a minor thing, but kinda annoying. The old 3.6 mod for PM Preview did the same thing for me too.
Reply With Quote
  #14  
Old 02-23-2010, 12:08 AM
m03 m03 is offline
 
Join Date: Oct 2007
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmmm.. very odd, on my demo board the select all works on 1, 5, 20 messages.. haven't tested it with any more than that now.. It really shouldn't affect the select all as it doesn't interact with that, but I'll keep looking..
Reply With Quote
  #15  
Old 02-23-2010, 03:38 AM
mgurain's Avatar
mgurain mgurain is offline
 
Join Date: Apr 2005
Location: KSA - Qatif - Al-Jarodiah
Posts: 345
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed,
one thing, how can I change the color of the preview text to Gray ?
Thanks,,
Reply With Quote
  #16  
Old 02-23-2010, 12:33 PM
ChopSuey ChopSuey is offline
 
Join Date: Jun 2009
Location: Alaska
Posts: 2,140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mgurain View Post
Installed,
one thing, how can I change the color of the preview text to Gray ?
Thanks,,
Ehh, edit the templates perhaps.
Reply With Quote
  #17  
Old 02-23-2010, 01:29 PM
m03 m03 is offline
 
Join Date: Oct 2007
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mgurain View Post
Installed,
one thing, how can I change the color of the preview text to Gray ?
Thanks,,
In the pm_messagelistbit_preview template change:
Code:
<fieldset style="padding-left:10px;width:80%;border:0px;">$pm[pmpreview]</fieldset>
to:
Code:
<fieldset style="padding-left:10px;width:80%;border:0px;"><span style="color:silver;">$pm[pmpreview]</span></fieldset>
You can change the color in the style element to any name or hex color that takes your fancy.
Reply With Quote
  #18  
Old 04-20-2010, 10:01 AM
SorentoUltimate's Avatar
SorentoUltimate SorentoUltimate is offline
 
Join Date: Jul 2009
Location: Moschato, Athens, Greece
Posts: 338
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

thanks for the AddOn,

I start change some things to work with my styles and i found a small problem at the template

You open 2 <div> tags, but you close 3.

Look Here
(with Red Color the open and close div tags)

Code:
<tr>
    <td class="alt1" width="16"><img src="$stylevar[imgdir_statusicon]/pm_$pm[statusicon].gif" alt="" border="0" width="16" height="16" /></td>
    <if condition="$show['pmicons']"><td class="alt2" width="16"><if condition="$show['pmicon']"><img src="$pm[iconpath]" alt="$pm[icontitle]" border="0" width="16" height="16" /><else />&nbsp;</if></td></if>
    <td class="alt1Active" id="m$pm[pmid]" width="100%">
        <div>
            <div class="smallfont" style="float:$stylevar[right]"><if condition="$show['unread']"><strong>$pm[senddate] <span class="time">$pm[sendtime]</span></strong><else />$pm[senddate] <span class="time">$pm[sendtime]</span></if></div>
<if condition="$show['unread']"><strong>$userbit</strong><else />$userbit</if>:  
            <a href="private.php?$session[sessionurl]do=showpm&amp;pmid=$pm[pmid]"><if condition="$show['unread']"><strong>$pm[title]</strong><else />$pm[title]</if></a>
        </div>
        <fieldset style="padding-left:10px;width:80%;border:0px;">$pm[pmpreview]</fieldset>
        </div>
        
    </td>
    <if condition="$show['pmcheckbox']"><td class="alt2" align="center" style="padding:0px"><input type="checkbox" name="pm[$pmid]" value="$groupid" /></td></if>
</tr>
Reply With Quote
  #19  
Old 04-20-2010, 05:27 PM
SorentoUltimate's Avatar
SorentoUltimate SorentoUltimate is offline
 
Join Date: Jul 2009
Location: Moschato, Athens, Greece
Posts: 338
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi again,

i have another problem, much bigger now.....

you overwrite pm_messagelistbit with pm_messagelistbit_preview

That make a lot of problems if someone use also other AddOns on PM's who make changes to pm_messagelistbit.

you plan to change that or not?

also what about UserGroup Pemssions and User Options ?
Reply With Quote
  #20  
Old 05-04-2010, 04:47 PM
Willy T Willy T is offline
 
Join Date: Nov 2009
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Daryn View Post
Just a note, the select all checkbox doesn't seem to work.
Same problem. When I disable this hack the select all option works.
Reply With Quote
  #21  
Old 05-17-2010, 10:53 PM
Sadie Frost's Avatar
Sadie Frost Sadie Frost is offline
 
Join Date: Dec 2001
Location: Pittsburgh
Posts: 307
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Probably (though untested) the same problem found in this hack: https://vborg.vbsupport.ru/showthread.php?t=178203 with the fix in post #45 https://vborg.vbsupport.ru/showpost....7&postcount=45

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 01:09 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04944 seconds
  • Memory Usage 2,336KB
  • Queries Executed 28 (?)
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
  • (5)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
  • (1)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (2)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_postinfo_query
  • fetch_postinfo
  • 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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • 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