PDA

View Full Version : Where to find a php variable found in a template


Kendothpro
08-25-2009, 11:04 PM
Hi guys! I recently bought a forum which included a custom modification, and I'd like to understand how it works and possibly move it to other forums

After some investigations I've found the most important part to be in a php variable named $preview[content], which is found in one of my templates

How do I find where that variable comes from?

I've tried the following:
- Plugin files hold no reference to that variable
- Phrases and languages yielded no results
- I've even searched all the php files in vbulletin using notepad++ "search in every file", which means no php file in vbulletin holds a reference to that variable

I'm completely at a loss now, any idea? :)

Marco van Herwaarden
08-28-2009, 09:32 AM
Search your files for $preview and you should get many results.