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)
-   -   Preview Private Message Before Sending (https://vborg.vbsupport.ru/showthread.php?t=32695)

Tommy Boy 01-02-2002 08:45 PM

Woah! That's what I call a HACK! Many thanks *again* bira! :D

Now could you make a preview when editing posts? ;)

Lucky 01-03-2002 11:09 AM

Liking this hack! Thanks:)


One thing though.

How can I modify the preview so that the text will use up more than what it is using now. I am only using 1/3 of the potential screen I could be using.

Any ideas?

Lionel 01-17-2002 01:47 AM

Bira I have a small problem with that hack:

when I do:priv_sendprivmsg

$message[message]

And replace it with:

$privmessage

that does not include the quotes when I reply.

When I do: $message[message] $privmessage

that include the quotes but in the new text box if you want to preview, it displays it twice.

How can I fix?

never mind... I was missing a line in private php

if (!isset($privmessage)) {
$privmessage = $message[message];
}

Tommy Boy 01-17-2002 06:03 PM

Just wanted to note that you seem to loose the subject when you preview a private message.

tkeil69575 02-06-2002 06:42 PM

hi bira,
ich just installed it and its working fine exept in the preview the formating is not taken over (ie. [quote] ist icons etc. are not converted). Any Idea what i might have done wrong - ive gone over the code serveral times and cant find the cause. Maybe it has something to do with my templates?

regards tina

Lucky 02-08-2002 12:47 PM

Works great in 2.2.2

Thanks

orozery 02-25-2002 06:13 PM

Great hack!

chrissysdaddy 04-21-2002 04:06 PM

Great Hack Man! Keep up the good work.

julius 05-02-2002 06:32 AM

Great Hack Bira! :)

I had to use the Wluke modification and it works fine, but when I click preview, selected icon is not selected anymore and smilies are not converted.

julius 05-04-2002 12:54 PM

Bira, I tried on another server and smilies are converted in preview. What could it be that on one server they are converted and on other are not? (on post preview I have non similiar problem)


All times are GMT. The time now is 10:33 AM.

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.01674 seconds
  • Memory Usage 1,724KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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