Printable Version of Topic
Click here to view this topic in its original format
Initial D World - Discussion Board / Forums > Announcement Board > IPB 1.3 Multi-Quote


Posted by: Perry Jun 16 2012, 10:59 PM
After a whole month of testing and implementing this new feature, I am happy to give you Multi-Quote. This is probably one of the most wanted features through the years. It took so long to implement this feature due to two reasons: 1.) The IPB 1.3 code was not written with multiple quotes in mind. Short of rewriting a good portion of the post parser, implementing based on the original codes would be nearly impossible; 2.) To implement such feature in this forum software, one must think outside of the box. The post parsing must be done "on-the-fly" so to speak and not server-side. Javascript is the best candidate when parsing elements in the browser. However, my knowledge in javascript was mediocre at best at the time.

Up until a little more than a month ago, I was still clueless in implementing this feature. Then I came across http://speakwhatsreal.com and noticed the way they implemented Multi-Quote can be useful to my own implementation. The original javascript codes was over 10KB in size, I was successful in reducing https://idforums.net/html/p.js to a mere 2.8KB. The main reason why it took me so long to implement is because I wanted an unique way to multi-quote. You'll notice our Multi-Quote is different than the way SWR does it. The main idea is the same: that is grabbing the text in the post, parse them "on-the-fly" and insert the parsed text into the Fast Reply box. However, I added a small twist to our Multi-Quote as shown below;

user posted image
Image size reduced, original size: 900 x 409. https://idforums.net/images/mquote.jpg to view the image in its original dimension.


Upon clicking on the MQ+ button, a float box will pop up at the bottom right corner. You are presented with three options: 1.) Reply to X quoted posts; 2.) More Options; and 3.) Clear. Clicking on Reply to quoted posts will take you directly to the bottom of the thread with all the posts you quoted. Clicking on More Options will take you directly to the normal Add Reply screen with all the post options and Clear will clear all the text in the buffer.

There is a few things to note here. Once you start typing in the Fast Reply box, the MultiQuote button will cease to function. This is to prevent accidental removal of the content you just typed. I highly recommend clicking on all the posts that you want to quote first before typing. With that said, please let me know if you have any questions regarding this new feature.

P.S. - It's going to take some time to get used to an extra button being there. The normal Quote button is now at where the Edit button used to be. pinch2.gif

Posted by: Nomake Wan Jun 16 2012, 11:41 PM
Excellent work, Pear. I know how much effort you put into this and it really shows. Pat yourself on the back! cool.gif

...Then answer me about what happened to the placement of member titles relative to avatars and user information. awesome.gif

Posted by: Perry Jun 16 2012, 11:59 PM
QUOTE (Nomake Wan @ 18 minutes, 2 seconds ago)
...Then answer me about what happened to the placement of member titles relative to avatars and user information. awesome.gif

Wait, what do you mean by that exactly, Donz0rz!? o.O

Edit: Wait, do a force reload. I think the stylesheet is still using the the cache on your computer. sad.gif

Posted by: Nomake Wan Jun 17 2012, 12:54 AM
Did a force reload, it still seems like a space has been added between the member title and the avatar that I don't recall being there before.

EDIT: Pulled up an ancient screenshot and it looks like I'm wrong. I'm guessing I must've seen a page that was missing pips/staff while Perry was working on the stylesheet and gotten confused. My bad!

Posted by: Lebon14 Jun 17 2012, 04:47 AM
That is great work Pear. Truly awesome. Even on KittysATechBlack! tongue.gif

EDIT

Wait, there's no popup on KittysATechBlack. It appears between the "thread path" and the posts ._.

Posted by: kyonpalm Jun 17 2012, 05:36 AM
QUOTE (Lebon14 @ 48 minutes, 24 seconds ago)
Wait, there's no popup on KittysATechBlack. It appears between the "thread path" and the posts ._.

It's working fine for me.

user posted image
Image size reduced, original size: 1854 x 890. http://i.minus.com/ipujsnHwvLx2n.jpg to view the image in its original dimension.


Perhaps it's your browser? I am using Firefox 13.0.1

Anyway, great to see this feature fully implemented! I'm sure we will all make great use of it, so your effort really paid off Perry - thanks!

Posted by: Perry Jun 17 2012, 10:38 AM
QUOTE (Lebon14 @ 5 hours, 50 minutes ago)
Wait, there's no popup on KittysATechBlack. It appears between the "thread path" and the posts ._.

Do a force reload. I think the stylesheet is still serving the cached version from your computer. Press Ctrl + F5 twice, that should purge your cache. smile.gif

[ Post made via Mobile Device ]

Posted by: Mazda ina Ford guy Jun 17 2012, 05:18 PM
Quote @ Perry

....javascript was over 10Kb, I was succsessful at reducing it to 2.8Kb....

Like a F**ing Bawss. Bows deeply.

EDIT: For accuracy. derp.gif

[ Post made via Mobile Device ]

Posted by: Nerubian Jun 17 2012, 05:43 PM
Is this the reason why you were so busy the past weeks?

Posted by: Wanderer Jun 17 2012, 05:46 PM
Could we expect this on the mobile site anytime soon?

[ Post made via Mobile Device ]

Posted by: Tessou Jun 17 2012, 05:53 PM
QUOTE (Nerubian @ 9 minutes, 40 seconds ago)
Is this the reason why you were so busy the past weeks?

Hahahahahahaaaaaaaa!

NO. Never assume that Perry is actually busy with the forum 24/7. The bastard's just lazy. laugh.gif

Posted by: THE_HONDA_CG2 Jun 17 2012, 05:53 PM
QUOTE (Nerubian @ 8 minutes, 42 seconds ago)
Is this the reason why you were so busy the past weeks?

Yes, and he will still be busy getting ready for the AX meet.

*scribbles something down in a ledger*

Don't expect any answers in his "Ask Me Anything" thread soon.

QUOTE (ATRUM_Neto @ 5 minutes, 9 seconds ago)
Could we expect this on the mobile site anytime soon?

As for that I don't really know when it will be implemented for mobile devices. I shall bother Perry about that too. laugh2.gif

Posted by: Nerubian Jun 17 2012, 06:24 PM
What is the AX meet? Is it the Anime Expo? derp.gif

Posted by: Nomake Wan Jun 17 2012, 06:52 PM
QUOTE (Nerubian @ 28 minutes, 22 seconds ago)
What is the AX meet? Is it the Anime Expo? derp.gif

Yes, it stands for Anime Expo. There will be a gathering of IDW members on Saturday.

I don't think MQ will be implemented on the mobile site personally, but I'll leave that for Pear to answer decisively...

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)