Page 1 of 2

This Mod and Se_Pro

Posted: 01 Aug 2011, 08:55
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

This Mod and Se_Pro

Posted: 01 Aug 2011, 09:14
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.

This Mod and Se_Pro

Posted: 01 Aug 2011, 09:31
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?

This Mod and Se_Pro

Posted: 01 Aug 2011, 09:56
by Stoker
Refresh the SE Pro template?

This Mod and Se_Pro

Posted: 01 Aug 2011, 10:06
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 :?

This Mod and Se_Pro

Posted: 01 Aug 2011, 10:07
by Stoker
Can I have a link?

This Mod and Se_Pro

Posted: 01 Aug 2011, 10:09
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

This Mod and Se_Pro

Posted: 01 Aug 2011, 10:27
by Tahoebuff
Here you go: My Forum

This Mod and Se_Pro

Posted: 01 Aug 2011, 10:39
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

This Mod and Se_Pro

Posted: 01 Aug 2011, 10:56
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.