The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
![]()
Thank You very much! I didnt know that its simple!
But I have one problem. when I set: Code:
$find = 'Alfa Romeo 156'; $replace = '<a href="http://www.forum.alfaholicy.org/156/">Alfa Romeo 156</a>'; $post['message'] = str_ireplace ($find, $replace, $post['message']); $find = 'Alfa 156'; $replace = '<a href="http://www.forum.alfaholicy.org/156/">Alfa 156</a>'; $post['message'] = str_ireplace ($find, $replace, $post['message']); $find = '156'; $replace = '<a href="http://www.forum.alfaholicy.org/156/">156</a>'; $post['message'] = str_ireplace ($find, $replace, $post['message']); ![]() I can fix it with simple IF php function? EDIT And how fix it: I have 2 replace for Alfa Romeo's models: Alfa Romeo GT Alfa Romeo GTV And this script replace only 'Alfa Romeo GT' in phrase 'Alfa Romeo GTV' too |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|