Download and support for PhpBB3 Prettyphoto Attachment Mod
Tahoebuff
BBCoder II
Posts: 11 Joined: 01 Aug 2011, 08:43
Post
by Tahoebuff » 01 Aug 2011, 08:55
How do you make this work with your style? (se_pro)
Also, you made a mistake on your PrettyPhoto YouTube BBCode Post. I couldn't put this there, as it's locked.
You put for BBCode:
Should be:
Code: Select all
[youtubepp]{IDENTIFIER}[/youtubepp]
Thanks in advance!
Tahoebuff
Stoker
Site Admin
Posts: 3540 Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:
Post
by Stoker » 01 Aug 2011, 09:14
Thanks, the bbcode is fixed.
To install it on SE Pro you have to do the same edits on overall_header.html
That should do it.
Board rules! No PM support
Tahoebuff
BBCoder II
Posts: 11 Joined: 01 Aug 2011, 08:43
Post
by Tahoebuff » 01 Aug 2011, 09:31
Hmmmmm...I did that (not working). I'm not sure what's missing. It's working correctly on the prosilver style. Maybe there's a small change that has to done?
Stoker
Site Admin
Posts: 3540 Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:
Post
by Stoker » 01 Aug 2011, 09:56
Refresh the SE Pro template?
Board rules! No PM support
Tahoebuff
BBCoder II
Posts: 11 Joined: 01 Aug 2011, 08:43
Post
by Tahoebuff » 01 Aug 2011, 10:06
I did...even the youtube vid is linking me to youtube (again, works on prosilver). It's like the prettyphoto is not being called on your style. I did do the edits correctly
Stoker
Site Admin
Posts: 3540 Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:
Post
by Stoker » 01 Aug 2011, 10:07
Can I have a link?
Board rules! No PM support
Tahoebuff
BBCoder II
Posts: 11 Joined: 01 Aug 2011, 08:43
Post
by Tahoebuff » 01 Aug 2011, 10:09
I have it on my home computer on a local server for testing purposes. I'll load it up in a few to my .com
Stoker
Site Admin
Posts: 3540 Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:
Post
by Stoker » 01 Aug 2011, 10:39
Its because jquery is added twice in overall_header.html
Find:
Code: Select all
<script src="{ROOT_PATH}prettyphoto/jquery-1.4.4.min.js" type="text/javascript"></script>
<script src="{ROOT_PATH}prettyphoto/jquery.prettyPhoto.js" type="text/javascript" charset="utf-8"></script>
<link href="{ROOT_PATH}prettyphoto/css/prettyPhoto.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" charset="utf-8">
// <![CDATA[
$(document).ready(function(){
$("a[rel^='prettyPhoto']").prettyPhoto();
});
// ]]>
</script>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/jquery-1.5.2.min.js"></script>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/jquery.cookie.js"></script>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/jquery.collapse.js"></script>
Replace with:
Code: Select all
<script type="text/javascript" src="{T_TEMPLATE_PATH}/jquery-1.5.2.min.js"></script>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/jquery.cookie.js"></script>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/jquery.collapse.js"></script>
<script src="{ROOT_PATH}prettyphoto/jquery.prettyPhoto.js" type="text/javascript" charset="utf-8"></script>
<link href="{ROOT_PATH}prettyphoto/css/prettyPhoto.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" charset="utf-8">
// <![CDATA[
$(document).ready(function(){
$("a[rel^='prettyPhoto']").prettyPhoto();
});
// ]]>
</script>
Refresh template
Board rules! No PM support
Tahoebuff
BBCoder II
Posts: 11 Joined: 01 Aug 2011, 08:43
Post
by Tahoebuff » 01 Aug 2011, 10:56
I would have never noticed that
The youtube link is now working correctly. The Attachment I put up isn't...in either style.