MyBB Community Forums

Full Version: Naked Quote doesn't work (ie. no name)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Tried searching the threads, but couldn't seem to find this exact problem before.

Naked quotes - quotes that don't have a name attached don't work on my board at all.
I find that if I post on my forum using the quote tag, it shows up like this:
[Image: quote1.jpg]

If I add an equals sign to the quote tag, as such
[quote=]
it shows up just fine:

[Image: quote2.jpg]

On this forum, it seems to work okay. I think it might have something to do with my theme, but am not sure where to even start to look for the problem. I may have messed up when transferring my board from an old server to the new one. Could anyone help me figure out where to fix the code so that I can get the normal quote back, as below?

Quote:something

edit: *facepalm*
I'll just manually re-edit the posts, as it seems to work now that I added jquery-no conflict to the footer
edit2: *facepalm*
Never trust a blond to program.... It only fixed it in PMs, so am still open to suggestions on how to fix it.
You could always manually add your own MyCode in. Otherwise I would not know how to solve it.

If you want to use custom MyCode to fix it...

AdminCP > Configuration > MyCode

Regular Expression:
\[quote\](.*?)\[/quote\]

Replacement:
<blockquote><cite>Quote:</cite>$1</blockquote>


As I said, this is only a simple fix until someone can help you further.
Can we get a link to your forum and possibly a test user account?
Thank you, that works for now. It would be nice to know what causes the bug, though.

Edit, can set up a test account tomorrow, it's half two am in my time zone now Smile posted a link in my intro post, but its at orionspace.info
What HTML output were you getting before you added the MyCode?
Do you mean if I view source?
<div id="pid_19918" class="post_body">
				[quote] just testing [/quote]<br />
<br />
Listening to the sound of rain....
			</div>

and If I have the mycode enabled it says

<div id="pid_19918" class="post_body">
				<blockquote><cite>Quote:</cite> just testing </blockquote>
<br />
Listening to the sound of rain....
			</div>

edit: *facepalm* don't go editing the source files when you don't know what you're doing