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 Previews by BOP5 (VB4) (https://vborg.vbsupport.ru/showthread.php?t=277502)

sadiq6210 05-19-2012 10:48 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2330661)
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 :o
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?

Gemma 05-19-2012 11:42 AM

Thanks for the update :)

BirdOPrey5 05-19-2012 01:27 PM

Quote:

Originally Posted by sadiq6210 (Post 2330664)
Thanks Joe .. working perfect

Another question :o
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?

sadiq6210 05-19-2012 02:21 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2330713)
By preview window, do you mean the yellow box?

Yes ^_^

BirdOPrey5 05-19-2012 03:25 PM

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

https://vborg.vbsupport.ru/attachmen...5&d=1337418518

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?

BirdOPrey5 05-19-2012 10:15 PM

Updated to version 1.2.1 - should fix the issue in post #19 with non-english/latin languages.

sadiq6210 05-20-2012 02:12 PM

1 Attachment(s)
Quote:

Originally Posted by BirdOPrey5 (Post 2330738)
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:

BirdOPrey5 05-20-2012 07:18 PM

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.

sadiq6210 05-21-2012 08:12 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2331065)
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:

Amaury 02-05-2013 03:12 AM

<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.


All times are GMT. The time now is 06: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.02237 seconds
  • Memory Usage 1,740KB
  • 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
  • (2)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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