Back to vBulletin 3.0 Add-Ons

Cerb's Custom Query Strings hack! (Looks awesome!)
Mod Version: 1.00, by Cerb

This modification is in the archives.
vB Version: 3.0.3 Rating: (0 vote - 0 average) Installs: 3
Released: 25 Aug 2004 Last Update: Never Downloads: 0
Not Supported  

Alright, this is really useless but it looks really cool.

First I'll explain what a query string is.

Well a query string is "additional page information" for instance index.php?page=forums&sid=1

Well the query string here is page=forums&sid=1

What this hack allows you to do is to replace this " = " and " &"

Instead of having (using the same example) index.php?page=forums&sid=1, you could have index.php?page:forums,sid:1

Yes, this IS useless, however it looks really cool and professional.

This is pretty long to install. You've got to open all your vB files and change every link, replacing ' = ' with $qs['eq'] and ' & ' with $qs['and']

For instance, replace:

Code:
"online.php?$session[sessionurl]sort=$sortfield&order=$sortorder&pp=$perpage"
with

Code:
"online.php?$session[sessionurl]sort".$qs['eq']."$sortfield".$qs['and']."order".$qs['eq']."$sortorder".$qs['and']."pp".$qs['eq']."$perpage"

Anyways, you understand. This is quite long. I think I'm going to eventually write a small application in C++ to do it for you. Anyways, if you have the time to do it, hope you'll enjoy your custom URL's :-D

Note that you can also use this on ANY php page, not only vB.

Then add this at the top of your global.php file, right after the <?php
PHP Code:
    $qs['eq'] = "="// Change me
    
$qs['and'] = "&amp;";  // Change me

        
$queryAND explode($qs['and'],$_SERVER["QUERY_STRING"]);

        for(
$i=0;$i<sizeof($queryAND);$i++)
        {
            
$queryEQ explode($qs['eq'],$queryAND[$i]);
            
$_GET$queryEQ[0] ] = $queryEQ[1];
        } 

EDIT: Fixed a mistake ^_^

Download

No files for download.

Similar Mods

Cerb's Anti-Proxy Hack - 15 seconds install vBulletin 3.0 Full Releases

vblts.ru supports vBulletin®, 2022-2024