vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBadvanced CMPS (https://vborg.vbsupport.ru/forumdisplay.php?f=101)
-   -   vBAdvanced and 3.0.6 (https://vborg.vbsupport.ru/showthread.php?t=76330)

flstreetscene 02-14-2005 09:03 PM

vBAdvanced and 3.0.6
 
Are they compatible? :dead:

Thanks.

Chad F. 02-14-2005 09:05 PM

I'd like to know the same thing..

Zachery 02-14-2005 09:43 PM

Quote:

Originally Posted by Chad F.
I'd like to know the same thing..

Of course, theres no reason for a hack to become incompatible during minor version updates, unless there is some huge chunk of code changed, and even then

Most hacks for vBulletin 2.2.X worked for vBulletin 2.3.X

flstreetscene 02-15-2005 01:06 AM

I get this error when I modify my global.php;
Code:

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/florida/public_html/forums/includes/functions.php on line 2013
Then I get this after I restore the original global.php;
Code:

Warning: main(./includes/functions.php): failed to open stream: No such file or directory in /global.php on line 68

Fatal error: main(): Failed opening required './includes/functions.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/florida/public_html/forums/global.php on line 68


S.Shady 02-15-2005 02:46 PM

reinstall the hack

flstreetscene 02-15-2005 03:44 PM

I never installed it.. This was after I uploaded the files and before I ran the install script which I couldn't run because of the error..

btw when the instructions ask to insert the code above another do I insert RIGHT above or leave space?

SupraT 02-15-2005 03:50 PM

I use it and it works perfect. Also, remember if you just installed the upgrade to vB, you will need to redo many of the installation steps with vBadvanced. Once you do that it will work like a champ.

flstreetscene 02-15-2005 03:54 PM

in your profile it says your running 3.0.3

Quote:

Originally Posted by SupraT
I use it and it works perfect. Also, remember if you just installed the upgrade to vB, you will need to redo many of the installation steps with vBadvanced. Once you do that it will work like a champ.

I did everything as per instructions. Which leaves the installation page to be run as last..

I will recheck everything again.

Delphiprogrammi 02-15-2005 04:01 PM

hi,

be VERRY carefull with whitespaces... just do as the installation instructions tell you todo open global.php

PHP Code:

<?php
//find this code 
define('VB_AREA','Forum');
//below that code
if(defined('VBA_PORTAL'))
{
$phrasegroups array_merge($phrasegroups
        array(
            
'calendar'
            
'adv_portal',
            
'postbit'
        
)
    );
$specialtemplates array_merge($specialtemplates
        array(
            
'adv_modules',
            
'adv_portal_opts',
            
'attachmentcache',
            
'bbcodecache',
            
'birthdaycache',
            
'eventcache',
            
'iconcache',
            
'maxloggedin',
            
'smiliecache',
            
'userstats'
        
)
    );
$globaltemplates array_merge($globaltemplates,
        array(
            
'adv_portal',
            
'adv_portal_footer'
        
)
    );
// do not forget this
// find
// #############################################################################
// ######################## START TEMPLATES & STYLES ###########################
// #############################################################################
//above that ad this code
if (defined('VBA_PORTAL'))
{
    require_once(
'./includes/vba_cmps_include_top.php');
}
// find
// #############################################################################
// ######################### END TEMPLATES & STYLES ############################
// #############################################################################
//above that 

if (defined('VBA_PORTAL'))
{
    require_once(
'./includes/vba_cmps_include_bottom.php');
}
?>

that's it for global.php you must trictly follow the php syntax

flstreetscene 02-15-2005 07:17 PM

Ok I just found out it's not the global.php document but functions.php instead.

I get the following error;
Code:

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/florida/public_html/forums/includes/functions.php on line 2013
And I know I did everything as per instructions to this document;
Code:

// query calendar permissions
        if (THIS_SCRIPT == 'online' OR THIS_SCRIPT == 'calendar' OR (THIS_SCRIPT == 'adv_index') OR (THIS_SCRIPT == 'index' AND $vboptions['showevents']))
        { // Only query calendar permissions when accessing the calendar or subscriptions or index.php

on line 2013 I have this;
Code:

                $debughtml .= " (<a href=\"" . htmlspecialchars_uni(SCRIPTPATH) . iif(strpos(SCRIPTPATH, '?') '?')'?')'?')'?')=== false, '?', '?','?','?','?','&amp;') . "tempusage=1\">Template Usage</a>) (<a href=\"" . htmlspecialchars_uni(SCRIPTPATH) . iif(strpos(SCRIPTPATH, '?') '?')'?')'?')'?')=== false, '?', '?','?','?','?','&amp;') . "explain=1\">Explain</a>)<br />\n";


All times are GMT. The time now is 11:19 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
  • Page Generation 0.02352 seconds
  • Memory Usage 1,748KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_code_printable
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete