![]() |
Yeah, same problem here. It doesn't update... WTF: Must fix!
|
The problem lies in the preg_match function. It's incorrect and fails finding quotes when there are line breaks (what I guess) in the post that is being quoted.
I wish I knew regex code well enough, but I don't, so I can only fix this by making an ugly piece of hack without regex that finds the quotes and puts then in an array. I might post it here, but beware it's fugly code. |
I figured it out pretty decently what caused it. It was the first preg_match but also for me I needed /is for case incensitive version.
Replace all the code in the plugin for this mod: Find Quotes Code:
if(preg_match("/\[quote=(.*)\](.*)\[\/quote\]/is", $post['message'])) |
[QUOTE=Swedie;2273791]I figured it out pretty decently what caused it. It was the first preg_match but also for me I needed /is for case incensitive version.
Replace all the code in the plugin for this mod: Find Quotes Code:
if(preg_match("/\[quote=(.*)\](.*)\[\/quote\]/is", $post['message'])) Quote:
|
Let me know when updates, would love to try with out fixing code :D
|
I like it, thanks! The only thing is the quotes in the off-limits areas, but we can be careful not to do any for now. Cheers. :D
|
Is there a way to easily turn this off per user?
|
I think this works MOST of the time, but I'm admin on my forums and I only get notified for a small percentage of the quotes, no all of them. Why is this?
|
Quote:
|
dont show
why? |
All times are GMT. The time now is 12:47 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|