PDA

View Full Version : PM preview


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
//run it through the template
$messagedone=1;

and add below:

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


Then open template "privfolder_bit"
and find
<td bgcolor="{firstaltcolor}" align="left" width="75%">
replace it with:
<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
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