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: 924
MyBB Compatibility: 1.4.x, 1.6.x, 1.8.x
Plugin License: GPLv3
Uploader: ZiNgA BuRgA
RateU Offline
Administrator
*******
Posts: 2,327
Joined: Mar 2010
Post: #11
RE: vB Quote
(05-20-2010 11:14 AM)Walkman 5.0 Wrote:  Frown this dont work on mybb 1.6

I have tried it. It works with 1.6 beta (1.5). You need to change:

PHP Code:
		'compatibility'	=> '16*',

to

PHP Code:
		'compatibility'	=> '15*,16*',


And change

PHP Code:
$GLOBALS['mybb']->version_code >= 1600

to

PHP Code:
$GLOBALS['mybb']->version_code >= 1500


(This post was last modified: 05-21-2010 02:15 PM by RateU.)
05-21-2010 02:08 PM
Find all posts by this user Quote this message in a reply
Technoman Offline
Forum Idiot
Posts: 108
Joined: Jun 2010
Post: #12
RE: vB Quote
(04-02-2010 10:39 AM)ZiNgA BuRgA Wrote:  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...

ok, yes it floats to the right ... how do i edit this in the theme or what do i look for and change or what?

Thanks
06-06-2010 06:33 PM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,338
Joined: Jan 2008
Post: #13
RE: vB Quote
Probably in the global.css of your theme, under "blockquote cite span".  Try removing the float value.

My Blog
06-06-2010 07:40 PM
Find all posts by this user Quote this message in a reply
Technoman Offline
Forum Idiot
Posts: 108
Joined: Jun 2010
Post: #14
RE: vB Quote
(06-06-2010 07:40 PM)ZiNgA BuRgA Wrote:  Probably in the global.css of your theme, under "blockquote cite span".  Try removing the float value.
blockquote cite span
{
    float: right;
    font-weight: normal;;  (is this normal the double symbols?)
}

sorry so I have to remove the "float right;" ?
or do I replace right to left?
(This post was last modified: 06-07-2010 08:09 AM by Technoman.)
06-07-2010 08:07 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,327
Joined: Mar 2010
Post: #15
RE: vB Quote
(06-07-2010 08:07 AM)Technoman Wrote:  font-weight: normal;;  (is this normal the double symbols?)

I think you should use only one symbol.

(06-07-2010 08:07 AM)Technoman Wrote:  sorry so I have to remove the "float right;" ?
or do I replace right to left?

Personally, I prefer to remove the "float: right;"

06-07-2010 08:27 AM
Find all posts by this user Quote this message in a reply
Technoman Offline
Forum Idiot
Posts: 108
Joined: Jun 2010
Post: #16
RE: vB Quote
a. I dropped the ;; to ONLY 1 ; like you said
b. removing the "float right;" made the plug in work

Question though what did removing the float actually do and since it did say right and thats where it was forcing the name of the user why wouldnt left of fixed it? As you can see I am in no way knowledgeable to understand so this why I ask questions to what I am asked to do.

Thanks
06-07-2010 08:40 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,327
Joined: Mar 2010
Post: #17
RE: vB Quote
If you change the "float" to "left", there is no space between "Username" and "Wrote". So, you need to add a padding or margin to separate them. That's why I prefer removing the "float: right;"

06-07-2010 08:52 AM
Find all posts by this user Quote this message in a reply
Technoman Offline
Forum Idiot
Posts: 108
Joined: Jun 2010
Post: #18
RE: vB Quote
Thanks for the explanation!
06-07-2010 08:57 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,327
Joined: Mar 2010
Post: #19
RE: vB Quote
You're welcome, Technoman Smile

06-07-2010 09:00 AM
Find all posts by this user Quote this message in a reply
Technoman Offline
Forum Idiot
Posts: 108
Joined: Jun 2010
Post: #20
RE: vB Quote
another thing that I just noticed

this site has a green arrow after username quote but on my localhost the arow isnt there but it was there before I installed this   can you tell me where I can fix this or try to find the culprit

1st pic showing no arrow on my localhost --->  2nd pic arrow is showing


Attached File(s) Thumbnail(s)
       
(This post was last modified: 06-07-2010 10:42 AM by Technoman.)
06-07-2010 10:41 AM
Find all posts by this user Quote this message in a reply


Forum Jump: