Thanks for replies, its appreciated. Yes, I'm new to MyBB and loving it. I've been installing various plugins on my test forum without problems this is the first one thats not worked 'out of the box'. I have uploaded all 4 folders to the root.
When I view the source of a thread with attachments I can see the following shadowbox code:
<link rel="stylesheet" type="text/css" href="http://mybb.xxxx.xxx/themes/shadowbox.css" />
<script type="text/javascript" src="http://mybb.xxxx.xxx/jscripts/shadowbox/shadowbox.js"></script>
<script type="text/javascript">
Shadowbox.init({
language:"en",
players:["img"]
});
</script>
</head>
<body>
Then for attachment where I would have expected some shadowbox references theres none! Of course I'm not sure If this is a problem. Should I expect some additional code to appear here?
<fieldset>
<legend><strong>Attached File(s)</strong></legend>
<!-- start: postbit_attachments_thumbnails -->
<span class="smalltext"><strong>Thumbnail(s)</strong></span><br />
<!-- start: postbit_attachments_thumbnails_thumbnail -->
<a href="http://mybb.xxxx.xxx/attachment.php?aid=13" target="_blank"><img src="attachment.php?thumbnail=13" class="attachment" alt="" /></a>
<!-- end: postbit_attachments_thumbnails_thumbnail -->
<br />
<!-- end: postbit_attachments_thumbnails -->
</fieldset>
Considering it seemed to just start working for you by itself could it be cache related? I've tried rebuilding the cache from Admin - Tools & Maintenance but that didnt make any difference!
I'm stuck
I just looked at the source from your site and you've got a load on init settings that I'm missing.
<link rel="stylesheet" type="text/css" href="http://www.leefish.nl/mybb/themes/shadowbox.css" />
<script type="text/javascript" src="http://www.leefish.nl/mybb/jscripts/shadowbox/shadowbox.js"></script>
<script type="text/javascript">
Shadowbox.init({
language:"en",
players:["img","swf"],
animate:0,
animateFade:1,
animSequence:"sync",
autoDimensions:0,
continuous:1,
counterLimit:"10",
counterType:"default",
displayCounter:1,
displayNav:1,
enableKeys:1,
fadeDuration:"0.35",
flashParams:{bgcolor:"#888888"},
flashVersion:"9.0.0",
handleOversize:"resize",
initialHeight:"160",
initialWidth:"320",
modal:0,
overlayColor:"#1d1d1d",
overlayOpacity:"0.8",
resizeDuration:"0.35",
showOverlay:1,
slideshowDelay:"4",
viewportPadding:"20"
});
</script>
</head>
<body>
And also around the attachment it does reference shadowbox.
<a href="attachment.php?aid=609" rel="shadowbox[pid2661];player=img;width=1440;height=896" title="RE: Testings" rel="shadowbox;player=img;width=1440;height=896" target="_blank"><img src="attachment.php?thumbnail=609" class="attachment" alt="" /></a>
That looks like it could be the issue, I wonder where all those are set and how to do it?