Collapse Forum Goal Mod

Modifications for phpBB3.
Try the Mods here and share Your own Mods
Forum rules
You dont have to use ModX or make your mod AutoMod compatible. A simple textfile is fine
But if you post Mods here You also have to give support

Collapse Forum Goal Mod

Post by Marco »

Hi,
I installed this great mod and I would like to add the button to collapse this tab.
How can I do this? I mean something like in this forum.
Thanks

Collapse Forum Goal Mod

Post by themission »

Its in the Donators Area = Donate and find out :) glad to have helped you

Collapse Forum Goal Mod

Post by Stoker »

First you need to install this mod from Christian Bullock: http://www.christianbullock.com/2011/ph ... th-cookies
Then extend it to the Forum Goal mod.

Collapse Forum Goal Mod

Post by Marco »

Thanks for the information, I already have the mod installed.

Collapse Forum Goal Mod

Post by Stoker »

Then we will make a change with the last edit.
Delete this part from forumlist_body.html:

Code: Select all

<script type="text/javascript">
$(".forumlist").collapse({show: function(){
this.animate({
opacity: ‘toggle’,
height: ‘toggle’
}, 300);
},
hide : function() {

this.animate({
opacity: ‘toggle’,
height: ‘toggle’
}, 300);
}
});
</script>
Insert it at the bottom of index_body.html instead.

Open forumgoal_body.html
Find:

Code: Select all

<div class="forabg">
Before add:

Code: Select all

<div class="forumlist">
Find:

Code: Select all

<ul class="topiclist forums">
Before add:

Code: Select all

<!– IF SCRIPT_NAME eq ‘index’ –><div class="trigger active"></div><!– ENDIF –>
<div class="collapsethis">
Find:

Code: Select all

</table>
		</li>
		</ul>
After add:

Code: Select all

</div>
Find:

Code: Select all

<span class="corners-bottom"><span></span></span></div>
</div>
After add:

Code: Select all

</div>
Thats it!

Collapse Forum Goal Mod

Post by Marco »

Thanks too much Stoker!