Thread Rating:
  • 11 Vote(s) - 3.91 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.6] MyShowcase System 2.5.2
(2012-01-14, 04:31 PM)pavemen Wrote: You need to verify that the myshowcase_top template has content in it. If it does, post it here.

I checked it and it has content Myshowcase_top.
I installed new forum in my host and after that I add the plugin and it has a same errors.
I used the latest version of Mybb and Myshowcase.
I don't know what is the problem?
Does my host should have a special configuration?
Please post your myshowcase_top template. I want to be sure you have made the correction that I posted a few back about adding the missing <script> tag
Lost interest, sold my sites, will browse here once in a while. It's been fun.
(2012-01-15, 04:37 AM)pavemen Wrote: Please post your myshowcase_top template. I want to be sure you have made the correction that I posted a few back about adding the missing <script> tag



Attached Files
.zip   plugins.zip (Size: 27.15 KB / Downloads: 87)
please go to acp > templates & style > templates > {your template} > myshowcase templates > myshowcase_top and copy/paste that here
Lost interest, sold my sites, will browse here once in a while. It's been fun.
myshowcase_view template might be installed as empty . reinstalling appears to fill-up the template with the code
{$showcase_top}
{$showcase_data_header}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
{$showcase_data}
</table>
{$showcase_attachment_header}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
{$showcase_attachments}
</table>
{$showcase_comment_header}
<form action="{$showcase_comment_form_url}" method="post" name="comment">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
{$showcase_comments}
</table>
</form>
{$footer}
</body>
</html>
(2012-01-15, 05:54 AM)pavemen Wrote: please go to acp > templates & style > templates > {your template} > myshowcase templates > myshowcase_top and copy/paste that here

It's emty
(2012-01-15, 05:54 AM)ranjani Wrote: myshowcase_view template might be installed as empty . reinstalling appears to fill-up the template with the code
{$showcase_top}
{$showcase_data_header}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
{$showcase_data}
</table>
{$showcase_attachment_header}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
{$showcase_attachments}
</table>
{$showcase_comment_header}
<form action="{$showcase_comment_form_url}" method="post" name="comment">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
{$showcase_comments}
</table>
</form>
{$footer}
</body>
</html>
I used it but it didn't work
^ add below code to myshowcase_top template & save
<html>
<head>
<title>{$mybb->settings['bbname']} - {$me->description}</title>
{$headerinclude}
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
    <script>
        !window.jQuery && document.write('<script src="jquery-1.4.3.min.js"><\/script>');
    </script>
    <script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/fancybox/jquery.mousewheel-3.0.4.pack.js"></script>
    <script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
    <link rel="stylesheet" type="text/css" href="{$mybb->settings['bburl']}/jscripts/fancybox/jquery.fancybox-1.3.4.css" media="screen" />
    <script type="text/javascript">
        jQuery.noConflict();
        jQuery(document).ready(function($) {
            $("a[rel=showcase_images]").fancybox({
                'transitionIn'    : 'none',
                'transitionOut'    : 'none',
                'titlePosition'     : 'over',
                'titleFormat'    : function(title, currentArray, currentIndex, currentOpts) {
                    return '<span id="fancybox-title-over">Image ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
                }
            });
        });
    </script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/myshowcase.js?ver=200"></script>
<script type="text/javascript">
<!--
    var removeshowcase_confirm = "{$lang->removeshowcase_confirm}";
    var removeshowcasecomment_confirm = "{$lang->removeshowcasecomment_confirm}";
    var removeshowcaseattach_confirm = "{$lang->removeshowcaseattach_confirm}";;
// -->
</script>
</head>
<body>
{$header}
use this for myshowcase_top

<html>
<head>
<title>{$mybb->settings['bbname']} - {$me->description}</title>
{$headerinclude}
	<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
	<script>
		!window.jQuery && document.write('<script src="jquery-1.4.3.min.js"><\/script>');
	</script>
	<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/fancybox/jquery.mousewheel-3.0.4.pack.js"></script>
	<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
	<link rel="stylesheet" type="text/css" href="{$mybb->settings['bburl']}/jscripts/fancybox/jquery.fancybox-1.3.4.css" media="screen" />
	<script type="text/javascript">
		jQuery.noConflict();
		jQuery(document).ready(function($) {
			$("a[rel=showcase_images]").fancybox({
				'transitionIn'	: 'none',
				'transitionOut'	: 'none',
				'titlePosition' 	: 'over',
				'titleFormat'	: function(title, currentArray, currentIndex, currentOpts) {
					return '<span id="fancybox-title-over">Image ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
				}
			});
		});
	</script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/myshowcase.js?ver=200"></script>
<script type="text/javascript">
<!--
	var removeshowcase_confirm = "{$lang->removeshowcase_confirm}";
	var removeshowcasecomment_confirm = "{$lang->removeshowcasecomment_confirm}";
	var removeshowcaseattach_confirm = "{$lang->removeshowcaseattach_confirm}";;
// -->
</script>
</head>
<body>
{$header}
Lost interest, sold my sites, will browse here once in a while. It's been fun.
(2012-01-15, 06:21 AM)ranjani Wrote: ^ add below code to myshowcase_top template & save
<html>
<head>
<title>{$mybb->settings['bbname']} - {$me->description}</title>
{$headerinclude}
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
    <script>
        !window.jQuery && document.write('<script src="jquery-1.4.3.min.js"><\/script>');
    </script>
    <script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/fancybox/jquery.mousewheel-3.0.4.pack.js"></script>
    <script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
    <link rel="stylesheet" type="text/css" href="{$mybb->settings['bburl']}/jscripts/fancybox/jquery.fancybox-1.3.4.css" media="screen" />
    <script type="text/javascript">
        jQuery.noConflict();
        jQuery(document).ready(function($) {
            $("a[rel=showcase_images]").fancybox({
                'transitionIn'    : 'none',
                'transitionOut'    : 'none',
                'titlePosition'     : 'over',
                'titleFormat'    : function(title, currentArray, currentIndex, currentOpts) {
                    return '<span id="fancybox-title-over">Image ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
                }
            });
        });
    </script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/myshowcase.js?ver=200"></script>
<script type="text/javascript">
<!--
    var removeshowcase_confirm = "{$lang->removeshowcase_confirm}";
    var removeshowcasecomment_confirm = "{$lang->removeshowcasecomment_confirm}";
    var removeshowcaseattach_confirm = "{$lang->removeshowcaseattach_confirm}";;
// -->
</script>
</head>
<body>
{$header}
Thanks, But it has some problems because I don't have Jquery.

(2012-01-15, 06:22 AM)pavemen Wrote: use this for myshowcase_top

<html>
<head>
<title>{$mybb->settings['bbname']} - {$me->description}</title>
{$headerinclude}
	<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
	<script>
		!window.jQuery && document.write('<script src="jquery-1.4.3.min.js"><\/script>');
	</script>
	<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/fancybox/jquery.mousewheel-3.0.4.pack.js"></script>
	<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
	<link rel="stylesheet" type="text/css" href="{$mybb->settings['bburl']}/jscripts/fancybox/jquery.fancybox-1.3.4.css" media="screen" />
	<script type="text/javascript">
		jQuery.noConflict();
		jQuery(document).ready(function($) {
			$("a[rel=showcase_images]").fancybox({
				'transitionIn'	: 'none',
				'transitionOut'	: 'none',
				'titlePosition' 	: 'over',
				'titleFormat'	: function(title, currentArray, currentIndex, currentOpts) {
					return '<span id="fancybox-title-over">Image ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
				}
			});
		});
	</script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/myshowcase.js?ver=200"></script>
<script type="text/javascript">
<!--
	var removeshowcase_confirm = "{$lang->removeshowcase_confirm}";
	var removeshowcasecomment_confirm = "{$lang->removeshowcasecomment_confirm}";
	var removeshowcaseattach_confirm = "{$lang->removeshowcaseattach_confirm}";;
// -->
</script>
</head>
<body>
{$header}

Thanks A looooooooooooooooooooooooooooooooooooooootSmileSmileSmileSmile
^ I didn't observe that the expert was active here at that time ; anyway, both codes should be the same if I am not mistaken Smile


Forum Jump:


Users browsing this thread: 100 Guest(s)