The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Editing vb:raw post.message
Hello, I wish to do some automatic word find and link replace (using preg_replace) any given word found on the post. I figured that in the templates, vb:raw post.message is the variable that contains every message per post, but I don't know where in the php file affects this variable. What is the final parsed variable in the php file before being pushed onto vb:raw post.message, and what php file is it located in?
|
#2
|
||||
|
||||
|
#3
|
||||
|
||||
You can make a plugin at "postbit_display_complete" hook and do preg_replace etc...
like: Code:
$post['message'] = preg_replace('/findme/','replacewith',$post['message']); |
#4
|
|||
|
|||
can someone help with this: i want to create a home page where all the latest post are displayed. how do i do this?
|
#5
|
||||
|
||||
Create your own thread, don't hijack other's.
|
#6
|
|||
|
|||
a thousand apologies!
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|