Welcome to vbmods.rocks! Get FREE and paid vBulletin mods, plugins, addons, API extensions, custom modules, custom BB Codes, vBCloud mods, CORE hacks, JS hacks, custom coding by Glenn, an ex-vBulletin Developer. You must register before you can post, download the files or copy the code from the free plugins.
Hi.. I need help in plugin or a product that replace a certain sentence with another inside the post, for example, replacing <div class=test> to become "TESTDIV" after the post appears
Thank you
I know, I know. This code is a default code in threadview header.. I had a problem explaining, but in short. All I need is what I wrote in the first post. And thank you very much
There are a couple ways to replace content in a post. You can do it on client-side (using JS) or server-side (using PHP). And using PHP, there are also a number of ways to go about it using PHP hooks, API extensions, template hooks, custom controller, replacement variables.. If you could describe in more details of exactly what you want to do or replace, then I will be able to offer a more useful or appropriate and concrete solution.
There's no PHP hook when a post is rendered, only for when the entire page is rendered. Doing it there would not be good for performance.
Can you describe in more specific details what you want to accomplish? I know you want to replace some content in a post. What is that specific content?
Comment