![]() |
Editing Variables
I am looking to edit variables for instance $post which file would i be looking at to edit the output that is given as apposed to say 567 i wanted it to read something else. How would i edit the output?
|
$post is actually used all over the place. If you're looking for something more specific, someone might be able to help you. Generally, the route to take when starting on a hack is to enable template names in comments to find the template containing what you want to change, do a find in files for the template name to find the file responsible, then look for a hook in that file that you can use to change what needs changing. You can then make a plugin for that hook that has the code to place there.
|
I was reffering to how i would change the output of what $post actually does if you get me?
|
As I already stated, $post is used in about 50 templates and several files. Where exactly do you want it changed and what part of it? $post contains a lot of information and some of it comes from different sources than most of it, not only that, but $post can refer to an actual post, a private message, an announcement, a post in progress, and unless it's changed is still valid for accessing profile page data.
|
Oh sorry my misunderstanding i was led to believe that there was a palce where all these variables are placed in a PHP file.
|
All times are GMT. The time now is 10:25 PM. |
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:
|