Collapse image not appearing

Download and support for PhpBB3 Top Stats Mod
User avatar
martin123456
BBCoder VI
BBCoder VI
Posts: 765
Joined: 25 Jul 2011, 13:29
BBCodes: 34
Favourite MOD: Ban button
Location: Down south!
Contact:

Collapse image not appearing

Post by martin123456 »

First lets fix 1 problem at a time go to your acp and set it to scroll (no ticker) this will tell us your jquery is good.

then we will move onto the collapse

edit you still have 3 queries on view source

remove

Code: Select all

<script src="./styles/prosilver/template/jquery_base/jquery-1.7.1.min.js" type="text/javascript"></script>
remove

Code: Select all

<script src="./styles/prosilver/template/jquery_base/jquery-ui-1.8.9.custom.min.js" type="text/javascript"></script>
Nothing will work until you do
Jessica
BBCoder II
BBCoder II
Posts: 66
Joined: 26 Apr 2010, 01:26
BBCodes: 50
Favourite BBCode: spoilvtitle
Favourite MOD: AJAX Quick Edit
Location: Pennsylvania
Contact:

Collapse image not appearing

Post by Jessica »

those aren't in my overall_header.html...:/
User avatar
martin123456
BBCoder VI
BBCoder VI
Posts: 765
Joined: 25 Jul 2011, 13:29
BBCodes: 34
Favourite MOD: Ban button
Location: Down south!
Contact:

Collapse image not appearing

Post by martin123456 »

Jessica wrote:those aren't in my overall_header.html...:/
They sure are i can see them when i view source.

Code: Select all

</script>
<script type="text/javascript" src="./styles/prosilver/template/styleswitcher.js"></script>
<script type="text/javascript" src="./styles/prosilver/template/forum_fn.js"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>

<script src="./script/jquery.totemticker.min.js" type="text/javascript"></script>
<script type="text/javascript">
// <![CDATA[
$(document).ready(function() {
	$('#vertical-ticker').totemticker({
				row_height	:	'41px',
				max_items   :   3,
				speed       :   400,
				interval    :   4000,
				
				next		:	'#ticker-next',
				previous	:	'#ticker-previous',
				stop		:	'#stop',
				start		:	'#start',
				
				mousestop	:	true,
				direction	:	'down'
	});
});
// ]]>
</script>

<script type="text/javascript" src="./styles/prosilver/template/jquery.cookie.js"></script>
<script type="text/javascript" src="./styles/prosilver/template/jquery.collapse.js"></script>
 <script type="text/javascript" src="./styles/prosilver/template/tooltip.js"></script>
<script type="text/javascript" src="./styles/prosilver/template/tabs.js"></script>



<link href="./styles/prosilver/theme/print.css" rel="stylesheet" type="text/css" media="print" title="printonly" />
<link href="./style.php?id=1&lang=en&sid=7e2ba69966c8c489d9dd6f44d844ca09" rel="stylesheet" type="text/css" media="screen, projection" />

<link href="./styles/prosilver/theme/normal.css" rel="stylesheet" type="text/css" title="A" />
<link href="./styles/prosilver/theme/medium.css" rel="alternate stylesheet" type="text/css" title="A+" />
<link href="./styles/prosilver/theme/large.css" rel="alternate stylesheet" type="text/css" title="A++" />


<script type="text/javascript" src="./styles/prosilver/template/reputation/reputation.js"></script>
<script type="text/javascript"><!--
	var spoiler_show = "[Reveal]";
	var spoiler_hide = "[Obscure]";
//--></script>
<script type="text/javascript" src="./styles/prosilver/template/prime_bbcode_spoiler.js"></script>
<link href="./styles/prosilver/theme/prime_bbcode_spoiler.css" rel="stylesheet" type="text/css" /><!-- @todo: Add all code that needs to be executed in the header here -->
<link href="./styles/prosilver/theme/jquery_base.css" rel="stylesheet" type="text/css" />
<script src="./styles/prosilver/template/jquery_base/jquery-1.7.1.min.js" type="text/javascript"></script>
<script src="./styles/prosilver/template/jquery_base/jquery-ui-1.8.9.custom.min.js" type="text/javascript"></script>
<script src="./styles/prosilver/template/jquery_base/jquery.notify.min.js" type="text/javascript"></script>

<script type="text/javascript">
// <![CDATA[
/**
* change this to the div you need for your style
Jessica
BBCoder II
BBCoder II
Posts: 66
Joined: 26 Apr 2010, 01:26
BBCodes: 50
Favourite BBCode: spoilvtitle
Favourite MOD: AJAX Quick Edit
Location: Pennsylvania
Contact:

Collapse image not appearing

Post by Jessica »

ah I notice they're from the jQuery base mod....I'm going to see if disabling that mod would work without having to remove the mod completely.

edit: nope (collapse not working still)

edit #2: jQuery scroll is working though...
User avatar
Stoker
Site Admin
Site Admin
Posts: 3540
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Collapse image not appearing

Post by Stoker »

All you need is to delete the line containing this: jquery_base/jquery-1.7.1.min.js from the jquery base file.
Board rules! No PM support
Jessica
BBCoder II
BBCoder II
Posts: 66
Joined: 26 Apr 2010, 01:26
BBCodes: 50
Favourite BBCode: spoilvtitle
Favourite MOD: AJAX Quick Edit
Location: Pennsylvania
Contact:

Collapse image not appearing

Post by Jessica »

that'll stop the mark forums/topics read from working, but I'll just do that (temporarily) to see if it really makes the collapse work

edit: nope, still not working
User avatar
jabhi
BBCoder II
BBCoder II
Posts: 69
Joined: 16 Mar 2012, 09:13
BBCodes: 3
Favourite BBCode: pdf
Favourite MOD: pretty photo

Collapse image not appearing

Post by jabhi »

Try this, from \root\styles\xxx\template\jquery_base\jquery_base_header.html
Cut :

Code: Select all

<script src="{T_SUPER_TEMPLATE_PATH}/jquery_base/jquery-1.7.1.min.js" type="text/javascript"></script>
In overall header,
Past below :

Code: Select all

<script type="text/javascript" src="{T_SUPER_TEMPLATE_PATH}/forum_fn.js"></script>
And remove :

Code: Select all

<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
Not sure just try ;)
Go phpBB go... Respected : Developers, Supporters.
Jessica
BBCoder II
BBCoder II
Posts: 66
Joined: 26 Apr 2010, 01:26
BBCodes: 50
Favourite BBCode: spoilvtitle
Favourite MOD: AJAX Quick Edit
Location: Pennsylvania
Contact:

Collapse image not appearing

Post by Jessica »

nope doesn't work :/
User avatar
jabhi
BBCoder II
BBCoder II
Posts: 69
Joined: 16 Mar 2012, 09:13
BBCodes: 3
Favourite BBCode: pdf
Favourite MOD: pretty photo

Collapse image not appearing

Post by jabhi »

You may have another jquery in some where in any file. only one jquery for one forum :D
Go phpBB go... Respected : Developers, Supporters.
Jessica
BBCoder II
BBCoder II
Posts: 66
Joined: 26 Apr 2010, 01:26
BBCodes: 50
Favourite BBCode: spoilvtitle
Favourite MOD: AJAX Quick Edit
Location: Pennsylvania
Contact:

Collapse image not appearing

Post by Jessica »

how come the jQuery ticker works, then? also, how do I get the collapse icon for the Top Stats?
Locked