Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Extension: AutoP
This discussion has been closed.
Comments
return $pee;
change to$pee = str_replace( "\n", '', $pee); return $pee;
Any suggestion?
But if someone (like me and my forum's member) don't care the HTML code, may be like it, it make comment's code slight, saves some bytes, easy to check other HTML code. :P
Thanks SkyBoy. Keep going with the suggestions, this is great
Quote: [-Stash-] You will want to change line 17 of default.php from:
define('HTML_CONVERT_NEWLINES', 1);
to:define('HTML_CONVERT_NEWLINES',0);
Hey [-Stash-], this worked for the lists but now, HTML Formatter strips out ALL of the <p> tags in all of the comments.
Back to the drawing board mate!
Posted: Tuesday, 9 January 2007 at 8:09AM (AEDT)
So not quite back to the drawing board. What I really need to figure out is how to make AutoP and PreviewPost behave...
<?php // Enabled Extensions if (!defined('IN_VANILLA')) exit(); include($Configuration['EXTENSIONS_PATH']."ExtendedApplicationForm/default.php"); include($Configuration['EXTENSIONS_PATH']."GuestWelcome/default.php"); include($Configuration['EXTENSIONS_PATH']."InviteFriends/default.php"); include($Configuration['EXTENSIONS_PATH']."NewsMailer/default.php"); include($Configuration['EXTENSIONS_PATH']."PageMng/default.php"); include($Configuration['EXTENSIONS_PATH']."PreviewPost/default.php"); include($Configuration['EXTENSIONS_PATH']."SavedSearches/default.php"); include($Configuration['EXTENSIONS_PATH']."PanelLists/default.php"); include($Configuration['EXTENSIONS_PATH']."YellowFade/default.php"); include($Configuration['EXTENSIONS_PATH']."WindowLinks/default.php"); include($Configuration['EXTENSIONS_PATH']."Vanillacons/default.php"); include($Configuration['EXTENSIONS_PATH']."UserFilters/default.php"); include($Configuration['EXTENSIONS_PATH']."comments_permalinks/default.php"); include($Configuration['EXTENSIONS_PATH']."WhosOnline/default.php"); include($Configuration['EXTENSIONS_PATH']."LiveSearch/default.php"); include($Configuration['EXTENSIONS_PATH']."Statistics/default.php"); include($Configuration['EXTENSIONS_PATH']."CommentRemoval/default.php"); include($Configuration['EXTENSIONS_PATH']."ApplicantEmailVerification/default.php"); include($Configuration['EXTENSIONS_PATH']."NewApplicants/default.php"); include($Configuration['EXTENSIONS_PATH']."HideSuccess/default.php"); include($Configuration['EXTENSIONS_PATH']."DCalendar/default.php"); include($Configuration['EXTENSIONS_PATH']."GuestPost/default.php"); include($Configuration['EXTENSIONS_PATH']."RoleHistory/default.php"); include($Configuration['EXTENSIONS_PATH']."DiscussionOverview/default.php"); include($Configuration['EXTENSIONS_PATH']."Meta Tags/default.php"); include($Configuration['EXTENSIONS_PATH']."Gabbly/default.php"); include($Configuration['EXTENSIONS_PATH']."Discovery/default.php"); include($Configuration['EXTENSIONS_PATH']."LatestPostsIntegration/default.php"); include($Configuration['EXTENSIONS_PATH']."Google Adsense/default.php"); include($Configuration['EXTENSIONS_PATH']."HtmlFormatter/default.php"); include($Configuration['EXTENSIONS_PATH']."Quicktags/default.php"); include($Configuration['EXTENSIONS_PATH']."AutoP/default.php"); ?>
I don't see that the PreviewPost doodad has anything to do with final rendering though?
Posted: Tuesday, 9 January 2007 at 10:16AM (AEDT)
Regarding the Preview Post thing, I've been doing a little digging on the forum and come up with two interesting discussions regarding other things not working with PreviewPost: One, two.
Unfortunately they offer conflicting advice, so I'm not sure which is better. Whichever works I guess.
I've tried One and had some success with getting HTML comments to preview and post the same, which is nice. The same, however, cannot be said for BBCode, which is a complete swine. The search continues.