Back to vBulletin 3.5 Add-ons

vbRanking revised
Mod Version: 0.9, by testnutzer123

This modification is in the archives.
vB Version: 3.5.4 Rating: (0 vote - 0 average) Installs: 11
Released: 30 May 2006 Last Update: Never Downloads: 40
Not Supported Uses Plugins Additional Files Is in Beta Stage  

You might know the http://www.vbranking.com/ for vBulletin 3.5.x. (vB Ranking Version 1.1)
This one is a complete rewrite.

The plugin will regenrate links to a new format (e.g: showthread-goto_newpost-t_27730.html).
Webspiders, like the GoogleBot, will then parse the whole page and generate better search indexes from your forum.
  • does correctly handle "all" arguments
  • Less RewriteRules, less preg_replaces
  • Should do better performance-wise.
  • Only regenerates links for GUEST (i.e. all spiders)

Requirements
  • vB3.5
  • mod_rewrite
  • No active vbRanking from other vendor(s).

License
© 2006 by Nils Maier
http://www.opensource.org/licenses/gpl-license.php

Homepage
http://celebnamer.celebworld.ws/stuff/vbRanking/

Installation
  1. Install the RewriteRule stuff (upload and/or merge upload/.htaccess)
  2. Install the plugin (upload/product_*.xml)
  3. Done!

Code
(just as a reference the code from the plugin and from .htaccess).

Code is dead simple.
PHP Code:
<?php
/*
(C) 2006 by Nils Maier
License: GNU General Public License (GPL) 2.0, http://www.opensource.org/licenses/gpl-license.php
*/

function _c_vBRanking_replace($in)
{
    return 
sprintf(
        
'%s-%s.html%s',
        
$in[1],
        
preg_replace(array('/(&amp;|&(?!quot;|lt;|gt;))/''/=/'), array('-''_'), $in[2]),
        
$in[3]
    );
}
function 
vBRanking($in)
{
    return 
preg_replace_callback('-(<a.*href="(?!\w+:).*)\.php\?(.*)(#|")-Ums''_c_vBRanking_replace'$in);
}
if (!
$vbulletin->userinfo['userid'])
{
    
$output vBRanking($output);
}
?>
Rewrite Rules:
Code:
RewriteEngine on
RewriteRule ^(.*)-(.+?)_(.*?)\.html$ $1.html?$2=$3 [N,QSA,L]
RewriteRule ^(.*)\.html$ $1.php [QSA]
Notes
Beta version.
No support (maybe you'll get some if I have a nice day)

Download

This modification is archived and cannot be downloaded.

Similar Mods

Moderator Drop Down (Revised) v2 vBulletin 2.x Full Releases
Infamous Fame - Revised vBulletin 2.x Styles
[Revised] Edit, Quote, and Report hack vBulletin 2.x Template Modifications

vblts.ru supports vBulletin®, 2022-2025