The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
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!
|
![]() |
|
|