PDA

View Full Version : Making quote work differently.


NovoCiv
01-04-2011, 07:25 AM
The way quote works right now is not ok. If there is BBCode in the quoted post it shows up as unparsed in the editor. This renders things like our [hide] tags or [qr] tags completely useless. When I quote something into the advanced editor sometimes it parses automatically, but in the quick reply it's unparsed. I've dug around all the templates I can think of, all the files I can think of, and I can't figure out how to change this. I think the problem is in newpost_quote template:
{vb:raw pagetext}


I don't want the vb:raw pagetext to be unparsed. I want it to show up as parsed in the editor. Kind of like the url tags work. When you edit a post with url tags it doesn't show text (blah), it just shows the hyperlinked text. I want it to do that for all bbcode when I quote.

Yellow Slider
01-04-2011, 11:54 AM
It has nothing to do with quotes, but with your hide mod.
You can ask the developer of the mod to add parsing in quick reply.

NovoCiv
01-04-2011, 01:47 PM
It has nothing to do with quotes, but with your hide mod.
You can ask the developer of the mod to add parsing in quick reply.

The developer refuses to admit there is a vulnerability. Ontop of that, this issue is affecting not only hide tags but also qr tags and username tag. Basically, anything that has hidden text can be disovered because quoted text is unparsed in the editor.

Yellow Slider
01-04-2011, 03:33 PM
The developer refuses to admit there is a vulnerability. Ontop of that, this issue is affecting not only hide tags but also qr tags and username tag. Basically, anything that has hidden text can be disovered because quoted text is unparsed in the editor.

As I previously said, you can either ask the developers or try to open a thread in the unpaid/paid requests forum.

NovoCiv
01-05-2011, 03:57 AM
Isn't this section for discussing vBulletin programming and/or coding? I do most of the coding and modification myself, but I'm stumped on this one. I'm not asking for someone to just do it for me, I'm asking for discussion and advice on how to go about making quote work the way I want it to.

And the Developers won't even admit that it happens let alone work with me to fix it.

Yellow Slider
01-05-2011, 10:12 AM
Isn't this section for discussing vBulletin programming and/or coding? I do most of the coding and modification myself, but I'm stumped on this one. I'm not asking for someone to just do it for me, I'm asking for discussion and advice on how to go about making quote work the way I want it to.

And the Developers won't even admit that it happens let alone work with me to fix it.

Well, in that case you would want to use newreply_quote and modify $pagetext with preg_replace.

NovoCiv
01-05-2011, 03:13 PM
Well, in that case you would want to use newreply_quote and modify $pagetext with preg_replace.

Thanks man! I finally fixed the hide tags thanks to your help.