Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > SUPPORT / INFORMATION > Pixelpost Help

Post Reply
 
Thread Tools
  #1  
Old 04-07-2007, 01:19 PM
rodique's Avatar
rodique Offline
forum loafer
 
Join Date: Mar 2007
Location: Belarus
Posts: 16
Send a message via ICQ to rodique Send a message via AIM to rodique Send a message via MSN to rodique
Markdown feature in comments

Hi!
Is it possible to add Markdown feature to comments? I want to use Markdown syntax when im answering the comment.
__________________
author of ON EYE photoblog
Reply With Quote
  #2  
Old 04-08-2007, 11:35 AM
rodique's Avatar
rodique Offline
forum loafer
 
Join Date: Mar 2007
Location: Belarus
Posts: 16
Send a message via ICQ to rodique Send a message via AIM to rodique Send a message via MSN to rodique
No answer on my previous question..... Ok.
Does PP_v1.6 support html in comments? For expl. <blockquote>bla bla bla </blockquote>. The PP 1.5 does.
__________________
author of ON EYE photoblog
Reply With Quote
  #3  
Old 04-08-2007, 02:47 PM
Dennis's Avatar
Dennis+ Offline
Team Pixelpost
 
Join Date: Jul 2006
Posts: 2,394
Send a message via MSN to Dennis
@rodique: if PP 1.5 supports it then 1.6 will probably support it too, best way is to check out the 1.6 beta on a part of your server.
__________________
My photoblog, powered by PixelPost 1.9 dev SVN | My Pixelpost Addons | My Cool Photoblog profile
Reply With Quote
  #4  
Old 04-08-2007, 04:27 PM
rodique's Avatar
rodique Offline
forum loafer
 
Join Date: Mar 2007
Location: Belarus
Posts: 16
Send a message via ICQ to rodique Send a message via AIM to rodique Send a message via MSN to rodique
Quote:
Originally Posted by schonhose View Post
@rodique: if PP 1.5 supports it then 1.6 will probably support it too, best way is to check out the 1.6 beta on a part of your server.
it doesnt! can i enable it? how?
__________________
author of ON EYE photoblog
Reply With Quote
  #5  
Old 04-08-2007, 04:48 PM
jaywilliams's Avatar
jaywilliams+ Offline
Team Pixelpost
 
Join Date: Sep 2005
Posts: 1,003
Send a message via AIM to jaywilliams Send a message via MSN to jaywilliams Send a message via Yahoo to jaywilliams Send a message via Skype™ to jaywilliams
Go to includes > functions.php

Go to Line #1032

It should look like this:

PHP Code:
$string strip_tags($string);
$string htmlspecialchars($string,ENT_QUOTES); 
Edit it, so it looks like this:

PHP Code:
$string strip_tags($string,'<blockquote>');
#$string = htmlspecialchars($string,ENT_QUOTES); 
You can tell strip_tags which html tags to ignore like so:
PHP Code:
$string strip_tags($string,'<blockquote><b><i>'); 
I hope this helps.
__________________
Jay Williams | A Different View
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 09:41 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs