This Mod and Se_Pro

Download and support for PhpBB3 Prettyphoto Attachment Mod
Tahoebuff
BBCoder II
BBCoder II
Posts: 11
Joined: 01 Aug 2011, 08:43

This Mod and Se_Pro

Post by Tahoebuff »

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:

Code: Select all

[IDENTIFIER]{URL}[/youtubepp]
Should be:

Code: Select all

[youtubepp]{IDENTIFIER}[/youtubepp]
Thanks in advance!
Tahoebuff
User avatar
Stoker
Site Admin
Site Admin
Posts: 3525
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

This Mod and Se_Pro

Post by Stoker »

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
BBCoder II
Posts: 11
Joined: 01 Aug 2011, 08:43

This Mod and Se_Pro

Post by Tahoebuff »

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?
User avatar
Stoker
Site Admin
Site Admin
Posts: 3525
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

This Mod and Se_Pro

Post by Stoker »

Refresh the SE Pro template?
Board rules! No PM support
Tahoebuff
BBCoder II
BBCoder II
Posts: 11
Joined: 01 Aug 2011, 08:43

This Mod and Se_Pro

Post by Tahoebuff »

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 :?
User avatar
Stoker
Site Admin
Site Admin
Posts: 3525
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

This Mod and Se_Pro

Post by Stoker »

Can I have a link?
Board rules! No PM support
Tahoebuff
BBCoder II
BBCoder II
Posts: 11
Joined: 01 Aug 2011, 08:43

This Mod and Se_Pro

Post by Tahoebuff »

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
Tahoebuff
BBCoder II
BBCoder II
Posts: 11
Joined: 01 Aug 2011, 08:43

This Mod and Se_Pro

Post by Tahoebuff »

Here you go: My Forum
User avatar
Stoker
Site Admin
Site Admin
Posts: 3525
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

This Mod and Se_Pro

Post by Stoker »

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
BBCoder II
Posts: 11
Joined: 01 Aug 2011, 08:43

This Mod and Se_Pro

Post by Tahoebuff »

I would have never noticed that :)

The youtube link is now working correctly. The Attachment I put up isn't...in either style.
Locked