The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
preg_replace in functions_newpost.php help
Help with a preg_replace call in includes/functions_newpost.php
I currently have a simple preg_replace function working, not in the board system. I would like to apply it to all new posts before they are inserted into the DB. This is the original preg_replace PHP Code:
I tried the following to no avail in includes/function_newpost.php PHP Code:
Would also be great if the logic could make it so that the link shown is the original link, while the acutal url= part has the rewritten code. For asthetic purposes, because these links can get rather long. Thanks for the help. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|