[BETA] Multi Quote in Topic Review (like Olympus)

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
User avatar
Ash Hi Fi Zone
Registered User
Posts: 409
Joined: Fri Feb 09, 2007 11:55 am

[BETA] Multi Quote in Topic Review (like Olympus)

Post by Ash Hi Fi Zone »

MOD Title: Multi Quote in Topic Review (like Olympus)
MOD Description: Adds a quote button to each post in the Topic Review which is shown while replying to a topic. So the user can quote any number of other's post's in the topic just by the click of a button and the quoted message gets appended in the textarea instantly (done using javascript)
MOD Version: 0.1.0
phpBB Version: 2.0.22

MOD Format: MOD (MODX I ll get it ready soon by tomorrow or the day after)

MOD Download: Right Here

Demo: I have set it up on my board : http://www.hifizone.org/community/

Username : Demo
Password: phpBBDemo (I'll be changing the password weekly to stop spams)

Screenhsot:
Demo Screenshot for Multi Quote
Demo Screenshot for Multi Quote
multi_quote_demo.JPG (157.75 KiB) Viewed 1663 times
Credits: phpBB 3's Multi Quote feature

I just saw this cute feature in Olympus and thought why not backport this feature in phpBB 2 also..... The javascript part and the whole idea behind this I have taken from the Olympus code only.....

So I cant call this a complete MOD from my side but just adapted the code and made a few changes to get the same feature in phpBB 2 too....

Well this is my first official MOD release.... Although I have written many mods for my own website I was afraid it did not adhere to the coding standards and did not release any of it.... I hope everyone likes it :D

Since there is not much code in this one I doubt there will be any bugs and if any plz tell me here and I ll fix em asap ;-)
User avatar
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
Name: Marco
Contact:

Re: [BETA] Multi Quote in Topic Review (like Olympus)

Post by 3Di »

Useful, I luuv it. :)
🆓 Free support for our extensions also provided here: phpBB Studio
🚀 Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity º PhpStorm's proud user º Extensions, Scripts, MOD porting, Update/Upgrades
User avatar
Ash Hi Fi Zone
Registered User
Posts: 409
Joined: Fri Feb 09, 2007 11:55 am

Re: [BETA] Multi Quote in Topic Review (like Olympus)

Post by Ash Hi Fi Zone »

Thank you 3Di I will submit it to MODDB when you start accepting MODs into it ;-)
User avatar
Ash Hi Fi Zone
Registered User
Posts: 409
Joined: Fri Feb 09, 2007 11:55 am

Re: [BETA] Multi Quote in Topic Review (like Olympus)

Post by Ash Hi Fi Zone »

I am actually thinking of adding the multi-quote feature to viewtopic also for those who have quick reply MOD.... So is anyone interested in this feature ? I will put it as part of the contrib folder addon so that those ppl who have Quick Reply MOD alone can make use of this feature.... :D
User avatar
igorw
Former Team Member
Posts: 8024
Joined: Fri Dec 16, 2005 12:23 pm
Location: {postrow.POSTER_FROM}
Name: Igor Wiedler

Re: [BETA] Multi Quote in Topic Review (like Olympus)

Post by igorw »

Very nice mod! :)
Igor Wiedler | area51 | GitHub | trashbin | Formerly known as evil less than three
marian0810
Former Team Member
Posts: 3011
Joined: Mon May 21, 2007 9:17 pm
Location: The Netherlands
Name: Marian
Contact:

Re: [BETA] Multi Quote in Topic Review (like Olympus)

Post by marian0810 »

I love this mod, thank you! :D

I have one question though... when I quote messages the spaces appear in the text as "   "
Possibly because I have THIS mod (Allow Multiple Spaces) installed?
Is that something you can fix?
You and me, time and space. You watch us run!
User avatar
Ash Hi Fi Zone
Registered User
Posts: 409
Joined: Fri Feb 09, 2007 11:55 am

Re: [BETA] Multi Quote in Topic Review (like Olympus)

Post by Ash Hi Fi Zone »

Hmm I think yes that problem you mentioned is due to the Allow Multiple Spaces MOD.... I ll try to come up with a fix for you tomorrow ;)
marian0810
Former Team Member
Posts: 3011
Joined: Mon May 21, 2007 9:17 pm
Location: The Netherlands
Name: Marian
Contact:

Re: [BETA] Multi Quote in Topic Review (like Olympus)

Post by marian0810 »

Awesome :D
You and me, time and space. You watch us run!
User avatar
Ash Hi Fi Zone
Registered User
Posts: 409
Joined: Fri Feb 09, 2007 11:55 am

Re: [BETA] Multi Quote in Topic Review (like Olympus)

Post by Ash Hi Fi Zone »

Ok try doing this marian and tell me if it works :

OPEN:
includes/topic_review.php

FIND:
$quote_message = str_replace('<', '<', $quote_message);
$quote_message = str_replace('>', '>', $quote_message);

AFTER ADD:
$quote_message = str_replace(' &nbsp;', " ", $quote_message);
Last edited by Ash Hi Fi Zone on Wed May 23, 2007 11:50 pm, edited 1 time in total.
marian0810
Former Team Member
Posts: 3011
Joined: Mon May 21, 2007 9:17 pm
Location: The Netherlands
Name: Marian
Contact:

Re: [BETA] Multi Quote in Topic Review (like Olympus)

Post by marian0810 »

No I'm afraid that didn't make any difference, sorry :(
You and me, time and space. You watch us run!
User avatar
Ash Hi Fi Zone
Registered User
Posts: 409
Joined: Fri Feb 09, 2007 11:55 am

Re: [BETA] Multi Quote in Topic Review (like Olympus)

Post by Ash Hi Fi Zone »

Sorry made a small mistake last time while posting the modification..... Try the steps I have mentioned above now.... It should work :D
marian0810
Former Team Member
Posts: 3011
Joined: Mon May 21, 2007 9:17 pm
Location: The Netherlands
Name: Marian
Contact:

Re: [BETA] Multi Quote in Topic Review (like Olympus)

Post by marian0810 »

I did a quick test and there seems to be some improvement 8-) It now looks like it works allright for a single quote but the problem still exists when there are nested quotes.

http://www.imageshock.eu/img/testspaties.jpg

Edit: I tried to solve that by installing a mod to prevent nested quoting, but that one doesn't work either with this mod.
You and me, time and space. You watch us run!
User avatar
Ash Hi Fi Zone
Registered User
Posts: 409
Joined: Fri Feb 09, 2007 11:55 am

Re: [BETA] Multi Quote in Topic Review (like Olympus)

Post by Ash Hi Fi Zone »

Ok I ll take a closer look at the code for the other MOD and see what I can do :)
marian0810
Former Team Member
Posts: 3011
Joined: Mon May 21, 2007 9:17 pm
Location: The Netherlands
Name: Marian
Contact:

Re: [BETA] Multi Quote in Topic Review (like Olympus)

Post by marian0810 »

Much appreciated Image
You and me, time and space. You watch us run!
AlexW80
Registered User
Posts: 34
Joined: Mon Apr 30, 2007 8:09 am

Re: [BETA] Multi Quote in Topic Review (like Olympus)

Post by AlexW80 »

Good little mod this, does exactly what it's supposed to do

Thx
Post Reply

Return to “[2.0.x] MODs in Development”