DeathStar Posted March 19, 2007 Share Posted March 19, 2007 Ok now i'm so lost.. I searched smf forum for that thin gwhere if you hit preview it does that preview thing at the top and now i got the part for it but how do I use it? // Only show the preview stuff if they hit Preview. if ($really_previewing == true || isset($_REQUEST['xml'])) { // Set up the preview message and subject and censor them... $context['preview_message'] = $form_message; preparsecode($form_message, true); preparsecode($context['preview_message']); // Do all bulletin board code tags, with or without smileys. $context['preview_message'] = parse_bbc($context['preview_message'], isset($_REQUEST['ns']) ? 0 : 1); if ($form_subject != '') { $context['preview_subject'] = $form_subject; censorText($context['preview_subject']); censorText($context['preview_message']); } else $context['preview_subject'] = '<i>' . $txt[24] . '</i>'; } Link to comment https://forums.phpfreaks.com/topic/43399-fetching-preview/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.