Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 26 Aug 2009, 00:04
Kendothpro Kendothpro is offline
 
Join Date: Sep 2005
Where to find a php variable found in a template

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?
Reply With Quote
  #2  
Old 28 Aug 2009, 10:32
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Search your files for $preview and you should get many results.
__________________
Marco van Herwaarden
Ex vBulletin.org Coordinator
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 03:10.

Layout Options | Width: Wide Color: