Jump to content
Дизайн и модификация IPS Community IPBSkinsBETA
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
Haktar

ББ-коды для комментариев в профиле

Recommended Posts

Где можно пофиксить что бб-коды отображались в комментариях в профилях пользователей? В особенности конечно ссылки, которые не активны в профилях.

Share this post


Link to post
Share on other sites

admin/applications/members/sources/comments.php

 

Выше

		while( $row = $this->DB->fetch($o) )

добавить

		IPSText::getTextClass('bbcode')->parse_html    = 0;
	IPSText::getTextClass('bbcode')->parse_smilies = 0;
	IPSText::getTextClass('bbcode')->parse_bbcode  = 1;

Выше

			$comments[] = $row;

добавить

			$row['comment_content'] = IPSText::getTextClass('bbcode')->preDisplayParse( IPSText::getTextClass('bbcode')->preDbParse( $row['comment_content'] ) );

  • Upvote 2

Share this post


Link to post
Share on other sites

admin/applications/members/sources/comments.php

Спасибо, то что надо!

  • Upvote 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...