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 916 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
Superbox (as Lightbox modal window) Integration - how to
#4
A way of protecting the admin files is to copy the related files inside the template folder. I just tested this with Fancybox successfully

1. theme file inside the <head></head> tags just before <?php get_header(); ?>

<script type="text/javascript" src="<?php get_theme_url(); ?>/assets/js/jquery.min.js"></script>
<script type="text/javascript" src="<?php get_theme_url(); ?>/assets/js/jquery.fancybox-1.3.4.pack.js"></script>
<link rel="stylesheet" href="<?php get_theme_url(); ?>/assets/css/jquery.fancybox-1.3.4.css" type="text/css" media="screen" />
<script>
jQuery(document).ready(function() {
if(jQuery().fancybox) {
$("a[rel*=enlarge]").fancybox();
}
});
</script>

2. In the page the image link should have
<a href="your link" class="fancybox" rel="enlarge" title="your title"><img src="your image"></a>
Reply


Messages In This Thread
Superbox (as Lightbox modal window) Integration - how to - by andyash - 2011-11-22, 03:39:13



Users browsing this thread: 1 Guest(s)