The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
how grab all content of site in vb
Hello
I want to write cache plugin smth like that: Code:
if (user not login) { $cache_id = $_SERVER['REQUEST_URI']; if (cache_exist($cache_id) { echo get_cache($cache_id); die(); } else { generate_cache($cache_id); } } i want to have all content in one varible smth like: $cache = file_get_contents ($domain.$_SERVER['REQUEST_URI']); but upper example make double site load.. so its not good edit: i want to grab content of: index.php forumdisplay.php showthread.php showpost.php any idea ? --------------- Added [DATE]1238581933[/DATE] at [TIME]1238581933[/TIME] --------------- refresh anybody know the answer ? its very important for me or maybe it can to show all varibles and arrays defined in php ? |
#2
|
|||
|
|||
thx for help :P
if anybody want to know answer: all site content can be grab in global_complate hook in $output varible all varible in php we can show by: Code:
$vars = get_defined_vars(); print_r($vars); |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|