vB Quote
Author Message
I believe that tagging syntax on forums should generally be as simple as possible, as most people aren't really coders.
MyBB generally conforms well to this (tags are generally quite simple), except the new quote tag introduced in MyBB 1.4.

Personally, something like this is a bit too much code IMO:

Code:
[quote='Joe' pid='13892' dateline='1239871234987' some_other_crap='98j2983j4ad']

...and the user probably doesn't really know the reasoning behind everything.
This plugin turns something like the above to something similar to vB quoting, like:

Code:
[quote=Joe;13892]

which, IMO, is much simpler and nicer.

This plugin also has a few other features:

  • [ and ] characters in usernames don't break up the quote
  • username will automatically be updated if a user's username gets changed
  • user profile link in quote

The package includes a MyBB 1.4 and a MyBB 1.6/1.8 version.  Ensure you upload the correct .php file to your inc/plugins/ folder.
Note that the MyBB 1.4 version doesn't handle [ and ] characters completely right, whereas the 1.6 version does.


Update on 19th May, 2010: Also note: it may be possible for users to gain some information about posts in hidden forums/threads/posts by playing around with the pid in the quote.  I haven't implemented any protection against this in this plugin, but I don't really think this is really that big of an issue as they can only really get the timestamp and user who made the post but not the content.

Update on 4th Jan, 2011: This plugin won't modify existing quotes in any way, eg, it won't change the syntax or style of quotes made before this plugin was activated.
(This post was last modified: 03-10-2016 09:44 PM by ZiNgA BuRgA.)
Find all posts by this user
Quote this message in a reply
Download: vbquote-1.16.7z (3.81 KB)
Plugin Version: 1.16
Last Updated: 03-10-2016, 09:44 PM

Downloads: 1,105
MyBB Compatibility: 1.4.x, 1.6.x, 1.8.x
Plugin License: GPLv3
Uploader: ZiNgA BuRgA
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #2
RE: vB Quote
I like the user profile link in quote. Thanks, Yumi.

03-30-2010 08:59 AM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #3
RE: vB Quote
Thanks Tongue

Updated the MyBB 1.6 version to v1.11, just fixing a small bug which may cause the quotes not to be parsed properly.

My Blog
04-02-2010 10:00 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #4
RE: vB Quote
Yumi, is it possible to use formatted username for the profile link in the quote?

Thanks for the update, Yumi.

04-02-2010 10:05 AM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #5
RE: vB Quote
Sure, here's a mod of v1.1 for MyBB 1.4 which should do it.

Note that you may need to modify your theme to stop the username from floating to the right...


Attached File(s)
.php  vbquote.php (Size: 6.02 KB / Downloads: 827)

My Blog
04-02-2010 10:39 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #6
RE: vB Quote
Wow.. Great! Thank you very much, Yumi!

Screenshot for the quote:

[Image: 18gjz4.jpg]

(This post was last modified: 04-06-2010 03:50 AM by RateU.)
04-02-2010 10:44 AM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #7
RE: vB Quote
Just a note to users using this plugin, I've realised that this plugin doesn't actually do permissions checking on the pid specified in the quote tag.  As such, it may be possible for a rouge user to try to gain information by playing around with the pid, though this isn't really the easiest thing, and at best, they can only obtain a timestamp and user of a hidden post/thread/forum and nothing else.
Just pointing this out to anyone concerned.

Ultimately, it's a small thing, and not terribly easy to fix unfortunately, so I've decided not to bother.

My Blog
(This post was last modified: 05-19-2010 07:06 PM by ZiNgA BuRgA.)
05-19-2010 07:06 PM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #8
RE: vB Quote
Thank you very much for the info, Yumi Smile

05-20-2010 08:53 AM
Find all posts by this user Quote this message in a reply
Walkman 5.0 Offline
Junior Member
**
Posts: 11
Joined: Mar 2010
Post: #9
RE: vB Quote
Frown this dont work on mybb 1.6
05-20-2010 11:14 AM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #10
RE: vB Quote
(05-20-2010 11:14 AM)Walkman 5.0 Wrote:  Frown this dont work on mybb 1.6
When saying something "doesn't work" it would be appreciated if more info is given.

But anyway, I presume if this is a compatibility thing, I think the 1.6 beta is marked as version 1.5, so you may need to update that.

My Blog
05-20-2010 11:46 AM
Find all posts by this user Quote this message in a reply


Forum Jump: