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

Reply
 
Thread Tools
PM Previews by BOP5 (VB4) Details »»
PM Previews by BOP5 (VB4)
Version: 1.2.1, by BirdOPrey5 (Senior Member) BirdOPrey5 is offline
Developer Last Online: Aug 2023 Show Printable Version Email this Page

Category: Private Messages Enhancements - Version: 4.x.x Rating:
Released: 01-24-2012 Last Update: 05-19-2012 Installs: 74
Supported Uses Plugins Auto-Templates
Translations  

Brought to you By:
BirdOPrey5 / Qapla.com


Version 1.2.1

This mod adds PM previewing capabilities to vBulletin. Now you can mouse-over thread titles and see previews like with threads, or you can see previews inline (like here on vbulletin.org).

There are 2 product install files, one for VB versions 4.0.0 through 4.1.9, and another for VB 4.1.10 and above.

Be sure to install the correct version.

Demo: www.qapla.com/mods/
(You will need to register to see and use PMs)

Please Mark as Installed if you use this.

Download Now

File Type: zip PM Preview by BOP5 VB4 v121.zip (6.1 KB, 173 views)

Screenshots

File Type: jpg vb4_pmpre_inline.jpg (143.2 KB, 0 views)
File Type: jpg vb4_pmpre_mouseover.jpg (104.4 KB, 0 views)
File Type: jpg vb4_pmpre_settings.jpg (70.0 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
beduino

Comments
  #12  
Old 01-26-2012, 09:28 AM
Kraxell's Avatar
Kraxell Kraxell is offline
 
Join Date: Jun 2010
Location: Germany
Posts: 481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great mod! 'll try it, after my vB update next week. Thank you!
Reply With Quote
Благодарность от:
BirdOPrey5
  #13  
Old 01-31-2012, 05:29 AM
OldSchoolDSL OldSchoolDSL is offline
 
Join Date: Oct 2010
Posts: 1,196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Much cleaner code and a good improvement over the past version.

Thank you and job well done, Joe

Installed & Working

4.1.10
Reply With Quote
Благодарность от:
BirdOPrey5
  #14  
Old 05-18-2012, 09:45 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This mod meses up if they use code boxes in their PMs.
Attached Images
File Type: png Snap2.png (13.7 KB, 0 views)
Reply With Quote
  #15  
Old 05-18-2012, 10:37 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Boofo,

In my test it seemed to work although the code box was of course removed, just the text inside it was shown, as I would expect in a preview...

Can you confirm what exactly the issue is? Maybe paste in the PM text here that is causing the problem?

I do see another bug seemingly unreleated I will work on right now- It seems it will actually render HTML if you put HTML in the PM.
Reply With Quote
  #16  
Old 05-18-2012, 11:30 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was going to get the message for you but my PM box is empty. I forgot that I deleted them today. Sorry. I will play with sending myself some PMs and see what I can find to send you.

I do remember there were 2 code boxes in there. Maybe it didn't take care of the second one? I was using Opera 11.64, if that helps at all.
Reply With Quote
  #17  
Old 05-18-2012, 11:52 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Boofo, I did try multiple code boxes.

It might have been HTML in the code box. I saw HTML was actually parsing AS HTML !

Everyone should upgrade to 1.2 ASAP!

Version 1.0 can be exploited if malicious users sent an iframe or javascript code in a pm.

This has been fixed in version 1.2... Also for those running 4.1.12 or above previews will now show in the user cp as well as the inbox itself.
Reply With Quote
  #18  
Old 05-19-2012, 12:34 AM
cstreater cstreater is offline
 
Join Date: May 2010
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't know why this board will never allow me to like your posts without liking someone else's first, but I like it and thanks for the prompt update.
Reply With Quote
Благодарность от:
BirdOPrey5
  #19  
Old 05-19-2012, 04:12 AM
chimpmaster chimpmaster is offline
 
Join Date: Jan 2012
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent! I am always going crazy opening PM's try to find the one I need. This makes it really easy now. Thanks - nice mod and working just fine for me on v4.1.12.
Reply With Quote
Благодарность от:
BirdOPrey5
  #20  
Old 05-19-2012, 08:10 AM
sadiq6210 sadiq6210 is offline
 
Join Date: Sep 2005
Posts: 684
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

After update to 1.2, now it is not working with my Arabic forum =(
Attached Images
File Type: jpg PM.jpg (14.1 KB, 0 views)
Reply With Quote
  #21  
Old 05-19-2012, 10:28 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sadiq6210 View Post
After update to 1.2, now it is not working with my Arabic forum =(
Sorry about that, I guess I went overboard on the security to change all characters to HTML entities.

For now if you want to edit the two plugins: PM Previews Main Code and PM Previews in Notifications

Find the line:
Code:
$pm['boppreview'] = htmlentities($pm['boppreview']);
and change it to:
Code:
$pm['boppreview'] = htmlspecialchars($pm['boppreview']);
(do for each plugin.)

Otherwise I will release an update later today to fix it for non-latin Languages. :up:
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 02:46 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.08017 seconds
  • Memory Usage 2,347KB
  • 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
  • (2)bbcode_code
  • (1)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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (5)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (6)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
  • 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