vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   PM preview (https://vborg.vbsupport.ru/showthread.php?t=34660)

GenSec 01-30-2002 10:00 PM

It allows to get quick preview of the received PM's.

It is very simple.

Just find in private.php
Code:

    //run it through the template
    $messagedone=1;

and add below:
Code:

$pmtext=bbcodeparse($privatemessage[message]);
$pmtext=strip_tags($pmtext);
$pmtext=addslashes(htmlspecialchars($pmtext));

Then open template "privfolder_bit"
and find
Code:

        <td bgcolor="{firstaltcolor}" align="left" width="75%">
replace it with:
Code:

<td bgcolor="{firstaltcolor}" align="left" width="75%" title="$pmtext">
That's all

DelusionalMind 01-31-2002 02:03 PM

nice

will be installing when i get home :)

Lesane 01-31-2002 03:02 PM

nice small addon, thnx

BigJohnson 02-01-2002 01:36 AM

thanx

CyTreX 02-01-2002 05:04 AM

Thx!

But i have a little problem:

The quick preview is flashing about two times in one second, so it is non-permanent!?!

GenSec 02-01-2002 06:33 AM

Quote:

Originally posted by CyTreX

The quick preview is flashing about two times in one second, so it is non-permanent!?!

It's browser problem, not code. You can change title to the same javascript (onmouse etc.), but I prefer title (fast&simple).

LuBi 02-01-2002 04:21 PM

Someone else made this.

Siggi 02-01-2002 09:40 PM

nice small Hack

thx

Dynamic One 11-17-2002 06:28 AM

Thanks for this nice hack. Will use it :).

Dean C 11-17-2002 08:41 AM

This is awesome... I never saw it :)

I'll be installing this differently but thanks anyway :)

You gave me a great idea :)

Regards

- miSt

N!ck 11-17-2002 07:21 PM

it was me... check my sig for the link


All times are GMT. The time now is 04:49 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.00986 seconds
  • Memory Usage 1,726KB
  • 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
  • (4)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (11)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete