phpBB2Refugees.com Logo
Not affiliated with or endorsed by the phpBB Group

Register •  Login 

Continue the legacy...

Welcome to all phpBB2 Refugees!Wave Smilie

This site is intended to continue support for the legacy 2.x line of the phpBB2 bulletin board package. If you are a fan of phpBB2, please, by all means register, post, and help us out by offering your suggestions. We are primarily a community and support network. Our secondary goal is to provide a phpBB2 MOD Author and Styles area.

Quote tag stays open in the private messages


 
Search this topic... | Search General Support... | Search Box
Register or Login to Post    Index » General Support  Previous TopicPrint TopicNext Topic
Author Message
bengurion
Board Member



Joined: 16 Sep 2018

Posts: 11



PostPosted: Sat Sep 29, 2018 3:44 pm 
Post subject: Quote tag stays open in the private messages

I know it sounds strange, but "Quote" tag stays open in the private messages when somebody sends a message. So all the messages always are transfered with ugly [quote=xxxx] and no formatting.
All other tags are ok.
icon_question.gif icon_confused.gif
Back to top
Salvatos
Board Member



Joined: 19 Feb 2009

Posts: 428
Location: Québec


flag
PostPosted: Sun Sep 30, 2018 4:13 pm 
Post subject: Re: Quote tag stays open in the private messages

It only happens for quotes and only in private messages? Have you tested with different usernames and quote contents?

It's odd because as far as I know the BBCode logic is the same for forum posting and PMs, and there aren't too many reasons only one tag should stop working unless you have MODs coming into play. Maybe there are unusual characters in the username being quoted, or something inside the quote is tripping up the boundary detections for where the quote is supposed to begin and end, resulting in it being treated as non-BBCode.
Back to top
bengurion
Board Member



Joined: 16 Sep 2018

Posts: 11



PostPosted: Mon Oct 01, 2018 8:08 am 
Post subject: Re: Quote tag stays open in the private messages

Salvatos wrote:
It only happens for quotes and only in private messages? Have you tested with different usernames and quote contents?

It's odd because as far as I know the BBCode logic is the same for forum posting and PMs, and there aren't too many reasons only one tag should stop working unless you have MODs coming into play. Maybe there are unusual characters in the username being quoted, or something inside the quote is tripping up the boundary detections for where the quote is supposed to begin and end, resulting in it being treated as non-BBCode.


Yes it happens only in pm and only with Quote tag. And it does not work with any username, any symbols, it does not work even in preview. And by the way i somehow have a different "tag list" in private messages and in the main posting. icon_eek.gif icon_confused.gif Where to dig? icon_question.gif
Back to top
Salvatos
Board Member



Joined: 19 Feb 2009

Posts: 428
Location: Québec


flag
PostPosted: Mon Oct 01, 2018 2:24 pm 
Post subject: Re: Quote tag stays open in the private messages

privmsg.php would be the first place to look for MODs that could be broken.
Back to top
lumpy burgertushie
Board Member



Joined: 19 Nov 2008

Posts: 224


flag
PostPosted: Tue Oct 02, 2018 10:02 pm 
Post subject: Re: Quote tag stays open in the private messages

privmsg.php

and includes/bbcode.php
and templates/subSilver/bbcode.tpl

would be the only places to look that I can think of.

I would replace those files one at a time and check. it that doesn't fix it, put the original back and replace the next one. rinse and repeat.

that should help you narrow it down to the correct file.

robert
Back to top
bengurion
Board Member



Joined: 16 Sep 2018

Posts: 11



PostPosted: Tue Oct 09, 2018 10:44 am 
Post subject: Re: Quote tag stays open in the private messages

Have some clarification. Tag quote= without name is working ok. Only when there is name in it than it does not work like quote. Even when you make preview of the reply.
It looks like this:
Code:
[quote="name"]test[/quote]

icon_cry.gif
Back to top
bengurion
Board Member



Joined: 16 Sep 2018

Posts: 11



PostPosted: Tue Oct 09, 2018 2:22 pm 
Post subject: Re: Quote tag stays open in the private messages

Ok everything fixed.
icon_cool.gif
It was header of privmsg.php here.
Thank you everyone!
Code:
$html_entities_match = array('#&(?!(\#[0-9]+;))#', '#<#', '#>#');
$html_entities_replace = array('&amp;', '&lt;', '&gt;');
Back to top
lumpy burgertushie
Board Member



Joined: 19 Nov 2008

Posts: 224


flag
PostPosted: Thu Oct 11, 2018 5:00 pm 
Post subject: Re: Quote tag stays open in the private messages

good detective work.

that is why we suggested that you replace that file with a known good one to test.


luck,
rob ert
Back to top
Display posts from previous:   
Register or Login to Post    Index » General Support  Previous TopicPrint TopicNext Topic
Page 1 of 1 All times are GMT
 
Jump to:  

Index • About • FAQ • Rules • Privacy • Search •  Register •  Login 
Not affiliated with or endorsed by the phpBB Group
Powered by phpBB2 © phpBB Group
Generated in 0.0268 seconds using 15 queries. (SQL 0.0024 Parse 0.0009 Other 0.0236)
phpBB Customizations by the phpBBDoctor.com
Template Design by DeLFlo and MomentsOfLight.com Moments of Light Logo