The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
[you] hack
Is there a chance of someone being able to port over this hack or the original author doing it. Also maybe with the option to limit its use by usergroup.
https://vborg.vbsupport.ru/showthrea...8&page=1&pp=15 |
#2
|
|||
|
|||
LOL. Weird. I was just coming here to request that.
|
#3
|
||||
|
||||
In includes/functions.php find:
PHP Code:
PHP Code:
|
#4
|
|||
|
|||
Great! Thank You.
|
#5
|
|||
|
|||
Thanks saved me the trouble of making it
|
#6
|
|||
|
|||
Now anyway so you can edit a post and it not get all screwed up? As in not lock in your username instead of {bbusername}
|
#7
|
||||
|
||||
Where will this all work at? Just in posts? Any way to get it to work in thread titles, too?
|
#8
|
|||
|
|||
Quote:
|
#9
|
||||
|
||||
Great! How about the seach page?
NTLDR, how would I add this code to this? It has the microstats hack in it. // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! // ! MicroStats Hack for vB 3.0 Gamma By: Apoco ! // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! function process_replacement_vars($newtext, $sendheader = 1) { // parses replacement vars global $DB_site, $vboptions, $style, $stylevar, $newpmmsg, $_SERVER, $microstats; static $replacementvars; if (connection_status()) { exit; } // do vBulletin 3 replacement variables if (!empty($style['replacements'])) { if (!isset($replacementvars)) { $replacementvars = unserialize($style['replacements']); } // this is WAY too slow! //$newtext = strtr($newtext, $replacementvars); // using str_replace() has case-sensitivity issues... //$newtext = str_replace(array_keys($replacementvars), $replacementvars, $newtext); // this is slower than str_replace() but is case-insensitive, so we'll use it. $newtext = preg_replace(array_keys($replacementvars), $replacementvars, $newtext); } $newtext = str_replace(('{microstats}'), $microstats, $newtext); // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! return $newtext; } |
#10
|
||||
|
||||
Try using:
PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|