Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
Download and support for PhpBB3 Simple Portal
Stoker
Site Admin
Posts: 3536 Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:
Post
by Stoker » 21 Aug 2011, 09:41
Top Five on Portal
Written by Stoker
Putting the Top Five mod on the portal page is quite easy. You need to have the Top Five mod installed.
Open portal.php
Find:
Before add:
Code: Select all
//-- mod: top five ---------------------------------------------------------//
include($phpbb_root_path . 'includes/top_five.' . $phpEx);
//-- end: top five ---------------------------------------------------------//
Open styles/prosilver/template/simpleportal_body.html
Find:
After add:
Code: Select all
<!-- INCLUDE top_five_body.html -->
Board rules! No PM support
badger
BBCoder II
Posts: 28 Joined: 14 Jan 2012, 21:48
BBCodes: 4
Post
by badger » 17 Jan 2012, 03:06
When I edit the files in the top five for the portal after refreshing and cache. it gives me an error message saying that top_five_body.html doesn't exist.
Stoker
Site Admin
Posts: 3536 Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:
Post
by Stoker » 17 Jan 2012, 07:13
Top five is not included in the portal??
Board rules! No PM support
badger
BBCoder II
Posts: 28 Joined: 14 Jan 2012, 21:48
BBCodes: 4
Post
by badger » 17 Jan 2012, 08:02
I don't see it anywhere
Stoker
Site Admin
Posts: 3536 Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:
Post
by Stoker » 17 Jan 2012, 08:05
No, thats my point. Its not included in the portal so why would you expect it to work in the portal?
Board rules! No PM support
badger
BBCoder II
Posts: 28 Joined: 14 Jan 2012, 21:48
BBCodes: 4
Post
by badger » 17 Jan 2012, 08:09
you have instructions here viewtopic.php?f=37&t=1345 on how to set it up on the portal
Stoker
Site Admin
Posts: 3536 Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:
Post
by Stoker » 17 Jan 2012, 11:03
Okay, then lets merge the topics.
For this to work you need to have the top five mod installed. So you need to upload the files from that mod else it wont work.
Board rules! No PM support
badger
BBCoder II
Posts: 28 Joined: 14 Jan 2012, 21:48
BBCodes: 4
Post
by badger » 17 Jan 2012, 19:37
sorry stroke I confused myself for the top stats mod and top 5 mod. What I wanted was the 5 recent active topics in the portal of top stats mod.
Stoker
Site Admin
Posts: 3536 Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:
Post
by Stoker » 17 Jan 2012, 19:40
Then you need to do those edits the the portal php and html file.
Board rules! No PM support
badger
BBCoder II
Posts: 28 Joined: 14 Jan 2012, 21:48
BBCodes: 4
Post
by badger » 17 Jan 2012, 22:51
What exactly would I need to add in order to add the 5 recent active topics in my portal?