"Quote" Option not working after upgrade to 2.0.19

This is an archive of the phpBB 2.0.x support forum. Support for phpBB2 has now ended.
Forum rules
Following phpBB2's EoL, this forum is now archived for reference purposes only.
Please see the following announcement for more information: viewtopic.php?f=14&t=1385785
kc5hwb
Registered User
Posts: 258
Joined: Tue Apr 12, 2005 2:46 pm

"Quote" Option not working after upgrade to 2.0.19

Post by kc5hwb »

The quote tag is not working now. I upgraded to 2.0.19 and changed templates at the same time, not sure which one is the culprit. I am using the FFS template that I got from this site.

www.faithchatter.com


URL:
Template(s) used: sub silver and FFS
Any and all MODs: yes, last 5 reg users, full album, poster name under topic, sub-forums
Do you use a port of phpBB: no
Version of phpBB: 2.0.19
Version of PHP: unsure
Which database server and version: unsure
Host: sdcwebhost.com
Did someone install this for you/who: I did it
Is this an upgrade/from what to what: 2.0.13 to 2.0.19
Is this a conversion/from what to what: no
Have you searched for your problem: yes
If so, what terms did you try: quote tag
State the nature of your problem:
Do you have a test account for us: no, but I can create one if need-be
Paid Posting Services - Boost Your Forum
http://www.forumelves.com
Come and tell us what you think
http://www.FAITHCHATTER.com
Newkirk
Registered User
Posts: 142
Joined: Tue Apr 12, 2005 1:33 am
Location: Kansas City, Missouri
Contact:

Post by Newkirk »

Exactly what does it say when you use it?
I am available on AIM and MSN for support.
Please do not ask me until you have use the Knowledge Base and you have searched using the proper format.
Click here to download the internet!
kc5hwb
Registered User
Posts: 258
Joined: Tue Apr 12, 2005 2:46 pm

Post by kc5hwb »

It shows the code

Code: Select all

[quote="user"]text[/quote]
Paid Posting Services - Boost Your Forum
http://www.forumelves.com
Come and tell us what you think
http://www.FAITHCHATTER.com
kc5hwb
Registered User
Posts: 258
Joined: Tue Apr 12, 2005 2:46 pm

Post by kc5hwb »

anyone got an idea on this one?
Paid Posting Services - Boost Your Forum
http://www.forumelves.com
Come and tell us what you think
http://www.FAITHCHATTER.com
Bullmax
Registered User
Posts: 2016
Joined: Fri Jan 30, 2004 3:36 pm

Post by Bullmax »

Open includes/bbcode.php
Find:

Code: Select all

$text = bbencode_first_pass_pda($text, $uid, '/\[quote=\\\\"(.*?)\\\\"\]/is', '[/quote]', '', false, '', "[quote:$uid=\\\"\\1\\\"]");
Revert it back to:

Code: Select all

$text = bbencode_first_pass_pda($text, $uid, '/\[quote=(\\\".*?\\\")\]/is', '[/quote]', '', false, '', "[quote:$uid=\\1]");
kc5hwb
Registered User
Posts: 258
Joined: Tue Apr 12, 2005 2:46 pm

Post by kc5hwb »

Is this something that changed with 2.0.20? I upgraded my forum yesterday and I am currently re-installing some mods. The quotes seems to be working agaon, but the quotes that were used while the option wasn't working are still showing the code instead of showing the actual quote.

Here is an example of what I mean...

http://faithchatter.com/phpBB2/viewtopi ... 1&start=15
Paid Posting Services - Boost Your Forum
http://www.forumelves.com
Come and tell us what you think
http://www.FAITHCHATTER.com
kc5hwb
Registered User
Posts: 258
Joined: Tue Apr 12, 2005 2:46 pm

Post by kc5hwb »

This is still happening. But it only happens when I do a quote from a user like:

Code: Select all

[quote="kc5hwb"]text[/quote]
If I do a quote without the user's name, it works fine.
Paid Posting Services - Boost Your Forum
http://www.forumelves.com
Come and tell us what you think
http://www.FAITHCHATTER.com
User avatar
GoBieN
Registered User
Posts: 546
Joined: Fri Mar 05, 2004 5:22 pm
Location: Belgium
Contact:

Post by GoBieN »

try setting html to off and then post a new quote
kc5hwb
Registered User
Posts: 258
Joined: Tue Apr 12, 2005 2:46 pm

Post by kc5hwb »

I updated this file with this fix but it didn't help
Paid Posting Services - Boost Your Forum
http://www.forumelves.com
Come and tell us what you think
http://www.FAITHCHATTER.com
kc5hwb
Registered User
Posts: 258
Joined: Tue Apr 12, 2005 2:46 pm

Post by kc5hwb »

GoBieN wrote: try setting html to off and then post a new quote


No, same problem. This is what I see:

Code: Select all

[quote="kc5hwb"] Quote: 
it works if you don't have the "username" in the tag. 
[/quote] 

test
Paid Posting Services - Boost Your Forum
http://www.forumelves.com
Come and tell us what you think
http://www.FAITHCHATTER.com
User avatar
CTCNetwork
Former Team Member
Posts: 15424
Joined: Fri Dec 19, 2003 3:50 am
Location: In that Volvo behind you!
Contact:

Post by CTCNetwork »

Hi,

There was an issue with the quote system when upgrading MODded forums with the code changes.

Turning off html should fix this.

For those posts where the quote text is incorrect try editing the post - no need to change anything, and post - should resolve the issue.

The code that caused this has been updated in the CVS files on the CVS server (see the download section) and is quoted above.

However, phpBB.com would recommend the default setting of html = OFF.
Why use html when you can achieve the same with BBCode???
Without the security issues...

Good Luck,

Des. . . :wink:
Density:- Not just a measurement~Its a whole way of Life.! ! !
| Welcome! | RTFM!!! | Search! It's Easy! | Problem? | Spam? | Advice! |
kc5hwb
Registered User
Posts: 258
Joined: Tue Apr 12, 2005 2:46 pm

Post by kc5hwb »

I turned OFF HTML in the config and I am still having this problem.

http://www.faithchatter.com/phpBB2/view ... =4336#4336
Paid Posting Services - Boost Your Forum
http://www.forumelves.com
Come and tell us what you think
http://www.FAITHCHATTER.com
kc5hwb
Registered User
Posts: 258
Joined: Tue Apr 12, 2005 2:46 pm

Post by kc5hwb »

Am I doing something wrong? I have fixed the code and disabled HTML, but the problem still exists.
Paid Posting Services - Boost Your Forum
http://www.forumelves.com
Come and tell us what you think
http://www.FAITHCHATTER.com
kc5hwb
Registered User
Posts: 258
Joined: Tue Apr 12, 2005 2:46 pm

Post by kc5hwb »

My other forum at:
http://www.keyboardjunkies.com works fine and it has HTML turned ON and the old script is still in the bbcode.php file

Code: Select all

$text = bbencode_first_pass_pda($text, $uid, '/\[quote=\\\\"(.*?)\\\\"\]/is', '[/quote]', '', false, '', "[quote:$uid=\\\"\\1\\\"]");
I made the changes mentioned above on http://www.faithchatter.com but the problem still exists. These changes were NOT made at http://www.keyboardjunkies.com and the problem doesn't happen here.

:?: :?: :?: :?:
Paid Posting Services - Boost Your Forum
http://www.forumelves.com
Come and tell us what you think
http://www.FAITHCHATTER.com
kc5hwb
Registered User
Posts: 258
Joined: Tue Apr 12, 2005 2:46 pm

Post by kc5hwb »

anyone?
Paid Posting Services - Boost Your Forum
http://www.forumelves.com
Come and tell us what you think
http://www.FAITHCHATTER.com
Locked

Return to “2.0.x Support Forum”