Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

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
  #22  
Old 05-19-2012, 10:48 AM
sadiq6210 sadiq6210 is offline
 
Join Date: Sep 2005
Posts: 684
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
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:
Thanks Joe .. working perfect

Another question
Can I change the direction of the preview window?

For LTR languages, it is correct:
https://vborg.vbsupport.ru/attachmen...2&d=1327457397

But for RTL, the direction should be changed.
https://vborg.vbsupport.ru/attachmen...5&d=1337418518

Is it possible?
Reply With Quote
Благодарность от:
BirdOPrey5
  #23  
Old 05-19-2012, 11:42 AM
Gemma's Avatar
Gemma Gemma is offline
 
Join Date: Apr 2004
Location: Scotland
Posts: 1,229
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the update
Reply With Quote
Благодарность от:
BirdOPrey5
  #24  
Old 05-19-2012, 01:27 PM
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
Thanks Joe .. working perfect

Another question
Can I change the direction of the preview window?

For LTR languages, it is correct:
https://vborg.vbsupport.ru/attachmen...2&d=1327457397

But for RTL, the direction should be changed.
https://vborg.vbsupport.ru/attachmen...5&d=1337418518

Is it possible?
By preview window, do you mean the yellow box?
Reply With Quote
  #25  
Old 05-19-2012, 02:21 PM
sadiq6210 sadiq6210 is offline
 
Join Date: Sep 2005
Posts: 684
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
By preview window, do you mean the yellow box?
Yes ^_^
Reply With Quote
  #26  
Old 05-19-2012, 03:25 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry I'm not very familiar with RTL issues so I apologize if I am asking dumb questions...



I can't read the text but it certainly looks Right-Justified... (Starting on the Right) - Are you saying it's supposed to start on the Left? Or are the letters themselves backwards (in reverse order?)

Do the thread previews work correctly in the forum?
Reply With Quote
  #27  
Old 05-19-2012, 10:15 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Updated to version 1.2.1 - should fix the issue in post #19 with non-english/latin languages.
Reply With Quote
  #28  
Old 05-20-2012, 02:12 PM
sadiq6210 sadiq6210 is offline
 
Join Date: Sep 2005
Posts: 684
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
Sorry I'm not very familiar with RTL issues so I apologize if I am asking dumb questions...


I can't read the text but it certainly looks Right-Justified... (Starting on the Right) - Are you saying it's supposed to start on the Left? Or are the letters themselves backwards (in reverse order?)

Do the thread previews work correctly in the forum?
Appreciate you effort Joe
Actually I am meaning the preview popup itself.

In LTR, there is a gap in the right (see the green rectangle)
https://vborg.vbsupport.ru/attachmen...1&d=1337526605

In RTL, there is no gap:
https://vborg.vbsupport.ru/attachmen...1&d=1337526605

It should be something like this:
https://vborg.vbsupport.ru/attachmen...1&d=1337526605

Thanks again Joe :up:
Attached Images
File Type: png 1.png (116.2 KB, 0 views)
File Type: jpg 2.jpg (17.7 KB, 0 views)
File Type: jpg 3.jpg (18.7 KB, 0 views)
Reply With Quote
  #29  
Old 05-20-2012, 07:18 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you for the thorough explanation but there is nothing in the code that could control that. I would imagine it's the web browser making the "choice" where the preview gets displayed. It's usually based on where the mouse pointer is when the preview gets activated.
Reply With Quote
  #30  
Old 05-21-2012, 08:12 AM
sadiq6210 sadiq6210 is offline
 
Join Date: Sep 2005
Posts: 684
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
Thank you for the thorough explanation but there is nothing in the code that could control that. I would imagine it's the web browser making the "choice" where the preview gets displayed. It's usually based on where the mouse pointer is when the preview gets activated.
aha
I think you are correct Joe.
Thank you very much for your time :up:
Reply With Quote
  #31  
Old 02-05-2013, 03:12 AM
Amaury Amaury is offline
 
Join Date: Nov 2011
Location: Ellensburg, WA
Posts: 1,075
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<font color="Green">Installed.</font>

Anyone know what the Preview Length is set to on here (vBulletin.org Forum)? I wanted to go by that.
Reply With Quote
Reply


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 11:30 PM.


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.11954 seconds
  • Memory Usage 2,356KB
  • 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
  • (2)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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (3)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (7)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