The following warnings occurred:
Warning [2] Undefined array key "threadviews_countguests" - Line: 745 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 745 errorHandler->error_callback
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 1121 build_postbit
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 1121 build_postbit
Warning [2] Undefined property: MyLanguage::$thread_modes - Line: 46 - File: showthread.php(1650) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1650) : eval()'d code 46 errorHandler->error_callback
/showthread.php 1650 eval




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unnecessary coding - how to get rid of this?
#1
I have installed 2 plugins - Dominion jCart and Simple Image Gallery. Now I have unnecessary coding in the rest of all pages. Please tell me how to get rid of them?:

Quote:<style type="text/css">

#cartbox { margin-left:auto; margin-right:auto; width:200px; }

#shopbag { width:100%; }

.clear { clear:both; }

.jcart { color:#000066; margin:0 8px 8px 0; borderConfusedolid 2px #FF0000; float:left; text-align:center; width:200px; height:150px;}

.jcart ul { margin:0; list-style:none; padding:0 2px; text-align:left; }

.jcart fieldset { border:0; }

.jcart strong { color:#000066; }

.jcart .button { margin:5px; padding:2px; }



fieldset { border:0; }

#paypal-button { display:block; padding:10px; margin:20px auto; }

* { margin:0; padding:0;}



</style>



<link rel="stylesheet" type="text/css" media="screen, projection" href="http://domain.com/getsimple/plugins/dominion-jcart/js/jcart.css" />

<script type='text/javascript' src='http://domain.com/getsimple/plugins/dominion-jcart/js/jquery-1.4.3.min.js'></script>

<script type="text/javascript" src="http://domain.com/getsimple/plugins/dominion-jcart/js/jcart-javascript.php?base=http://domain.com/getsimple/"></script>

<script type="text/javascript" src="http://domain.com/getsimple/plugins/dominion-jcart/js/jquery.evtpaginate.js"></script>

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>

<link rel="stylesheet" type="text/css" href="http://domain.com/getsimple/plugins/squareit-gallery/css/sqr_imgal.css" media="all">
<script>
//define no conflict jquery variable
var $jSqr = jQuery.noConflict();

//Vertical Align
$jSqr(window).load(function() {
$jSqr('.sqr_img').vAlign();
});

(function ($) {
// VERTICALLY ALIGN FUNCTION
$.fn.vAlign = function() {
return this.each(function(i){
var ah = $(this).height();
var ph = $(this).parent().parent().height();
var mh = (ph - ah) / 2;
$(this).css('padding-top', mh);
$(this).css('padding-bottom', mh);
});
};
})(jQuery);
</script>

<script type="text/javascript" src="http://domain.com/getsimple/plugins/squareit-gallery/plugins/fancybox/jquery.fancybox-1.3.1.pack.js"></script>
<script type="text/javascript" src="http://domain.com/getsimple/plugins/squareit-gallery/plugins/fancybox/jquery.easing-1.3.pack.js"></script>
<script type="text/javascript" src="http://domain.com/getsimple/plugins/squareit-gallery/plugins/fancybox/jquery.mousewheel-3.0.2.pack.js"></script>

<link rel="stylesheet" href="http://domain.com/getsimple/plugins/squareit-gallery/plugins/fancybox/jquery.fancybox-1.3.1.css" type="text/css" media="screen" />
Reply
#2
Well, I have found a solution. I need to create an additional template file (for example name it photoalbum.php) and assign this template for Photoalbum page. In this case no any unnecessary coding would be spread out to other pages.

Smile

Thank you.
Reply




Users browsing this thread: 1 Guest(s)