The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
I need to change the ' character to ` in the first post in threads....I told you it was mad!
|
#2
|
||||
|
||||
$message = preg_replace("/([\?\!]+)/e", "substr('\\1',0,1)", $message);
I know if this is posted in Newthread it will remove multiples !!! ??? from your message so maybe someone can alter this to change the characters |
#3
|
||||
|
||||
Mad but easy.
PHP Code:
|
#4
|
||||
|
||||
Quote:
cheers 1 more thing is it possible to stop empty lines in the post, I tried changing <br><br> to .... but I guess it wont work with HTML |
#5
|
||||
|
||||
Argh, for some reason the escape character was stripped. (you need to escape the escape character )
Code:
$message=str_replace('\\'','`',$message); |
#6
|
||||
|
||||
It worked fine as below mate
PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|