Top Five on Portal

Download and support for PhpBB3 Simple Portal
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Top Five on Portal

Post by Stoker »

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:

Code: Select all

// Assign index specific vars
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:

Code: Select all

<!-- End Welcome -->
After add:

Code: Select all

<!-- INCLUDE top_five_body.html -->
Board rules! No PM support
User avatar
badger
BBCoder II
BBCoder II
Posts: 28
Joined: 14 Jan 2012, 21:48
BBCodes: 4

error on top five

Post by badger »

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

error on top five

Post by Stoker »

Top five is not included in the portal??
Board rules! No PM support
User avatar
badger
BBCoder II
BBCoder II
Posts: 28
Joined: 14 Jan 2012, 21:48
BBCodes: 4

error on top five

Post by badger »

I don't see it anywhere
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

error on top five

Post by Stoker »

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
User avatar
badger
BBCoder II
BBCoder II
Posts: 28
Joined: 14 Jan 2012, 21:48
BBCodes: 4

error on top five

Post by badger »

you have instructions here viewtopic.php?f=37&t=1345 on how to set it up on the portal
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Top Five on Portal

Post by Stoker »

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
User avatar
badger
BBCoder II
BBCoder II
Posts: 28
Joined: 14 Jan 2012, 21:48
BBCodes: 4

Top Five on Portal

Post by badger »

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

Top Five on Portal

Post by Stoker »

Then you need to do those edits the the portal php and html file.
Board rules! No PM support
User avatar
badger
BBCoder II
BBCoder II
Posts: 28
Joined: 14 Jan 2012, 21:48
BBCodes: 4

Top Five on Portal

Post by badger »

What exactly would I need to add in order to add the 5 recent active topics in my portal?
Locked