Simple Portal

Modifications for phpBB3. Try the Mods here and share Your own Mods
There is no support here! Only Read Access!
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
Locked
lqdmindz
BBCoder II
BBCoder II
Posts: 12
Joined: 24 May 2010, 04:41

Re: Simple Portal

Post by lqdmindz »

Fair enough. Delete my post and winge less. Im trying to give ppl an extra option but perhaps default is the way to go. Pro silver for all.
User avatar
Bullseye
BBCoder IV
BBCoder IV
Posts: 153
Joined: 02 Apr 2010, 20:49
Location: England

Re: Simple Portal

Post by Bullseye »

cisco007 » 16 May 2010, 18:46 wrote:the way i did mine was with like Stoker said use nickvergessens mod, and instead of doing the edits to the index.php and index_body.html do the edits to the portal.php and to the simpleportal_body.html! and it should work!
Where do I add the edits in portal.php and simpleportal_body.html ?

Also am I right to say that the edits for index.php are to be used in portal.php and the edits for index_body.html to be used in simpleportal_body.html ?


~John~
User avatar
Stoker
Site Admin
Site Admin
Posts: 3521
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Re: Simple Portal

Post by Stoker »

Bullseye wrote:Also am I right to say that the edits for index.php are to be used in portal.php and the edits for index_body.html to be used in simpleportal_body.html ?
Yes, that is exactly what you need to do.
Board rules! No PM support
User avatar
Bullseye
BBCoder IV
BBCoder IV
Posts: 153
Joined: 02 Apr 2010, 20:49
Location: England

Re: Simple Portal

Post by Bullseye »

What part of each file do I need to add the edits?
User avatar
Stoker
Site Admin
Site Admin
Posts: 3521
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Re: Simple Portal

Post by Stoker »

Open portal.php and find:

Code: Select all

page_header($user->lang['PORTAL_HEADLINE']);
Insert the code that originally should have been inserted on index.php BEFORE.

Open simpleportal_body.html and insert the code from index_body.html where you want it.
Read the code comments to understand what is what.
Board rules! No PM support
User avatar
Bullseye
BBCoder IV
BBCoder IV
Posts: 153
Joined: 02 Apr 2010, 20:49
Location: England

Re: Simple Portal

Post by Bullseye »

Sorry to be a pain, but I need help with the edits for simpleportal_body.html .........

Where do I need to put this?

Code: Select all

<!-- IF RECENT_TOPICS_DISPLAY --><!-- INCLUDE recent_topics_body.html --><!-- ENDIF -->
cisco007
BBCoder VI
BBCoder VI
Posts: 1015
Joined: 16 Mar 2010, 18:14
Location: Don't really know!

Re: Simple Portal

Post by cisco007 »

put it anywhere where you want it to show on the portal!
User avatar
Bullseye
BBCoder IV
BBCoder IV
Posts: 153
Joined: 02 Apr 2010, 20:49
Location: England

Re: Simple Portal

Post by Bullseye »

Just tried it again and got an error..

I've attached the file in this post, I've added the edit, have I put it in the correct place?

I wanted the recent topics to show under welcome message..

Regards,



John
cisco007
BBCoder VI
BBCoder VI
Posts: 1015
Joined: 16 Mar 2010, 18:14
Location: Don't really know!

Re: Simple Portal

Post by cisco007 »

you got it in the right place, but i can't really tell you what the problem is unless i know what the error says!
User avatar
Steve
BBCoder VI
BBCoder VI
Posts: 803
Joined: 05 Mar 2010, 01:10
Extra Rank: Donator.png
BBCodes: 2000
Favourite BBCode: porn tube
Favourite MOD: Non of Stokers
Location: up your bum
Contact:

Re: Simple Portal

Post by Steve »

Easy he has'nt upload the template file to his templates folder or created it yet.

Code: Select all

General Error
template->_tpl_load_file(): File ./styles/Bullsilver/template/recent_topics_body.html does not exist or is empty
NAPWR wrote: Nice, Stoker is Hot
Locked