html in overal_footer

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Scam Warning
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
TandyServices
Registered User
Posts: 10
Joined: Thu May 28, 2009 12:13 am

html in overal_footer

Post by TandyServices »

Hello,

I'm trying to add the following to my overall_footer:

Code: Select all

<!-- BEGIN PHP Live! code, (c) OSI Codes Inc. -->
<script language="JavaScript" src="http://www.mysite.com/phplive/xx/status_image.php?base_url=http://www.mysite.com/phplive&l=user&x=1&deptid=5&"><a href="http://www.phplivesupport.com"></a></script>
<!-- END PHP Live! code : (c) OSI Codes Inc. -->
But, I'm getting a parse error and everything in the footer is gone. Is there something wrong with my code?

Thanks

User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 51209
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: html in overal_footer

Post by stevemaury »

Delete those beginning and ending tags.
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)

TandyServices
Registered User
Posts: 10
Joined: Thu May 28, 2009 12:13 am

Re: html in overal_footer

Post by TandyServices »

That did resolve the error.. But the live support image and link inside the image are not showing up at all. Not even a red x or something.. Any suggestions?

On removing that part of the code, on my vBulletin forum and BoonEx Dolphin pages it works perfectly with those lines, so never thought of removing them. Thanks anyway :)

User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 51209
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: html in overal_footer

Post by stevemaury »

Paste just this into your browser and you will see it is 404:

Code: Select all

http://www.mysite.com/phplive/xx/status_image.php?base_url=http://www.mysite.com/phplive&l=user&x=1&deptid=5&
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)

TandyServices
Registered User
Posts: 10
Joined: Thu May 28, 2009 12:13 am

Re: html in overal_footer

Post by TandyServices »

Actually, I get a really long piece of code then..

Code: Select all

" ; style += "" ; document.write( style ) ; if (ie||w3) browser_width = document.body.offsetWidth ; else browser_width = window.outerWidth ; function toggleMotion( flag ) { if ( flag ) halt = 1 ; else halt = 0 ; } function initializeProactive_1562539() { if(!ns && !ie && !w3) return ; if(ie) ProactiveDiv = eval('document.all.ProactiveSupport_1562539.style') ; else if(ns) ProactiveDiv = eval('document.layers["ProactiveSupport_1562539"]') ; else if(w3) ProactiveDiv = eval('document.getElementById("ProactiveSupport_1562539").style') ; if (ie||w3) ProactiveDiv.visibility = "visible" ; else ProactiveDiv.visibility = "show" ; backtrack = 0 ; isclosed = 0 ; repeat = 1 ; moveIt(20) ; } function moveIt( h ) { if (ie) { documentHeight = document.body.offsetHeight/2+document.body.scrollTop-20 ; documentWidth = document.body.offsetWidth ; } else if (ns) { documentHeight = window.innerHeight/2+window.pageYOffset-20 ; documentWidth = window.innerWidth ; } else if (w3) { documentHeight = self.innerHeight/2+window.pageYOffset-20 ; documentWidth = self.innerWidth ; } ProactiveDiv.top = documentHeight-100 ; ProactiveDiv.left = documentWidth/2 ; // mod ProactiveDiv.left = h ; if ( h > ( browser_width - 350 ) ) backtrack = 1 ; if ( backtrack && repeat && !halt ) h -= 2 ; else if ( !backtrack && repeat && !halt ) h += 2 ; if ( halt ) { setTimeout("moveIt("+h+")",timer) ; } else if ( ( !backtrack || ( backtrack && ( h >= 20 ) ) ) && ( ( ProactiveDiv.visibility == "visible" ) || ( ProactiveDiv.visibility == "show" ) ) && repeat && !isclosed ) setTimeout("moveIt("+h+")",timer) ; else if ( !isclosed ) { backtrack = 0 ; repeat = 0 ; setTimeout("moveIt("+h+")",timer) ; } else { // incase it is closed during when it's off the page, set the position // back to the page so the horizontal scrollbars disappear (IE only) ProactiveDiv.left = h ; } } function DoClose(){ if (ie||w3) ProactiveDiv.visibility = "hidden" ; else ProactiveDiv.visibility = "hide" ; isclosed = 1 ; halt = 0 ; } /********************************************/ /********************************************/ function checkinitiate_1562539() { initiate = pullimage_1562539.width ; if ( ( initiate == 2 ) && !chat_opened ) { chat_opened = 1 ; popblock_action_id = 2 ; launch_support_1562539() ; } else if ( ( initiate == 3 ) && !chat_opened ) { chat_opened = 1 ; initializeProactive_1562539() ; } else if ( initiate == 100 ) { do_tracker_flag_1562539 = 0 ; } if ( ( initiate == 1 ) && chat_opened ) chat_opened = 0 ; } function do_tracker_1562539() { // check to make sure they are not idle for more then 1 hour... if so, then // they left window open and let's stop the tracker to save server load time. // (1000 = 1 second) var unique = dounique() ; time_elapsed = unique - start_tracker ; if ( time_elapsed > 3600000 ) do_tracker_flag_1562539 = 0 ; pullimage_1562539 = new Image ; pullimage_1562539.src = "http://www.mysite.com/phplive/image_tracker.php?l=user&x=1&deptid=5&pagex="+url+"&unique="+unique ; pullimage_1562539.onload = checkinitiate_1562539 ; if ( do_tracker_flag_1562539 == 1 ) setTimeout("do_tracker_1562539()",tracker_refresh) ; } function start_timer_1562539( c ) { if ( c == 0 ) { if ( !chatwindow_loaded && ( popblock_action_id == 1 ) ) alert( "Popup blocker prevented the loading of the chat window. Please press while clicking the chat image." ) ; else if ( !chatwindow_loaded && ( popblock_action_id == 2 ) ) { NotifyPopupBlocker_1562539() ; chat_opened = 1 ; popblock_action_id = 1 ; initializeProactive_1562539() ; } else chatwindow_loaded = 0 ; } else { --c ; var temp = setTimeout( "start_timer_1562539("+c+")", 1000 ) ; } } function launch_support_1562539() { start_timer_1562539( 2 ) ; var request_url_1562539 = "http://www.mysite.com/phplive/request.php?l=user&x=1&deptid=5&pagex="+url ; var newwin_chat = window.open( request_url_1562539, unique, 'scrollbars=no,menubar=no,resizable=0,location=no,screenX=50,screenY=100,width='+chat_width+',height='+chat_height+'' ) ; if ( newwin_chat ) { newwin_chat.focus() ; DoClose() ; chatwindow_loaded = 1 ; } } function WriteChatDiv() { var scroll_image = new Image ; scroll_image.src = "http://www.mysite.com/phplive/scroll_image.php?x=1&l=user&"+unique ; output = "
" ; output += "" ; output += "  close window  
 
" ; output += " " ; output += "" ; output += " 
" ; output += "
" ; document.writeln( output ) ; if(ie) ProactiveDiv = eval('document.all.ProactiveSupport_1562539.style') ; else if(ns) ProactiveDiv = eval('document.layers["ProactiveSupport_1562539"]') ; else if(w3) ProactiveDiv = eval('document.getElementById("ProactiveSupport_1562539").style') ; if (ie||w3) ProactiveDiv.visibility = "hidden" ; else ProactiveDiv.visibility = "hide" ; } function RejectInitiate() { var rejectimage_1562539 = new Image ; rejectimage_1562539.src = "http://www.mysite.com/phplive/image_tracker.php?l=user&x=1&deptid=5&unique="+unique+"&action=reject" ; DoClose() ; chat_opened = 0 ; } function NotifyPopupBlocker_1562539() { var notifyimage_1562539 = new Image ; notifyimage_1562539.src = "http://www.mysite.com/phplive/image_tracker.php?l=user&x=1&deptid=5&unique="+unique+"&action=notifypopup" ; } var status_image_1562539_5 = "" ; document.write( status_image_1562539_5 ) ; if ( !phplive_loaded ) { WriteChatDiv() ; do_tracker_1562539() ; } var phplive_loaded = 1 ; //-->
The very same code is working perfectly fine on my other sites..
Thanks again :)

TandyServices
Registered User
Posts: 10
Joined: Thu May 28, 2009 12:13 am

Re: html in overal_footer

Post by TandyServices »

Anyone that has an idea?

Locked

Return to “[3.0.x] Support Forum”