Portal Tag

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
No Avatar
Kaycee Offline
BBCoder II
BBCoder II
Posts: 10
Joined: 12 Sep 2011, 09:14
Local time: Saturday 21:54
Last active: -

Portal Tag

Post by Kaycee »

Let me thank you for the simple portal. Everything was fine except this tag that is appearing around {Portal}. What can i do to remove it?
I also want to remove Forum Name Portal on top welcome message.
User avatar
Stoker Offline
Site Admin
Site Admin
Posts: 4,295
Joined: 12 May 2008, 21:26
Local time: Saturday 23:54
Last active: -
Favourite EXT: Forum Goal
Location: Denmark

Portal Tag

Post by Stoker »

you need to do the language edit for the language you use.
~ The greatest achievement in life is to inspire ~
Regards Stoker
No Avatar
Kaycee Offline
BBCoder II
BBCoder II
Posts: 10
Joined: 12 Sep 2011, 09:14
Local time: Saturday 21:54
Last active: -

Portal Tag

Post by Kaycee »

Kindly help me take a look. Can i post my link for you to assist?
User avatar
Stoker Offline
Site Admin
Site Admin
Posts: 4,295
Joined: 12 May 2008, 21:26
Local time: Saturday 23:54
Last active: -
Favourite EXT: Forum Goal
Location: Denmark

Portal Tag

Post by Stoker »

Sure, you can post a link. But its not necessary.
According to the instructions you need to ad some code to the language/en/common.php
You need to ad the same to your language common.php
If you are danish it would be: language/da/common.php
~ The greatest achievement in life is to inspire ~
Regards Stoker
No Avatar
Kaycee Offline
BBCoder II
BBCoder II
Posts: 10
Joined: 12 Sep 2011, 09:14
Local time: Saturday 21:54
Last active: -

Portal Tag

Post by Kaycee »

Fine. What code? my link: www.naijamarriage.com
User avatar
Stoker Offline
Site Admin
Site Admin
Posts: 4,295
Joined: 12 May 2008, 21:26
Local time: Saturday 23:54
Last active: -
Favourite EXT: Forum Goal
Location: Denmark

Portal Tag

Post by Stoker »

Read the install instructions. Its all there.
You need to add some code to language/en/common.php
~ The greatest achievement in life is to inspire ~
Regards Stoker
No Avatar
Kaycee Offline
BBCoder II
BBCoder II
Posts: 10
Joined: 12 Sep 2011, 09:14
Local time: Saturday 21:54
Last active: -

Portal Tag

Post by Kaycee »

I have added this to common.php with no change on portal page header.// Portal
$lang = array_merge($lang, array(
'PORTAL' => 'Portal',
'VIEW_PORTAL' => 'Viewing Portal Page',
));


I just want this bracket {portal} go away on the page header.
User avatar
Stoker Offline
Site Admin
Site Admin
Posts: 4,295
Joined: 12 May 2008, 21:26
Local time: Saturday 23:54
Last active: -
Favourite EXT: Forum Goal
Location: Denmark

Portal Tag

Post by Stoker »

Yes, and if you add that code to language/your language/common.php it will output Portal instead of { PORTAL }.
Remember you need to do this for all the languages you have installed.
~ The greatest achievement in life is to inspire ~
Regards Stoker
No Avatar
Kaycee Offline
BBCoder II
BBCoder II
Posts: 10
Joined: 12 Sep 2011, 09:14
Local time: Saturday 21:54
Last active: -

Portal Tag

Post by Kaycee »

The tag was remove when added it to en-us. But that was with a bug.
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4589: Cannot modify header information - headers already sent by (output started at /language/en_us/common.php:1)
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4591: Cannot modify header information - headers already sent by (output started at /language/en_us/common.php:1)
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4592: Cannot modify header information - headers already sent by (output started at /language/en_us/common.php:1)
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4593: Cannot modify header information - headers already sent by (output started at /language/en_us/common.php:1)
User avatar
Stoker Offline
Site Admin
Site Admin
Posts: 4,295
Joined: 12 May 2008, 21:26
Local time: Saturday 23:54
Last active: -
Favourite EXT: Forum Goal
Location: Denmark

Portal Tag

Post by Stoker »

Sounds like you have added it AFTER this ?> instead of before.
~ The greatest achievement in life is to inspire ~
Regards Stoker