The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hello,
I am trying to check if a string is in the topic title of a new thread, Then modify it. PHP Code:
Im doing this in newthread.php and the code above only works under these conditions: 1) blah is the first word in the subject field 2) The subject field contains only blah 3) Nothing is appended to blah I have tried quite alot of different methods with no luck, Any help would be appreciated. |
#2
|
||||
|
||||
![]()
It returns a string if it finds it, and false if it's not there. So, combining your code together:
PHP Code:
PHP Code:
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|