![]() |
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?
|
|
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']); |
can someone help with this: i want to create a home page where all the latest post are displayed. how do i do this?
|
Create your own thread, don't hijack other's.
|
Quote:
|
All times are GMT. The time now is 09:07 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|