![]() |
Quote:
<div> <?php include '../community/cforumstats.php'; ?> </div> or if i add the code directly into the page like: <div> <?php error_reporting(E_ALL & ~E_NOTICE); // # DEFINE IMPORTANT CONSTANTS define('NO_REGISTER_GLOBALS', 1); define('THIS_SCRIPT', 'cforumstats'); // # REQUIRE BACK-END $curdir = getcwd(); chdir('/home/***/public_html/community'); require_once('global.php'); // # START MAIN SCRIPT $navbits = array(); eval('print_output("' . fetch_template('cforumstats') . '");'); chdir($curdir); ?> </div> for an update, i saw in the german vbulletin forum someone had the same problem but i can't read german so i don't know if it was solved or not. it looked like they were talking about cookeis. |
You should ask at the support thread/site of your CMS.
|
PHP Code:
Should look like: PHP Code:
|
Quote:
Quote:
no luck. same error. ;) |
Which error(s) are you getting specifically? The same few on the first page?
|
first, thanks for everyone's replies so far. some boards will just ignore you or just tell you to move on. i appreciate everyone's input so far.
i get this error: Fatal error: Call to a member function query_first_slave() on a non-object in /home/***/public_html/community/includes/functions.php on line 1368 |
That error usually occurs when vBulletin's global.php is included inside of a function.
|
so since it's not inside a function withing my cforumstats.php file you think the cms is executing a function to include that code maybe? did that make sense?
--------------- Added [DATE]1236457601[/DATE] at [TIME]1236457601[/TIME] --------------- actually, it doesn't seem to work anywhere outside the forum directory. i don't get any errors when i try outside the cms but the page just won't load. i think it might have to do with the 'Product' i'm trying to call. $cybtopstats == Cyb - Advanced Forum Statistics. not sure why the developer keeps ignoring my questions when it says in the description that what i'm trying to do can be done and that it's a supported Mod. |
Try adding this to the top of your headinclude template:
HTML Code:
<base href="http://www.yoursite.com/forum" /> |
i seem to have this working anywhere outside the forum directory now.
it still won't work in the only place i need it though and that's the cms. i'm guessing the cms is forcing it to be a nested function. is there anyway to get around the nested function thing? thanks for stickin with me on this. :) |
All times are GMT. The time now is 11:17 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:
|