[CDB] Topic Preview

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Scam Warning
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
FomenkoAndrey
Registered User
Posts: 369
Joined: Thu Aug 19, 2010 10:44 am

Re: [BETA] Topic Preview

Post by FomenkoAndrey »

post content:

Code: Select all

[quote="[url=http://motobratva.com/viewtopic.php?p=72940#p72940]Lawyer[/url]"]Пока ты пишешь - она интересна[/quote]Даже не двузначно, трехзначно! :lol:
User avatar
RMcGirr83
Former Team Member
Posts: 22099
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: [BETA] Topic Preview

Post by RMcGirr83 »

That's from a mod I think. Post link in quote mod or something like that.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer 🍺
FomenkoAndrey
Registered User
Posts: 369
Joined: Thu Aug 19, 2010 10:44 am

Re: [BETA] Topic Preview

Post by FomenkoAndrey »

quick replay, u think, but is it possible to fix? because in QR by Tatyana in 3.1 this code will too.
User avatar
Mauron
Registered User
Posts: 342
Joined: Wed Jul 16, 2014 11:25 am

Italian translation done

Post by Mauron »

Hello,
PR request have been submitted for Italian translation.
User avatar
MattF
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 6080
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman

Re: [BETA] Topic Preview

Post by MattF »

FomenkoAndrey wrote:quick replay, u think, but is it possible to fix? because in QR by Tatyana in 3.1 this code will too.
The problem is you made the username a link, which it should not really be done. I'll look into it though.
Formerly known as VSEMy ExtensionsPlease do not PM me for support.
User avatar
Mauron
Registered User
Posts: 342
Joined: Wed Jul 16, 2014 11:25 am

Re: [BETA] Topic Preview

Post by Mauron »

Uhm...
What if, for example, I put b in hide list and I use it in a quote like this:

Code: Select all

[quote="[b]nickname[/b]"]quoted post[/quote]
How would Topic preview handle this event?
User avatar
MattF
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 6080
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman

Re: [BETA] Topic Preview

Post by MattF »

I'm not going to fix that. You have two choices:
1. Don't make usernames links (you're not supposed to make bbcodes inside an bbocode tag anyways)
2. Add url to the list of bbcodes to be stripped. This will stop it from being broken, but quotes will not be stripped when you make the quoted username a url.
Formerly known as VSEMy ExtensionsPlease do not PM me for support.
User avatar
MattF
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 6080
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman

Re: [BETA] Topic Preview

Post by MattF »

Mauron wrote:Uhm...
What if, for example, I put b in hide list and I use it in a quote like this:

Code: Select all

[quote="[b]nickname[/b]"]quoted post[/quote]
How would Topic preview handle this event?
Don't! You're not supposed to use bbcodes inside another bbcode tag. This is not the same as nesting bbcodes. This is actually just an exploit in the bbcode system, but it is not meant to be used this way, so doing so will lead to breakages and unexpected results.
Formerly known as VSEMy ExtensionsPlease do not PM me for support.
FomenkoAndrey
Registered User
Posts: 369
Joined: Thu Aug 19, 2010 10:44 am

Re: [BETA] Topic Preview

Post by FomenkoAndrey »

i use this ext viewtopic.php?f=456&t=2259196
and it create bbcodes

Code: Select all

[quote="владимир1983"][post]3825[/post] Много переделали. Чего только генерация конфига под nginx стоит[/quote]
will be good if your ext will be compatible with structure bbcodes QR, because QR the most popular extension of RU forums.
User avatar
MattF
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 6080
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman

Re: [BETA] Topic Preview

Post by MattF »

FomenkoAndrey wrote:i use this ext viewtopic.php?f=456&t=2259196
and it create bbcodes

Code: Select all

[quote="владимир1983"][post]3825[/post] Много переделали. Чего только генерация конфига под nginx стоит[/quote]
will be good if your ext will be compatible with structure bbcodes QR, because QR the most popular extension of RU forums.
That is a normal nested bbcode which is compatible. Just add post to the bbcodes to strip in the settings too.
Formerly known as VSEMy ExtensionsPlease do not PM me for support.
FomenkoAndrey
Registered User
Posts: 369
Joined: Thu Aug 19, 2010 10:44 am

Re: [BETA] Topic Preview

Post by FomenkoAndrey »

with new bbcode QR - it works.
User avatar
MattF
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 6080
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman

Re: [RC] Topic Preview

Post by MattF »

Updated a new RC release version! See first post.
Formerly known as VSEMy ExtensionsPlease do not PM me for support.
User avatar
Sshadow
Registered User
Posts: 302
Joined: Thu Aug 20, 2009 3:54 pm
Name: Chris C.

Re: [RC] Topic Preview

Post by Sshadow »

Very nice :) Thanks for the work on this!
Chris/Admin
Holger
Registered User
Posts: 1901
Joined: Tue Mar 12, 2002 3:54 pm
Location: Hannover

Re: [RC] Topic Preview

Post by Holger »

VSE wrote:Updated a new RC release version! See first post.
Thank you! Any updates in the lang-files?
User avatar
MattF
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 6080
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman

Re: [RC] Topic Preview

Post by MattF »

Holger wrote:Thank you! Any updates in the lang-files?
Nope. Nothing new to translate, but they have been re-arranged.
Formerly known as VSEMy ExtensionsPlease do not PM me for support.

Return to “Extensions in Development”