Back to vBulletin 3.6 Add-ons

Nested Quotes
Mod Version: 1.00, by DJ XtAzY

This modification is in the archives.
vB Version: 3.6.4 Rating: (3 votes - 4.67 average) Installs: 60
Released: 18 Aug 2006 Last Update: 07 Dec 2006 Downloads: 141
Not Supported Code Changes  

UPDATE 12/7/06: The hack is updated with CoreIssue's code edit mentioned in the posts. It's more simple and you only add one line to it. Tested on vb3.6.4 so it now works fine!

Difficulty: Extremely Easy
Time take to install: 15 seconds

Version Info
v1.01 Hack updated with CoreIssue simple file edit. Should work with all version of vb now.
v1.0 Initial Release

I made a suggestion on vb.com but it seems like the developers are not interested. But then a nice member rossco2005 helped me out since we both like the idea to have nested quote feature in our boards WHEN we click on the Quote button. Nested quotes are used in phpbb and IB forums. Nested quotes are used in VB's private message area, but for some reason they wont work for the forums.

So let me show you an example on how this works. Let say i made this post.

------Post #1------
There are 11 planets in our solar system
-------------------

And if someone (let say Bot) click on the Quote button and submit a new post it should turn out like this

------Post #2------
Quote by XtAzY
There are 11 planets in our solar system
Welcome!
--------------------

But if another person (let say Bot1) hit the quote button for that previous post it will return this

------Post #3------
Quote by Bot
No there are 20
You guys are both rong idiots!
--------------------

But instead we want it to turn like this when we click on the quote button

------Post #3-------

Quote by Bot
Quote by XtAzY
There are 11 planets in our solar system
No there are 20
You guys are both wrong idiots!
--------------------

Get the picture?

So here is the code modification on how to put nested quotes on your forums.

Files to edit: functions.php

In file functions.php, find:

Code:
function strip_quotes($text)
{
        $lowertext = strtolower($text);
Replace with:

Code:
function strip_quotes($text)
{
        return $text;
        $lowertext = strtolower($text);
Easy as cake! Go thank CoreIssue for this easy hack =]

Upgrading from 1.0 to 1.01
Replace the original functions.php from vb and then perform the edits.

Anyways i hope this is useful for peeps who need nest quotes. If someone can make it more advanced, like into a product or plugin, go ahead =]. I was hoping this can be built into the vb admin panel and lets u control how many nested quotes are allow per post, so that u dunt need to edit the file every upgrade or edit the file whenever u want to change the amount of nested quotes.

Download

This modification is archived, downloads are still allowed.

File Type: %1$s Nested Quotes.txt (913 Bytes, 189 downloads)

Similar Mods

New Posting Features Nested Quotes vBulletin 3.7 Add-ons
New Posting Features Nested Quotes vBulletin 3.6 Add-ons
Nested Quotes vBulletin 3.0 Full Releases

vblts.ru supports vBulletin®, 2022-2024