data_custom/messages.php 100777 765 120 4672 11511144005 12305 ustar$b)?$a:$b); } if (!is_file($FILE_BASE.'/sources/global.php')) { $a=strrpos($FILE_BASE,'/'); if ($a===false) $a=0; $b=strrpos($FILE_BASE,'\\'); if ($b===false) $b=0; $RELATIVE_PATH=substr($FILE_BASE,(($a>$b)?$a:$b)+1); $FILE_BASE=substr($FILE_BASE,0,($a>$b)?$a:$b); } else { $RELATIVE_PATH=''; } @chdir($FILE_BASE); global $NON_PAGE_SCRIPT; $NON_PAGE_SCRIPT=1; global $FORCE_INVISIBLE_GUEST; $FORCE_INVISIBLE_GUEST=0; global $KNOWN_UTF8; $KNOWN_UTF8=true; if (!is_file($FILE_BASE.'/sources/global.php')) exit(''.chr(10).'Critical startup error

ocPortal startup error

The second most basic ocPortal startup file, sources/global.php, could not be located. This is almost always due to an incomplete upload of the ocPortal system, so please check all files are uploaded correctly.

Once all ocPortal files are in place, ocPortal must actually be installed by running the installer. You must be seeing this message either because your system has become corrupt since installation, or because you have uploaded some but not all files from our manual installer package: the quick installer is easier, so you might consider using that instead.

ocProducts maintains full documentation for all procedures and tools, especially those for installation. These may be found on the ocPortal website. If you are unable to easily solve this problem, we may be contacted from our website and can help resolve it for you.


ocPortal is a website engine created by ocProducts.

'); require($FILE_BASE.'/sources/global.php'); require_code('chat'); @ini_set('ocproducts.xss_detect','0'); messages_script(); themes/default/templates_custom/JAVASCRIPT_SHAKE.tpl 100666 765 120 2727 11343436246 17077 ustarfunction do_shake() { var seconds=1,amount=30; var overflow_before=abstractGetComputedStyle(document.body,'overflow'); document.body.style.overflow='hidden'; var divs=document.getElementsByTagName('div'),current_positioning; for (var i=0;i=0;times--) window.setTimeout(shake_animate_func(times,divs,amount),1000*seconds+100*(8-times)*seconds); window.setTimeout( function() { for (var i=0;iwindow.sb_last_message_id) { window.sb_last_message_id=id; if (getInnerHTML(messages[i]).indexOf('((SHAKE))')!=-1) { do_shake(); } else { show_ghost(getInnerHTML(messages[i])); } var sb=document.getElementById('the_shoutbox'); if (sb.contentWindow.location.href.indexOf('posted')==-1) sb.contentWindow.location.reload(); } } } } themes/default/templates_custom/JAVASCRIPT_TEXT_GHOSTS.tpl 100666 765 120 1375 11410537345 20112 ustarfunction show_ghost(html_message) { var div=document.createElement('div'); div.style.position='absolute'; div.className='ghost'; setInnerHTML(div,html_message); var limit=36; for (var counter=0;counterquery_value_null_ok('chat_rooms','MIN(id)',array('is_im'=>0/*,'room_language'=>user_lang()*/)); if (is_null($room_id)) return new ocp_tempcode(); } $room_check=$GLOBALS['SITE_DB']->query_select('chat_rooms',array('*'),array('id'=>$room_id),'',1); if (!array_key_exists(0,$room_check)) return new ocp_tempcode(); require_code('chat'); if (!check_chatroom_access($room_check[0],true)) { global $DO_NOT_CACHE_THIS; // We don't cache against access, so we have a problem and can't cache $DO_NOT_CACHE_THIS=true; return new ocp_tempcode(); } $content=NULL; if (get_value('no_frames')==='1') $content=shoutbox_script(true,$room_id); $last_message_id=$GLOBALS['SITE_DB']->query_value('chat_messages','MAX(id)',array('room_id'=>$room_id)); if (is_null($last_message_id)) $last_message_id=-1; return do_template('BLOCK_SIDE_SHOUTBOX_IFRAME',array('LAST_MESSAGE_ID'=>strval($last_message_id),'CONTENT'=>$content,'ROOM_ID'=>strval($room_id),'NUM_MESSAGES'=>strval($num_messages))); } } themes/default/templates_custom/BLOCK_SIDE_SHOUTBOX.tpl 100666 765 120 2421 11343703545 17475 ustar
{MESSAGES}

themes/default/templates_custom/BLOCK_SIDE_SHOUTBOX_IFRAME.tpl 100666 765 120 1410 11413701445 20510 ustar{+START,BOX,{!SHOUTBOX},,{$?,{$GET,in_panel},panel,classic},tray_closed} {+START,IF_NON_PASSED,CONTENT} {+END} {+START,IF_PASSED,CONTENT} {CONTENT} {+END} {+END} themes/default/templates_custom/BLOCK_SIDE_SHOUTBOX_IFRAME.tpl 100644 765 120 0 0 20117 ustarmod.inf 644 765 120 627 11542100735 6631 ustarname=ocSupershout author=Chris Graham organisation=ocProducts Ltd version=6 incompatibilities= dependencies=Javascript enabled, Chatrooms description=This addon adds two new features to your shout box. Shake makes all the current visitors to your website's browser screen shake. The second makes any new messages within the shout box appear like an apparition and fly towards the current users of the site.