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,008
MyBB Compatibility: 1.4.x, 1.6.x, 1.8.x
Plugin License: GPLv3
Uploader: ZiNgA BuRgA
RateU Offline
Administrator
*******
Posts: 2,349
Joined: Mar 2010
Post: #61
RE: vB Quote
(05-31-2011 05:42 AM)Sama34 Wrote:  

Code:
2
Hide To Guests (0.3.1)


Try to deactivate/disable the plugin.

05-31-2011 06:22 AM
Find all posts by this user Quote this message in a reply
Sama34 Offline
Senior Member
****
Posts: 490
Joined: May 2011
Post: #62
RE: vB Quote
(05-31-2011 06:22 AM)RateU Wrote:  
(05-31-2011 05:42 AM)Sama34 Wrote:  

Code:
2
Hide To Guests (0.3.1)


Try to deactivate/disable the plugin.

It worked! Thanks Smile Is there a problem with this plugin or something?

Support PM's will be ignored. Yipi
Plugins: Announcement Bars - Custom Reputation - Mark PM As Unread
(This post was last modified: 05-31-2011 06:31 AM by Sama34.)
05-31-2011 06:31 AM
Visit this user's website Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,349
Joined: Mar 2010
Post: #63
RE: vB Quote
Glad you can solve the problem Smile

Not quite sure, you need to wait Yumi/ZiNgA to reply.

@ Yumi: Just for a "shortcut" Biggrin
http://mods.mybb.com/view/hide-to-guests

05-31-2011 07:06 AM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,355
Joined: Jan 2008
Post: #64
RE: vB Quote
The plugin copies all MyBB functionality and limits a number of variables to local scope.
Haven't tried, but maybe try this:
find:

PHP Code:
function HideToGuests_xmlhttp_multiquote()
{
    global $mybb, $db;

replace with:

PHP Code:
function HideToGuests_xmlhttp_multiquote()
{
    global $mybb, $db, $parser, $message;


My Blog
05-31-2011 08:13 AM
Find all posts by this user Quote this message in a reply
Sama34 Offline
Senior Member
****
Posts: 490
Joined: May 2011
Post: #65
RE: vB Quote
Yes, it worked replacing than ZiNgA BuRgA, thank you. Thanks to RateU too Biggrin

Support PM's will be ignored. Yipi
Plugins: Announcement Bars - Custom Reputation - Mark PM As Unread
05-31-2011 08:32 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Sama34 Offline
Senior Member
****
Posts: 490
Joined: May 2011
Post: #66
RE: vB Quote
I have installed those two plugins:

Code:
Preparser Cache (1.11)
imei Page Optimizer! (1.0.1)


The code is show when quoting and editing, but it isn't there when I reload the page.

Is there any problem regarding any of the above plugins?

(Preparser Cache (1.11) is installed but deactivated)

I read there is a issue with Preparser Cache (1.11) but I didn't find the solution/information about it.

Thanks for helping Tongue


Support PM's will be ignored. Yipi
Plugins: Announcement Bars - Custom Reputation - Mark PM As Unread
06-07-2011 02:17 PM
Visit this user's website Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,355
Joined: Jan 2008
Post: #67
RE: vB Quote
Preparser cache will work with it.
I don't know about the page optimiser plugin.

My Blog
06-07-2011 04:21 PM
Find all posts by this user Quote this message in a reply
Sama34 Offline
Senior Member
****
Posts: 490
Joined: May 2011
Post: #68
RE: vB Quote
Thanks Zinga Burga, it was the imei Page Optimizer plugin, can you find the problem please? If not, don't worry, it is not than necessary anyways Tongue

Thanks again. Biggrin

Support PM's will be ignored. Yipi
Plugins: Announcement Bars - Custom Reputation - Mark PM As Unread
06-08-2011 02:29 AM
Visit this user's website Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,355
Joined: Jan 2008
Post: #69
RE: vB Quote
It's stripping out comments needed by this plugin.  Maybe try this, find:

PHP Code:
$plugins->add_hook("pre_output_page", "imeiPageOptimizer");

Replace with

PHP Code:
$plugins->add_hook("pre_output_page", "imeiPageOptimizer", 9999);


My Blog
06-08-2011 11:35 AM
Find all posts by this user Quote this message in a reply
Sama34 Offline
Senior Member
****
Posts: 490
Joined: May 2011
Post: #70
RE: vB Quote
(06-08-2011 11:35 AM)ZiNgA BuRgA Wrote:  It's stripping out comments needed by this plugin.  Maybe try this, find:

PHP Code:
$plugins->add_hook("pre_output_page", "imeiPageOptimizer");

Replace with

PHP Code:
$plugins->add_hook("pre_output_page", "imeiPageOptimizer", 9999);


It worked! Thanks for taking the time Zinga Burga Smile

Pd: Next time will not forget to leave a download link (:

Support PM's will be ignored. Yipi
Plugins: Announcement Bars - Custom Reputation - Mark PM As Unread
(This post was last modified: 06-08-2011 12:32 PM by Sama34.)
06-08-2011 12:32 PM
Visit this user's website Find all posts by this user Quote this message in a reply


Forum Jump: