The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
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?
|
#2
|
||||
|
||||
![]()
$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.
|
#3
|
|||
|
|||
![]()
I was reffering to how i would change the output of what $post actually does if you get me?
|
#4
|
||||
|
||||
![]()
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.
|
#5
|
|||
|
|||
![]()
Oh sorry my misunderstanding i was led to believe that there was a palce where all these variables are placed in a PHP file.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|